Lines Matching refs:chan_id
32 u32 chan_id; member
71 stm32_dmamux_write(dmamux->iomem, STM32_DMAMUX_CCR(mux->chan_id), 0); in stm32_dmamux_free()
72 clear_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_free()
79 mux->request, mux->master, mux->chan_id); in stm32_dmamux_free()
110 mux->chan_id = find_first_zero_bit(dmamux->dma_inuse, in stm32_dmamux_route_allocate()
113 if (mux->chan_id == dmamux->dma_requests) { in stm32_dmamux_route_allocate()
119 set_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_route_allocate()
126 if (mux->chan_id < max) in stm32_dmamux_route_allocate()
153 dma_spec->args[0] = mux->chan_id - min; in stm32_dmamux_route_allocate()
156 stm32_dmamux_write(dmamux->iomem, STM32_DMAMUX_CCR(mux->chan_id), in stm32_dmamux_route_allocate()
159 mux->request, mux->master, mux->chan_id); in stm32_dmamux_route_allocate()
164 clear_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_route_allocate()