Home
last modified time | relevance | path

Searched refs:spi_buf (Results 1 – 25 of 129) sorted by relevance

123456

/Zephyr-latest/tests/boards/mec15xxevb_assy6853/qspi/src/
Dmain.c46 static struct spi_buf txb[MAX_TX_BUF], rxb;
77 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
84 rx_bufs.buffers = (const struct spi_buf *)&rxb; in ZTEST_USER()
113 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
133 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
152 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
159 rx_bufs.buffers = (const struct spi_buf *)&rxb; in ZTEST_USER()
189 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in test_spi_single_write()
210 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in test_spi_single_write()
254 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in ZTEST_USER()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_rf2xx_iface.c63 const struct spi_buf tx_buf = { in rf2xx_iface_reg_read()
71 const struct spi_buf rx_buf[2] = { in rf2xx_iface_reg_read()
106 const struct spi_buf tx_buf[2] = { in rf2xx_iface_reg_write()
120 const struct spi_buf rx_buf = { in rf2xx_iface_reg_write()
175 const struct spi_buf tx_buf = { in rf2xx_iface_frame_read()
183 const struct spi_buf rx_buf = { in rf2xx_iface_frame_read()
216 const struct spi_buf tx_buf[3] = { in rf2xx_iface_frame_write()
234 const struct spi_buf rx_buf = { in rf2xx_iface_frame_write()
260 const struct spi_buf tx_buf[2] = { in rf2xx_iface_sram_read()
274 const struct spi_buf rx_buf[2] = { in rf2xx_iface_sram_read()
/Zephyr-latest/drivers/spi/
Dspi_handlers.c15 struct spi_buf *buf_copy, in copy_and_check()
28 sizeof(struct spi_buf))); in copy_and_check()
35 bufs->count * sizeof(struct spi_buf)); in copy_and_check()
41 const struct spi_buf *buf = &bufs->buffers[i]; in copy_and_check()
60 struct spi_buf tx_buf_copy[tx_bufs->count ? tx_bufs->count : 1]; in copy_bufs_and_transceive()
61 struct spi_buf rx_buf_copy[rx_bufs->count ? rx_bufs->count : 1]; in copy_bufs_and_transceive()
/Zephyr-latest/drivers/sensor/ens160/
Dens160_spi.c25 const struct spi_buf tx_buf = { in ens160_read_reg_spi()
35 struct spi_buf rx_buf[2] = { in ens160_read_reg_spi()
60 const struct spi_buf tx_buf = { in ens160_read_data_spi()
70 struct spi_buf rx_buf[2] = { in ens160_read_data_spi()
95 const struct spi_buf buf[2] = { in ens160_write_reg_spi()
120 const struct spi_buf buf[2] = { in ens160_write_data_spi()
/Zephyr-latest/drivers/sensor/meas/ms5607/
Dms5607_spi.c23 const struct spi_buf buf = { in ms5607_spi_raw_cmd()
54 const struct spi_buf tx_buf = { in ms5607_spi_read_prom()
68 const struct spi_buf rx_buf = { in ms5607_spi_read_prom()
104 const struct spi_buf tx_buf = { in ms5607_spi_read_adc()
116 const struct spi_buf rx_buf = { in ms5607_spi_read_adc()
/Zephyr-latest/drivers/sensor/tdk/icm42605/
Dicm42605_spi.c17 const struct spi_buf buf[2] = { in inv_spi_single_write()
48 const struct spi_buf tx_buf = { in inv_spi_read()
57 struct spi_buf rx_buf[2] = { in inv_spi_read()
/Zephyr-latest/drivers/sensor/bosch/bme680/
Dbme680_spi.c36 struct spi_buf tx_buf = { in bme680_set_mem_page()
45 const struct spi_buf rx_buf[] = { in bme680_set_mem_page()
85 const struct spi_buf tx_buf = { in bme680_reg_write_spi()
110 const struct spi_buf tx_buf = { in bme680_reg_read_spi()
118 struct spi_buf rx_buf[2]; in bme680_reg_read_spi()
/Zephyr-latest/tests/drivers/spi/spi_loopback/src/
Dspi.c104 struct spi_buf tx_bufs[2]; in spi_complete_multiple()
117 struct spi_buf rx_bufs[2]; in spi_complete_multiple()
165 const struct spi_buf tx_bufs[] = { in spi_complete_loop()
171 const struct spi_buf rx_bufs[] = { in spi_complete_loop()
217 const struct spi_buf tx_bufs[] = { in spi_null_tx_buf()
226 const struct spi_buf rx_bufs[] = { in spi_null_tx_buf()
268 const struct spi_buf tx_bufs[] = { in spi_rx_half_start()
274 const struct spi_buf rx_bufs[] = { in spi_rx_half_start()
317 const struct spi_buf tx_bufs[] = { in spi_rx_half_end()
323 const struct spi_buf rx_bufs[] = { in spi_rx_half_end()
[all …]
/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc_spi.c42 const struct spi_buf spi_buffer_tx = { in tmc_spi_read_register()
51 struct spi_buf spi_buffer_rx = { in tmc_spi_read_register()
91 const struct spi_buf spi_buffer_tx = { in tmc_spi_write_register()
100 struct spi_buf spi_buffer_rx = { in tmc_spi_write_register()
/Zephyr-latest/samples/drivers/spi_bitbang/src/
Dmain.c35 struct spi_buf tx_buf = { .buf = buff, .len = len }; in test_basic_write_9bit_words()
65 struct spi_buf tx_buf[2] = { in test_9bit_loopback_partial()
69 struct spi_buf rx_buf[2] = { in test_9bit_loopback_partial()
102 struct spi_buf tx_buf[1] = { in test_8bit_xfer()
105 struct spi_buf rx_buf[1] = { in test_8bit_xfer()
/Zephyr-latest/drivers/sensor/st/stmemsc/
Dstmemsc_spi.c26 const struct spi_buf tx_buf = { .buf = buffer_tx, .len = 2, }; in stmemsc_spi_read()
33 const struct spi_buf rx_buf[2] = { in stmemsc_spi_read()
54 const struct spi_buf tx_buf[2] = { in stmemsc_spi_write()
/Zephyr-latest/drivers/sensor/tdk/icm42670/
Dicm42670_spi.c30 const struct spi_buf tx_buf = {.buf = cmd, .len = sizeof(cmd)}; in icm42670_reg_read_spi()
32 struct spi_buf rx_buf[2]; in icm42670_reg_read_spi()
54 const struct spi_buf tx_buf[2] = {{.buf = cmd, .len = sizeof(cmd)}, in icm42670_reg_write_spi()
/Zephyr-latest/drivers/sensor/bosch/bmm150/
Dbmm150_spi.c29 const struct spi_buf tx_buf = { in bmm150_reg_read_spi()
37 struct spi_buf rx_buf[2]; in bmm150_reg_read_spi()
69 const struct spi_buf tx_buf = { in bmm150_reg_write_spi()
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280_spi.c29 const struct spi_buf tx_buf = { in bme280_reg_read_spi()
37 struct spi_buf rx_buf[2]; in bme280_reg_read_spi()
69 const struct spi_buf tx_buf = { in bme280_reg_write_spi()
/Zephyr-latest/tests/drivers/sensor/bmi160/include/
Dchecks.h29 const struct spi_buf *tx = &tx_bufs->buffers[0]; in bmi160_spi_is_touching_reg()
30 const struct spi_buf *tx_data = &tx_bufs->buffers[1]; in bmi160_spi_is_touching_reg()
/Zephyr-latest/drivers/sensor/st/iis2dh/
Diis2dh_spi.c28 const struct spi_buf tx_buf = { in iis2dh_spi_read()
36 const struct spi_buf rx_buf[2] = { in iis2dh_spi_read()
62 const struct spi_buf tx_buf[2] = { in iis2dh_spi_write()
/Zephyr-latest/drivers/sensor/st/iis3dhhc/
Diis3dhhc_spi.c27 const struct spi_buf tx_buf = { in iis3dhhc_spi_read()
35 const struct spi_buf rx_buf[2] = { in iis3dhhc_spi_read()
61 const struct spi_buf tx_buf[2] = { in iis3dhhc_spi_write()
/Zephyr-latest/drivers/sensor/adi/adt7310/
Dadt7310.c54 const struct spi_buf tx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adt7310_temp_reg_read()
55 const struct spi_buf rx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adt7310_temp_reg_read()
74 const struct spi_buf tx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adt7310_temp_reg_write()
75 const struct spi_buf rx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adt7310_temp_reg_write()
90 const struct spi_buf tx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adt7310_reg_read()
91 const struct spi_buf rx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adt7310_reg_read()
110 const struct spi_buf tx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adt7310_reg_write()
111 const struct spi_buf rx_buf = { .buf = cmd_buf, .len = sizeof(cmd_buf) }; in adt7310_reg_write()
/Zephyr-latest/modules/nrf_wifi/bus/
Dspi_if.c39 const struct spi_buf tx_buf[] = { in spim_xfer_tx()
63 const struct spi_buf tx_buf[] = { in spim_xfer_rx()
70 const struct spi_buf rx_buf[] = { in spim_xfer_rx()
90 const struct spi_buf tx_buf = { in spim_read_reg()
102 struct spi_buf rx_buf = { in spim_read_reg()
124 const struct spi_buf tx_buf = { .buf = tx_buffer, .len = sizeof(tx_buffer) }; in spim_write_reg()
219 const struct spi_buf tx_buf = { .buf = tx_buffer, .len = sizeof(tx_buffer) }; in spim_cmd_sleep_rpu()
/Zephyr-latest/drivers/eeprom/
Deeprom_mb85rsxx.c84 const struct spi_buf tx_buf = { in eeprom_mb85rsxx_read()
92 const struct spi_buf rx_bufs[2] = { in eeprom_mb85rsxx_read()
124 const struct spi_buf tx_buf = { in eeprom_mb85rsxx_wren()
140 const struct spi_buf tx_buf = { in eeprom_mb85rsxx_wrdi()
176 const struct spi_buf tx_bufs[2] = { in eeprom_mb85rsxx_write()
232 const struct spi_buf tx_buf = { in eeprom_mb85rsxx_rdid()
240 const struct spi_buf rx_bufs[2] = { in eeprom_mb85rsxx_rdid()
/Zephyr-latest/drivers/sensor/st/i3g4250d/
Di3g4250d_spi.c25 const struct spi_buf tx_buf = { in i3g4250d_spi_read()
33 const struct spi_buf rx_buf[2] = { in i3g4250d_spi_read()
62 const struct spi_buf tx_buf[2] = { in i3g4250d_spi_write()
/Zephyr-latest/drivers/sensor/st/iis2mdc/
Diis2mdc_spi.c28 const struct spi_buf tx_buf = { in iis2mdc_spi_read()
36 const struct spi_buf rx_buf[2] = { in iis2mdc_spi_read()
67 const struct spi_buf tx_buf[2] = { in iis2mdc_spi_write()
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx_spi.c28 const struct spi_buf tx_buf = { in ism330dhcx_spi_read()
36 const struct spi_buf rx_buf[2] = { in ism330dhcx_spi_read()
68 const struct spi_buf tx_buf[2] = { in ism330dhcx_spi_write()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_spi.c13 const struct spi_buf buf[2] = { in spi_write_register()
37 const struct spi_buf tx_buf = { in spi_read_register()
47 struct spi_buf rx_buf[2] = { in spi_read_register()
/Zephyr-latest/drivers/sensor/bosch/bmi270/
Dbmi270_spi.c28 const struct spi_buf tx_buf = { in bmi270_reg_read_spi()
36 struct spi_buf rx_buf[2]; in bmi270_reg_read_spi()
65 const struct spi_buf tx_buf[2] = { in bmi270_reg_write_spi()

123456