Searched refs:tx_set (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/samples/drivers/spi_bitbang/src/ |
D | main.c | 74 struct spi_buf_set tx_set = { .buffers = tx_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() 109 struct spi_buf_set tx_set = { .buffers = tx_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/ |
D | dfu_blob_common.c | 53 struct bt_mesh_sar_tx tx_set = { in common_sar_conf() local 64 err = bt_mesh_sar_cfg_cli_transmitter_set(0, addr, &tx_set, &tx_rsp); in common_sar_conf()
|
D | test_replay_cache.c | 84 struct bt_mesh_sar_tx tx_set = { in tx_sar_conf() local 95 bt_mesh_test_sar_conf_set(&tx_set, NULL); in tx_sar_conf() 97 bt_mesh.sar_tx = tx_set; in tx_sar_conf()
|
D | mesh_test.c | 619 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 623 if (tx_set) { in bt_mesh_test_sar_conf_set() 626 err = bt_mesh_sar_cfg_cli_transmitter_set(0, cfg->addr, tx_set, &tx_rsp); in bt_mesh_test_sar_conf_set()
|
D | mesh_test.h | 215 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/ |
D | main.c | 152 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() 164 tx_len = cpy_data(tx_data, sizeof(tx_data), tx_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() 189 for (size_t i = 0; i < tx_set->count; i++) { in peripheral_rx_len() 190 tx_len += tx_set->buffers[i].len; in peripheral_rx_len()
|
/Zephyr-latest/drivers/input/ |
D | input_pinnacle.c | 436 const struct spi_buf_set tx_set = { in pinnacle_write_spi() local 441 return spi_write_dt(&bus->spi, &tx_set); in pinnacle_write_spi() 452 const struct spi_buf_set tx_set = { in pinnacle_seq_write_spi() local 462 return spi_write_dt(&bus->spi, &tx_set); in pinnacle_seq_write_spi() 477 const struct spi_buf_set tx_set = { in pinnacle_read_spi() local 499 rc = spi_transceive_dt(&bus->spi, &tx_set, &rx_set); in pinnacle_read_spi() 531 const struct spi_buf_set tx_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/wifi/infineon/ |
D | airoc_whd_hal_spi.c | 119 const struct spi_buf_set tx_set = {.buffers = &tx_buf, .count = 1}; in whd_bus_spi_transfer() local 147 ret = spi_transceive_dt(spi_obj, &tx_set, &rx_set); in whd_bus_spi_transfer()
|
/Zephyr-latest/drivers/flash/ |
D | spi_nor.c | 416 const struct spi_buf_set tx_set = { in spi_nor_access() local 427 return spi_write_dt(&driver_cfg->spi, &tx_set); in spi_nor_access() 430 return spi_transceive_dt(&driver_cfg->spi, &tx_set, &rx_set); in spi_nor_access()
|