Home
last modified time | relevance | path

Searched refs:dma_inuse (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/dma/ti/
H A Ddma-crossbar.c206 unsigned long *dma_inuse; member
234 clear_bit(map->xbar_out, xbar->dma_inuse); in ti_dra7_xbar_free()
269 map->xbar_out = find_first_zero_bit(xbar->dma_inuse, in ti_dra7_xbar_route_allocate()
279 set_bit(map->xbar_out, xbar->dma_inuse); in ti_dra7_xbar_route_allocate()
364 xbar->dma_inuse = devm_kcalloc(&pdev->dev, in ti_dra7_xbar_probe()
367 if (!xbar->dma_inuse) in ti_dra7_xbar_probe()
404 xbar->dma_inuse); in ti_dra7_xbar_probe()
424 if (!test_bit(i, xbar->dma_inuse)) in ti_dra7_xbar_probe()
433 if (!test_bit(i, xbar->dma_inuse)) in ti_dra7_xbar_probe()
/openbmc/linux/drivers/dma/
H A Dstm32-dmamux.c44 DECLARE_BITMAP(dma_inuse, STM32_DMAMUX_MAX_DMA_REQUESTS); /* Used DMA channel */
74 clear_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_free()
112 mux->chan_id = find_first_zero_bit(dmamux->dma_inuse, in stm32_dmamux_route_allocate()
121 set_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_route_allocate()
166 clear_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_route_allocate()