Home
last modified time | relevance | path

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

/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()
/drivers/usb/gadget/udc/
Dnet2272.h448 dma_busy:1; member
Dnet2272.c629 if (dev->dma_busy) in net2272_request_dma()
638 dev->dma_busy = 1; in net2272_request_dma()
721 if (ep->dev->dma_busy) in net2272_kick_dma()
801 dev->dma_busy = 0; in net2272_cancel_dma()
1530 ep->dev->dma_busy = 0; in net2272_handle_dma()