/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/ |
D | msg.c | 38 void bt_mesh_msg_ack_ctx_clear(struct bt_mesh_msg_ack_ctx *ack) in bt_mesh_msg_ack_ctx_clear() argument 40 ack->op = 0U; in bt_mesh_msg_ack_ctx_clear() 41 ack->user_data = NULL; in bt_mesh_msg_ack_ctx_clear() 42 ack->dst = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_msg_ack_ctx_clear() 45 int bt_mesh_msg_ack_ctx_prepare(struct bt_mesh_msg_ack_ctx *ack, in bt_mesh_msg_ack_ctx_prepare() argument 48 if (ack->op) { in bt_mesh_msg_ack_ctx_prepare() 53 ack->op = op; in bt_mesh_msg_ack_ctx_prepare() 54 ack->user_data = user_data; in bt_mesh_msg_ack_ctx_prepare() 55 ack->dst = dst; in bt_mesh_msg_ack_ctx_prepare() 60 int bt_mesh_msg_ack_ctx_wait(struct bt_mesh_msg_ack_ctx *ack, k_timeout_t timeout) in bt_mesh_msg_ack_ctx_wait() argument [all …]
|
D | transport.c | 134 struct k_work_delayable ack; member 814 uint32_t ack; in trans_ack() local 834 ack = net_buf_simple_pull_be32(buf); in trans_ack() 836 BT_DBG("OBO %u seq_zero 0x%04x ack 0x%08x", obo, seq_zero, ack); in trans_ack() 851 if (!ack) { in trans_ack() 857 if (find_msb_set(ack) - 1 > tx->seg_n) { in trans_ack() 862 while ((bit = find_lsb_set(ack))) { in trans_ack() 868 ack &= ~BIT(bit - 1); in trans_ack() 1098 (void)k_work_cancel_delayable(&rx->ack); in seg_rx_reset() 1133 struct seg_rx *rx = CONTAINER_OF(dwork, struct seg_rx, ack); in seg_ack() [all …]
|
/Zephyr-Core-2.7.6/include/bluetooth/mesh/ |
D | msg.h | 131 static inline void bt_mesh_msg_ack_ctx_init(struct bt_mesh_msg_ack_ctx *ack) in bt_mesh_msg_ack_ctx_init() argument 133 k_sem_init(&ack->sem, 0, 1); in bt_mesh_msg_ack_ctx_init() 142 static inline void bt_mesh_msg_ack_ctx_reset(struct bt_mesh_msg_ack_ctx *ack) in bt_mesh_msg_ack_ctx_reset() argument 144 k_sem_reset(&ack->sem); in bt_mesh_msg_ack_ctx_reset() 154 void bt_mesh_msg_ack_ctx_clear(struct bt_mesh_msg_ack_ctx *ack); 168 int bt_mesh_msg_ack_ctx_prepare(struct bt_mesh_msg_ack_ctx *ack, 178 static inline bool bt_mesh_msg_ack_ctx_busy(struct bt_mesh_msg_ack_ctx *ack) in bt_mesh_msg_ack_ctx_busy() argument 180 return (ack->op != 0); in bt_mesh_msg_ack_ctx_busy() 192 int bt_mesh_msg_ack_ctx_wait(struct bt_mesh_msg_ack_ctx *ack, k_timeout_t timeout); 200 static inline void bt_mesh_msg_ack_ctx_rx(struct bt_mesh_msg_ack_ctx *ack) in bt_mesh_msg_ack_ctx_rx() argument [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/util/ |
D | mayfly.c | 74 uint8_t ack; in mayfly_enqueue() local 82 ack = m->_ack; in mayfly_enqueue() 85 state = (m->_req - ack) & 0x03; in mayfly_enqueue() 90 m->_req = ack + 1; in mayfly_enqueue() 100 m->_req = ack + 2; in mayfly_enqueue() 112 m->_req = ack + 1; in mayfly_enqueue() 132 uint8_t ack; in dequeue() local 157 ack = m->_ack; in dequeue() 161 if (((m->_req - ack) & 0x03) == 1U) { in dequeue() 166 m->_ack = ack; in dequeue()
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/ |
D | ull_conn_types.h | 155 uint8_t ack; member 174 uint8_t ack; member 182 uint8_t ack; member 192 uint8_t ack; member 212 uint8_t ack; member 225 uint8_t ack; member 261 uint8_t ack; member 289 uint8_t ack; member 323 uint8_t ack; member
|
D | ull_conn.c | 381 if (conn->llcp_cu.req != conn->llcp_cu.ack) { in ll_conn_update() 400 conn->llcp_conn_param.ack) || in ll_conn_update() 411 conn->llcp_conn_param.ack) { in ll_conn_update() 485 if (conn->llcp_terminate.req != conn->llcp_terminate.ack) { in ll_terminate_ind_send() 512 if (conn->llcp_feature.req != conn->llcp_feature.ack) { in ll_feature_req_send() 536 if (conn->llcp_version.req != conn->llcp_version.ack) { in ll_version_ind_send() 581 if (conn->llcp_length.req != conn->llcp_length.ack) { in ll_length_req_send() 694 if (conn->llcp_phy.req != conn->llcp_phy.ack) { in ll_phy_req_send() 966 if (conn->llcp_cu.ack != conn->llcp_cu.req) { 972 } else if (conn->llcp_feature.ack != conn->llcp_feature.req) { [all …]
|
D | ull_central.c | 288 conn->llcp_cu.req = conn->llcp_cu.ack = 0; in ll_create_connection() 289 conn->llcp_feature.req = conn->llcp_feature.ack = 0; in ll_create_connection() 292 conn->llcp_version.req = conn->llcp_version.ack = 0; in ll_create_connection() 294 conn->llcp_terminate.req = conn->llcp_terminate.ack = 0U; in ll_create_connection() 303 conn->llcp_enc.req = conn->llcp_enc.ack = 0U; in ll_create_connection() 310 conn->llcp_conn_param.ack = 0U; in ll_create_connection() 315 conn->llcp_length.req = conn->llcp_length.ack = 0U; in ll_create_connection() 326 conn->llcp_phy.req = conn->llcp_phy.ack = 0U; in ll_create_connection() 586 if ((conn->llcp_enc.req != conn->llcp_enc.ack) || in ll_enc_req_send()
|
D | ull_adv.c | 1027 conn->llcp_cu.req = conn->llcp_cu.ack = 0; 1028 conn->llcp_feature.req = conn->llcp_feature.ack = 0; 1031 conn->llcp_version.req = conn->llcp_version.ack = 0; 1033 conn->llcp_terminate.req = conn->llcp_terminate.ack = 0; 1042 conn->llcp_enc.req = conn->llcp_enc.ack = 0U; 1050 conn->llcp_conn_param.ack = 0; 1056 conn->llcp_length.req = conn->llcp_length.ack = 0U; 1067 conn->llcp_phy.req = conn->llcp_phy.ack = 0;
|
/Zephyr-Core-2.7.6/tests/net/tcp2/src/ |
D | main.c | 99 static uint32_t ack; variable 276 th->th_ack = htonl(ack); in tester_prepare_tcp_pkt() 468 ack = ntohs(th->th_seq) + 1U; in handle_client_test() 482 ack = ack + 1U; in handle_client_test() 489 ack = ntohs(th->th_seq) + 1U; in handle_client_test() 532 seq = ack = 0; in test_client_ipv4() 594 seq = ack = 0; in test_client_ipv6() 651 ack = ntohs(th->th_seq) + 1U; in handle_server_test() 671 ack++; in handle_server_test() 750 seq = ack = 0; in test_server_ipv4() [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_test.c | 310 uint8_t ack; in ll_test_end() local 321 ack = tx_ack; in ll_test_end() 322 if (tx_req == ack) { in ll_test_end() 326 tx_req = ack + 2; in ll_test_end()
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_test.c | 312 uint8_t ack; in ll_test_end() local 323 ack = tx_ack; in ll_test_end() 324 if (tx_req == ack) { in ll_test_end() 328 tx_req = ack + 2; in ll_test_end()
|
/Zephyr-Core-2.7.6/tests/net/dhcpv4/src/ |
D | main.c | 92 static const unsigned char ack[382] = { variable 257 if (net_pkt_write(pkt, ack, 4)) { in prepare_dhcp_ack() 266 if (net_pkt_write(pkt, ack + 8, sizeof(ack) - 8)) { in prepare_dhcp_ack()
|
/Zephyr-Core-2.7.6/dts/arm/nuvoton/npcx/ |
D | npcx-espi-vws-map.dtsi | 76 vw-sus-pwrdn-ack { 97 vw-oob-rst-ack { 132 vw-host-rst-ack { 137 vw-sus-ack {
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | tcp2_priv.h | 106 tp_seq_track(TP_ACK, &(_conn)->ack, (_req), tp_basename(__FILE__), \ 110 #define conn_ack(_conn, _req) (_conn)->ack += (_req) 257 uint32_t ack; member
|
D | tp.h | 65 int ack; member 81 json_num(tp, ack),
|
D | tcp2.c | 582 conn->seq, conn->ack); in tcp_conn_state() 786 UNALIGNED_PUT(htonl(conn->ack), &th->th_ack); in tcp_header_add() 1574 return (net_tcp_seq_cmp(th_seq(hdr), conn->ack) >= 0) && in tcp_validate_seq() 1575 (net_tcp_seq_cmp(th_seq(hdr), conn->ack + conn->recv_win) < 0); in tcp_validate_seq() 1599 NET_DBG("conn: %p len %zd seq %u ack %u", conn, len, seq, conn->ack); in tcp_queue_recv_data() 1807 th_seq(th) == conn->ack)) { in tcp_in() 1868 if (th && FL(&fl, ==, (FIN | ACK), th_seq(th) == conn->ack)) { in tcp_in() 1879 } else if (th && FL(&fl, ==, FIN, th_seq(th) == conn->ack)) { in tcp_in() 1885 th_seq(th) == conn->ack)) { in tcp_in() 1958 if (th_seq(th) == conn->ack) { in tcp_in() [all …]
|
/Zephyr-Core-2.7.6/drivers/i2c/ |
D | i2c_imx.c | 42 volatile bool ack; member 81 return transfer->ack; in i2c_imx_write() 289 transfer->ack = in i2c_imx_isr()
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ticker/ |
D | ticker.c | 35 uint8_t ack; /* Acknowledge counter. Imbalance member 914 if (((ticker->req - ticker->ack) & 0xff) != 1U) { 955 ticker->ack--; 985 ticker->ack--; 1317 ticker->req = ticker->ack; 1431 state = (ticker->req - ticker->ack) & 0xff; 1555 state = (ticker->req - ticker->ack) & 0xff; 1585 ticker->req = ticker->ack; 1601 ticker->req = ticker->ack; 1685 ticker->req = ticker->ack; [all …]
|
/Zephyr-Core-2.7.6/drivers/ieee802154/ |
D | ieee802154_cc13xx_cc26xx.c | 289 bool ack = ieee802154_is_ar_flag_set(frag); in ieee802154_cc13xx_cc26xx_tx() local 322 ack ? COND_STOP_ON_FALSE : COND_NEVER; in ieee802154_cc13xx_cc26xx_tx() 324 if (ack) { in ieee802154_cc13xx_cc26xx_tx() 352 if (!ack || drv_data->cmd_ieee_rx_ack.status == IEEE_DONE_ACK || in ieee802154_cc13xx_cc26xx_tx()
|
/Zephyr-Core-2.7.6/tests/bluetooth/tester/src/ |
D | bttester.h | 1277 uint8_t ack; member 1286 uint8_t ack; member 1300 uint8_t ack; member 1314 uint8_t ack; member
|
D | mesh.c | 2173 if (cmd->ack) { in health_fault_clear() 2188 if (cmd->ack) { in health_fault_clear() 2215 if (cmd->ack) { in health_fault_test() 2230 if (cmd->ack) { in health_fault_test() 2276 if (cmd->ack) { in health_period_set() 2289 if (cmd->ack) { in health_period_set() 2332 if (cmd->ack) { in health_attention_set() 2346 if (cmd->ack) { in health_attention_set()
|
/Zephyr-Core-2.7.6/drivers/bluetooth/hci/ |
D | h5.c | 83 #define H5_SET_ACK(hdr, ack) ((hdr)[0] |= (ack) << 3) argument
|
/Zephyr-Core-2.7.6/subsys/net/l2/ieee802154/ |
D | ieee802154_frame.c | 554 bool ack) in generate_fcf_grounds() argument 562 fs->fc.ar = ack; in generate_fcf_grounds()
|
D | ieee802154_shell.c | 594 SHELL_CMD(ack, NULL,
|
/Zephyr-Core-2.7.6/samples/net/sockets/echo_server/ |
D | README.rst | 42 command: ``ieee802154 ack set``.
|