Lines Matching defs:spi
76 spi_to_spi_gpio(const struct spi_device *spi) in spi_to_spi_gpio()
87 static inline void setsck(const struct spi_device *spi, int is_on) in setsck()
94 static inline void setmosi(const struct spi_device *spi, int is_on) in setmosi()
101 static inline int getmiso(const struct spi_device *spi) in getmiso()
135 static u32 spi_gpio_txrx_word_mode0(struct spi_device *spi, in spi_gpio_txrx_word_mode0()
144 static u32 spi_gpio_txrx_word_mode1(struct spi_device *spi, in spi_gpio_txrx_word_mode1()
153 static u32 spi_gpio_txrx_word_mode2(struct spi_device *spi, in spi_gpio_txrx_word_mode2()
162 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()
191 static u32 spi_gpio_spec_txrx_word_mode1(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode1()
201 static u32 spi_gpio_spec_txrx_word_mode2(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode2()
211 static u32 spi_gpio_spec_txrx_word_mode3(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode3()
223 static void spi_gpio_chipselect(struct spi_device *spi, int is_active) in spi_gpio_chipselect()
240 static int spi_gpio_setup(struct spi_device *spi) in spi_gpio_setup()
263 static int spi_gpio_set_direction(struct spi_device *spi, bool output) in spi_gpio_set_direction()
301 static void spi_gpio_cleanup(struct spi_device *spi) in spi_gpio_cleanup()