/Zephyr-Core-2.7.6/include/drivers/ |
D | spi.h | 244 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/ |
D | icm42605_spi.c | 15 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()
|
D | icm42605_spi.h | 15 const struct spi_config *spi_config);
|
/Zephyr-Core-2.7.6/tests/boards/mec15xxevb_assy6853/qspi/src/ |
D | main.c | 48 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/ |
D | spi_litespi.c | 16 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()
|
D | spi_test.c | 18 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()
|
D | spi_handlers.c | 56 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()
|
D | spi_gecko.c | 53 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()
|
D | spi_oc_simple.c | 35 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()
|
D | spi_nrfx_spis.c | 63 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()
|
D | spi_sifive.c | 29 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()
|
D | spi_sam.c | 52 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()
|
D | spi_rv32m1_lpspi.c | 129 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()
|
D | spi_nrfx_spi.c | 90 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()
|
D | spi_mcux_flexcomm.c | 147 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()
|
D | spi_b91.c | 73 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/ |
D | main.c | 26 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/ |
D | spi.c | 67 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/ |
D | max6675.c | 25 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/ |
D | display_st7789v.c | 41 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/ |
D | iis2dh_spi.c | 24 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/ |
D | iis3dhhc_spi.c | 23 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/ |
D | stmemsc_spi.c | 20 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/ |
D | lis2ds12_spi.c | 29 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/ |
D | iis2mdc_spi.c | 27 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()
|