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

/linux-4.4.14/drivers/spi/
H A Dspi-sh.c102 static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset) spi_sh_read() function
117 tmp = spi_sh_read(ss, offset); spi_sh_set_bit()
127 tmp = spi_sh_read(ss, offset); spi_sh_clear_bit()
142 while (spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_RBE) { spi_sh_wait_receive_buffer()
154 while (!(spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_TBE)) { spi_sh_wait_write_buffer_empty()
178 !(spi_sh_read(ss, SPI_SH_CR4) & spi_sh_send()
180 !(spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_TBF); spi_sh_send()
184 if (spi_sh_read(ss, SPI_SH_CR4) & SPI_SH_WPABRT) { spi_sh_send()
255 spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_RBE) { spi_sh_receive()
265 data[i] = (unsigned char)spi_sh_read(ss, SPI_SH_RBR); spi_sh_receive()
361 spi_sh_write(ss, spi_sh_read(ss, SPI_SH_CR2) | 0x07, SPI_SH_CR2); spi_sh_setup()
405 cr1 = spi_sh_read(ss, SPI_SH_CR1); spi_sh_irq()

Completed in 46 milliseconds