Searched refs:dma_chan_busy (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/kernel/ |
D | dma.c | 60 static struct dma_chan dma_chan_busy[MAX_DMA_CHANNELS] = { variable 75 if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0) in request_dma() 78 dma_chan_busy[dmanr].device_id = device_id; in request_dma() 95 if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) { in free_dma() 123 if (dma_chan_busy[i].lock) { in proc_dma_show() 125 dma_chan_busy[i].device_id); in proc_dma_show()
|
/linux-6.12.1/drivers/spi/ |
D | spi-dw-dma.c | 317 clear_bit(DW_SPI_TX_BUSY, &dws->dma_chan_busy); in dw_spi_dma_tx_done() 318 if (test_bit(DW_SPI_RX_BUSY, &dws->dma_chan_busy)) in dw_spi_dma_tx_done() 362 set_bit(DW_SPI_TX_BUSY, &dws->dma_chan_busy); in dw_spi_dma_submit_tx() 418 clear_bit(DW_SPI_RX_BUSY, &dws->dma_chan_busy); in dw_spi_dma_rx_done() 419 if (test_bit(DW_SPI_TX_BUSY, &dws->dma_chan_busy)) in dw_spi_dma_rx_done() 463 set_bit(DW_SPI_RX_BUSY, &dws->dma_chan_busy); in dw_spi_dma_submit_rx() 673 if (test_bit(DW_SPI_TX_BUSY, &dws->dma_chan_busy)) { in dw_spi_dma_stop() 675 clear_bit(DW_SPI_TX_BUSY, &dws->dma_chan_busy); in dw_spi_dma_stop() 677 if (test_bit(DW_SPI_RX_BUSY, &dws->dma_chan_busy)) { in dw_spi_dma_stop() 679 clear_bit(DW_SPI_RX_BUSY, &dws->dma_chan_busy); in dw_spi_dma_stop()
|
D | spi-dw.h | 194 unsigned long dma_chan_busy; member
|