Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.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.7.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.7.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.c45 static const struct bt_mesh_test_cfg tx_cfg = { variable
119 bt_mesh_test_cfg_set(&tx_cfg, WAIT_TIME); in test_tx_init()
509 bt_mesh_test_cfg_set(&tx_cfg, 130); in test_tx_invalid()
561 bt_mesh_test_cfg_set(&tx_cfg, 170); in test_tx_kr_old_key()
750 bt_mesh_test_cfg_set(&tx_cfg, MULT_NETKEYS_WAIT_TIME); in test_tx_multiple_netkeys()
930 bt_mesh_test_cfg_set(&tx_cfg, BEACON_INTERVAL_WAIT_TIME); in test_tx_secure_beacon_interval()
1114 provision(&tx_cfg); in tx_priv_setup()
1119 err = bt_mesh_cfg_cli_beacon_set(0, tx_cfg.addr, 0, &status); in tx_priv_setup()
1124 err = bt_mesh_priv_beacon_cli_set(0, tx_cfg.addr, &val, &val); in tx_priv_setup()
1152 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()
339 ASSERT_TRUE(msg_send(rx_cfg.addr, tx_cfg.addr)); in test_rx_rpl_frag()
353 ASSERT_TRUE(msg_send(rx_cfg.addr, tx_cfg.addr)); in test_rx_rpl_frag()
371 ASSERT_TRUE(msg_send(rx_cfg.addr, tx_cfg.addr)); in test_rx_rpl_frag()
Dtest_scanner.c33 static const struct bt_mesh_test_cfg tx_cfg = { variable
44 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.7.0/drivers/mbox/
Dmbox_nxp_s32_mru.c63 Mru_Ip_TransmitChannelType tx_cfg; in nxp_s32_mru_send() local
80 tx_cfg.NumTxMB = MRU_MAX_MBOX_PER_CHAN; in nxp_s32_mru_send()
81 tx_cfg.LastTxMBIndex = MRU_MAX_MBOX_PER_CHAN - 1; in nxp_s32_mru_send()
82 tx_cfg.MBAddList = (volatile uint32 * const *)tx_mbox_addr; in nxp_s32_mru_send()
83 tx_cfg.ChMBSTATAdd = &cfg->base->CHXCONFIG[channel].CH_MBSTAT; in nxp_s32_mru_send()
85 status = Mru_Ip_Transmit(&tx_cfg, (const uint32_t *)msg->data); in nxp_s32_mru_send()
/Zephyr-Core-3.7.0/drivers/dai/nxp/esai/
Desai.h286 struct esai_transceiver_config *tx_cfg, in esai_parse_clock_config() argument
309 tx_cfg->hclk_dir = crt_dir; in esai_parse_clock_config()
315 tx_cfg->bclk_dir = crt_dir; in esai_parse_clock_config()
321 tx_cfg->fsync_dir = crt_dir; in esai_parse_clock_config()
/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_smartbond.c141 struct dma_config tx_cfg; member
216 struct dma_config *tx = &usbd_dma_cfg.tx_cfg; in usb_smartbond_dma_config()