Lines Matching refs:spi_device
93 spi_to_pdata(const struct spi_device *spi) in spi_to_pdata()
106 static inline void setsck(const struct spi_device *spi, int is_on) in setsck()
111 static inline void setmosi(const struct spi_device *spi, int is_on) in setmosi()
116 static inline int getmiso(const struct spi_device *spi) in getmiso()
147 static u32 spi_gpio_txrx_word_mode0(struct spi_device *spi, in spi_gpio_txrx_word_mode0()
153 static u32 spi_gpio_txrx_word_mode1(struct spi_device *spi, in spi_gpio_txrx_word_mode1()
159 static u32 spi_gpio_txrx_word_mode2(struct spi_device *spi, in spi_gpio_txrx_word_mode2()
165 static u32 spi_gpio_txrx_word_mode3(struct spi_device *spi, in spi_gpio_txrx_word_mode3()
181 static u32 spi_gpio_spec_txrx_word_mode0(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode0()
188 static u32 spi_gpio_spec_txrx_word_mode1(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode1()
195 static u32 spi_gpio_spec_txrx_word_mode2(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode2()
202 static u32 spi_gpio_spec_txrx_word_mode3(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode3()
211 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) in spi_gpio_chipselect()
225 static int spi_gpio_setup(struct spi_device *spi) in spi_gpio_setup()
250 static void spi_gpio_cleanup(struct spi_device *spi) in spi_gpio_cleanup()