Home
last modified time | relevance | path

Searched refs:dw_readw (Results 1 – 2 of 2) sorted by relevance

/drivers/spi/
Dspi-dw.c164 tx_room = dws->fifo_len - dw_readw(dws, DW_SPI_TXFLR); in tx_max()
185 return min(rx_left, (u32)dw_readw(dws, DW_SPI_RXFLR)); in rx_max()
212 rxw = dw_readw(dws, DW_SPI_DR); in dw_reader()
320 u16 irq_status = dw_readw(dws, DW_SPI_ISR); in interrupt_transfer()
324 dw_readw(dws, DW_SPI_TXOICR); in interrupt_transfer()
325 dw_readw(dws, DW_SPI_RXOICR); in interrupt_transfer()
326 dw_readw(dws, DW_SPI_RXUICR); in interrupt_transfer()
350 u16 irq_status = dw_readw(dws, DW_SPI_ISR) & 0x3f; in dw_spi_irq()
518 if (dw_readw(dws, DW_SPI_CTRL0) != cr0 || cs_change || clk_div || imask) { in pump_transfers()
521 if (dw_readw(dws, DW_SPI_CTRL0) != cr0) in pump_transfers()
[all …]
Dspi-dw.h172 static inline u16 dw_readw(struct dw_spi *dws, u32 offset) in dw_readw() function