Home
last modified time | relevance | path

Searched refs:dma_busy (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/spi/
Dspi-uniphier.c37 atomic_t dma_busy; member
368 int state = atomic_fetch_andnot(SSI_DMA_RX_BUSY, &priv->dma_busy); in uniphier_spi_dma_rxcb()
380 int state = atomic_fetch_andnot(SSI_DMA_TX_BUSY, &priv->dma_busy); in uniphier_spi_dma_txcb()
396 atomic_set(&priv->dma_busy, 0); in uniphier_spi_transfer_one_dma()
428 atomic_or(SSI_DMA_RX_BUSY, &priv->dma_busy); in uniphier_spi_transfer_one_dma()
455 atomic_or(SSI_DMA_TX_BUSY, &priv->dma_busy); in uniphier_spi_transfer_one_dma()
589 if (atomic_read(&priv->dma_busy) & SSI_DMA_TX_BUSY) { in uniphier_spi_handle_err()
591 atomic_andnot(SSI_DMA_TX_BUSY, &priv->dma_busy); in uniphier_spi_handle_err()
594 if (atomic_read(&priv->dma_busy) & SSI_DMA_RX_BUSY) { in uniphier_spi_handle_err()
596 atomic_andnot(SSI_DMA_RX_BUSY, &priv->dma_busy); in uniphier_spi_handle_err()
/linux-6.1.9/drivers/usb/gadget/udc/
Dnet2272.h449 dma_busy:1; member
Dnet2272.c630 if (dev->dma_busy) in net2272_request_dma()
639 dev->dma_busy = 1; in net2272_request_dma()
722 if (ep->dev->dma_busy) in net2272_kick_dma()
802 dev->dma_busy = 0; in net2272_cancel_dma()
1543 ep->dev->dma_busy = 0; in net2272_handle_dma()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dpci.c2286 u32 ret, check, dma_busy; in rtw89_poll_txdma_ch_idle_pcie() local
2292 ret = read_poll_timeout(rtw89_read32, dma_busy, (dma_busy & check) == 0, in rtw89_poll_txdma_ch_idle_pcie()
2302 ret = read_poll_timeout(rtw89_read32, dma_busy, (dma_busy & check) == 0, in rtw89_poll_txdma_ch_idle_pcie()
2313 u32 ret, check, dma_busy; in rtw89_poll_rxdma_ch_idle_pcie() local
2318 ret = read_poll_timeout(rtw89_read32, dma_busy, (dma_busy & check) == 0, in rtw89_poll_rxdma_ch_idle_pcie()