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()
69 static void sh_spi_set_cs(struct sh_spi *ss, unsigned int cs) in sh_spi_set_cs()
85 struct sh_spi *ss; in spi_setup_slave()
90 ss = spi_alloc_slave(struct sh_spi, bus, cs); in spi_setup_slave()
115 struct sh_spi *spi = to_sh_spi(slave); in spi_free_slave()
127 struct sh_spi *ss = to_sh_spi(slave); in spi_release_bus()
133 static int sh_spi_send(struct sh_spi *ss, const unsigned char *tx_data, in sh_spi_send()
178 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()
DMakefile55 obj-$(CONFIG_SH_SPI) += sh_spi.o
/external/u-boot/doc/driver-model/
Dmigration.rst73 drivers/spi/sh_spi.c