Home
last modified time | relevance | path

Searched refs:spi_config (Results 26 – 50 of 84) sorted by relevance

1234

/Zephyr-latest/drivers/spi/
Dspi_rv32m1_lpspi.c135 const struct spi_config *spi_cfg) in spi_mcux_configure()
213 const struct spi_config *spi_cfg, in transceive()
244 const struct spi_config *spi_cfg, in spi_mcux_transceive()
253 const struct spi_config *spi_cfg, in spi_mcux_transceive_async()
264 const struct spi_config *spi_cfg) in spi_mcux_release()
Dspi_litex_common.h16 static inline uint8_t get_dfs_value(const struct spi_config *config) in get_dfs_value()
Dspi_bitbang.c33 const struct spi_config *config) in spi_bitbang_configure()
70 const struct spi_config *spi_cfg, in spi_bitbang_transceive()
236 const struct spi_config *spi_cfg, in spi_bitbang_transceive_async()
247 const struct spi_config *config) in spi_bitbang_release()
Dspi_emul.c67 static int spi_emul_io(const struct device *dev, const struct spi_config *config, in spi_emul_io()
97 static int spi_emul_release(const struct device *dev, const struct spi_config *config) in spi_emul_release()
Dspi_mchp_mss.c255 const struct spi_config *spi_cfg) in mss_spi_clk_gen_set()
313 static int mss_spi_release(const struct device *dev, const struct spi_config *config) in mss_spi_release()
327 static int mss_spi_configure(const struct device *dev, const struct spi_config *spi_cfg) in mss_spi_configure()
372 static int mss_spi_transceive(const struct device *dev, const struct spi_config *spi_cfg, in mss_spi_transceive()
403 static int mss_spi_transceive_blocking(const struct device *dev, const struct spi_config *spi_cfg, in mss_spi_transceive_blocking()
412 static int mss_spi_transceive_async(const struct device *dev, const struct spi_config *spi_cfg, in mss_spi_transceive_async()
Dspi_npcx_spip.c43 static int spi_npcx_spip_configure(const struct device *dev, const struct spi_config *spi_cfg) in spi_npcx_spip_configure()
253 static int transceive(const struct device *dev, const struct spi_config *spi_cfg, in transceive()
324 static int spi_npcx_spip_transceive(const struct device *dev, const struct spi_config *spi_cfg, in spi_npcx_spip_transceive()
333 const struct spi_config *spi_cfg, in spi_npcx_spip_transceive_async()
342 static int spi_npcx_spip_release(const struct device *dev, const struct spi_config *spi_cfg) in spi_npcx_spip_release()
Dspi_nrfx_spis.c63 const struct spi_config *spi_cfg) in configure()
165 const struct spi_config *spi_cfg, in transceive()
234 const struct spi_config *spi_cfg, in spi_nrfx_transceive()
243 const struct spi_config *spi_cfg, in spi_nrfx_transceive_async()
254 const struct spi_config *spi_cfg) in spi_nrfx_release()
Dspi_xec_qmspi_ldma.c275 static uint32_t encode_lines(const struct spi_config *config) in encode_lines()
300 static uint8_t npins_from_spi_config(const struct spi_config *config) in npins_from_spi_config()
313 static int spi_feature_support(const struct spi_config *config) in spi_feature_support()
346 const struct spi_config *config) in qmspi_configure()
612 const struct spi_config *spi_cfg, in qmspi_xfr_sync()
702 const struct spi_config *config, in qmspi_xfr_async()
720 const struct spi_config *config, in qmspi_transceive()
780 const struct spi_config *config, in qmspi_transceive_sync()
790 const struct spi_config *config, in qmspi_transceive_async()
801 const struct spi_config *config) in qmspi_release()
[all …]
Dspi_ambiq_spic.c123 static int spi_config(const struct device *dev, const struct spi_config *config) in spi_config() function
309 static int spi_ambiq_xfer(const struct device *dev, const struct spi_config *config) in spi_ambiq_xfer()
367 static int spi_ambiq_transceive(const struct device *dev, const struct spi_config *config, in spi_ambiq_transceive()
383 ret = spi_config(dev, config); in spi_ambiq_transceive()
402 static int spi_ambiq_release(const struct device *dev, const struct spi_config *config) in spi_ambiq_release()
Dspi_xec_qmspi.c143 static uint32_t qmspi_config_get_lines(const struct spi_config *config) in qmspi_config_get_lines()
177 const struct spi_config *config) in qmspi_configure()
516 const struct spi_config *config, in qmspi_transceive()
583 const struct spi_config *config, in qmspi_transceive_sync()
592 const struct spi_config *config, in qmspi_transceive_async()
602 const struct spi_config *config) in qmspi_release()
Dspi_nrfx_spi.c88 const struct spi_config *spi_cfg) in configure()
222 const struct spi_config *spi_cfg, in transceive()
289 const struct spi_config *spi_cfg, in spi_nrfx_transceive()
298 const struct spi_config *spi_cfg, in spi_nrfx_transceive_async()
309 const struct spi_config *spi_cfg) in spi_nrfx_release()
Dspi_psoc6.c210 const struct spi_config *spi_cfg) in spi_psoc6_configure()
296 const struct spi_config *spi_cfg, in spi_psoc6_transceive()
344 const struct spi_config *spi_cfg, in spi_psoc6_transceive_sync()
354 const struct spi_config *spi_cfg, in spi_psoc6_transceive_async()
366 const struct spi_config *config) in spi_psoc6_release()
Dspi_sedi.c38 const struct spi_config *config) in spi_sedi_configure()
91 static int transceive(const struct device *dev, const struct spi_config *config, in transceive()
221 const struct spi_config *config, in spi_sedi_transceive()
230 const struct spi_config *config, in spi_sedi_transceive_async()
241 const struct spi_config *config) in spi_sedi_release()
Dspi_mcux_flexcomm.c172 const struct spi_config *spi_cfg) in spi_mcux_configure()
335 const uint8_t *buf, const struct spi_config *spi_cfg, in spi_mcux_prepare_txlastword()
363 const struct spi_config *spi_cfg, in spi_mcux_prepare_txdummy()
385 const struct spi_config *spi_cfg, size_t len, in spi_mcux_dma_tx_load()
558 const struct spi_config *spi_cfg, bool last_packet) in spi_mcux_dma_move_buffers()
595 const struct spi_config *spi_cfg, in transceive_dma()
712 const struct spi_config *spi_cfg, in transceive()
743 const struct spi_config *spi_cfg, in spi_mcux_transceive()
755 const struct spi_config *spi_cfg, in spi_mcux_transceive_async()
770 const struct spi_config *spi_cfg) in spi_mcux_release()
Dspi_cc13xx_cc26xx.c39 const struct spi_config *config) in spi_cc13xx_cc26xx_configure()
134 const struct spi_config *config, in spi_cc13xx_cc26xx_transceive()
185 const struct spi_config *config) in spi_cc13xx_cc26xx_release()
Dspi_pw.c130 static uint8_t spi_pw_get_frame_size(const struct spi_config *config) in spi_pw_get_frame_size()
221 const struct spi_config *config) in spi_pw_set_data_size()
253 const struct spi_config *config) in spi_pw_config_phase_polarity()
305 const struct spi_config *config) in spi_pw_config_clk()
546 const struct spi_config *config) in spi_pw_configure()
612 const struct spi_config *config, in transceive()
687 const struct spi_config *config, in spi_pw_transceive()
698 const struct spi_config *config, in spi_pw_transceive_async()
713 const struct spi_config *config) in spi_pw_release()
Dspi_sam.c95 const struct spi_config *config) in spi_sam_configure()
526 const struct spi_config *config, in spi_sam_fast_transceive()
696 struct spi_config *spi_config = &spi_dt_spec->config; in spi_sam_iodev_prepare_start() local
699 err = spi_sam_configure(dev, spi_config); in spi_sam_iodev_prepare_start()
738 const struct spi_config *config, in spi_sam_transceive()
779 const struct spi_config *config, in spi_sam_transceive_sync()
788 const struct spi_config *config, in spi_sam_transceive_async()
800 const struct spi_config *config) in spi_sam_release()
Dspi_esp32_spim.c301 const struct spi_config *spi_cfg) in spi_esp32_configure()
408 static inline uint8_t spi_esp32_get_frame_size(const struct spi_config *spi_cfg) in spi_esp32_get_frame_size()
421 const struct spi_config *spi_cfg, in transceive()
474 const struct spi_config *spi_cfg, in spi_esp32_transceive()
483 const struct spi_config *spi_cfg, in spi_esp32_transceive_async()
494 const struct spi_config *config) in spi_esp32_release()
Dspi_mchp_mss_qspi.c347 const struct spi_config *spi_cfg) in mss_qspi_clk_gen_set()
410 const struct spi_config *config) in mss_qspi_release()
467 const struct spi_config *spi_cfg) in mss_qspi_configure()
499 const struct spi_config *spi_cfg, in mss_qspi_transceive()
530 const struct spi_config *spi_cfg, in mss_qspi_transceive_blocking()
540 const struct spi_config *spi_cfg, in mss_qspi_transceive_async()
Dspi_mcux_lpspi.c145 static int spi_mcux_configure(const struct device *dev, const struct spi_config *spi_cfg) in spi_mcux_configure()
484 static int transceive_dma(const struct device *dev, const struct spi_config *spi_cfg, in transceive_dma()
550 struct spi_config *spi_cfg = &spi_dt_spec->config; in spi_mcux_iodev_start()
632 static inline int transceive_rtio(const struct device *dev, const struct spi_config *spi_cfg, in transceive_rtio()
652 static int transceive(const struct device *dev, const struct spi_config *spi_cfg, in transceive()
685 static int spi_mcux_transceive(const struct device *dev, const struct spi_config *spi_cfg, in spi_mcux_transceive()
702 static int spi_mcux_transceive_sync(const struct device *dev, const struct spi_config *spi_cfg, in spi_mcux_transceive_sync()
710 static int spi_mcux_transceive_async(const struct device *dev, const struct spi_config *spi_cfg, in spi_mcux_transceive_async()
719 static int spi_mcux_release(const struct device *dev, const struct spi_config *spi_cfg) in spi_mcux_release()
Dspi_mcux_flexio.c220 const struct spi_config *spi_cfg) in spi_mcux_flexio_configure()
296 const struct spi_config *spi_cfg, in transceive()
336 const struct spi_config *spi_cfg, in spi_mcux_transceive()
345 const struct spi_config *spi_cfg, in spi_mcux_transceive_async()
356 const struct spi_config *spi_cfg) in spi_mcux_release()
Dspi_context.h29 const struct spi_config *config;
30 const struct spi_config *owner;
79 const struct spi_config *config) in spi_context_configured()
93 const struct spi_config *spi_cfg) in spi_context_lock()
/Zephyr-latest/drivers/sdhc/
Dsdhc_spi.c101 struct spi_config *spi_cfg;
102 struct spi_config cfg_a;
103 struct spi_config cfg_b;
108 static int sdhc_spi_rx(const struct device *spi_dev, struct spi_config *spi_cfg, in sdhc_spi_rx()
151 struct spi_config *spi_cfg = data->spi_cfg; in sdhc_spi_init_card()
709 sizeof(struct spi_config)); in sdhc_spi_set_io()
714 sizeof(struct spi_config)); in sdhc_spi_set_io()
/Zephyr-latest/tests/drivers/sensor/bmi160/src/
Dspi.c19 static int mock_spi_io(const struct emul *target, const struct spi_config *config, in mock_spi_io()
/Zephyr-latest/include/zephyr/drivers/spi/
Drtio.h97 const struct spi_config *config,

1234