Searched refs:stm32_spi (Results 1 – 1 of 1) sorted by relevance
197 #define STM32_SPI_HOST_MODE(stm32_spi) (!(stm32_spi)->device_mode) argument198 #define STM32_SPI_DEVICE_MODE(stm32_spi) ((stm32_spi)->device_mode) argument240 struct stm32_spi;273 int (*get_fifo_size)(struct stm32_spi *spi);274 int (*get_bpw_mask)(struct stm32_spi *spi);275 void (*disable)(struct stm32_spi *spi);276 int (*config)(struct stm32_spi *spi);277 void (*set_bpw)(struct stm32_spi *spi);278 int (*set_mode)(struct stm32_spi *spi, unsigned int comm_type);279 void (*set_data_idleness)(struct stm32_spi *spi, u32 length);[all …]