Lines Matching refs:sh_spi
43 static void clear_fifo(struct sh_spi *ss) in clear_fifo()
49 static int recvbuf_wait(struct sh_spi *ss) in recvbuf_wait()
59 static int write_fifo_empty_wait(struct sh_spi *ss) in write_fifo_empty_wait()
73 static void sh_spi_set_cs(struct sh_spi *ss, unsigned int cs) in sh_spi_set_cs()
89 struct sh_spi *ss; in spi_setup_slave()
94 ss = spi_alloc_slave(struct sh_spi, bus, cs); in spi_setup_slave()
119 struct sh_spi *spi = to_sh_spi(slave); in spi_free_slave()
131 struct sh_spi *ss = to_sh_spi(slave); in spi_release_bus()
137 static int sh_spi_send(struct sh_spi *ss, const unsigned char *tx_data, in sh_spi_send()
182 static int sh_spi_receive(struct sh_spi *ss, unsigned char *rx_data, in sh_spi_receive()
209 struct sh_spi *ss = to_sh_spi(slave); in spi_xfer()