Searched refs:mchp_corespi_read (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/spi/ |
D | spi-microchip-core.c | 112 static inline u32 mchp_corespi_read(struct mchp_corespi *spi, unsigned int reg) in mchp_corespi_read() function 124 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_enable() 133 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_disable() 147 while ((i < fifo_max) && !(mchp_corespi_read(spi, REG_STATUS) & STATUS_RXFIFO_EMPTY)) { in mchp_corespi_read_fifo() 148 data = mchp_corespi_read(spi, REG_RX_DATA); in mchp_corespi_read_fifo() 164 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_enable_ints() 179 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_disable_ints() 206 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_set_xfer_size() 226 while ((i < fifo_max) && !(mchp_corespi_read(spi, REG_STATUS) & STATUS_TXFIFO_FULL)) { in mchp_corespi_write_fifo() 248 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_set_framesize() [all …]
|