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

/linux-4.4.14/drivers/spi/
H A Dspi-sh.c93 static void spi_sh_write(struct spi_sh_data *ss, unsigned long data, spi_sh_write() function
119 spi_sh_write(ss, tmp, offset); spi_sh_set_bit()
129 spi_sh_write(ss, tmp, offset); spi_sh_clear_bit()
182 spi_sh_write(ss, (unsigned long)data[i], SPI_SH_TBR); spi_sh_send()
237 spi_sh_write(ss, SPI_SH_MAX_BYTE, SPI_SH_CR3); spi_sh_receive()
239 spi_sh_write(ss, t->len, SPI_SH_CR3); spi_sh_receive()
275 spi_sh_write(ss, 1, SPI_SH_CR3); spi_sh_receive()
277 spi_sh_write(ss, 0, SPI_SH_CR3); spi_sh_receive()
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()
356 spi_sh_write(ss, 0x00, SPI_SH_CR3); /* CR3 init */ spi_sh_setup()
361 spi_sh_write(ss, spi_sh_read(ss, SPI_SH_CR2) | 0x07, SPI_SH_CR2); spi_sh_setup()

Completed in 38 milliseconds