Home
last modified time | relevance | path

Searched refs:param_len (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/host/id/mocks/
Dhci_core_expects.c38 void expect_single_call_bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in expect_single_call_bt_hci_cmd_create() argument
47 zassert_equal(bt_hci_cmd_create_fake.arg1_val, param_len, in expect_single_call_bt_hci_cmd_create()
Dhci_core_expects.h31 void expect_single_call_bt_hci_cmd_create(uint16_t opcode, uint8_t param_len);
/Zephyr-latest/samples/boards/st/bluetooth/interactive_gui/src/
Dmain.c80 uint16_t param_len; member
85 uint16_t param_len; member
90 uint16_t param_len; member
133 rsp->param_len = sys_cpu_to_le16(len); in parse_cmd()
178 return ((const struct bt_hci_cmd_hdr *)hdr_buf)->param_len; in get_len()
180 return ((const struct bt_hci_ext_cmd_hdr *)hdr_buf)->param_len; in get_len()
182 return ((const struct bt_vendor_cmd_hdr *)hdr_buf)->param_len; in get_len()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsdp_internal.h50 uint16_t param_len; member
/Zephyr-latest/include/zephyr/bluetooth/
Dhci.h60 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len);
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/hci_test_app/src/
Dmain.c94 static struct net_buf *hci_cmd_create(uint16_t opcode, uint8_t param_len) in hci_cmd_create() argument
104 hdr->param_len = param_len; in hci_cmd_create()
149 static int send_hci_command(uint16_t opcode, uint8_t param_len, uint16_t response) in send_hci_command() argument
156 buf = hci_cmd_create(waiting_opcode = opcode, param_len); in send_hci_command()
158 if (param_len) { in send_hci_command()
159 cp = net_buf_add(buf, param_len); in send_hci_command()
160 edtt_read((uint8_t *)cp, param_len, EDTTT_BLOCK); in send_hci_command()
/Zephyr-latest/drivers/bluetooth/hci/
Dhci_ifx_cyw208xx.c333 wiced_result_t wiced_bt_dev_vendor_specific_command(uint16_t opcode, uint8_t param_len, in wiced_bt_dev_vendor_specific_command() argument
344 buf = bt_hci_cmd_create(opcode, param_len); in wiced_bt_dev_vendor_specific_command()
351 net_buf_add_mem(buf, param_buf, param_len); in wiced_bt_dev_vendor_specific_command()
Dapollox_blue.c373 hdr.param_len = HCI_VSC_UPDATE_NVDS_CFG_CMD_LENGTH; in bt_apollo_set_nvds()
388 hdr.param_len = 0; in bt_apollo_set_nvds()
Duserchan.c120 payload_len = cmd->param_len; in hci_packet_complete()
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/qmspi_ldma/src/
Dmain.c237 size_t param_len = 0; in spi_flash_read_fd_sync() local
253 param_len += spi_addr->byte_len; in spi_flash_read_fd_sync()
257 spi_bufs[cnt++].len = param_len + 1; in spi_flash_read_fd_sync()
385 size_t param_len = 0; in spi_flash_read_fd_async() local
401 param_len += spi_addr->byte_len; in spi_flash_read_fd_async()
405 sb[cnt++].len = param_len + 1; in spi_flash_read_fd_async()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_op_agg.c36 #define OPCODES_STATUS_ITEM_LEN(param_len) \ argument
38 BT_MESH_MODEL_OP_LEN(BT_MESH_DUMMY_VND_MOD_STATUS_OP) + param_len)
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c59 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() argument
64 LOG_DBG("opcode 0x%04x param_len %u", opcode, param_len); in bt_hci_cmd_create()
77 hdr->param_len = param_len; in bt_hci_cmd_create()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c58 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() argument
63 LOG_DBG("opcode 0x%04x param_len %u", opcode, param_len); in bt_hci_cmd_create()
76 hdr->param_len = param_len; in bt_hci_cmd_create()
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_mcp.h144 uint8_t param_len; member
310 uint8_t param_len; member
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c62 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() argument
67 LOG_DBG("opcode 0x%04x param_len %u", opcode, param_len); in bt_hci_cmd_create()
80 hdr->param_len = param_len; in bt_hci_cmd_create()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c66 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() argument
71 LOG_DBG("opcode 0x%04x param_len %u", opcode, param_len); in bt_hci_cmd_create()
84 hdr->param_len = param_len; in bt_hci_cmd_create()
/Zephyr-latest/samples/bluetooth/hci_ipc/src/
Dmain.c73 if (remaining != hdr->param_len) { in hci_ipc_cmd_recv()
85 LOG_DBG("len %u", hdr->param_len); in hci_ipc_cmd_recv()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c50 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() argument
55 LOG_DBG("opcode 0x%04x param_len %u", opcode, param_len); in bt_hci_cmd_create()
68 hdr->param_len = param_len; in bt_hci_cmd_create()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c52 struct net_buf *bt_hci_cmd_create(uint16_t opcode, uint8_t param_len) in bt_hci_cmd_create() argument
57 LOG_DBG("opcode 0x%04x param_len %u", opcode, param_len); in bt_hci_cmd_create()
70 hdr->param_len = param_len; in bt_hci_cmd_create()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_mcp.c361 ev->param_len = (uint8_t)search->search[0]; in btp_send_search_cp_ev()
363 if (ev->param_len > (SEARCH_LEN_MAX - sizeof(ev->param_len))) { in btp_send_search_cp_ev()
369 net_buf_simple_add_mem(rx_ev_buf, param, ev->param_len); in btp_send_search_cp_ev()
371 tester_event(BTP_SERVICE_ID_MCP, BTP_MCP_SEARCH_CP_EV, ev, sizeof(*ev) + ev->param_len); in btp_send_search_cp_ev()
1248 if (cmd_len < sizeof(*cp) || cmd_len != sizeof(*cp) + cp->param_len) { in mcp_cmd_search()
1277 if (cp->param_len >= (SEARCH_LEN_MAX - 1)) { in mcp_cmd_search()
/Zephyr-latest/samples/bluetooth/hci_spi/src/
Dmain.c225 hci_hdr.cmd_hdr->param_len); in bt_tx_thread()
/Zephyr-latest/samples/bluetooth/hci_uart_async/src/
Dhci_uart_async.c80 return ((const struct bt_hci_cmd_hdr *)hdr_buf)->param_len; in hci_payload_size()
/Zephyr-latest/samples/bluetooth/hci_uart/src/
Dmain.c84 return ((const struct bt_hci_cmd_hdr *)hdr_buf)->param_len; in get_len()
/Zephyr-latest/subsys/bluetooth/host/
Dhci_raw.c265 if (buf->len < hdr->param_len) { in bt_send_ext()
/Zephyr-latest/drivers/modem/
Dsimcom-sim7080.c2098 size_t out_len, sms_len, param_len; in MODEM_CMD_DEFINE() local
2109 param_len = net_buf_find_crlf(data->rx_buf, 0); in MODEM_CMD_DEFINE()
2110 if (param_len == 0) { in MODEM_CMD_DEFINE()
2116 sms_len = net_buf_find_crlf(data->rx_buf, param_len + 2); in MODEM_CMD_DEFINE()
2122 data->rx_buf = net_buf_skip(data->rx_buf, param_len + 2); in MODEM_CMD_DEFINE()

12