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

/linux-4.4.14/drivers/spi/
H A Dspi-sh.c41 #define SPI_SH_TBE 0x80 macro
154 while (!(spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_TBE)) { spi_sh_wait_write_buffer_empty()
197 ss->cr1 &= ~SPI_SH_TBE; spi_sh_send()
198 spi_sh_set_bit(ss, SPI_SH_TBE, SPI_SH_CR4); spi_sh_send()
200 ss->cr1 & SPI_SH_TBE, spi_sh_send()
202 if (ret == 0 && !(ss->cr1 & SPI_SH_TBE)) { spi_sh_send()
213 ss->cr1 &= ~SPI_SH_TBE; spi_sh_send()
214 spi_sh_set_bit(ss, SPI_SH_TBE, SPI_SH_CR4); spi_sh_send()
216 ss->cr1 & SPI_SH_TBE, spi_sh_send()
218 if (ret == 0 && (ss->cr1 & SPI_SH_TBE)) { spi_sh_send()
406 if (cr1 & SPI_SH_TBE) spi_sh_irq()
407 ss->cr1 |= SPI_SH_TBE; spi_sh_irq()

Completed in 36 milliseconds