Lines Matching defs:stm32_spi_cfg
244 struct stm32_spi_cfg { struct
245 const struct stm32_spi_regspec *regs;
246 int (*get_fifo_size)(struct stm32_spi *spi);
247 int (*get_bpw_mask)(struct stm32_spi *spi);
248 void (*disable)(struct stm32_spi *spi);
249 int (*config)(struct stm32_spi *spi);
250 void (*set_bpw)(struct stm32_spi *spi);
251 int (*set_mode)(struct stm32_spi *spi, unsigned int comm_type);
252 void (*set_data_idleness)(struct stm32_spi *spi, u32 length);
253 int (*set_number_of_data)(struct stm32_spi *spi, u32 length);
254 void (*transfer_one_dma_start)(struct stm32_spi *spi);
255 void (*dma_rx_cb)(void *data);
256 void (*dma_tx_cb)(void *data);
257 int (*transfer_one_irq)(struct stm32_spi *spi);
258 irqreturn_t (*irq_handler_event)(int irq, void *dev_id);
259 irqreturn_t (*irq_handler_thread)(int irq, void *dev_id);
260 unsigned int baud_rate_div_min;
261 unsigned int baud_rate_div_max;
262 bool has_fifo;
263 bool has_device_mode;
264 u16 flags;