Home
last modified time | relevance | path

Searched refs:mt7621_spi (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-mt7621.c55 struct mt7621_spi { struct
68 static inline u32 mt7621_spi_read(struct mt7621_spi *rs, u32 reg) in mt7621_spi_read()
80 struct mt7621_spi *rs = spidev_to_mt7621_spi(spi); in mt7621_spi_set_cs()
104 struct mt7621_spi *rs = spidev_to_mt7621_spi(spi); in mt7621_spi_prepare()
140 static inline int mt7621_spi_wait_till_ready(struct mt7621_spi *rs) in mt7621_spi_wait_till_ready()
157 static void mt7621_spi_read_half_duplex(struct mt7621_spi *rs, in mt7621_spi_read_half_duplex()
199 static inline void mt7621_spi_flush(struct mt7621_spi *rs) in mt7621_spi_flush()
204 static void mt7621_spi_write_half_duplex(struct mt7621_spi *rs, in mt7621_spi_write_half_duplex()
251 struct mt7621_spi *rs = spi_controller_get_devdata(master); in mt7621_spi_transfer_one_message()
304 struct mt7621_spi *rs = spidev_to_mt7621_spi(spi); in mt7621_spi_setup()
[all …]
/openbmc/u-boot/drivers/spi/
H A Dmt7621_spi.c41 struct mt7621_spi { struct
48 static void mt7621_spi_reset(struct mt7621_spi *rs, int duplex) in mt7621_spi_reset() argument
54 static void mt7621_spi_set_cs(struct mt7621_spi *rs, int cs, int enable) in mt7621_spi_set_cs()
66 struct mt7621_spi *rs = dev_get_priv(bus); in mt7621_spi_set_mode()
97 struct mt7621_spi *rs = dev_get_priv(bus); in mt7621_spi_set_speed()
119 static inline int mt7621_spi_wait_till_ready(struct mt7621_spi *rs) in mt7621_spi_wait_till_ready()
135 struct mt7621_spi *rs = dev_get_priv(bus); in mt7621_spi_xfer()
268 struct mt7621_spi *rs = dev_get_priv(dev); in mt7621_spi_probe()
305 U_BOOT_DRIVER(mt7621_spi) = {
310 .priv_auto_alloc_size = sizeof(struct mt7621_spi),
H A DMakefile40 obj-$(CONFIG_MT7621_SPI) += mt7621_spi.o