Lines Matching refs:sun4i_spi
77 struct sun4i_spi { struct
90 static inline u32 sun4i_spi_read(struct sun4i_spi *sspi, u32 reg) in sun4i_spi_read() argument
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_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()
352 struct sun4i_spi *sspi = dev_id; in sun4i_spi_handler()
391 struct sun4i_spi *sspi = spi_controller_get_devdata(host); in sun4i_spi_runtime_resume()
420 struct sun4i_spi *sspi = spi_controller_get_devdata(host); in sun4i_spi_runtime_suspend()
431 struct sun4i_spi *sspi; in sun4i_spi_probe()
434 host = spi_alloc_host(&pdev->dev, sizeof(struct sun4i_spi)); in sun4i_spi_probe()