Lines Matching defs:stm32_spi
197 #define STM32_SPI_HOST_MODE(stm32_spi) (!(stm32_spi)->device_mode) argument
198 #define STM32_SPI_DEVICE_MODE(stm32_spi) ((stm32_spi)->device_mode) argument
327 struct stm32_spi { struct
330 const struct stm32_spi_cfg *cfg; argument
331 void __iomem *base;
332 struct clk *clk;
333 u32 clk_rate;
334 spinlock_t lock; /* prevent I/O concurrent access */
335 int irq;
336 unsigned int fifo_size;
337 unsigned int t_size_max;
338 unsigned int feature_set;
362 static const struct stm32_spi_regspec stm32fx_spi_regspec = { argument