Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-pxa2xx.c242 return (pxa2xx_spi_read(drv_data, SSSR) & mask) == mask; in pxa2xx_spi_txfifo_full()
464 while (pxa2xx_spi_read(drv_data, SSSR) & SSSR_RNE) in pxa2xx_spi_flush()
465 pxa2xx_spi_read(drv_data, SSDR); in pxa2xx_spi_flush()
466 } while ((pxa2xx_spi_read(drv_data, SSSR) & SSSR_BSY) && --limit); in pxa2xx_spi_flush()
490 while ((pxa2xx_spi_read(drv_data, SSSR) & SSSR_RNE) in null_reader()
492 pxa2xx_spi_read(drv_data, SSDR); in null_reader()
513 while ((pxa2xx_spi_read(drv_data, SSSR) & SSSR_RNE) in u8_reader()
515 *(u8 *)(drv_data->rx) = pxa2xx_spi_read(drv_data, SSDR); in u8_reader()
536 while ((pxa2xx_spi_read(drv_data, SSSR) & SSSR_RNE) in u16_reader()
538 *(u16 *)(drv_data->rx) = pxa2xx_spi_read(drv_data, SSDR); in u16_reader()
[all …]
Dspi-pxa2xx-dma.c41 u32 status = pxa2xx_spi_read(drv_data, SSSR) in pxa2xx_spi_dma_transfer_complete()
48 pxa2xx_spi_read(drv_data, SSCR1) in pxa2xx_spi_dma_transfer_complete()
60 pxa2xx_spi_read(drv_data, SSCR0) in pxa2xx_spi_dma_transfer_complete()
133 status = pxa2xx_spi_read(drv_data, SSSR) & drv_data->mask_sr; in pxa2xx_spi_dma_transfer()
Dspi-pxa2xx.h95 static inline u32 pxa2xx_spi_read(const struct driver_data *drv_data, in pxa2xx_spi_read() function
130 val |= pxa2xx_spi_read(drv_data, SSSR) & SSSR_ALT_FRM_MASK; in write_SSSR_CS()