Home
last modified time | relevance | path

Searched refs:spi_config (Results 1 – 25 of 74) sorted by relevance

123

/Zephyr-Core-2.7.6/include/drivers/
Dspi.h244 struct spi_config { struct
308 struct spi_config config;
384 const struct spi_config *config,
394 const struct spi_config *config,
405 const struct spi_config *config);
461 const struct spi_config *config,
466 const struct spi_config *config, in z_impl_spi_transceive()
515 const struct spi_config *config, in spi_read()
556 const struct spi_config *config, in spi_write()
609 const struct spi_config *config, in spi_transceive_async()
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/icm42605/
Dicm42605_spi.c15 static const struct spi_config *spi_cfg;
87 const struct spi_config *spi_config) in icm42605_spi_init() argument
90 __ASSERT_NO_MSG(spi_config); in icm42605_spi_init()
93 spi_cfg = spi_config; in icm42605_spi_init()
Dicm42605_spi.h15 const struct spi_config *spi_config);
/Zephyr-Core-2.7.6/tests/boards/mec15xxevb_assy6853/qspi/src/
Dmain.c48 struct spi_config spi_cfg_single, spi_cfg_dual, spi_cfg_quad;
89 (const struct spi_config *)&spi_cfg_single, in test_spi_device()
121 (const struct spi_config *)&spi_cfg_single, in test_spi_sector_erase()
141 (const struct spi_config *)&spi_cfg_single, in test_spi_sector_erase()
166 (const struct spi_config *)&spi_cfg_single, in test_spi_sector_erase()
197 (const struct spi_config *)&spi_cfg_single, in test_spi_single_write()
218 (const struct spi_config *)&spi_cfg_single, in test_spi_single_write()
266 (const struct spi_config *)&spi_cfg_single, in test_spi_single_read()
321 (const struct spi_config *)&spi_cfg_single, in test_spi_dual_read()
335 (const struct spi_config *)&spi_cfg_dual, in test_spi_dual_read()
[all …]
/Zephyr-Core-2.7.6/drivers/spi/
Dspi_litespi.c16 static int spi_config(const struct spi_config *config, uint16_t *control) in spi_config() function
96 const struct spi_config *config, in spi_litespi_xfer()
129 const struct spi_config *config, in spi_litespi_transceive()
135 spi_config(config, &control); in spi_litespi_transceive()
143 const struct spi_config *config, in spi_litespi_transceive_async()
153 const struct spi_config *config) in spi_litespi_release()
Dspi_test.c18 const struct spi_config *spi_cfg, in vnd_spi_transceive()
27 const struct spi_config *spi_cfg, in vnd_spi_transceive_async()
37 const struct spi_config *spi_cfg) in vnd_spi_release()
Dspi_handlers.c56 const struct spi_config *config, in copy_bufs_and_transceive()
71 const struct spi_config *config, in z_vrfy_spi_transceive()
77 struct spi_config config_copy; in z_vrfy_spi_transceive()
124 const struct spi_config *config) in z_vrfy_spi_release()
Dspi_gecko.c53 static int spi_config(const struct device *dev, in spi_config() function
54 const struct spi_config *config, in spi_config()
168 const struct spi_config *config) in spi_gecko_xfer()
247 const struct spi_config *config, in spi_gecko_transceive()
253 spi_config(dev, config, &control); in spi_gecko_transceive()
261 const struct spi_config *config, in spi_gecko_transceive_async()
271 const struct spi_config *config) in spi_gecko_release()
Dspi_oc_simple.c35 const struct spi_config *config) in spi_oc_simple_configure()
89 const struct spi_config *config, in spi_oc_simple_transceive()
162 const struct spi_config *config, in spi_oc_simple_transceive_async()
172 const struct spi_config *config) in spi_oc_simple_release()
Dspi_nrfx_spis.c63 const struct spi_config *spi_cfg) in configure()
145 const struct spi_config *spi_cfg, in transceive()
181 const struct spi_config *spi_cfg, in spi_nrfx_transceive()
190 const struct spi_config *spi_cfg, in spi_nrfx_transceive_async()
200 const struct spi_config *spi_cfg) in spi_nrfx_release()
Dspi_sifive.c29 int spi_config(const struct device *dev, uint32_t frequency, in spi_config() function
165 const struct spi_config *config, in spi_sifive_transceive()
205 rc = spi_config(dev, config->frequency, config->operation); in spi_sifive_transceive()
231 const struct spi_config *config) in spi_sifive_release()
Dspi_sam.c52 const struct spi_config *config) in spi_sam_configure()
271 const struct spi_config *config, in spi_sam_fast_transceive()
360 const struct spi_config *config, in spi_sam_transceive()
401 const struct spi_config *config, in spi_sam_transceive_sync()
410 const struct spi_config *config, in spi_sam_transceive_async()
421 const struct spi_config *config) in spi_sam_release()
Dspi_rv32m1_lpspi.c129 const struct spi_config *spi_cfg) in spi_mcux_configure()
198 const struct spi_config *spi_cfg, in transceive()
228 const struct spi_config *spi_cfg, in spi_mcux_transceive()
237 const struct spi_config *spi_cfg, in spi_mcux_transceive_async()
247 const struct spi_config *spi_cfg) in spi_mcux_release()
Dspi_nrfx_spi.c90 const struct spi_config *spi_cfg) in configure()
201 const struct spi_config *spi_cfg, in transceive()
230 const struct spi_config *spi_cfg, in spi_nrfx_transceive()
239 const struct spi_config *spi_cfg, in spi_nrfx_transceive_async()
249 const struct spi_config *spi_cfg) in spi_nrfx_release()
Dspi_mcux_flexcomm.c147 const struct spi_config *spi_cfg) in spi_mcux_configure()
284 const uint8_t *buf, const struct spi_config *spi_cfg, in spi_mcux_prepare_txlastword()
308 const struct spi_config *spi_cfg) in spi_mcux_prepare_txdummy()
326 const struct spi_config *spi_cfg, size_t len, bool last_packet) in spi_mcux_dma_tx_load()
497 const struct spi_config *spi_cfg, bool last_packet) in spi_mcux_dma_move_buffers()
533 const struct spi_config *spi_cfg, in transceive_dma()
614 const struct spi_config *spi_cfg, in transceive()
644 const struct spi_config *spi_cfg, in spi_mcux_transceive()
656 const struct spi_config *spi_cfg, in spi_mcux_transceive_async()
666 const struct spi_config *spi_cfg) in spi_mcux_release()
Dspi_b91.c73 const struct spi_config *config) in spi_b91_config_cs()
242 static bool spi_b91_is_config_supported(const struct spi_config *config, in spi_b91_is_config_supported()
290 const struct spi_config *config) in spi_b91_config()
372 const struct spi_config *config, in spi_b91_transceive()
413 const struct spi_config *config, in spi_b91_transceive_async()
430 const struct spi_config *config) in spi_b91_release()
/Zephyr-Core-2.7.6/samples/drivers/spi_fujitsu_fram/src/
Dmain.c26 struct spi_config *spi_cfg, in mb85rs64v_access()
69 struct spi_config *spi_cfg) in mb85rs64v_read_id()
100 static int write_bytes(const struct device *spi, struct spi_config *spi_cfg, in write_bytes()
124 static int read_bytes(const struct device *spi, struct spi_config *spi_cfg, in read_bytes()
143 struct spi_config spi_cfg = {0}; in main()
/Zephyr-Core-2.7.6/tests/drivers/spi/spi_loopback/src/
Dspi.c67 struct spi_config spi_cfg_slow = {
79 struct spi_config spi_cfg_fast = {
107 struct spi_config *spi_conf) in spi_complete_multiple()
172 struct spi_config *spi_conf) in spi_complete_loop()
223 struct spi_config *spi_conf) in spi_null_tx_buf()
279 struct spi_config *spi_conf) in spi_rx_half_start()
331 struct spi_config *spi_conf) in spi_rx_half_end()
392 struct spi_config *spi_conf) in spi_rx_every_4()
506 struct spi_config *spi_conf) in spi_async_call()
559 struct spi_config *spi_conf_lock, in spi_resource_lock_test()
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/max6675/
Dmax6675.c25 struct spi_config spi_config; member
58 ret = spi_read(data->spi, &config->spi_config, &rx_bufs); in max6675_sample_fetch()
122 .spi_config = { \
/Zephyr-Core-2.7.6/drivers/display/
Ddisplay_st7789v.c41 struct spi_config spi_config; member
82 spi_write(data->spi_dev, &data->spi_config, &tx_bufs); in st7789v_transmit()
88 spi_write(data->spi_dev, &data->spi_config, &tx_bufs); in st7789v_transmit()
196 spi_write(data->spi_dev, &data->spi_config, &tx_bufs); in st7789v_write()
344 data->spi_config.frequency =
346 data->spi_config.operation = SPI_OP_MODE_MASTER | SPI_WORD_SET(8);
347 data->spi_config.slave = DT_INST_REG_ADDR(0);
355 data->spi_config.cs = &(data->cs_ctrl);
357 data->spi_config.cs = NULL;
/Zephyr-Core-2.7.6/drivers/sensor/iis2dh/
Diis2dh_spi.c24 static struct spi_config iis2dh_spi_conf = {
35 struct spi_config *spi_cfg = &iis2dh_spi_conf; in iis2dh_spi_read()
70 struct spi_config *spi_cfg = &iis2dh_spi_conf; in iis2dh_spi_write()
/Zephyr-Core-2.7.6/drivers/sensor/iis3dhhc/
Diis3dhhc_spi.c23 static struct spi_config iis3dhhc_spi_conf = {
34 struct spi_config *spi_cfg = &iis3dhhc_spi_conf; in iis3dhhc_spi_read()
69 struct spi_config *spi_cfg = &iis3dhhc_spi_conf; in iis3dhhc_spi_write()
/Zephyr-Core-2.7.6/drivers/sensor/stmemsc/
Dstmemsc_spi.c20 const struct spi_config *spi_cfg = &stmemsc->spi_cfg; in stmemsc_spi_read()
46 const struct spi_config *spi_cfg = &stmemsc->spi_cfg; in stmemsc_spi_write()
/Zephyr-Core-2.7.6/drivers/sensor/lis2ds12/
Dlis2ds12_spi.c29 static struct spi_config lis2ds12_spi_conf = {
40 struct spi_config *spi_cfg = &lis2ds12_spi_conf; in lis2ds12_raw_read()
80 struct spi_config *spi_cfg = &lis2ds12_spi_conf; in lis2ds12_raw_write()
/Zephyr-Core-2.7.6/drivers/sensor/iis2mdc/
Diis2mdc_spi.c27 const struct spi_config *spi_cfg = &cfg->bus_cfg.spi_cfg; in iis2mdc_spi_read()
67 const struct spi_config *spi_cfg = &cfg->bus_cfg.spi_cfg; in iis2mdc_spi_write()

123