Searched refs:sun4i_spi (Results 1 – 1 of 1) sorted by relevance
77 struct sun4i_spi { struct90 static inline u32 sun4i_spi_read(struct sun4i_spi *sspi, u32 reg) in sun4i_spi_read() argument95 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_controller_get_devdata(spi->controller); in sun4i_spi_set_cs()208 struct sun4i_spi *sspi = spi_controller_get_devdata(host); in sun4i_spi_transfer_one()[all …]