Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-sh.c41 #define SPI_SH_TBE 0x80 macro
154 while (!(spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_TBE)) { in spi_sh_wait_write_buffer_empty()
197 ss->cr1 &= ~SPI_SH_TBE; in spi_sh_send()
198 spi_sh_set_bit(ss, SPI_SH_TBE, SPI_SH_CR4); in spi_sh_send()
200 ss->cr1 & SPI_SH_TBE, in spi_sh_send()
202 if (ret == 0 && !(ss->cr1 & SPI_SH_TBE)) { in spi_sh_send()
213 ss->cr1 &= ~SPI_SH_TBE; in spi_sh_send()
214 spi_sh_set_bit(ss, SPI_SH_TBE, SPI_SH_CR4); in spi_sh_send()
216 ss->cr1 & SPI_SH_TBE, in spi_sh_send()
218 if (ret == 0 && (ss->cr1 & SPI_SH_TBE)) { in spi_sh_send()
[all …]