Searched defs:stm32_spi (Results 1 – 1 of 1) sorted by relevance
202 #define STM32_SPI_HOST_MODE(stm32_spi) (!(stm32_spi)->device_mode) argument203 #define STM32_SPI_DEVICE_MODE(stm32_spi) ((stm32_spi)->device_mode) argument339 struct stm32_spi { struct342 const struct stm32_spi_cfg *cfg; argument343 void __iomem *base;344 struct clk *clk;345 u32 clk_rate;346 spinlock_t lock; /* prevent I/O concurrent access */347 int irq;348 unsigned int fifo_size;[all …]