Home
last modified time | relevance | path

Searched defs:sspi (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/spi/
Dspi-sun4i.c90 static inline u32 sun4i_spi_read(struct sun4i_spi *sspi, u32 reg) in sun4i_spi_read()
95 static inline void sun4i_spi_write(struct sun4i_spi *sspi, u32 reg, u32 value) in sun4i_spi_write()
100 static inline u32 sun4i_spi_get_tx_fifo_count(struct sun4i_spi *sspi) in sun4i_spi_get_tx_fifo_count()
109 static inline void sun4i_spi_enable_interrupt(struct sun4i_spi *sspi, u32 mask) in sun4i_spi_enable_interrupt()
117 static inline void sun4i_spi_disable_interrupt(struct sun4i_spi *sspi, u32 mask) in sun4i_spi_disable_interrupt()
125 static inline void sun4i_spi_drain_fifo(struct sun4i_spi *sspi, int len) in sun4i_spi_drain_fifo()
145 static inline void sun4i_spi_fill_fifo(struct sun4i_spi *sspi, int len) in sun4i_spi_fill_fifo()
164 struct sun4i_spi *sspi = spi_master_get_devdata(spi->master); in sun4i_spi_set_cs() local
208 struct sun4i_spi *sspi = spi_master_get_devdata(master); in sun4i_spi_transfer_one() local
351 struct sun4i_spi *sspi = dev_id; in sun4i_spi_handler() local
[all …]
Dspi-sun6i.c102 static inline u32 sun6i_spi_read(struct sun6i_spi *sspi, u32 reg) in sun6i_spi_read()
107 static inline void sun6i_spi_write(struct sun6i_spi *sspi, u32 reg, u32 value) in sun6i_spi_write()
112 static inline u32 sun6i_spi_get_tx_fifo_count(struct sun6i_spi *sspi) in sun6i_spi_get_tx_fifo_count()
121 static inline void sun6i_spi_enable_interrupt(struct sun6i_spi *sspi, u32 mask) in sun6i_spi_enable_interrupt()
129 static inline void sun6i_spi_disable_interrupt(struct sun6i_spi *sspi, u32 mask) in sun6i_spi_disable_interrupt()
137 static inline void sun6i_spi_drain_fifo(struct sun6i_spi *sspi, int len) in sun6i_spi_drain_fifo()
157 static inline void sun6i_spi_fill_fifo(struct sun6i_spi *sspi, int len) in sun6i_spi_fill_fifo()
176 struct sun6i_spi *sspi = spi_master_get_devdata(spi->master); in sun6i_spi_set_cs() local
200 struct sun6i_spi *sspi = spi_master_get_devdata(master); in sun6i_spi_transfer_one() local
349 struct sun6i_spi *sspi = dev_id; in sun6i_spi_handler() local
[all …]
Dspi-synquacer.c141 static int read_fifo(struct synquacer_spi *sspi) in read_fifo()
184 static int write_fifo(struct synquacer_spi *sspi) in write_fifo()
232 struct synquacer_spi *sspi = spi_master_get_devdata(master); in synquacer_spi_config() local
357 struct synquacer_spi *sspi = spi_master_get_devdata(master); in synquacer_spi_transfer_one() local
486 struct synquacer_spi *sspi = spi_master_get_devdata(spi->master); in synquacer_spi_set_cs() local
496 static int synquacer_spi_wait_status_update(struct synquacer_spi *sspi, in synquacer_spi_wait_status_update()
521 struct synquacer_spi *sspi = spi_master_get_devdata(master); in synquacer_spi_enable() local
562 struct synquacer_spi *sspi = priv; in sq_spi_rx_handler() local
582 struct synquacer_spi *sspi = priv; in sq_spi_tx_handler() local
602 struct synquacer_spi *sspi; in synquacer_spi_probe() local
[all …]
Dspi-sirf.c303 static void sirfsoc_usp_hwinit(struct sirfsoc_spi *sspi) in sirfsoc_usp_hwinit()
312 static void spi_sirfsoc_rx_word_u8(struct sirfsoc_spi *sspi) in spi_sirfsoc_rx_word_u8()
327 static void spi_sirfsoc_tx_word_u8(struct sirfsoc_spi *sspi) in spi_sirfsoc_tx_word_u8()
340 static void spi_sirfsoc_rx_word_u16(struct sirfsoc_spi *sspi) in spi_sirfsoc_rx_word_u16()
355 static void spi_sirfsoc_tx_word_u16(struct sirfsoc_spi *sspi) in spi_sirfsoc_tx_word_u16()
369 static void spi_sirfsoc_rx_word_u32(struct sirfsoc_spi *sspi) in spi_sirfsoc_rx_word_u32()
385 static void spi_sirfsoc_tx_word_u32(struct sirfsoc_spi *sspi) in spi_sirfsoc_tx_word_u32()
401 struct sirfsoc_spi *sspi = dev_id; in spi_sirfsoc_irq() local
462 struct sirfsoc_spi *sspi; in spi_sirfsoc_cmd_transfer() local
491 struct sirfsoc_spi *sspi; in spi_sirfsoc_dma_transfer() local
[all …]