/Zephyr-latest/subsys/bluetooth/mesh/ |
D | transport.c | 119 static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu, in send_unseg() argument 126 tx->xmit, BUF_TIMEOUT); in send_unseg() 136 } else if (BT_MESH_IS_DEV_KEY(tx->ctx->app_idx)) { in send_unseg() 139 net_buf_simple_add_u8(&adv->b, UNSEG_HDR(1, tx->aid)); in send_unseg() 145 if (!bt_mesh_friend_queue_has_space(tx->sub->net_idx, in send_unseg() 146 tx->src, tx->ctx->addr, in send_unseg() 148 if (BT_MESH_ADDR_IS_UNICAST(tx->ctx->addr)) { in send_unseg() 158 if (bt_mesh_friend_enqueue_tx(tx, BT_MESH_FRIEND_PDU_SINGLE, in send_unseg() 160 BT_MESH_ADDR_IS_UNICAST(tx->ctx->addr)) { in send_unseg() 171 return bt_mesh_net_send(tx, adv, cb, cb_data); in send_unseg() [all …]
|
D | sar_cfg.c | 18 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 …]
|
D | pb_adv.c | 129 } 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 …]
|
D | sar_cfg_srv.c | 50 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()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_ivshmem_queue.c | 47 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-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_central_iso.c | 197 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 …]
|
D | lll_peripheral_iso.c | 132 struct node_tx_iso *tx; in prepare_cb() local 267 radio_switch_complete_and_tx(cis_lll->rx.phy, 0U, cis_lll->tx.phy, in prepare_cb() 268 cis_lll->tx.phy_flags); in prepare_cb() 349 payload_count = cis_lll->tx.payload_count + in prepare_cb() 350 cis_lll->tx.bn_curr - 1U; in prepare_cb() 354 cis_lll->memq_tx.tail, (void **)&tx); in prepare_cb() 356 if (tx->payload_count < payload_count) { in prepare_cb() 361 tx->next = link; in prepare_cb() 362 ull_iso_lll_ack_enqueue(cis_lll->handle, tx); in prepare_cb() 553 if ((pdu_rx->nesn != cis_lll->sn) && (cis_lll->tx.bn_curr <= cis_lll->tx.bn)) { in isr_rx() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_tx_queue.c | 35 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-latest/drivers/firmware/scmi/ |
D | core.c | 53 struct scmi_channel *chan, bool tx) in scmi_core_setup_chan() argument 66 if (!tx) { in scmi_core_setup_chan() 76 ret = scmi_transport_setup_chan(transport, chan, tx); in scmi_core_setup_chan() 96 ret = scmi_transport_send_message(proto->transport, proto->tx, msg); in scmi_send_message_pre_kernel() 108 while (!scmi_transport_channel_is_free(proto->transport, proto->tx)) { in scmi_send_message_pre_kernel() 111 ret = scmi_transport_read_message(proto->transport, proto->tx, reply); in scmi_send_message_pre_kernel() 125 if (!proto->tx) { in scmi_send_message_post_kernel() 130 ret = k_mutex_lock(&proto->tx->lock, K_USEC(SCMI_CHAN_LOCK_TIMEOUT_USEC)); in scmi_send_message_post_kernel() 136 ret = scmi_transport_send_message(proto->transport, proto->tx, msg); in scmi_send_message_post_kernel() 143 ret = k_sem_take(&proto->tx->sem, K_USEC(SCMI_CHAN_SEM_TIMEOUT_USEC)); in scmi_send_message_post_kernel() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_tx_buffer_alloc/src/ |
D | main.c | 62 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-latest/tests/bluetooth/controller/ctrl_le_ping/src/ |
D | main.c | 80 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-latest/tests/bluetooth/controller/ctrl_sca_update/src/ |
D | main.c | 82 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-latest/boards/shields/nrf7002eb/ |
D | nrf7002eb.overlay | 33 wifi-max-tx-pwr-2g-dsss = <21>; 34 wifi-max-tx-pwr-2g-mcs0 = <16>; 35 wifi-max-tx-pwr-2g-mcs7 = <16>; 36 wifi-max-tx-pwr-5g-low-mcs0 = <13>; 37 wifi-max-tx-pwr-5g-low-mcs7 = <13>; 38 wifi-max-tx-pwr-5g-mid-mcs0 = <13>; 39 wifi-max-tx-pwr-5g-mid-mcs7 = <13>; 40 wifi-max-tx-pwr-5g-high-mcs0 = <12>; 41 wifi-max-tx-pwr-5g-high-mcs7 = <12>;
|
/Zephyr-latest/boards/shields/nrf7002ek/ |
D | nrf7002ek_common_5g.dtsi | 7 wifi-max-tx-pwr-5g-low-mcs0 = <13>; 8 wifi-max-tx-pwr-5g-low-mcs7 = <13>; 9 wifi-max-tx-pwr-5g-mid-mcs0 = <13>; 10 wifi-max-tx-pwr-5g-mid-mcs7 = <13>; 11 wifi-max-tx-pwr-5g-high-mcs0 = <12>; 12 wifi-max-tx-pwr-5g-high-mcs7 = <12>;
|
/Zephyr-latest/boards/nordic/nrf7002dk/ |
D | nrf70_common_5g.dtsi | 7 wifi-max-tx-pwr-5g-low-mcs0 = <9>; 8 wifi-max-tx-pwr-5g-low-mcs7 = <9>; 9 wifi-max-tx-pwr-5g-mid-mcs0 = <11>; 10 wifi-max-tx-pwr-5g-mid-mcs7 = <11>; 11 wifi-max-tx-pwr-5g-high-mcs0 = <13>; 12 wifi-max-tx-pwr-5g-high-mcs7 = <13>;
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/ |
D | main.c | 118 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-latest/tests/bluetooth/controller/ctrl_collision/src/ |
D | main.c | 152 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-latest/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_simulator.c | 20 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()
|
D | ec_host_cmd_backend_espi.c | 38 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-latest/tests/bluetooth/controller/ctrl_data_length_update/src/ |
D | main.c | 85 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-latest/subsys/bluetooth/services/ots/ |
D | ots_l2cap.c | 55 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-latest/tests/bluetooth/controller/ctrl_conn_update/src/ |
D | main.c | 244 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-latest/samples/subsys/ipc/ipc_service/multi_endpoint/remote/boards/ |
D | nrf5340dk_nrf5340_cpunet_icbmsg.overlay | 37 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-latest/samples/subsys/ipc/ipc_service/multi_endpoint/boards/ |
D | nrf5340dk_nrf5340_cpuapp_icbmsg.overlay | 37 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-latest/tests/bluetooth/controller/ctrl_cte_req/src/ |
D | main.c | 94 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 …]
|