Lines Matching refs:spi_device
75 spi_to_spi_gpio(const struct spi_device *spi) in spi_to_spi_gpio()
86 static inline void setsck(const struct spi_device *spi, int is_on) in setsck()
93 static inline void setmosi(const struct spi_device *spi, int is_on) in setmosi()
100 static inline int getmiso(const struct spi_device *spi) in getmiso()
134 static u32 spi_gpio_txrx_word_mode0(struct spi_device *spi, in spi_gpio_txrx_word_mode0()
143 static u32 spi_gpio_txrx_word_mode1(struct spi_device *spi, in spi_gpio_txrx_word_mode1()
152 static u32 spi_gpio_txrx_word_mode2(struct spi_device *spi, in spi_gpio_txrx_word_mode2()
161 static u32 spi_gpio_txrx_word_mode3(struct spi_device *spi, in spi_gpio_txrx_word_mode3()
180 static u32 spi_gpio_spec_txrx_word_mode0(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode0()
190 static u32 spi_gpio_spec_txrx_word_mode1(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode1()
200 static u32 spi_gpio_spec_txrx_word_mode2(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode2()
210 static u32 spi_gpio_spec_txrx_word_mode3(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode3()
222 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) in spi_gpio_chipselect()
239 static int spi_gpio_setup(struct spi_device *spi) in spi_gpio_setup()
262 static int spi_gpio_set_direction(struct spi_device *spi, bool output) in spi_gpio_set_direction()
300 static void spi_gpio_cleanup(struct spi_device *spi) in spi_gpio_cleanup()