Home
last modified time | relevance | path

Searched refs:chdr (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/lib/cbprintf_package/src/
Dmain.c379 uint8_t *chdr = cpackage; in ZTEST() local
384 zassert_equal(chdr[1], 1); in ZTEST()
385 zassert_equal(chdr[2], 0); in ZTEST()
386 zassert_equal(chdr[3], 0); in ZTEST()
443 uint8_t *chdr = cpackage; in ZTEST() local
448 zassert_equal(chdr[1], 2); in ZTEST()
449 zassert_equal(chdr[2], 0); in ZTEST()
450 zassert_equal(chdr[3], 0); in ZTEST()
527 struct cbprintf_package_desc *chdr = (struct cbprintf_package_desc *)cpackage; in ZTEST() local
530 zassert_equal(chdr->str_cnt, 2); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dhci_ecc.c351 struct bt_hci_cmd_hdr *chdr = (void *)buf->data; in bt_hci_ecc_send() local
353 switch (sys_le16_to_cpu(chdr->opcode)) { in bt_hci_ecc_send()
355 net_buf_pull(buf, sizeof(*chdr)); in bt_hci_ecc_send()
359 net_buf_pull(buf, sizeof(*chdr)); in bt_hci_ecc_send()
363 net_buf_pull(buf, sizeof(*chdr)); in bt_hci_ecc_send()
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/
Dmain.c101 struct bt_hci_cmd_hdr *chdr; in cmd_handle() local
105 chdr = net_buf_pull_mem(cmd, sizeof(*chdr)); in cmd_handle()
106 opcode = sys_le16_to_cpu(chdr->opcode); in cmd_handle()
/Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/
Dmain.c130 struct bt_hci_cmd_hdr *chdr; in cmd_handle() local
134 chdr = net_buf_pull_mem(cmd, sizeof(*chdr)); in cmd_handle()
135 opcode = sys_le16_to_cpu(chdr->opcode); in cmd_handle()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c5730 struct bt_hci_cmd_hdr *chdr; local
5735 if (cmd->len < sizeof(*chdr)) {
5740 chdr = net_buf_pull_mem(cmd, sizeof(*chdr));
5741 if (cmd->len < chdr->param_len) {
5747 _opcode = sys_le16_to_cpu(chdr->opcode);