static void destroy_input_system_channel(
	input_system_channel_t	*me)
{
	release_sid(me->stream2mmio_id,
		&(me->stream2mmio_sid_id));

	release_ib_buffer(&(me->ib_buffer));

	release_dma_channel(me->dma_id, &(me->dma_channel));
}
Example #2
0
static void unipro_xfer_dequeue_descriptor(struct unipro_xfer_descriptor *desc)
{
    irqstate_t flags;

    flags = irqsave();
    list_del(&desc->list);
    irqrestore(flags);

    release_dma_channel(desc->channel);
    free(desc);
}
Example #3
0
static void unipro_xfer_pause(struct unipro_xfer_descriptor *desc)
{
    release_dma_channel(desc->channel);
    desc->channel = NULL;
}