Lines Matching defs:spi
346 static inline void stm32_spi_set_bits(struct stm32_spi *spi, in stm32_spi_set_bits()
353 static inline void stm32_spi_clr_bits(struct stm32_spi *spi, in stm32_spi_clr_bits()
364 static int stm32h7_spi_get_fifo_size(struct stm32_spi *spi) in stm32h7_spi_get_fifo_size()
389 static int stm32f4_spi_get_bpw_mask(struct stm32_spi *spi) in stm32f4_spi_get_bpw_mask()
399 static int stm32h7_spi_get_bpw_mask(struct stm32_spi *spi) in stm32h7_spi_get_bpw_mask()
431 static int stm32_spi_prepare_mbr(struct stm32_spi *spi, u32 speed_hz, in stm32_spi_prepare_mbr()
465 static u32 stm32h7_spi_prepare_fthlv(struct stm32_spi *spi, u32 xfer_len) in stm32h7_spi_prepare_fthlv()
484 static void stm32f4_spi_write_tx(struct stm32_spi *spi) in stm32f4_spi_write_tx()
513 static void stm32h7_spi_write_txfifo(struct stm32_spi *spi) in stm32h7_spi_write_txfifo()
548 static void stm32f4_spi_read_rx(struct stm32_spi *spi) in stm32f4_spi_read_rx()
577 static void stm32h7_spi_read_rxfifo(struct stm32_spi *spi) in stm32h7_spi_read_rxfifo()
620 static void stm32_spi_enable(struct stm32_spi *spi) in stm32_spi_enable()
632 static void stm32f4_spi_disable(struct stm32_spi *spi) in stm32f4_spi_disable()
682 static void stm32h7_spi_disable(struct stm32_spi *spi) in stm32h7_spi_disable()
729 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32_spi_can_dma() local
750 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32f4_spi_irq_event() local
838 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32f4_spi_irq_thread() local
854 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32h7_spi_irq_thread() local
948 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32_spi_prepare_msg() local
1016 struct stm32_spi *spi = data; in stm32f4_spi_dma_tx_cb() local
1032 struct stm32_spi *spi = data; in stm32_spi_dma_rx_cb() local
1045 static void stm32_spi_dma_config(struct stm32_spi *spi, in stm32_spi_dma_config()
1096 static int stm32f4_spi_transfer_one_irq(struct stm32_spi *spi) in stm32f4_spi_transfer_one_irq()
1139 static int stm32h7_spi_transfer_one_irq(struct stm32_spi *spi) in stm32h7_spi_transfer_one_irq()
1178 static void stm32f4_spi_transfer_one_dma_start(struct stm32_spi *spi) in stm32f4_spi_transfer_one_dma_start()
1199 static void stm32h7_spi_transfer_one_dma_start(struct stm32_spi *spi) in stm32h7_spi_transfer_one_dma_start()
1222 static int stm32_spi_transfer_one_dma(struct stm32_spi *spi, in stm32_spi_transfer_one_dma()
1323 static void stm32f4_spi_set_bpw(struct stm32_spi *spi) in stm32f4_spi_set_bpw()
1335 static void stm32h7_spi_set_bpw(struct stm32_spi *spi) in stm32h7_spi_set_bpw()
1362 static void stm32_spi_set_mbr(struct stm32_spi *spi, u32 mbrdiv) in stm32_spi_set_mbr()
1410 static int stm32f4_spi_set_mode(struct stm32_spi *spi, unsigned int comm_type) in stm32f4_spi_set_mode()
1438 static int stm32h7_spi_set_mode(struct stm32_spi *spi, unsigned int comm_type) in stm32h7_spi_set_mode()
1474 static void stm32h7_spi_data_idleness(struct stm32_spi *spi, u32 len) in stm32h7_spi_data_idleness()
1502 static int stm32h7_spi_number_of_data(struct stm32_spi *spi, u32 nb_words) in stm32h7_spi_number_of_data()
1522 static int stm32_spi_transfer_one_setup(struct stm32_spi *spi, in stm32_spi_transfer_one_setup()
1603 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32_spi_transfer_one() local
1634 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32_spi_unprepare_msg() local
1645 static int stm32f4_spi_config(struct stm32_spi *spi) in stm32f4_spi_config()
1676 static int stm32h7_spi_config(struct stm32_spi *spi) in stm32h7_spi_config()
1762 struct stm32_spi *spi; in stm32_spi_probe() local
1928 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32_spi_remove() local
1956 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32_spi_runtime_suspend() local
1966 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32_spi_runtime_resume() local
1991 struct stm32_spi *spi = spi_master_get_devdata(master); in stm32_spi_resume() local