• Home
  • Raw
  • Download

Lines Matching refs:p

40   BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE);  in btsnd_hcic_inquiry()  local
41 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_inquiry()
43 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_INQUIRY; in btsnd_hcic_inquiry()
44 p->offset = 0; in btsnd_hcic_inquiry()
53 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_inquiry()
57 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_inq_cancel() local
58 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_inq_cancel()
60 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_INQ_CANCEL; in btsnd_hcic_inq_cancel()
61 p->offset = 0; in btsnd_hcic_inq_cancel()
65 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_inq_cancel()
71 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_per_inq_mode() local
72 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_per_inq_mode()
74 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_PER_INQ_MODE; in btsnd_hcic_per_inq_mode()
75 p->offset = 0; in btsnd_hcic_per_inq_mode()
86 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_per_inq_mode()
90 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_per_inq() local
91 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_exit_per_inq()
93 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_EXIT_PER_INQ; in btsnd_hcic_exit_per_inq()
94 p->offset = 0; in btsnd_hcic_exit_per_inq()
98 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_exit_per_inq()
104 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn() local
105 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_create_conn()
108 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CREATE_CONN; in btsnd_hcic_create_conn()
110 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CREATE_CONN - 1; in btsnd_hcic_create_conn()
112 p->offset = 0; in btsnd_hcic_create_conn()
128 btm_acl_paging(p, dest); in btsnd_hcic_create_conn()
132 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_disconnect() local
133 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_disconnect()
135 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_DISCONNECT; in btsnd_hcic_disconnect()
136 p->offset = 0; in btsnd_hcic_disconnect()
143 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_disconnect()
148 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_add_SCO_conn() local
149 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_add_SCO_conn()
151 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ADD_SCO_CONN; in btsnd_hcic_add_SCO_conn()
152 p->offset = 0; in btsnd_hcic_add_SCO_conn()
160 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_add_SCO_conn()
165 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn_cancel() local
166 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_create_conn_cancel()
168 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CREATE_CONN_CANCEL; in btsnd_hcic_create_conn_cancel()
169 p->offset = 0; in btsnd_hcic_create_conn_cancel()
176 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_create_conn_cancel()
180 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_accept_conn() local
181 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_accept_conn()
183 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ACCEPT_CONN; in btsnd_hcic_accept_conn()
184 p->offset = 0; in btsnd_hcic_accept_conn()
191 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_accept_conn()
195 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_reject_conn() local
196 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_reject_conn()
198 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_REJECT_CONN; in btsnd_hcic_reject_conn()
199 p->offset = 0; in btsnd_hcic_reject_conn()
207 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_reject_conn()
212 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_link_key_req_reply() local
213 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_link_key_req_reply()
215 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_LINK_KEY_REQ_REPLY; in btsnd_hcic_link_key_req_reply()
216 p->offset = 0; in btsnd_hcic_link_key_req_reply()
224 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_link_key_req_reply()
228 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_link_key_neg_reply() local
229 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_link_key_neg_reply()
231 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_LINK_KEY_NEG_REPLY; in btsnd_hcic_link_key_neg_reply()
232 p->offset = 0; in btsnd_hcic_link_key_neg_reply()
239 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_link_key_neg_reply()
244 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_pin_code_req_reply() local
245 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_pin_code_req_reply()
248 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_PIN_CODE_REQ_REPLY; in btsnd_hcic_pin_code_req_reply()
249 p->offset = 0; in btsnd_hcic_pin_code_req_reply()
261 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_pin_code_req_reply()
265 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_pin_code_neg_reply() local
266 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_pin_code_neg_reply()
268 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_PIN_CODE_NEG_REPLY; in btsnd_hcic_pin_code_neg_reply()
269 p->offset = 0; in btsnd_hcic_pin_code_neg_reply()
276 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_pin_code_neg_reply()
280 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_change_conn_type() local
281 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_change_conn_type()
283 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CHANGE_CONN_TYPE; in btsnd_hcic_change_conn_type()
284 p->offset = 0; in btsnd_hcic_change_conn_type()
292 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_change_conn_type()
296 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_auth_request() local
297 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_auth_request()
299 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_auth_request()
300 p->offset = 0; in btsnd_hcic_auth_request()
307 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_auth_request()
311 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_set_conn_encrypt() local
312 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_set_conn_encrypt()
314 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SET_CONN_ENCRYPT; in btsnd_hcic_set_conn_encrypt()
315 p->offset = 0; in btsnd_hcic_set_conn_encrypt()
323 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_set_conn_encrypt()
329 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_name_req() local
330 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_name_req()
332 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_RMT_NAME_REQ; in btsnd_hcic_rmt_name_req()
333 p->offset = 0; in btsnd_hcic_rmt_name_req()
343 btm_acl_paging(p, bd_addr); in btsnd_hcic_rmt_name_req()
347 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_name_req_cancel() local
348 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_name_req_cancel()
350 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_RMT_NAME_REQ_CANCEL; in btsnd_hcic_rmt_name_req_cancel()
351 p->offset = 0; in btsnd_hcic_rmt_name_req_cancel()
358 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rmt_name_req_cancel()
362 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_features_req() local
363 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_features_req()
365 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_rmt_features_req()
366 p->offset = 0; in btsnd_hcic_rmt_features_req()
373 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rmt_features_req()
377 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_ext_features() local
378 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_ext_features()
380 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_RMT_EXT_FEATURES; in btsnd_hcic_rmt_ext_features()
381 p->offset = 0; in btsnd_hcic_rmt_ext_features()
389 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rmt_ext_features()
393 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_ver_req() local
394 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_ver_req()
396 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_rmt_ver_req()
397 p->offset = 0; in btsnd_hcic_rmt_ver_req()
404 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rmt_ver_req()
408 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_rmt_clk_offset() local
409 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_rmt_clk_offset()
411 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_rmt_clk_offset()
412 p->offset = 0; in btsnd_hcic_read_rmt_clk_offset()
419 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_rmt_clk_offset()
423 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_lmp_handle() local
424 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_lmp_handle()
426 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_lmp_handle()
427 p->offset = 0; in btsnd_hcic_read_lmp_handle()
434 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_lmp_handle()
441 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_setup_esco_conn() local
442 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_setup_esco_conn()
444 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SETUP_ESCO; in btsnd_hcic_setup_esco_conn()
445 p->offset = 0; in btsnd_hcic_setup_esco_conn()
458 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_setup_esco_conn()
467 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_accept_esco_conn() local
468 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_accept_esco_conn()
470 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ACCEPT_ESCO; in btsnd_hcic_accept_esco_conn()
471 p->offset = 0; in btsnd_hcic_accept_esco_conn()
484 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_accept_esco_conn()
488 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_reject_esco_conn() local
489 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_reject_esco_conn()
491 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_REJECT_ESCO; in btsnd_hcic_reject_esco_conn()
492 p->offset = 0; in btsnd_hcic_reject_esco_conn()
500 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_reject_esco_conn()
505 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_hold_mode() local
506 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_hold_mode()
508 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_HOLD_MODE; in btsnd_hcic_hold_mode()
509 p->offset = 0; in btsnd_hcic_hold_mode()
518 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_hold_mode()
524 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_sniff_mode() local
525 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_sniff_mode()
527 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SNIFF_MODE; in btsnd_hcic_sniff_mode()
528 p->offset = 0; in btsnd_hcic_sniff_mode()
539 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_sniff_mode()
543 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_sniff_mode() local
544 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_exit_sniff_mode()
546 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_exit_sniff_mode()
547 p->offset = 0; in btsnd_hcic_exit_sniff_mode()
554 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_exit_sniff_mode()
559 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_park_mode() local
560 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_park_mode()
562 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_PARK_MODE; in btsnd_hcic_park_mode()
563 p->offset = 0; in btsnd_hcic_park_mode()
572 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_park_mode()
576 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_park_mode() local
577 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_exit_park_mode()
579 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_exit_park_mode()
580 p->offset = 0; in btsnd_hcic_exit_park_mode()
587 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_exit_park_mode()
593 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_qos_setup() local
594 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_qos_setup()
596 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_QOS_SETUP; in btsnd_hcic_qos_setup()
597 p->offset = 0; in btsnd_hcic_qos_setup()
610 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_qos_setup()
614 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_switch_role() local
615 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_switch_role()
617 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SWITCH_ROLE; in btsnd_hcic_switch_role()
618 p->offset = 0; in btsnd_hcic_switch_role()
626 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_switch_role()
630 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_policy_set() local
631 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_policy_set()
633 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_POLICY_SET; in btsnd_hcic_write_policy_set()
634 p->offset = 0; in btsnd_hcic_write_policy_set()
641 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_policy_set()
645 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_def_policy_set() local
646 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_def_policy_set()
648 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_DEF_POLICY_SET; in btsnd_hcic_write_def_policy_set()
649 p->offset = 0; in btsnd_hcic_write_def_policy_set()
655 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_def_policy_set()
660 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_set_event_filter() local
661 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_set_event_filter()
663 p->offset = 0; in btsnd_hcic_set_event_filter()
668 p->len = (uint16_t)(HCIC_PREAMBLE_SIZE + 2 + filt_cond_len); in btsnd_hcic_set_event_filter()
690 p->len = (uint16_t)(HCIC_PREAMBLE_SIZE + 1); in btsnd_hcic_set_event_filter()
696 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_set_event_filter()
700 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_pin_type() local
701 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pin_type()
703 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_pin_type()
704 p->offset = 0; in btsnd_hcic_write_pin_type()
711 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_pin_type()
716 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_delete_stored_key() local
717 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_delete_stored_key()
719 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_DELETE_STORED_KEY; in btsnd_hcic_delete_stored_key()
720 p->offset = 0; in btsnd_hcic_delete_stored_key()
728 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_delete_stored_key()
732 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_change_name() local
733 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_change_name()
738 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CHANGE_NAME; in btsnd_hcic_change_name()
739 p->offset = 0; in btsnd_hcic_change_name()
748 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_change_name()
752 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_name() local
753 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_name()
755 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_READ_CMD; in btsnd_hcic_read_name()
756 p->offset = 0; in btsnd_hcic_read_name()
761 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_name()
765 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_page_tout() local
766 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_page_tout()
768 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM2; in btsnd_hcic_write_page_tout()
769 p->offset = 0; in btsnd_hcic_write_page_tout()
776 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_page_tout()
780 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_scan_enable() local
781 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_scan_enable()
783 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_scan_enable()
784 p->offset = 0; in btsnd_hcic_write_scan_enable()
791 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_scan_enable()
795 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_pagescan_cfg() local
796 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pagescan_cfg()
798 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PAGESCAN_CFG; in btsnd_hcic_write_pagescan_cfg()
799 p->offset = 0; in btsnd_hcic_write_pagescan_cfg()
807 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_pagescan_cfg()
811 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_inqscan_cfg() local
812 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inqscan_cfg()
814 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_INQSCAN_CFG; in btsnd_hcic_write_inqscan_cfg()
815 p->offset = 0; in btsnd_hcic_write_inqscan_cfg()
823 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_inqscan_cfg()
827 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_auth_enable() local
828 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_auth_enable()
830 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_auth_enable()
831 p->offset = 0; in btsnd_hcic_write_auth_enable()
838 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_auth_enable()
842 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_dev_class() local
843 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_dev_class()
845 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM3; in btsnd_hcic_write_dev_class()
846 p->offset = 0; in btsnd_hcic_write_dev_class()
853 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_dev_class()
857 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_voice_settings() local
858 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_voice_settings()
860 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM2; in btsnd_hcic_write_voice_settings()
861 p->offset = 0; in btsnd_hcic_write_voice_settings()
868 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_voice_settings()
872 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_auto_flush_tout() local
873 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_auto_flush_tout()
875 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_AUTOMATIC_FLUSH_TIMEOUT; in btsnd_hcic_write_auto_flush_tout()
876 p->offset = 0; in btsnd_hcic_write_auto_flush_tout()
884 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_auto_flush_tout()
888 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_tx_power() local
889 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_tx_power()
891 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_READ_TX_POWER; in btsnd_hcic_read_tx_power()
892 p->offset = 0; in btsnd_hcic_read_tx_power()
900 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_tx_power()
905 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_host_num_xmitted_pkts() local
906 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_host_num_xmitted_pkts()
908 p->len = HCIC_PREAMBLE_SIZE + 1 + (num_handles * 4); in btsnd_hcic_host_num_xmitted_pkts()
909 p->offset = 0; in btsnd_hcic_host_num_xmitted_pkts()
912 UINT8_TO_STREAM(pp, p->len - HCIC_PREAMBLE_SIZE); in btsnd_hcic_host_num_xmitted_pkts()
921 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_host_num_xmitted_pkts()
926 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_link_super_tout() local
927 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_link_super_tout()
929 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_LINK_SUPER_TOUT; in btsnd_hcic_write_link_super_tout()
930 p->offset = 0; in btsnd_hcic_write_link_super_tout()
938 btu_hcif_send_cmd(local_controller_id, p); in btsnd_hcic_write_link_super_tout()
942 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_cur_iac_lap() local
943 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_cur_iac_lap()
945 p->len = HCIC_PREAMBLE_SIZE + 1 + (LAP_LEN * num_cur_iac); in btsnd_hcic_write_cur_iac_lap()
946 p->offset = 0; in btsnd_hcic_write_cur_iac_lap()
949 UINT8_TO_STREAM(pp, p->len - HCIC_PREAMBLE_SIZE); in btsnd_hcic_write_cur_iac_lap()
955 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_cur_iac_lap()
966 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_sniff_sub_rate() local
967 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_sniff_sub_rate()
969 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SNIFF_SUB_RATE; in btsnd_hcic_sniff_sub_rate()
970 p->offset = 0; in btsnd_hcic_sniff_sub_rate()
980 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_sniff_sub_rate()
986 BT_HDR* p = (BT_HDR*)buffer; in btsnd_hcic_write_ext_inquiry_response() local
987 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_ext_inquiry_response()
989 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_EXT_INQ_RESP; in btsnd_hcic_write_ext_inquiry_response()
990 p->offset = 0; in btsnd_hcic_write_ext_inquiry_response()
997 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_ext_inquiry_response()
1002 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_io_cap_req_reply() local
1003 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_io_cap_req_reply()
1005 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_IO_CAP_RESP; in btsnd_hcic_io_cap_req_reply()
1006 p->offset = 0; in btsnd_hcic_io_cap_req_reply()
1016 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_io_cap_req_reply()
1021 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_enhanced_set_up_synchronous_connection() local
1022 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1024 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ENH_SET_ESCO_CONN; in btsnd_hcic_enhanced_set_up_synchronous_connection()
1025 p->offset = 0; in btsnd_hcic_enhanced_set_up_synchronous_connection()
1065 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1070 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_enhanced_accept_synchronous_connection() local
1071 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enhanced_accept_synchronous_connection()
1073 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ENH_ACC_ESCO_CONN; in btsnd_hcic_enhanced_accept_synchronous_connection()
1074 p->offset = 0; in btsnd_hcic_enhanced_accept_synchronous_connection()
1114 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_enhanced_accept_synchronous_connection()
1119 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_io_cap_req_neg_reply() local
1120 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_io_cap_req_neg_reply()
1122 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_IO_CAP_NEG_REPLY; in btsnd_hcic_io_cap_req_neg_reply()
1123 p->offset = 0; in btsnd_hcic_io_cap_req_neg_reply()
1131 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_io_cap_req_neg_reply()
1135 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_local_oob_data() local
1136 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_local_oob_data()
1138 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_R_LOCAL_OOB; in btsnd_hcic_read_local_oob_data()
1139 p->offset = 0; in btsnd_hcic_read_local_oob_data()
1144 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_local_oob_data()
1148 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_user_conf_reply() local
1149 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_conf_reply()
1151 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_UCONF_REPLY; in btsnd_hcic_user_conf_reply()
1152 p->offset = 0; in btsnd_hcic_user_conf_reply()
1166 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_user_conf_reply()
1170 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_user_passkey_reply() local
1171 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_passkey_reply()
1173 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_U_PKEY_REPLY; in btsnd_hcic_user_passkey_reply()
1174 p->offset = 0; in btsnd_hcic_user_passkey_reply()
1182 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_user_passkey_reply()
1186 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_user_passkey_neg_reply() local
1187 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_passkey_neg_reply()
1189 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_U_PKEY_NEG_REPLY; in btsnd_hcic_user_passkey_neg_reply()
1190 p->offset = 0; in btsnd_hcic_user_passkey_neg_reply()
1197 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_user_passkey_neg_reply()
1202 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rem_oob_reply() local
1203 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rem_oob_reply()
1205 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_REM_OOB_REPLY; in btsnd_hcic_rem_oob_reply()
1206 p->offset = 0; in btsnd_hcic_rem_oob_reply()
1215 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rem_oob_reply()
1219 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rem_oob_neg_reply() local
1220 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rem_oob_neg_reply()
1222 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_REM_OOB_NEG_REPLY; in btsnd_hcic_rem_oob_neg_reply()
1223 p->offset = 0; in btsnd_hcic_rem_oob_neg_reply()
1230 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rem_oob_neg_reply()
1234 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_inq_tx_power() local
1235 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_inq_tx_power()
1237 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_R_TX_POWER; in btsnd_hcic_read_inq_tx_power()
1238 p->offset = 0; in btsnd_hcic_read_inq_tx_power()
1243 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_inq_tx_power()
1247 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_send_keypress_notif() local
1248 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_send_keypress_notif()
1250 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SEND_KEYPRESS_NOTIF; in btsnd_hcic_send_keypress_notif()
1251 p->offset = 0; in btsnd_hcic_send_keypress_notif()
1259 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_send_keypress_notif()
1266 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_enhanced_flush() local
1267 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enhanced_flush()
1269 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ENHANCED_FLUSH; in btsnd_hcic_enhanced_flush()
1270 p->offset = 0; in btsnd_hcic_enhanced_flush()
1277 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_enhanced_flush()
1286 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_get_link_quality() local
1287 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_get_link_quality()
1289 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_get_link_quality()
1290 p->offset = 0; in btsnd_hcic_get_link_quality()
1297 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_get_link_quality()
1301 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_rssi() local
1302 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_rssi()
1304 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_rssi()
1305 p->offset = 0; in btsnd_hcic_read_rssi()
1312 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_rssi()
1333 uint8_t* p = param; in btsnd_hcic_read_encryption_key_size() local
1334 UINT16_TO_STREAM(p, handle); in btsnd_hcic_read_encryption_key_size()
1342 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_failed_contact_counter() local
1343 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_failed_contact_counter()
1345 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_failed_contact_counter()
1346 p->offset = 0; in btsnd_hcic_read_failed_contact_counter()
1353 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_failed_contact_counter()
1357 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_automatic_flush_timeout() local
1358 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_automatic_flush_timeout()
1360 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_automatic_flush_timeout()
1361 p->offset = 0; in btsnd_hcic_read_automatic_flush_timeout()
1368 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_automatic_flush_timeout()
1372 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_enable_test_mode() local
1373 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enable_test_mode()
1375 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_READ_CMD; in btsnd_hcic_enable_test_mode()
1376 p->offset = 0; in btsnd_hcic_enable_test_mode()
1381 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_enable_test_mode()
1385 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_inqscan_type() local
1386 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inqscan_type()
1388 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_inqscan_type()
1389 p->offset = 0; in btsnd_hcic_write_inqscan_type()
1396 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_inqscan_type()
1400 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_inquiry_mode() local
1401 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inquiry_mode()
1403 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_inquiry_mode()
1404 p->offset = 0; in btsnd_hcic_write_inquiry_mode()
1411 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_inquiry_mode()
1415 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_pagescan_type() local
1416 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pagescan_type()
1418 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_pagescan_type()
1419 p->offset = 0; in btsnd_hcic_write_pagescan_type()
1426 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_pagescan_type()
1436 BT_HDR* p = (BT_HDR*)buffer; in btsnd_hcic_vendor_spec_cmd() local
1437 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_vendor_spec_cmd()
1439 p->len = HCIC_PREAMBLE_SIZE + len; in btsnd_hcic_vendor_spec_cmd()
1440 p->offset = sizeof(void*); in btsnd_hcic_vendor_spec_cmd()
1450 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_vendor_spec_cmd()