/Zephyr-latest/drivers/spi/ |
D | spi_handlers.c | 14 static struct spi_buf_set *copy_and_check(struct spi_buf_set *bufs, in copy_and_check() 57 struct spi_buf_set *tx_bufs, in copy_bufs_and_transceive() 58 struct spi_buf_set *rx_bufs) in copy_bufs_and_transceive() 72 const struct spi_buf_set *tx_bufs, in z_vrfy_spi_transceive() 73 const struct spi_buf_set *rx_bufs) in z_vrfy_spi_transceive() 75 struct spi_buf_set tx_bufs_copy; in z_vrfy_spi_transceive() 76 struct spi_buf_set rx_bufs_copy; in z_vrfy_spi_transceive() 83 const struct spi_buf_set *tx = in z_vrfy_spi_transceive() 84 (const struct spi_buf_set *)tx_bufs; in z_vrfy_spi_transceive() 87 sizeof(struct spi_buf_set))); in z_vrfy_spi_transceive() [all …]
|
D | spi_test.c | 20 const struct spi_buf_set *tx_bufs, in vnd_spi_transceive() 21 const struct spi_buf_set *rx_bufs) in vnd_spi_transceive() 29 const struct spi_buf_set *tx_bufs, in vnd_spi_transceive_async() 30 const struct spi_buf_set *rx_bufs, in vnd_spi_transceive_async()
|
/Zephyr-latest/tests/boards/mec15xxevb_assy6853/qspi/src/ |
D | main.c | 45 static struct spi_buf_set tx_bufs, rx_bufs; 89 (const struct spi_buf_set *)&tx_bufs, in ZTEST_USER() 90 (const struct spi_buf_set *)&rx_bufs); in ZTEST_USER() 121 (const struct spi_buf_set *)&tx_bufs, in ZTEST_USER() 122 (const struct spi_buf_set *)&rx_bufs); in ZTEST_USER() 141 (const struct spi_buf_set *)&tx_bufs, in ZTEST_USER() 142 (const struct spi_buf_set *)&rx_bufs); in ZTEST_USER() 166 (const struct spi_buf_set *)&tx_bufs, in ZTEST_USER() 167 (const struct spi_buf_set *)&rx_bufs); in ZTEST_USER() 197 (const struct spi_buf_set *)&tx_bufs, in test_spi_single_write() [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | spi.h | 471 struct spi_buf_set { struct 589 const struct spi_buf_set *tx_bufs, in spi_transceive_stats() 590 const struct spi_buf_set *rx_bufs) in spi_transceive_stats() 648 const struct spi_buf_set *tx_bufs, 649 const struct spi_buf_set *rx_bufs); 667 const struct spi_buf_set *tx_bufs, 668 const struct spi_buf_set *rx_bufs, 772 const struct spi_buf_set *tx_bufs, 773 const struct spi_buf_set *rx_bufs); 777 const struct spi_buf_set *tx_bufs, in z_impl_spi_transceive() [all …]
|
D | spi_emul.h | 73 const struct spi_buf_set *tx_bufs, const struct spi_buf_set *rx_bufs);
|
/Zephyr-latest/include/zephyr/drivers/spi/ |
D | rtio.h | 58 const struct spi_buf_set *tx_bufs, 59 const struct spi_buf_set *rx_bufs, 98 const struct spi_buf_set *tx_bufs, 99 const struct spi_buf_set *rx_bufs);
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_rf2xx_iface.c | 67 const struct spi_buf_set tx = { in rf2xx_iface_reg_read() 81 const struct spi_buf_set rx = { in rf2xx_iface_reg_read() 116 const struct spi_buf_set tx = { in rf2xx_iface_reg_write() 124 const struct spi_buf_set rx = { in rf2xx_iface_reg_write() 179 const struct spi_buf_set tx = { in rf2xx_iface_frame_read() 187 const struct spi_buf_set rx = { in rf2xx_iface_frame_read() 230 const struct spi_buf_set tx = { in rf2xx_iface_frame_write() 238 const struct spi_buf_set rx = { in rf2xx_iface_frame_write() 270 const struct spi_buf_set tx = { in rf2xx_iface_sram_read() 284 const struct spi_buf_set rx = { in rf2xx_iface_sram_read()
|
/Zephyr-latest/drivers/sensor/ens160/ |
D | ens160_spi.c | 30 const struct spi_buf_set tx = { in ens160_read_reg_spi() 46 const struct spi_buf_set rx = { in ens160_read_reg_spi() 65 const struct spi_buf_set tx = { in ens160_read_data_spi() 81 const struct spi_buf_set rx = { in ens160_read_data_spi() 106 const struct spi_buf_set tx = { in ens160_write_reg_spi() 131 const struct spi_buf_set tx = { in ens160_write_data_spi()
|
/Zephyr-latest/drivers/sensor/meas/ms5607/ |
D | ms5607_spi.c | 28 const struct spi_buf_set buf_set = { in ms5607_spi_raw_cmd() 73 const struct spi_buf_set rx_buf_set = { in ms5607_spi_read_prom() 78 const struct spi_buf_set tx_buf_set = { in ms5607_spi_read_prom() 121 const struct spi_buf_set rx_buf_set = { in ms5607_spi_read_adc() 126 const struct spi_buf_set tx_buf_set = { in ms5607_spi_read_adc()
|
/Zephyr-latest/drivers/sensor/tdk/icm42605/ |
D | icm42605_spi.c | 27 const struct spi_buf_set tx = { in inv_spi_single_write() 52 const struct spi_buf_set tx = { in inv_spi_read() 68 const struct spi_buf_set rx = { in inv_spi_read()
|
/Zephyr-latest/drivers/sensor/bosch/bme680/ |
D | bme680_spi.c | 40 const struct spi_buf_set tx = { in bme680_set_mem_page() 49 const struct spi_buf_set rx = { in bme680_set_mem_page() 89 const struct spi_buf_set tx = { in bme680_reg_write_spi() 114 const struct spi_buf_set tx = { in bme680_reg_read_spi() 119 const struct spi_buf_set rx = { in bme680_reg_read_spi()
|
/Zephyr-latest/tests/boards/mec172xevb_assy6906/qspi/src/ |
D | main.c | 137 const struct spi_buf_set txset = { in spi_flash_read_status() 141 const struct spi_buf_set rxset = { in spi_flash_read_status() 171 const struct spi_buf_set txset = { in spi_flash_write_status() 194 const struct spi_buf_set txset = { in spi_flash_tx_one_byte_cmd() 228 const struct spi_buf_set txset = { in ZTEST_USER() 232 const struct spi_buf_set rxset = { in ZTEST_USER() 271 const struct spi_buf_set txset = { in ZTEST_USER() 315 const struct spi_buf_set txset = { in test_spi_single_write() 381 const struct spi_buf_set txset = { in ZTEST_USER() 386 const struct spi_buf_set rxset = { in ZTEST_USER() [all …]
|
/Zephyr-latest/tests/drivers/spi/spi_loopback/src/ |
D | spi.c | 105 const struct spi_buf_set tx = { in spi_complete_multiple() 118 const struct spi_buf_set rx = { in spi_complete_multiple() 177 const struct spi_buf_set tx = { in spi_complete_loop() 181 const struct spi_buf_set rx = { in spi_complete_loop() 232 const struct spi_buf_set tx = { in spi_null_tx_buf() 236 const struct spi_buf_set rx = { in spi_null_tx_buf() 280 const struct spi_buf_set tx = { in spi_rx_half_start() 284 const struct spi_buf_set rx = { in spi_rx_half_start() 333 const struct spi_buf_set tx = { in spi_rx_half_end() 337 const struct spi_buf_set rx = { in spi_rx_half_end() [all …]
|
/Zephyr-latest/drivers/stepper/adi_tmc/ |
D | adi_tmc_spi.c | 46 struct spi_buf_set spi_buffer_array_tx = { in tmc_spi_read_register() 55 struct spi_buf_set spi_buffer_array_rx = { in tmc_spi_read_register() 95 struct spi_buf_set spi_buffer_array_tx = { in tmc_spi_write_register() 104 struct spi_buf_set spi_buffer_array_rx = { in tmc_spi_write_register()
|
/Zephyr-latest/samples/drivers/spi_bitbang/src/ |
D | main.c | 36 struct spi_buf_set tx_bufs = { .buffers = &tx_buf, .count = 1 }; in test_basic_write_9bit_words() 74 struct spi_buf_set tx_set = { .buffers = tx_buf, .count = 2 }; in test_9bit_loopback_partial() 75 struct spi_buf_set rx_set = { .buffers = rx_buf, .count = 2 }; in test_9bit_loopback_partial() 109 struct spi_buf_set tx_set = { .buffers = tx_buf, .count = 1 }; in test_8bit_xfer() 110 struct spi_buf_set rx_set = { .buffers = rx_buf, .count = 1 }; in test_8bit_xfer()
|
/Zephyr-latest/drivers/sensor/st/stmemsc/ |
D | stmemsc_spi.c | 27 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in stmemsc_spi_read() 37 const struct spi_buf_set rx = { .buffers = rx_buf, .count = 2 }; in stmemsc_spi_read() 58 const struct spi_buf_set tx = { .buffers = tx_buf, .count = 2 }; in stmemsc_spi_write()
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670_spi.c | 31 const struct spi_buf_set tx = {.buffers = &tx_buf, .count = 1}; in icm42670_reg_read_spi() 33 const struct spi_buf_set rx = {.buffers = rx_buf, .count = ARRAY_SIZE(rx_buf)}; in icm42670_reg_read_spi() 56 const struct spi_buf_set tx = {.buffers = tx_buf, .count = 2}; in icm42670_reg_write_spi()
|
/Zephyr-latest/drivers/sensor/bosch/bmm150/ |
D | bmm150_spi.c | 33 const struct spi_buf_set tx = { in bmm150_reg_read_spi() 38 const struct spi_buf_set rx = { in bmm150_reg_read_spi() 73 const struct spi_buf_set tx = { in bmm150_reg_write_spi()
|
/Zephyr-latest/drivers/sensor/bosch/bme280/ |
D | bme280_spi.c | 33 const struct spi_buf_set tx = { in bme280_reg_read_spi() 38 const struct spi_buf_set rx = { in bme280_reg_read_spi() 73 const struct spi_buf_set tx = { in bme280_reg_write_spi()
|
/Zephyr-latest/tests/drivers/sensor/bmi160/include/ |
D | checks.h | 25 static inline bool bmi160_spi_is_touching_reg(const struct spi_buf_set *tx_bufs, in bmi160_spi_is_touching_reg() 26 const struct spi_buf_set *rx_bufs, int reg) in bmi160_spi_is_touching_reg()
|
/Zephyr-latest/drivers/sensor/st/iis2dh/ |
D | iis2dh_spi.c | 32 const struct spi_buf_set tx = { in iis2dh_spi_read() 46 const struct spi_buf_set rx = { in iis2dh_spi_read() 72 const struct spi_buf_set tx = { in iis2dh_spi_write()
|
/Zephyr-latest/drivers/sensor/st/iis3dhhc/ |
D | iis3dhhc_spi.c | 31 const struct spi_buf_set tx = { in iis3dhhc_spi_read() 45 const struct spi_buf_set rx = { in iis3dhhc_spi_read() 71 const struct spi_buf_set tx = { in iis3dhhc_spi_write()
|
/Zephyr-latest/drivers/sensor/adi/adt7310/ |
D | adt7310.c | 56 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in adt7310_temp_reg_read() 57 const struct spi_buf_set rx = { .buffers = &rx_buf, .count = 1 }; in adt7310_temp_reg_read() 76 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in adt7310_temp_reg_write() 77 const struct spi_buf_set rx = { .buffers = &rx_buf, .count = 1 }; in adt7310_temp_reg_write() 92 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in adt7310_reg_read() 93 const struct spi_buf_set rx = { .buffers = &rx_buf, .count = 1 }; in adt7310_reg_read() 112 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in adt7310_reg_write() 113 const struct spi_buf_set rx = { .buffers = &rx_buf, .count = 1 }; in adt7310_reg_write()
|
/Zephyr-latest/modules/nrf_wifi/bus/ |
D | spi_if.c | 43 const struct spi_buf_set tx = { .buffers = tx_buf, .count = 2 }; in spim_xfer_tx() 68 const struct spi_buf_set tx = { .buffers = tx_buf, .count = 2 }; in spim_xfer_rx() 75 const struct spi_buf_set rx = { .buffers = rx_buf, .count = 2 }; in spim_xfer_rx() 95 const struct spi_buf_set tx = { in spim_read_reg() 106 const struct spi_buf_set rx = { .buffers = &rx_buf, .count = 1 }; in spim_read_reg() 125 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in spim_write_reg() 220 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in spim_cmd_sleep_rpu()
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_mb85rsxx.c | 88 const struct spi_buf_set tx = { in eeprom_mb85rsxx_read() 102 const struct spi_buf_set rx = { in eeprom_mb85rsxx_read() 128 const struct spi_buf_set tx = { in eeprom_mb85rsxx_wren() 144 const struct spi_buf_set tx = { in eeprom_mb85rsxx_wrdi() 186 const struct spi_buf_set tx = { in eeprom_mb85rsxx_write() 236 const struct spi_buf_set tx = { in eeprom_mb85rsxx_rdid() 250 const struct spi_buf_set rx = { in eeprom_mb85rsxx_rdid()
|