Home
last modified time | relevance | path

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

/external/u-boot/drivers/spi/
Dsh_spi.c43 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()
[all …]
Dsh_spi.h57 struct sh_spi { struct
62 static inline struct sh_spi *to_sh_spi(struct spi_slave *slave) in to_sh_spi() argument
64 return container_of(slave, struct sh_spi, slave); in to_sh_spi()
DMakefile43 obj-$(CONFIG_SH_SPI) += sh_spi.o
/external/u-boot/doc/driver-model/
DMIGRATION.txt40 drivers/spi/sh_spi.c