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

/linux-4.4.14/drivers/spi/
H A Dspi-sh.c34 #define SPI_SH_CR1 0x08 macro
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()
172 spi_sh_set_bit(ss, SPI_SH_SSA, SPI_SH_CR1); spi_sh_send()
180 !(spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_TBF); spi_sh_send()
210 spi_sh_clear_bit(ss, SPI_SH_SSD | SPI_SH_SSDB, SPI_SH_CR1); spi_sh_send()
211 spi_sh_set_bit(ss, SPI_SH_SSA, SPI_SH_CR1); spi_sh_send()
241 spi_sh_clear_bit(ss, SPI_SH_SSD | SPI_SH_SSDB, SPI_SH_CR1); spi_sh_receive()
242 spi_sh_set_bit(ss, SPI_SH_SSA, SPI_SH_CR1); spi_sh_receive()
255 spi_sh_read(ss, SPI_SH_CR1) & SPI_SH_RBE) { spi_sh_receive()
325 spi_sh_set_bit(ss, SPI_SH_SSD, SPI_SH_CR1); spi_sh_work()
329 SPI_SH_CR1); spi_sh_work()
343 SPI_SH_CR1); spi_sh_work()
354 spi_sh_write(ss, 0xfe, SPI_SH_CR1); /* SPI sycle stop */ spi_sh_setup()
355 spi_sh_write(ss, 0x00, SPI_SH_CR1); /* CR1 init */ spi_sh_setup()
380 spi_sh_clear_bit(ss, SPI_SH_SSA, SPI_SH_CR1); spi_sh_transfer()
397 SPI_SH_CR1); spi_sh_cleanup()
405 cr1 = spi_sh_read(ss, SPI_SH_CR1); spi_sh_irq()

Completed in 45 milliseconds