Lines Matching refs:sun6i_spi
81 struct sun6i_spi {
95 static inline u32 sun6i_spi_read(struct sun6i_spi *sspi, u32 reg)
100 static inline void sun6i_spi_write(struct sun6i_spi *sspi, u32 reg, u32 value)
105 static inline void sun6i_spi_drain_fifo(struct sun6i_spi *sspi, int len)
125 static inline void sun6i_spi_fill_fifo(struct sun6i_spi *sspi, int len)
141 struct sun6i_spi *sspi = spi_master_get_devdata(spi->master);
161 struct sun6i_spi *sspi = spi_master_get_devdata(master);
289 struct sun6i_spi *sspi = dev_id;
305 struct sun6i_spi *sspi = spi_master_get_devdata(master);
342 struct sun6i_spi *sspi = spi_master_get_devdata(master);
354 struct sun6i_spi *sspi;
358 master = spi_alloc_master(&pdev->dev, sizeof(struct sun6i_spi));