Home
last modified time | relevance | path

Searched refs:tx_cfg (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.5.0/drivers/i2s/
Di2s_common.c33 const struct i2s_config *tx_cfg; in z_impl_i2s_buf_write() local
36 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_impl_i2s_buf_write()
37 if (!tx_cfg) { in z_impl_i2s_buf_write()
41 if (size > tx_cfg->block_size) { in z_impl_i2s_buf_write()
45 ret = k_mem_slab_alloc(tx_cfg->mem_slab, &mem_block, K_FOREVER); in z_impl_i2s_buf_write()
54 k_mem_slab_free(tx_cfg->mem_slab, mem_block); in z_impl_i2s_buf_write()
Di2s_handlers.c83 const struct i2s_config *tx_cfg; in z_vrfy_i2s_buf_write() local
87 tx_cfg = i2s_config_get((const struct device *)dev, I2S_DIR_TX); in z_vrfy_i2s_buf_write()
88 if (!tx_cfg) { in z_vrfy_i2s_buf_write()
92 if (size > tx_cfg->block_size) { in z_vrfy_i2s_buf_write()
96 ret = k_mem_slab_alloc(tx_cfg->mem_slab, &mem_block, K_FOREVER); in z_vrfy_i2s_buf_write()
103 k_mem_slab_free(tx_cfg->mem_slab, mem_block); in z_vrfy_i2s_buf_write()
109 k_mem_slab_free(tx_cfg->mem_slab, mem_block); in z_vrfy_i2s_buf_write()
/Zephyr-Core-3.5.0/drivers/lora/
Dsx12xx_common.c37 struct lora_modem_config tx_cfg; member
184 if (!dev_data.tx_cfg.frequency) { in sx12xx_lora_send()
195 dev_data.tx_cfg.bandwidth, in sx12xx_lora_send()
196 dev_data.tx_cfg.datarate, in sx12xx_lora_send()
197 dev_data.tx_cfg.coding_rate, in sx12xx_lora_send()
198 dev_data.tx_cfg.preamble_len, in sx12xx_lora_send()
320 memcpy(&dev_data.tx_cfg, config, sizeof(dev_data.tx_cfg)); in sx12xx_lora_config()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_sar.c259 struct bt_mesh_sar_tx tx_cfg; in test_srv_cfg_store() local
266 bt_mesh_sar_cfg_cli_transmitter_get(0, SRV_ADDR, &tx_cfg); in test_srv_cfg_store()
269 ASSERT_EQUAL(0, memcmp(&tx_cfg, &test_sar_tx, sizeof(test_sar_tx))); in test_srv_cfg_store()
277 struct bt_mesh_sar_tx tx_cfg; in test_srv_cfg_restore() local
283 bt_mesh_sar_cfg_cli_transmitter_get(0, SRV_ADDR, &tx_cfg); in test_srv_cfg_restore()
286 ASSERT_EQUAL(0, memcmp(&tx_cfg, &test_sar_tx, sizeof(test_sar_tx))); in test_srv_cfg_restore()
Dtest_beacon.c46 static const struct bt_mesh_test_cfg tx_cfg = { variable
106 bt_mesh_test_cfg_set(&tx_cfg, WAIT_TIME); in test_tx_init()
519 bt_mesh_test_cfg_set(&tx_cfg, 130); in test_tx_invalid()
571 bt_mesh_test_cfg_set(&tx_cfg, 170); in test_tx_kr_old_key()
760 bt_mesh_test_cfg_set(&tx_cfg, MULT_NETKEYS_WAIT_TIME); in test_tx_multiple_netkeys()
920 bt_mesh_test_cfg_set(&tx_cfg, BEACON_INTERVAL_WAIT_TIME); in test_tx_secure_beacon_interval()
1034 provision(&tx_cfg); in tx_priv_setup()
1039 err = bt_mesh_cfg_cli_beacon_set(0, tx_cfg.addr, 0, &status); in tx_priv_setup()
1044 err = bt_mesh_priv_beacon_cli_set(0, tx_cfg.addr, &val); in tx_priv_setup()
1072 provision(&tx_cfg); in test_tx_priv_adv()
[all …]
Dtest_replay_cache.c21 static const struct bt_mesh_test_cfg tx_cfg = { variable
36 bt_mesh_test_cfg_set(&tx_cfg, WAIT_TIME); in test_tx_init()
335 ASSERT_TRUE(msg_send(rx_cfg.addr, tx_cfg.addr)); in test_rx_rpl_frag()
349 ASSERT_TRUE(msg_send(rx_cfg.addr, tx_cfg.addr)); in test_rx_rpl_frag()
367 ASSERT_TRUE(msg_send(rx_cfg.addr, tx_cfg.addr)); in test_rx_rpl_frag()
Dtest_scanner.c34 static const struct bt_mesh_test_cfg tx_cfg = { variable
45 bt_mesh_test_cfg_set(&tx_cfg, WAIT_TIME); in test_tx_init()
Dtest_transport.c49 static const struct bt_mesh_test_cfg tx_cfg = { variable
74 bt_mesh_test_cfg_set(&tx_cfg, WAIT_TIME); in test_tx_init()
/Zephyr-Core-3.5.0/drivers/mbox/
Dmbox_nxp_s32_mru.c71 Mru_Ip_TransmitChannelType tx_cfg; in nxp_s32_mru_send() local
88 tx_cfg.NumTxMB = MRU_MAX_MBOX_PER_CHAN; in nxp_s32_mru_send()
89 tx_cfg.LastTxMBIndex = MRU_MAX_MBOX_PER_CHAN - 1; in nxp_s32_mru_send()
90 tx_cfg.MBAddList = (volatile uint32 * const *)tx_mbox_addr; in nxp_s32_mru_send()
91 tx_cfg.ChMBSTATAdd = &cfg->base->CHXCONFIG[channel].CH_MBSTAT; in nxp_s32_mru_send()
93 status = Mru_Ip_Transmit(&tx_cfg, (const uint32_t *)msg->data); in nxp_s32_mru_send()