Lines Matching refs:spi_sh_write
81 static void spi_sh_write(struct spi_sh_data *ss, unsigned long data,
107 spi_sh_write(ss, tmp, offset);
117 spi_sh_write(ss, tmp, offset);
170 spi_sh_write(ss, (unsigned long)data[i], SPI_SH_TBR);
225 spi_sh_write(ss, SPI_SH_MAX_BYTE, SPI_SH_CR3);
227 spi_sh_write(ss, t->len, SPI_SH_CR3);
263 spi_sh_write(ss, 1, SPI_SH_CR3);
265 spi_sh_write(ss, 0, SPI_SH_CR3);
334 spi_sh_write(ss, 0xfe, SPI_SH_CR1); /* SPI sycle stop */
335 spi_sh_write(ss, 0x00, SPI_SH_CR1); /* CR1 init */
336 spi_sh_write(ss, 0x00, SPI_SH_CR3); /* CR3 init */
341 spi_sh_write(ss, spi_sh_read(ss, SPI_SH_CR2) | 0x07, SPI_SH_CR2);