Lines Matching refs:chan_id
42 u32 chan_id; member
79 stm32_dmamux_write(dmamux->iomem, STM32_DMAMUX_CCR(mux->chan_id), 0); in stm32_dmamux_free()
80 clear_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_free()
88 mux->request, mux->master, mux->chan_id); in stm32_dmamux_free()
119 mux->chan_id = find_first_zero_bit(dmamux->dma_inuse, in stm32_dmamux_route_allocate()
122 if (mux->chan_id == dmamux->dma_requests) { in stm32_dmamux_route_allocate()
128 set_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_route_allocate()
135 if (mux->chan_id < max) in stm32_dmamux_route_allocate()
165 dma_spec->args[0] = mux->chan_id - min; in stm32_dmamux_route_allocate()
168 stm32_dmamux_write(dmamux->iomem, STM32_DMAMUX_CCR(mux->chan_id), in stm32_dmamux_route_allocate()
171 mux->request, mux->master, mux->chan_id); in stm32_dmamux_route_allocate()
176 clear_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_route_allocate()