Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-sh.c90 static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset) in spi_sh_read() function
105 tmp = spi_sh_read(ss, offset); in spi_sh_set_bit()
115 tmp = spi_sh_read(ss, offset); in spi_sh_clear_bit()
130 while (spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_RBE) { in spi_sh_wait_receive_buffer()
142 while (!(spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_TBE)) { in spi_sh_wait_write_buffer_empty()
166 !(spi_sh_read(ss, SPI_SH_CR4) & in spi_sh_send()
168 !(spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_TBF); in spi_sh_send()
172 if (spi_sh_read(ss, SPI_SH_CR4) & SPI_SH_WPABRT) { in spi_sh_send()
243 spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_RBE) { in spi_sh_receive()
253 data[i] = (unsigned char)spi_sh_read(ss, SPI_SH_RBR); in spi_sh_receive()
[all …]