Home
last modified time | relevance | path

Searched refs:rx_set (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/samples/drivers/spi_bitbang/src/
Dmain.c75 struct spi_buf_set rx_set = { .buffers = rx_buf, .count = 2 }; in test_9bit_loopback_partial() local
77 int ret = spi_transceive(dev, &config, &tx_set, &rx_set); in test_9bit_loopback_partial()
110 struct spi_buf_set rx_set = { .buffers = rx_buf, .count = 1 }; in test_8bit_xfer() local
112 int ret = spi_transceive(dev, &config, &tx_set, &rx_set); in test_8bit_xfer()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Ddfu_blob_common.c72 struct bt_mesh_sar_rx rx_set = { in common_sar_conf() local
81 err = bt_mesh_sar_cfg_cli_receiver_set(0, addr, &rx_set, &rx_rsp); in common_sar_conf()
Dtest_replay_cache.c106 struct bt_mesh_sar_rx rx_set = { in rx_sar_conf() local
115 bt_mesh_test_sar_conf_set(NULL, &rx_set); in rx_sar_conf()
117 bt_mesh.sar_rx = rx_set; in rx_sar_conf()
Dmesh_test.c619 void bt_mesh_test_sar_conf_set(struct bt_mesh_sar_tx *tx_set, struct bt_mesh_sar_rx *rx_set) in bt_mesh_test_sar_conf_set() argument
632 if (rx_set) { in bt_mesh_test_sar_conf_set()
635 err = bt_mesh_sar_cfg_cli_receiver_set(0, cfg->addr, rx_set, &rx_rsp); in bt_mesh_test_sar_conf_set()
Dtest_transport.c100 struct bt_mesh_sar_rx rx_set = { in rx_sar_conf() local
109 bt_mesh_test_sar_conf_set(NULL, &rx_set); in rx_sar_conf()
111 bt_mesh.sar_rx = rx_set; in rx_sar_conf()
Dmesh_test.h215 void bt_mesh_test_sar_conf_set(struct bt_mesh_sar_tx *tx_set, struct bt_mesh_sar_rx *rx_set);
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/
Dmain.c152 static int check_buffers(struct spi_buf_set *tx_set, struct spi_buf_set *rx_set, bool same_size) in check_buffers() argument
159 if (!tx_set || !rx_set) { in check_buffers()
163 rx_len = cpy_data(rx_data, sizeof(rx_data), rx_set); in check_buffers()
180 static int peripheral_rx_len(struct spi_buf_set *tx_set, struct spi_buf_set *rx_set) in peripheral_rx_len() argument
185 if (!tx_set || !rx_set) { in peripheral_rx_len()
193 for (size_t i = 0; i < rx_set->count; i++) { in peripheral_rx_len()
194 rx_len += rx_set->buffers[i].len; in peripheral_rx_len()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_whd_hal_spi.c121 struct spi_buf_set rx_set = {.buffers = rx_buf, .count = 2}; in whd_bus_spi_transfer() local
136 rx_set.count = 1; in whd_bus_spi_transfer()
147 ret = spi_transceive_dt(spi_obj, &tx_set, &rx_set); in whd_bus_spi_transfer()
/Zephyr-latest/drivers/input/
Dinput_pinnacle.c492 const struct spi_buf_set rx_set = { in pinnacle_read_spi() local
499 rc = spi_transceive_dt(&bus->spi, &tx_set, &rx_set); in pinnacle_read_spi()
546 const struct spi_buf_set rx_set = { in pinnacle_seq_read_spi() local
553 rc = spi_transceive_dt(&bus->spi, &tx_set, &rx_set); in pinnacle_seq_read_spi()
/Zephyr-latest/drivers/flash/
Dspi_nor.c421 const struct spi_buf_set rx_set = { in spi_nor_access() local
430 return spi_transceive_dt(&driver_cfg->spi, &tx_set, &rx_set); in spi_nor_access()
/Zephyr-latest/doc/releases/
Drelease-notes-2.4.rst1081 * :github:`27843` - spi_nor.c: Wrong buffers for rx_set