Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 25 of 779) sorted by relevance

12345678910>>...32

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dtransport.c120 static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu, in send_unseg() argument
127 tx->xmit, BUF_TIMEOUT); in send_unseg()
137 } else if (BT_MESH_IS_DEV_KEY(tx->ctx->app_idx)) { in send_unseg()
140 net_buf_simple_add_u8(&adv->b, UNSEG_HDR(1, tx->aid)); in send_unseg()
146 if (!bt_mesh_friend_queue_has_space(tx->sub->net_idx, in send_unseg()
147 tx->src, tx->ctx->addr, in send_unseg()
149 if (BT_MESH_ADDR_IS_UNICAST(tx->ctx->addr)) { in send_unseg()
159 if (bt_mesh_friend_enqueue_tx(tx, BT_MESH_FRIEND_PDU_SINGLE, in send_unseg()
161 BT_MESH_ADDR_IS_UNICAST(tx->ctx->addr)) { in send_unseg()
172 return bt_mesh_net_send(tx, adv, cb, cb_data); in send_unseg()
[all …]
Dsar_cfg.c18 const struct bt_mesh_sar_tx *tx) in bt_mesh_sar_tx_encode() argument
20 net_buf_simple_add_u8(buf, (tx->seg_int_step & 0xf) | in bt_mesh_sar_tx_encode()
21 (tx->unicast_retrans_count << 4)); in bt_mesh_sar_tx_encode()
22 net_buf_simple_add_u8(buf, (tx->unicast_retrans_without_prog_count & in bt_mesh_sar_tx_encode()
23 0xf) | (tx->unicast_retrans_int_step << 4)); in bt_mesh_sar_tx_encode()
24 net_buf_simple_add_u8(buf, (tx->unicast_retrans_int_inc & 0xf) | in bt_mesh_sar_tx_encode()
25 (tx->multicast_retrans_count << 4)); in bt_mesh_sar_tx_encode()
26 net_buf_simple_add_u8(buf, tx->multicast_retrans_int & 0xf); in bt_mesh_sar_tx_encode()
40 struct bt_mesh_sar_tx *tx) in bt_mesh_sar_tx_decode() argument
45 tx->seg_int_step = (val & 0xf); in bt_mesh_sar_tx_decode()
[all …]
Dpb_adv.c129 } tx; member
175 for (int i = 0; i < ARRAY_SIZE(link.tx.unacked); i++) { in send_unacked()
176 if (link.tx.unacked[i].adv != NULL) { in send_unacked()
180 link.tx.unacked[i].adv = adv; in send_unacked()
181 link.tx.unacked[i].cb = cb; in send_unacked()
182 link.tx.unacked[i].cb_data = cb_data; in send_unacked()
196 link.tx.next = 0; in send_reliable()
204 struct unacked_adv_ctx *unacked_adv = &link.tx.unacked[link.tx.last_unacked]; in delayed_adv_send_end()
236 for (i = 0; i < ARRAY_SIZE(link.tx.unacked); i++) { in tx_work_handler()
237 int idx = (i + link.tx.last_unacked) % ARRAY_SIZE(link.tx.unacked); in tx_work_handler()
[all …]
Dsar_cfg_srv.c50 const struct bt_mesh_sar_tx *tx = &bt_mesh.sar_tx; in transmitter_status() local
53 tx->seg_int_step, tx->unicast_retrans_count, in transmitter_status()
54 tx->unicast_retrans_without_prog_count, in transmitter_status()
55 tx->unicast_retrans_int_step, tx->unicast_retrans_int_inc, in transmitter_status()
56 tx->multicast_retrans_count, tx->multicast_retrans_int); in transmitter_status()
59 bt_mesh_sar_tx_encode(&msg, tx); in transmitter_status()
97 struct bt_mesh_sar_tx *tx = &bt_mesh.sar_tx; in transmitter_set() local
101 bt_mesh_sar_tx_decode(buf, tx); in transmitter_set()
Dblob_cli.c35 (cli)->tx.ctx.force_unicast)
67 int64_t next_timeout_ms = cli->tx.cli_timestamp; in start_retry_timer()
88 (void)k_work_reschedule(&cli->tx.retry, next_timeout); in start_retry_timer()
93 k_work_cancel_delayable(&cli->tx.retry); in cli_state_reset()
96 cli->tx.ctx.is_inited = 0; in cli_state_reset()
97 cli->tx.cli_timestamp = 0ll; in cli_state_reset()
98 cli->tx.sending = 0; in cli_state_reset()
387 cli->tx.sending = 1U; in send()
389 cli->tx.ctx.send(cli, cli->tx.target->addr); in send()
391 cli->tx.ctx.send(cli, cli->inputs->group); in send()
[all …]
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_ivshmem_queue.c47 q->tx.shmem = (void *)tx_shmem; in eth_ivshmem_queue_init()
51 vring_init(&q->tx.vring, vring_desc_len, q->tx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init()
58 struct vring_used *tmp_used = q->tx.vring.used; in eth_ivshmem_queue_init()
60 q->tx.vring.used = q->rx.vring.used; in eth_ivshmem_queue_init()
70 q->tx.desc_head = 0; in eth_ivshmem_queue_reset()
71 q->tx.desc_len = 0; in eth_ivshmem_queue_reset()
72 q->tx.data_head = 0; in eth_ivshmem_queue_reset()
73 q->tx.data_tail = 0; in eth_ivshmem_queue_reset()
74 q->tx.data_len = 0; in eth_ivshmem_queue_reset()
75 q->tx.avail_idx = 0; in eth_ivshmem_queue_reset()
[all …]
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/
Dull_tx_queue.c35 void ull_tx_q_enqueue_data(struct ull_tx_q *queue, struct node_tx *tx) in ull_tx_q_enqueue_data() argument
47 sys_slist_append(list, (sys_snode_t *)tx); in ull_tx_q_enqueue_data()
50 void ull_tx_q_enqueue_ctrl(struct ull_tx_q *queue, struct node_tx *tx) in ull_tx_q_enqueue_ctrl() argument
53 sys_slist_append(&queue->tx_list, (sys_snode_t *)tx); in ull_tx_q_enqueue_ctrl()
58 struct node_tx *tx; in ull_tx_q_peek() local
60 tx = (struct node_tx *)sys_slist_peek_head(&queue->tx_list); in ull_tx_q_peek()
62 return tx; in ull_tx_q_peek()
67 struct node_tx *tx; in ull_tx_q_dequeue() local
69 tx = (struct node_tx *)sys_slist_get(&queue->tx_list); in ull_tx_q_dequeue()
71 return tx; in ull_tx_q_dequeue()
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_central_iso.c197 phy = cis_lll->tx.phy; in prepare_cb()
198 radio_phy_set(phy, cis_lll->tx.phy_flags); in prepare_cb()
204 if (cis_lll->tx.bn_curr > cis_lll->tx.bn) { in prepare_cb()
220 payload_count = cis_lll->tx.payload_count + in prepare_cb()
221 cis_lll->tx.bn_curr - 1U; in prepare_cb()
239 } else if (node_tx->payload_count >= (payload_count + cis_lll->tx.bn)) { in prepare_cb()
256 pdu_tx->cie = (cis_lll->tx.bn_curr > cis_lll->tx.bn) && in prepare_cb()
283 cis_lll->tx.ccm.counter = payload_count; in prepare_cb()
289 (cis_lll->tx.max_pdu + PDU_MIC_SIZE), in prepare_cb()
291 radio_pkt_tx_set(radio_ccm_iso_tx_pkt_set(&cis_lll->tx.ccm, in prepare_cb()
[all …]
Dlll_peripheral_iso.c146 struct node_tx_iso *tx; in prepare_cb() local
273 radio_switch_complete_and_tx(cis_lll->rx.phy, 0U, cis_lll->tx.phy, in prepare_cb()
274 cis_lll->tx.phy_flags); in prepare_cb()
355 payload_count = cis_lll->tx.payload_count + in prepare_cb()
356 cis_lll->tx.bn_curr - 1U; in prepare_cb()
360 cis_lll->memq_tx.tail, (void **)&tx); in prepare_cb()
362 if (tx->payload_count < payload_count) { in prepare_cb()
367 tx->next = link; in prepare_cb()
368 ull_iso_lll_ack_enqueue(cis_lll->handle, tx); in prepare_cb()
543 if ((pdu_rx->nesn != cis_lll->sn) && (cis_lll->tx.bn_curr <= cis_lll->tx.bn)) { in isr_rx()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_tx_buffer_alloc/src/
Dmain.c62 struct node_tx *tx[CONFIG_BT_CTLR_LLCP_COMMON_TX_CTRL_BUF_NUM + in ZTEST() local
79 tx[tx_alloc_idx] = llcp_tx_alloc(&conn[0], ctxs[0]); in ZTEST()
82 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
88 tx[tx_alloc_idx] = llcp_tx_alloc(&conn[0], ctxs[0]); in ZTEST()
92 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
103 tx[tx_alloc_idx] = llcp_tx_alloc(&conn[j], ctxs[j]); in ZTEST()
104 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
114 ull_cp_release_tx(&conn[0], tx[1]); in ZTEST()
125 tx[tx_alloc_idx] = llcp_tx_alloc(&conn[0], ctxs[0]); in ZTEST()
132 zassert_not_null(tx[tx_alloc_idx], NULL); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_le_ping/src/
Dmain.c80 struct node_tx *tx; in ZTEST() local
104 lt_rx(LL_LE_PING_REQ, &conn, &tx, &local_ping_req); in ZTEST()
114 ull_cp_release_tx(&conn, tx); in ZTEST()
130 lt_rx(LL_LE_PING_REQ, &conn, &tx, &local_ping_req); in ZTEST()
140 ull_cp_release_tx(&conn, tx); in ZTEST()
170 struct node_tx *tx; in ZTEST() local
195 lt_rx(LL_LE_PING_REQ, &conn, &tx, &local_ping_req); in ZTEST()
205 ull_cp_release_tx(&conn, tx); in ZTEST()
228 lt_rx(LL_LE_PING_REQ, &conn, &tx, &local_ping_req); in ZTEST()
238 ull_cp_release_tx(&conn, tx); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_sca_update/src/
Dmain.c82 struct node_tx *tx; in ZTEST() local
108 lt_rx(LL_CLOCK_ACCURACY_REQ, &conn, &tx, &local_sca_req); in ZTEST()
118 ull_cp_release_tx(&conn, tx); in ZTEST()
139 lt_rx(LL_CLOCK_ACCURACY_REQ, &conn, &tx, &local_sca_req); in ZTEST()
149 ull_cp_release_tx(&conn, tx); in ZTEST()
190 struct node_tx *tx; in ZTEST() local
215 lt_rx(LL_CLOCK_ACCURACY_REQ, &conn, &tx, &local_sca_req); in ZTEST()
225 ull_cp_release_tx(&conn, tx); in ZTEST()
248 lt_rx(LL_CLOCK_ACCURACY_REQ, &conn, &tx, &local_sca_req); in ZTEST()
258 ull_cp_release_tx(&conn, tx); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c118 struct node_tx *tx; in ZTEST() local
159 lt_rx(LL_PHY_REQ, &conn, &tx, &req); in ZTEST()
169 event_tx_ack(&conn, tx); in ZTEST()
178 ull_cp_release_tx(&conn, tx); in ZTEST()
196 lt_rx(LL_PHY_UPDATE_IND, &conn, &tx, &ind); in ZTEST()
200 event_tx_ack(&conn, tx); in ZTEST()
209 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
213 ull_cp_release_tx(&conn, tx); in ZTEST()
263 struct node_tx *tx; in ZTEST() local
282 lt_rx(LL_PHY_REQ, &conn, &tx, &req); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c152 struct node_tx *tx; in ZTEST() local
189 lt_rx(LL_PHY_REQ, &conn, &tx, &req); in ZTEST()
199 event_tx_ack(&conn, tx); in ZTEST()
211 ull_cp_release_tx(&conn, tx); in ZTEST()
220 lt_rx(LL_REJECT_EXT_IND, &conn, &tx, &reject_ext_ind); in ZTEST()
224 event_tx_ack(&conn, tx); in ZTEST()
231 ull_cp_release_tx(&conn, tx); in ZTEST()
247 event_tx_ack(&conn, tx); in ZTEST()
262 lt_rx(LL_PHY_UPDATE_IND, &conn, &tx, &ind); in ZTEST()
266 event_tx_ack(&conn, tx); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_simulator.c20 struct ec_host_cmd_tx_buf *tx; member
30 static ec_host_cmd_backend_api_send tx; variable
39 hc_sim->tx = tx_buf; in ec_host_cmd_sim_init()
46 if (tx != NULL) { in ec_host_cmd_sim_send()
47 return tx(backend); in ec_host_cmd_sim_send()
63 *tx_buf = hc_sim->tx; in ec_host_cmd_backend_sim_install_send_cb()
64 tx = cb; in ec_host_cmd_backend_sim_install_send_cb()
Dec_host_cmd_backend_espi.c38 struct ec_host_cmd_tx_buf *tx; member
59 const struct ec_host_cmd_request_header *rx_header = hc_espi->tx->buf; in espi_handler()
60 const size_t shared_size = hc_espi->tx->len_max; in espi_handler()
96 struct ec_host_cmd_rx_ctx *rx_ctx, struct ec_host_cmd_tx_buf *tx) in ec_host_cmd_espi_init() argument
107 hc_espi->tx = tx; in ec_host_cmd_espi_init()
113 (uint32_t *)&tx->buf); in ec_host_cmd_espi_init()
115 &tx->len_max); in ec_host_cmd_espi_init()
119 MIN(CONFIG_EC_HOST_CMD_HANDLER_RX_BUFFER_SIZE, hc_espi->tx->len_max); in ec_host_cmd_espi_init()
129 struct ec_host_cmd_response_header *resp_hdr = hc_espi->tx->buf; in ec_host_cmd_espi_send()
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_data_length_update/src/
Dmain.c85 struct node_tx *tx; in ZTEST() local
106 lt_rx(LL_LENGTH_REQ, &conn, &tx, &local_length_req); in ZTEST()
110 event_tx_ack(&conn, tx); in ZTEST()
151 struct node_tx *tx; in ZTEST() local
174 lt_rx(LL_LENGTH_REQ, &conn, &tx, &local_length_req); in ZTEST()
178 event_tx_ack(&conn, tx); in ZTEST()
186 ull_cp_release_tx(&conn, tx); in ZTEST()
238 struct node_tx *tx; in ZTEST() local
271 lt_rx(LL_FEATURE_REQ, &conn, &tx, &local_feature_req); in ZTEST()
284 ull_cp_release_tx(&conn, tx); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/subsys/bluetooth/services/ots/
Dots_l2cap.c55 len = MIN(l2cap_ctx->ot_chan.tx.mtu, CONFIG_BT_OTS_L2CAP_CHAN_TX_MTU); in ots_l2cap_send()
56 len = MIN(len, l2cap_ctx->tx.len - l2cap_ctx->tx.len_sent); in ots_l2cap_send()
61 net_buf_add_mem(buf, &l2cap_ctx->tx.data[l2cap_ctx->tx.len_sent], len); in ots_l2cap_send()
72 l2cap_ctx->tx.len_sent += len; in ots_l2cap_send()
99 if (l2cap_ctx->tx.len != l2cap_ctx->tx.len_sent) { in l2cap_sent()
106 memset(&l2cap_ctx->tx, 0, sizeof(l2cap_ctx->tx)); in l2cap_sent()
199 memset(&l2cap_ctx->tx, 0, sizeof(l2cap_ctx->tx)); in l2cap_accept()
242 if (l2cap_ctx->tx.len != 0) { in bt_gatt_ots_l2cap_send()
248 l2cap_ctx->tx.data = data; in bt_gatt_ots_l2cap_send()
249 l2cap_ctx->tx.len = len; in bt_gatt_ots_l2cap_send()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_conn_update/src/
Dmain.c244 struct node_tx *tx; in ZTEST() local
266 lt_rx(LL_CONNECTION_PARAM_REQ, &conn, &tx, &conn_param_req); in ZTEST()
277 ull_cp_release_tx(&conn, tx); in ZTEST()
284 lt_rx(LL_CONNECTION_UPDATE_IND, &conn, &tx, &conn_update_ind); in ZTEST()
291 pdu = (struct pdu_data *)tx->pdu; in ZTEST()
295 ull_cp_release_tx(&conn, tx); in ZTEST()
380 struct node_tx *tx; in ZTEST() local
417 lt_rx(LL_CONNECTION_PARAM_REQ, &conn, &tx, &conn_param_req); in ZTEST()
424 ull_cp_release_tx(&conn, tx); in ZTEST()
443 lt_rx(LL_REJECT_EXT_IND, &conn_2nd, &tx, &reject_ext_ind); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/samples/subsys/ipc/ipc_service/multi_endpoint/remote/boards/
Dnrf5340dk_nrf5340_cpunet_icbmsg.overlay37 tx-region = <&sram_ipc0_tx>;
39 tx-blocks = <24>;
42 mbox-names = "rx", "tx";
48 tx-region = <&sram_ipc1_tx>;
50 tx-blocks = <48>;
53 mbox-names = "rx", "tx";
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c94 struct node_tx *tx; in ZTEST() local
120 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in ZTEST()
139 ull_cp_release_tx(&conn, tx); in ZTEST()
169 struct node_tx *tx; in ZTEST() local
195 lt_rx(LL_CTE_REQ, &conn, &tx, &local_cte_req); in ZTEST()
214 ull_cp_release_tx(&conn, tx); in ZTEST()
238 struct node_tx *tx; in ZTEST() local
270 lt_rx(LL_CTE_RSP, &conn, &tx, &remote_cte_rsp); in ZTEST()
274 event_tx_ack(&conn, tx); in ZTEST()
280 ull_cp_release_tx(&conn, tx); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/samples/subsys/ipc/ipc_service/multi_endpoint/boards/
Dnrf5340dk_nrf5340_cpuapp_icbmsg.overlay37 tx-region = <&sram_ipc0_tx>;
39 tx-blocks = <16>;
42 mbox-names = "tx", "rx";
53 tx-region = <&sram_ipc1_tx>;
55 tx-blocks = <32>;
58 mbox-names = "tx", "rx";
/Zephyr-Core-3.7.0/drivers/sensor/ens160/
Dens160_spi.c30 const struct spi_buf_set tx = { in ens160_read_reg_spi() local
51 return spi_transceive_dt(&config->spi, &tx, &rx); in ens160_read_reg_spi()
65 const struct spi_buf_set tx = { in ens160_read_data_spi() local
86 return spi_transceive_dt(&config->spi, &tx, &rx); in ens160_read_data_spi()
106 const struct spi_buf_set tx = { in ens160_write_reg_spi() local
111 return spi_write_dt(&config->spi, &tx); in ens160_write_reg_spi()
131 const struct spi_buf_set tx = { in ens160_write_data_spi() local
136 return spi_write_dt(&config->spi, &tx); in ens160_write_data_spi()
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_feature_exchange/src/
Dmain.c93 struct node_tx *tx; in ZTEST() local
118 lt_rx(LL_FEATURE_REQ, &conn, &tx, &local_feature_req); in ZTEST()
131 ull_cp_release_tx(&conn, tx); in ZTEST()
148 lt_rx(LL_FEATURE_REQ, &conn, &tx, &local_feature_req); in ZTEST()
161 ull_cp_release_tx(&conn, tx); in ZTEST()
202 struct node_tx *tx; in ZTEST() local
217 lt_rx(LL_FEATURE_REQ, &conn, &tx, &local_feature_req); in ZTEST()
226 ull_cp_release_tx(&conn, tx); in ZTEST()
251 lt_rx(LL_FEATURE_REQ, &conn, &tx, &local_feature_req); in ZTEST()
260 ull_cp_release_tx(&conn, tx); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_version/src/
Dmain.c75 struct node_tx *tx; in ZTEST() local
104 lt_rx(LL_VERSION_IND, &conn, &tx, &local_version_ind); in ZTEST()
141 struct node_tx *tx; in ZTEST() local
176 lt_rx(LL_VERSION_IND, &conn, &tx, &local_version_ind); in ZTEST()
186 ull_cp_release_tx(&conn, tx); in ZTEST()
212 lt_rx(LL_VERSION_IND, &conn, &tx, &local_version_ind); in ZTEST()
222 ull_cp_release_tx(&conn, tx); in ZTEST()
248 lt_rx(LL_VERSION_IND, &conn, &tx, &local_version_ind); in ZTEST()
258 ull_cp_release_tx(&conn, tx); in ZTEST()
306 struct node_tx *tx; in ZTEST() local
[all …]

12345678910>>...32