Lines Matching refs:dw_readl
112 tx_room = dws->fifo_len - dw_readl(dws, DW_SPI_TXFLR); in dw_spi_tx_max()
130 return min_t(u32, dws->rx_len, dw_readl(dws, DW_SPI_RXFLR)); in dw_spi_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) & DW_SPI_INT_MASK; in dw_spi_irq()
614 return dw_readl(dws, DW_SPI_SR) & DW_SPI_SR_BUSY; in dw_spi_ctlr_busy()
624 nents = dw_readl(dws, DW_SPI_TXFLR); in dw_spi_wait_mem_op_done()
831 dws->ver = dw_readl(dws, DW_SPI_VERSION); in dw_spi_hw_init()
848 if (fifo != dw_readl(dws, DW_SPI_TXFTLR)) in dw_spi_hw_init()
863 u32 cr0, tmp = dw_readl(dws, DW_SPI_CTRLR0); in dw_spi_hw_init()
867 cr0 = dw_readl(dws, DW_SPI_CTRLR0); in dw_spi_hw_init()