Searched refs:dw_readl (Results 1 – 3 of 3) sorted by relevance
/drivers/spi/ |
D | spi-dw.h | 194 static inline u32 dw_readl(struct dw_spi *dws, u32 offset) in dw_readl() function 243 new_mask = dw_readl(dws, DW_SPI_IMR) & ~mask; in spi_mask_intr() 252 new_mask = dw_readl(dws, DW_SPI_IMR) | mask; in spi_umask_intr() 265 dw_readl(dws, DW_SPI_ICR); in spi_reset_chip()
|
D | spi-dw-core.c | 116 tx_room = dws->fifo_len - dw_readl(dws, DW_SPI_TXFLR); in tx_max() 134 return min_t(u32, dws->rx_len, dw_readl(dws, DW_SPI_RXFLR)); in rx_max() 181 irq_status = dw_readl(dws, DW_SPI_RISR); in dw_spi_check_status() 183 irq_status = dw_readl(dws, DW_SPI_ISR); in dw_spi_check_status() 213 u16 irq_status = dw_readl(dws, DW_SPI_ISR); in dw_spi_transfer_handler() 231 } else if (dws->rx_len <= dw_readl(dws, DW_SPI_RXFTLR)) { in dw_spi_transfer_handler() 253 u16 irq_status = dw_readl(dws, DW_SPI_ISR) & 0x3f; in dw_spi_irq() 602 return dw_readl(dws, DW_SPI_SR) & SR_BUSY; in dw_spi_ctlr_busy() 612 nents = dw_readl(dws, DW_SPI_TXFLR); in dw_spi_wait_mem_op_done() 822 if (fifo != dw_readl(dws, DW_SPI_TXFTLR)) in spi_hw_init()
|
D | spi-dw-dma.c | 232 return !(dw_readl(dws, DW_SPI_SR) & SR_TF_EMPT); in dw_spi_dma_tx_busy() 242 nents = dw_readl(dws, DW_SPI_TXFLR); in dw_spi_dma_wait_tx_done() 317 return !!(dw_readl(dws, DW_SPI_SR) & SR_RF_NOT_EMPT); in dw_spi_dma_rx_busy() 336 nents = dw_readl(dws, DW_SPI_RXFLR); in dw_spi_dma_wait_rx_done()
|