Lines Matching refs:pp
41 UINT8 *pp; in btsnd_hcic_inquiry() local
47 pp = (UINT8 *)(p + 1); in btsnd_hcic_inquiry()
52 UINT16_TO_STREAM (pp, HCI_INQUIRY); in btsnd_hcic_inquiry()
53 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_INQUIRY); in btsnd_hcic_inquiry()
55 LAP_TO_STREAM (pp, inq_lap); in btsnd_hcic_inquiry()
56 UINT8_TO_STREAM (pp, duration); in btsnd_hcic_inquiry()
57 UINT8_TO_STREAM (pp, response_cnt); in btsnd_hcic_inquiry()
66 UINT8 *pp; in btsnd_hcic_inq_cancel() local
72 pp = (UINT8 *)(p + 1); in btsnd_hcic_inq_cancel()
76 UINT16_TO_STREAM (pp, HCI_INQUIRY_CANCEL); in btsnd_hcic_inq_cancel()
77 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_INQ_CANCEL); in btsnd_hcic_inq_cancel()
87 UINT8 *pp; in btsnd_hcic_per_inq_mode() local
93 pp = (UINT8 *)(p + 1); in btsnd_hcic_per_inq_mode()
98 UINT16_TO_STREAM (pp, HCI_PERIODIC_INQUIRY_MODE); in btsnd_hcic_per_inq_mode()
99 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_PER_INQ_MODE); in btsnd_hcic_per_inq_mode()
101 UINT16_TO_STREAM (pp, max_period); in btsnd_hcic_per_inq_mode()
102 UINT16_TO_STREAM (pp, min_period); in btsnd_hcic_per_inq_mode()
103 LAP_TO_STREAM (pp, inq_lap); in btsnd_hcic_per_inq_mode()
104 UINT8_TO_STREAM (pp, duration); in btsnd_hcic_per_inq_mode()
105 UINT8_TO_STREAM (pp, response_cnt); in btsnd_hcic_per_inq_mode()
114 UINT8 *pp; in btsnd_hcic_exit_per_inq() local
120 pp = (UINT8 *)(p + 1); in btsnd_hcic_exit_per_inq()
124 UINT16_TO_STREAM (pp, HCI_EXIT_PERIODIC_INQUIRY_MODE); in btsnd_hcic_exit_per_inq()
125 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_EXIT_PER_INQ); in btsnd_hcic_exit_per_inq()
137 UINT8 *pp; in btsnd_hcic_create_conn() local
143 pp = (UINT8 *)(p + 1); in btsnd_hcic_create_conn()
152 UINT16_TO_STREAM (pp, HCI_CREATE_CONNECTION); in btsnd_hcic_create_conn()
154 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CREATE_CONN); in btsnd_hcic_create_conn()
156 UINT8_TO_STREAM (pp, (HCIC_PARAM_SIZE_CREATE_CONN - 1)); in btsnd_hcic_create_conn()
158 BDADDR_TO_STREAM (pp, dest); in btsnd_hcic_create_conn()
159 UINT16_TO_STREAM (pp, packet_types); in btsnd_hcic_create_conn()
160 UINT8_TO_STREAM (pp, page_scan_rep_mode); in btsnd_hcic_create_conn()
161 UINT8_TO_STREAM (pp, page_scan_mode); in btsnd_hcic_create_conn()
162 UINT16_TO_STREAM (pp, clock_offset); in btsnd_hcic_create_conn()
164 UINT8_TO_STREAM (pp, allow_switch); in btsnd_hcic_create_conn()
175 UINT8 *pp; in btsnd_hcic_disconnect() local
181 pp = (UINT8 *)(p + 1); in btsnd_hcic_disconnect()
186 UINT16_TO_STREAM (pp, HCI_DISCONNECT); in btsnd_hcic_disconnect()
187 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_DISCONNECT); in btsnd_hcic_disconnect()
188 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_disconnect()
189 UINT8_TO_STREAM (pp, reason); in btsnd_hcic_disconnect()
200 UINT8 *pp; in btsnd_hcic_add_SCO_conn() local
206 pp = (UINT8 *)(p + 1); in btsnd_hcic_add_SCO_conn()
211 UINT16_TO_STREAM (pp, HCI_ADD_SCO_CONNECTION); in btsnd_hcic_add_SCO_conn()
212 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_ADD_SCO_CONN); in btsnd_hcic_add_SCO_conn()
214 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_add_SCO_conn()
215 UINT16_TO_STREAM (pp, packet_types); in btsnd_hcic_add_SCO_conn()
225 UINT8 *pp; in btsnd_hcic_create_conn_cancel() local
231 pp = (UINT8 *)(p + 1); in btsnd_hcic_create_conn_cancel()
236 UINT16_TO_STREAM (pp, HCI_CREATE_CONNECTION_CANCEL); in btsnd_hcic_create_conn_cancel()
237 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CREATE_CONN_CANCEL); in btsnd_hcic_create_conn_cancel()
239 BDADDR_TO_STREAM (pp, dest); in btsnd_hcic_create_conn_cancel()
248 UINT8 *pp; in btsnd_hcic_accept_conn() local
254 pp = (UINT8 *)(p + 1); in btsnd_hcic_accept_conn()
259 UINT16_TO_STREAM (pp, HCI_ACCEPT_CONNECTION_REQUEST); in btsnd_hcic_accept_conn()
260 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_ACCEPT_CONN); in btsnd_hcic_accept_conn()
261 BDADDR_TO_STREAM (pp, dest); in btsnd_hcic_accept_conn()
262 UINT8_TO_STREAM (pp, role); in btsnd_hcic_accept_conn()
273 UINT8 *pp; in btsnd_hcic_reject_conn() local
279 pp = (UINT8 *)(p + 1); in btsnd_hcic_reject_conn()
284 UINT16_TO_STREAM (pp, HCI_REJECT_CONNECTION_REQUEST); in btsnd_hcic_reject_conn()
285 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_REJECT_CONN); in btsnd_hcic_reject_conn()
287 BDADDR_TO_STREAM (pp, dest); in btsnd_hcic_reject_conn()
288 UINT8_TO_STREAM (pp, reason); in btsnd_hcic_reject_conn()
299 UINT8 *pp; in btsnd_hcic_link_key_req_reply() local
305 pp = (UINT8 *)(p + 1); in btsnd_hcic_link_key_req_reply()
310 UINT16_TO_STREAM (pp, HCI_LINK_KEY_REQUEST_REPLY); in btsnd_hcic_link_key_req_reply()
311 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_LINK_KEY_REQ_REPLY); in btsnd_hcic_link_key_req_reply()
313 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_link_key_req_reply()
314 ARRAY16_TO_STREAM (pp, link_key); in btsnd_hcic_link_key_req_reply()
323 UINT8 *pp; in btsnd_hcic_link_key_neg_reply() local
329 pp = (UINT8 *)(p + 1); in btsnd_hcic_link_key_neg_reply()
334 UINT16_TO_STREAM (pp, HCI_LINK_KEY_REQUEST_NEG_REPLY); in btsnd_hcic_link_key_neg_reply()
335 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_LINK_KEY_NEG_REPLY); in btsnd_hcic_link_key_neg_reply()
337 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_link_key_neg_reply()
347 UINT8 *pp; in btsnd_hcic_pin_code_req_reply() local
354 pp = (UINT8 *)(p + 1); in btsnd_hcic_pin_code_req_reply()
359 UINT16_TO_STREAM (pp, HCI_PIN_CODE_REQUEST_REPLY); in btsnd_hcic_pin_code_req_reply()
360 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_PIN_CODE_REQ_REPLY); in btsnd_hcic_pin_code_req_reply()
362 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_pin_code_req_reply()
363 UINT8_TO_STREAM (pp, pin_code_len); in btsnd_hcic_pin_code_req_reply()
366 *pp++ = *pin_code++; in btsnd_hcic_pin_code_req_reply()
370 *pp++ = 0; in btsnd_hcic_pin_code_req_reply()
381 UINT8 *pp; in btsnd_hcic_pin_code_neg_reply() local
387 pp = (UINT8 *)(p + 1); in btsnd_hcic_pin_code_neg_reply()
392 UINT16_TO_STREAM (pp, HCI_PIN_CODE_REQUEST_NEG_REPLY); in btsnd_hcic_pin_code_neg_reply()
393 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_PIN_CODE_NEG_REPLY); in btsnd_hcic_pin_code_neg_reply()
395 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_pin_code_neg_reply()
404 UINT8 *pp; in btsnd_hcic_change_conn_type() local
410 pp = (UINT8 *)(p + 1); in btsnd_hcic_change_conn_type()
415 UINT16_TO_STREAM (pp, HCI_CHANGE_CONN_PACKET_TYPE); in btsnd_hcic_change_conn_type()
416 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CHANGE_CONN_TYPE); in btsnd_hcic_change_conn_type()
418 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_change_conn_type()
419 UINT16_TO_STREAM (pp, packet_types); in btsnd_hcic_change_conn_type()
428 UINT8 *pp; in btsnd_hcic_auth_request() local
434 pp = (UINT8 *)(p + 1); in btsnd_hcic_auth_request()
439 UINT16_TO_STREAM (pp, HCI_AUTHENTICATION_REQUESTED); in btsnd_hcic_auth_request()
440 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_auth_request()
442 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_auth_request()
451 UINT8 *pp; in btsnd_hcic_set_conn_encrypt() local
457 pp = (UINT8 *)(p + 1); in btsnd_hcic_set_conn_encrypt()
462 UINT16_TO_STREAM (pp, HCI_SET_CONN_ENCRYPTION); in btsnd_hcic_set_conn_encrypt()
463 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SET_CONN_ENCRYPT); in btsnd_hcic_set_conn_encrypt()
465 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_set_conn_encrypt()
466 UINT8_TO_STREAM (pp, enable); in btsnd_hcic_set_conn_encrypt()
476 UINT8 *pp; in btsnd_hcic_rmt_name_req() local
482 pp = (UINT8 *)(p + 1); in btsnd_hcic_rmt_name_req()
487 UINT16_TO_STREAM (pp, HCI_RMT_NAME_REQUEST); in btsnd_hcic_rmt_name_req()
488 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_RMT_NAME_REQ); in btsnd_hcic_rmt_name_req()
490 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_rmt_name_req()
491 UINT8_TO_STREAM (pp, page_scan_rep_mode); in btsnd_hcic_rmt_name_req()
492 UINT8_TO_STREAM (pp, page_scan_mode); in btsnd_hcic_rmt_name_req()
493 UINT16_TO_STREAM (pp, clock_offset); in btsnd_hcic_rmt_name_req()
503 UINT8 *pp; in btsnd_hcic_rmt_name_req_cancel() local
509 pp = (UINT8 *)(p + 1); in btsnd_hcic_rmt_name_req_cancel()
514 UINT16_TO_STREAM (pp, HCI_RMT_NAME_REQUEST_CANCEL); in btsnd_hcic_rmt_name_req_cancel()
515 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_RMT_NAME_REQ_CANCEL); in btsnd_hcic_rmt_name_req_cancel()
517 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_rmt_name_req_cancel()
526 UINT8 *pp; in btsnd_hcic_rmt_features_req() local
532 pp = (UINT8 *)(p + 1); in btsnd_hcic_rmt_features_req()
537 UINT16_TO_STREAM (pp, HCI_READ_RMT_FEATURES); in btsnd_hcic_rmt_features_req()
538 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_rmt_features_req()
540 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_rmt_features_req()
549 UINT8 *pp; in btsnd_hcic_rmt_ext_features() local
555 pp = (UINT8 *)(p + 1); in btsnd_hcic_rmt_ext_features()
560 UINT16_TO_STREAM (pp, HCI_READ_RMT_EXT_FEATURES); in btsnd_hcic_rmt_ext_features()
561 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_RMT_EXT_FEATURES); in btsnd_hcic_rmt_ext_features()
563 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_rmt_ext_features()
564 UINT8_TO_STREAM (pp, page_num); in btsnd_hcic_rmt_ext_features()
573 UINT8 *pp; in btsnd_hcic_rmt_ver_req() local
579 pp = (UINT8 *)(p + 1); in btsnd_hcic_rmt_ver_req()
584 UINT16_TO_STREAM (pp, HCI_READ_RMT_VERSION_INFO); in btsnd_hcic_rmt_ver_req()
585 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_rmt_ver_req()
587 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_rmt_ver_req()
596 UINT8 *pp; in btsnd_hcic_read_rmt_clk_offset() local
602 pp = (UINT8 *)(p + 1); in btsnd_hcic_read_rmt_clk_offset()
607 UINT16_TO_STREAM (pp, HCI_READ_RMT_CLOCK_OFFSET); in btsnd_hcic_read_rmt_clk_offset()
608 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_read_rmt_clk_offset()
610 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_read_rmt_clk_offset()
619 UINT8 *pp; in btsnd_hcic_read_lmp_handle() local
625 pp = (UINT8 *)(p + 1); in btsnd_hcic_read_lmp_handle()
630 UINT16_TO_STREAM (pp, HCI_READ_LMP_HANDLE); in btsnd_hcic_read_lmp_handle()
631 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_read_lmp_handle()
633 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_read_lmp_handle()
644 UINT8 *pp; in btsnd_hcic_setup_esco_conn() local
650 pp = (UINT8 *)(p + 1); in btsnd_hcic_setup_esco_conn()
655 UINT16_TO_STREAM (pp, HCI_SETUP_ESCO_CONNECTION); in btsnd_hcic_setup_esco_conn()
656 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SETUP_ESCO); in btsnd_hcic_setup_esco_conn()
658 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_setup_esco_conn()
659 UINT32_TO_STREAM (pp, tx_bw); in btsnd_hcic_setup_esco_conn()
660 UINT32_TO_STREAM (pp, rx_bw); in btsnd_hcic_setup_esco_conn()
661 UINT16_TO_STREAM (pp, max_latency); in btsnd_hcic_setup_esco_conn()
662 UINT16_TO_STREAM (pp, voice); in btsnd_hcic_setup_esco_conn()
663 UINT8_TO_STREAM (pp, retrans_effort); in btsnd_hcic_setup_esco_conn()
664 UINT16_TO_STREAM (pp, packet_types); in btsnd_hcic_setup_esco_conn()
676 UINT8 *pp; in btsnd_hcic_accept_esco_conn() local
682 pp = (UINT8 *)(p + 1); in btsnd_hcic_accept_esco_conn()
687 UINT16_TO_STREAM (pp, HCI_ACCEPT_ESCO_CONNECTION); in btsnd_hcic_accept_esco_conn()
688 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_ACCEPT_ESCO); in btsnd_hcic_accept_esco_conn()
690 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_accept_esco_conn()
691 UINT32_TO_STREAM (pp, tx_bw); in btsnd_hcic_accept_esco_conn()
692 UINT32_TO_STREAM (pp, rx_bw); in btsnd_hcic_accept_esco_conn()
693 UINT16_TO_STREAM (pp, max_latency); in btsnd_hcic_accept_esco_conn()
694 UINT16_TO_STREAM (pp, content_fmt); in btsnd_hcic_accept_esco_conn()
695 UINT8_TO_STREAM (pp, retrans_effort); in btsnd_hcic_accept_esco_conn()
696 UINT16_TO_STREAM (pp, packet_types); in btsnd_hcic_accept_esco_conn()
705 UINT8 *pp; in btsnd_hcic_reject_esco_conn() local
711 pp = (UINT8 *)(p + 1); in btsnd_hcic_reject_esco_conn()
716 UINT16_TO_STREAM (pp, HCI_REJECT_ESCO_CONNECTION); in btsnd_hcic_reject_esco_conn()
717 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_REJECT_ESCO); in btsnd_hcic_reject_esco_conn()
719 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_reject_esco_conn()
720 UINT8_TO_STREAM (pp, reason); in btsnd_hcic_reject_esco_conn()
730 UINT8 *pp; in btsnd_hcic_hold_mode() local
736 pp = (UINT8 *)(p + 1); in btsnd_hcic_hold_mode()
741 UINT16_TO_STREAM (pp, HCI_HOLD_MODE); in btsnd_hcic_hold_mode()
742 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_HOLD_MODE); in btsnd_hcic_hold_mode()
744 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_hold_mode()
745 UINT16_TO_STREAM (pp, max_hold_period); in btsnd_hcic_hold_mode()
746 UINT16_TO_STREAM (pp, min_hold_period); in btsnd_hcic_hold_mode()
757 UINT8 *pp; in btsnd_hcic_sniff_mode() local
763 pp = (UINT8 *)(p + 1); in btsnd_hcic_sniff_mode()
768 UINT16_TO_STREAM (pp, HCI_SNIFF_MODE); in btsnd_hcic_sniff_mode()
769 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SNIFF_MODE); in btsnd_hcic_sniff_mode()
771 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_sniff_mode()
772 UINT16_TO_STREAM (pp, max_sniff_period); in btsnd_hcic_sniff_mode()
773 UINT16_TO_STREAM (pp, min_sniff_period); in btsnd_hcic_sniff_mode()
774 UINT16_TO_STREAM (pp, sniff_attempt); in btsnd_hcic_sniff_mode()
775 UINT16_TO_STREAM (pp, sniff_timeout); in btsnd_hcic_sniff_mode()
786 UINT8 *pp; in btsnd_hcic_exit_sniff_mode() local
792 pp = (UINT8 *)(p + 1); in btsnd_hcic_exit_sniff_mode()
797 UINT16_TO_STREAM (pp, HCI_EXIT_SNIFF_MODE); in btsnd_hcic_exit_sniff_mode()
798 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_exit_sniff_mode()
800 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_exit_sniff_mode()
811 UINT8 *pp; in btsnd_hcic_park_mode() local
817 pp = (UINT8 *)(p + 1); in btsnd_hcic_park_mode()
822 UINT16_TO_STREAM (pp, HCI_PARK_MODE); in btsnd_hcic_park_mode()
823 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_PARK_MODE); in btsnd_hcic_park_mode()
825 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_park_mode()
826 UINT16_TO_STREAM (pp, beacon_max_interval); in btsnd_hcic_park_mode()
827 UINT16_TO_STREAM (pp, beacon_min_interval); in btsnd_hcic_park_mode()
836 UINT8 *pp; in btsnd_hcic_exit_park_mode() local
842 pp = (UINT8 *)(p + 1); in btsnd_hcic_exit_park_mode()
847 UINT16_TO_STREAM (pp, HCI_EXIT_PARK_MODE); in btsnd_hcic_exit_park_mode()
848 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_exit_park_mode()
850 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_exit_park_mode()
861 UINT8 *pp; in btsnd_hcic_qos_setup() local
867 pp = (UINT8 *)(p + 1); in btsnd_hcic_qos_setup()
872 UINT16_TO_STREAM (pp, HCI_QOS_SETUP); in btsnd_hcic_qos_setup()
873 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_QOS_SETUP); in btsnd_hcic_qos_setup()
875 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_qos_setup()
876 UINT8_TO_STREAM (pp, flags); in btsnd_hcic_qos_setup()
877 UINT8_TO_STREAM (pp, service_type); in btsnd_hcic_qos_setup()
878 UINT32_TO_STREAM (pp, token_rate); in btsnd_hcic_qos_setup()
879 UINT32_TO_STREAM (pp, peak); in btsnd_hcic_qos_setup()
880 UINT32_TO_STREAM (pp, latency); in btsnd_hcic_qos_setup()
881 UINT32_TO_STREAM (pp, delay_var); in btsnd_hcic_qos_setup()
890 UINT8 *pp; in btsnd_hcic_switch_role() local
896 pp = (UINT8 *)(p + 1); in btsnd_hcic_switch_role()
901 UINT16_TO_STREAM (pp, HCI_SWITCH_ROLE); in btsnd_hcic_switch_role()
902 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SWITCH_ROLE); in btsnd_hcic_switch_role()
904 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_switch_role()
905 UINT8_TO_STREAM (pp, role); in btsnd_hcic_switch_role()
914 UINT8 *pp; in btsnd_hcic_write_policy_set() local
920 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_policy_set()
924 UINT16_TO_STREAM (pp, HCI_WRITE_POLICY_SETTINGS); in btsnd_hcic_write_policy_set()
925 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_POLICY_SET); in btsnd_hcic_write_policy_set()
927 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_write_policy_set()
928 UINT16_TO_STREAM (pp, settings); in btsnd_hcic_write_policy_set()
937 UINT8 *pp; in btsnd_hcic_write_def_policy_set() local
943 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_def_policy_set()
947 UINT16_TO_STREAM (pp, HCI_WRITE_DEF_POLICY_SETTINGS); in btsnd_hcic_write_def_policy_set()
948 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_DEF_POLICY_SET); in btsnd_hcic_write_def_policy_set()
950 UINT16_TO_STREAM (pp, settings); in btsnd_hcic_write_def_policy_set()
960 UINT8 *pp; in btsnd_hcic_set_event_filter() local
967 pp = (UINT8 *)(p + 1); in btsnd_hcic_set_event_filter()
971 UINT16_TO_STREAM (pp, HCI_SET_EVENT_FILTER); in btsnd_hcic_set_event_filter()
975 UINT8_TO_STREAM (pp, (UINT8)(2 + filt_cond_len)); in btsnd_hcic_set_event_filter()
977 UINT8_TO_STREAM (pp, filt_type); in btsnd_hcic_set_event_filter()
978 UINT8_TO_STREAM (pp, filt_cond_type); in btsnd_hcic_set_event_filter()
981 DEVCLASS_TO_STREAM (pp, filt_cond); in btsnd_hcic_set_event_filter()
983 DEVCLASS_TO_STREAM (pp, filt_cond); in btsnd_hcic_set_event_filter()
988 BDADDR_TO_STREAM (pp, filt_cond); in btsnd_hcic_set_event_filter()
995 ARRAY_TO_STREAM (pp, filt_cond, filt_cond_len); in btsnd_hcic_set_event_filter()
999 UINT8_TO_STREAM (pp, 1); in btsnd_hcic_set_event_filter()
1001 UINT8_TO_STREAM (pp, filt_type); in btsnd_hcic_set_event_filter()
1011 UINT8 *pp; in btsnd_hcic_write_pin_type() local
1017 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_pin_type()
1022 UINT16_TO_STREAM (pp, HCI_WRITE_PIN_TYPE); in btsnd_hcic_write_pin_type()
1023 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_pin_type()
1025 UINT8_TO_STREAM (pp, type); in btsnd_hcic_write_pin_type()
1034 UINT8 *pp; in btsnd_hcic_delete_stored_key() local
1040 pp = (UINT8 *)(p + 1); in btsnd_hcic_delete_stored_key()
1045 UINT16_TO_STREAM (pp, HCI_DELETE_STORED_LINK_KEY); in btsnd_hcic_delete_stored_key()
1046 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_DELETE_STORED_KEY); in btsnd_hcic_delete_stored_key()
1048 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_delete_stored_key()
1049 UINT8_TO_STREAM (pp, delete_all_flag); in btsnd_hcic_delete_stored_key()
1058 UINT8 *pp; in btsnd_hcic_change_name() local
1065 pp = (UINT8 *)(p + 1); in btsnd_hcic_change_name()
1066 memset(pp, 0, HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CHANGE_NAME); in btsnd_hcic_change_name()
1071 UINT16_TO_STREAM (pp, HCI_CHANGE_LOCAL_NAME); in btsnd_hcic_change_name()
1072 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CHANGE_NAME); in btsnd_hcic_change_name()
1078 ARRAY_TO_STREAM (pp, name, len); in btsnd_hcic_change_name()
1087 UINT8 *pp; in btsnd_hcic_read_name() local
1093 pp = (UINT8 *)(p + 1); in btsnd_hcic_read_name()
1098 UINT16_TO_STREAM (pp, HCI_READ_LOCAL_NAME); in btsnd_hcic_read_name()
1099 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_read_name()
1108 UINT8 *pp; in btsnd_hcic_write_page_tout() local
1114 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_page_tout()
1119 UINT16_TO_STREAM (pp, HCI_WRITE_PAGE_TOUT); in btsnd_hcic_write_page_tout()
1120 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM2); in btsnd_hcic_write_page_tout()
1122 UINT16_TO_STREAM (pp, timeout); in btsnd_hcic_write_page_tout()
1131 UINT8 *pp; in btsnd_hcic_write_scan_enable() local
1137 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_scan_enable()
1142 UINT16_TO_STREAM (pp, HCI_WRITE_SCAN_ENABLE); in btsnd_hcic_write_scan_enable()
1143 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_scan_enable()
1145 UINT8_TO_STREAM (pp, flag); in btsnd_hcic_write_scan_enable()
1154 UINT8 *pp; in btsnd_hcic_write_pagescan_cfg() local
1160 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_pagescan_cfg()
1165 UINT16_TO_STREAM (pp, HCI_WRITE_PAGESCAN_CFG); in btsnd_hcic_write_pagescan_cfg()
1166 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PAGESCAN_CFG); in btsnd_hcic_write_pagescan_cfg()
1168 UINT16_TO_STREAM (pp, interval); in btsnd_hcic_write_pagescan_cfg()
1169 UINT16_TO_STREAM (pp, window); in btsnd_hcic_write_pagescan_cfg()
1178 UINT8 *pp; in btsnd_hcic_write_inqscan_cfg() local
1184 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_inqscan_cfg()
1189 UINT16_TO_STREAM (pp, HCI_WRITE_INQUIRYSCAN_CFG); in btsnd_hcic_write_inqscan_cfg()
1190 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_INQSCAN_CFG); in btsnd_hcic_write_inqscan_cfg()
1192 UINT16_TO_STREAM (pp, interval); in btsnd_hcic_write_inqscan_cfg()
1193 UINT16_TO_STREAM (pp, window); in btsnd_hcic_write_inqscan_cfg()
1202 UINT8 *pp; in btsnd_hcic_write_auth_enable() local
1208 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_auth_enable()
1213 UINT16_TO_STREAM (pp, HCI_WRITE_AUTHENTICATION_ENABLE); in btsnd_hcic_write_auth_enable()
1214 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_auth_enable()
1216 UINT8_TO_STREAM (pp, flag); in btsnd_hcic_write_auth_enable()
1225 UINT8 *pp; in btsnd_hcic_write_dev_class() local
1231 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_dev_class()
1236 UINT16_TO_STREAM (pp, HCI_WRITE_CLASS_OF_DEVICE); in btsnd_hcic_write_dev_class()
1237 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM3); in btsnd_hcic_write_dev_class()
1239 DEVCLASS_TO_STREAM (pp, dev_class); in btsnd_hcic_write_dev_class()
1248 UINT8 *pp; in btsnd_hcic_write_voice_settings() local
1254 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_voice_settings()
1259 UINT16_TO_STREAM (pp, HCI_WRITE_VOICE_SETTINGS); in btsnd_hcic_write_voice_settings()
1260 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM2); in btsnd_hcic_write_voice_settings()
1262 UINT16_TO_STREAM (pp, flags); in btsnd_hcic_write_voice_settings()
1271 UINT8 *pp; in btsnd_hcic_write_auto_flush_tout() local
1277 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_auto_flush_tout()
1282 UINT16_TO_STREAM (pp, HCI_WRITE_AUTO_FLUSH_TOUT); in btsnd_hcic_write_auto_flush_tout()
1283 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_AUTO_FLUSH_TOUT); in btsnd_hcic_write_auto_flush_tout()
1285 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_write_auto_flush_tout()
1286 UINT16_TO_STREAM (pp, tout); in btsnd_hcic_write_auto_flush_tout()
1295 UINT8 *pp; in btsnd_hcic_read_tx_power() local
1301 pp = (UINT8 *)(p + 1); in btsnd_hcic_read_tx_power()
1306 UINT16_TO_STREAM (pp, HCI_READ_TRANSMIT_POWER_LEVEL); in btsnd_hcic_read_tx_power()
1307 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_TX_POWER); in btsnd_hcic_read_tx_power()
1309 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_read_tx_power()
1310 UINT8_TO_STREAM (pp, type); in btsnd_hcic_read_tx_power()
1320 UINT8 *pp; in btsnd_hcic_host_num_xmitted_pkts() local
1327 pp = (UINT8 *)(p + 1); in btsnd_hcic_host_num_xmitted_pkts()
1335 UINT16_TO_STREAM (pp, HCI_HOST_NUM_PACKETS_DONE); in btsnd_hcic_host_num_xmitted_pkts()
1336 UINT8_TO_STREAM (pp, p->len - HCIC_PREAMBLE_SIZE); in btsnd_hcic_host_num_xmitted_pkts()
1338 UINT8_TO_STREAM (pp, num_handles); in btsnd_hcic_host_num_xmitted_pkts()
1341 UINT16_TO_STREAM (pp, handle[j]); in btsnd_hcic_host_num_xmitted_pkts()
1342 UINT16_TO_STREAM (pp, num_pkts[j]); in btsnd_hcic_host_num_xmitted_pkts()
1352 UINT8 *pp; in btsnd_hcic_write_link_super_tout() local
1358 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_link_super_tout()
1363 UINT16_TO_STREAM (pp, HCI_WRITE_LINK_SUPER_TOUT); in btsnd_hcic_write_link_super_tout()
1364 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_LINK_SUPER_TOUT); in btsnd_hcic_write_link_super_tout()
1366 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_write_link_super_tout()
1367 UINT16_TO_STREAM (pp, timeout); in btsnd_hcic_write_link_super_tout()
1376 UINT8 *pp; in btsnd_hcic_write_cur_iac_lap() local
1383 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_cur_iac_lap()
1388 UINT16_TO_STREAM (pp, HCI_WRITE_CURRENT_IAC_LAP); in btsnd_hcic_write_cur_iac_lap()
1389 UINT8_TO_STREAM (pp, p->len - HCIC_PREAMBLE_SIZE); in btsnd_hcic_write_cur_iac_lap()
1391 UINT8_TO_STREAM (pp, num_cur_iac); in btsnd_hcic_write_cur_iac_lap()
1394 LAP_TO_STREAM (pp, iac_lap[i]); in btsnd_hcic_write_cur_iac_lap()
1410 UINT8 *pp; in btsnd_hcic_sniff_sub_rate() local
1416 pp = (UINT8 *)(p + 1); in btsnd_hcic_sniff_sub_rate()
1421 UINT16_TO_STREAM (pp, HCI_SNIFF_SUB_RATE); in btsnd_hcic_sniff_sub_rate()
1422 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SNIFF_SUB_RATE); in btsnd_hcic_sniff_sub_rate()
1424 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_sniff_sub_rate()
1425 UINT16_TO_STREAM (pp, max_lat); in btsnd_hcic_sniff_sub_rate()
1426 UINT16_TO_STREAM (pp, min_remote_lat); in btsnd_hcic_sniff_sub_rate()
1427 UINT16_TO_STREAM (pp, min_local_lat); in btsnd_hcic_sniff_sub_rate()
1442 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_write_ext_inquiry_response() local
1447 UINT16_TO_STREAM (pp, HCI_WRITE_EXT_INQ_RESPONSE); in btsnd_hcic_write_ext_inquiry_response()
1448 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_EXT_INQ_RESP); in btsnd_hcic_write_ext_inquiry_response()
1449 UINT8_TO_STREAM (pp, fec_req); in btsnd_hcic_write_ext_inquiry_response()
1451 memcpy(pp, buffer->data + 4, p->len - 4); in btsnd_hcic_write_ext_inquiry_response()
1460 UINT8 *pp; in btsnd_hcic_io_cap_req_reply() local
1466 pp = (UINT8 *)(p + 1); in btsnd_hcic_io_cap_req_reply()
1471 UINT16_TO_STREAM (pp, HCI_IO_CAPABILITY_REQUEST_REPLY); in btsnd_hcic_io_cap_req_reply()
1472 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_IO_CAP_RESP); in btsnd_hcic_io_cap_req_reply()
1474 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_io_cap_req_reply()
1475 UINT8_TO_STREAM (pp, capability); in btsnd_hcic_io_cap_req_reply()
1476 UINT8_TO_STREAM (pp, oob_present); in btsnd_hcic_io_cap_req_reply()
1477 UINT8_TO_STREAM (pp, auth_req); in btsnd_hcic_io_cap_req_reply()
1486 UINT8 *pp; in btsnd_hcic_io_cap_req_neg_reply() local
1492 pp = (UINT8 *)(p + 1); in btsnd_hcic_io_cap_req_neg_reply()
1497 UINT16_TO_STREAM (pp, HCI_IO_CAP_REQ_NEG_REPLY); in btsnd_hcic_io_cap_req_neg_reply()
1498 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_IO_CAP_NEG_REPLY); in btsnd_hcic_io_cap_req_neg_reply()
1500 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_io_cap_req_neg_reply()
1501 UINT8_TO_STREAM (pp, err_code); in btsnd_hcic_io_cap_req_neg_reply()
1510 UINT8 *pp; in btsnd_hcic_read_local_oob_data() local
1516 pp = (UINT8 *)(p + 1); in btsnd_hcic_read_local_oob_data()
1521 UINT16_TO_STREAM (pp, HCI_READ_LOCAL_OOB_DATA); in btsnd_hcic_read_local_oob_data()
1522 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_R_LOCAL_OOB); in btsnd_hcic_read_local_oob_data()
1531 UINT8 *pp; in btsnd_hcic_user_conf_reply() local
1537 pp = (UINT8 *)(p + 1); in btsnd_hcic_user_conf_reply()
1544 UINT16_TO_STREAM (pp, HCI_USER_CONF_VALUE_NEG_REPLY); in btsnd_hcic_user_conf_reply()
1547 UINT16_TO_STREAM (pp, HCI_USER_CONF_REQUEST_REPLY); in btsnd_hcic_user_conf_reply()
1550 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_UCONF_REPLY); in btsnd_hcic_user_conf_reply()
1552 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_user_conf_reply()
1561 UINT8 *pp; in btsnd_hcic_user_passkey_reply() local
1567 pp = (UINT8 *)(p + 1); in btsnd_hcic_user_passkey_reply()
1572 UINT16_TO_STREAM (pp, HCI_USER_PASSKEY_REQ_REPLY); in btsnd_hcic_user_passkey_reply()
1573 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_U_PKEY_REPLY); in btsnd_hcic_user_passkey_reply()
1575 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_user_passkey_reply()
1576 UINT32_TO_STREAM (pp, value); in btsnd_hcic_user_passkey_reply()
1585 UINT8 *pp; in btsnd_hcic_user_passkey_neg_reply() local
1591 pp = (UINT8 *)(p + 1); in btsnd_hcic_user_passkey_neg_reply()
1596 UINT16_TO_STREAM (pp, HCI_USER_PASSKEY_REQ_NEG_REPLY); in btsnd_hcic_user_passkey_neg_reply()
1597 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_U_PKEY_NEG_REPLY); in btsnd_hcic_user_passkey_neg_reply()
1599 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_user_passkey_neg_reply()
1608 UINT8 *pp; in btsnd_hcic_rem_oob_reply() local
1614 pp = (UINT8 *)(p + 1); in btsnd_hcic_rem_oob_reply()
1619 UINT16_TO_STREAM (pp, HCI_REM_OOB_DATA_REQ_REPLY); in btsnd_hcic_rem_oob_reply()
1620 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_REM_OOB_REPLY); in btsnd_hcic_rem_oob_reply()
1622 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_rem_oob_reply()
1623 ARRAY16_TO_STREAM (pp, p_c); in btsnd_hcic_rem_oob_reply()
1624 ARRAY16_TO_STREAM (pp, p_r); in btsnd_hcic_rem_oob_reply()
1633 UINT8 *pp; in btsnd_hcic_rem_oob_neg_reply() local
1639 pp = (UINT8 *)(p + 1); in btsnd_hcic_rem_oob_neg_reply()
1644 UINT16_TO_STREAM (pp, HCI_REM_OOB_DATA_REQ_NEG_REPLY); in btsnd_hcic_rem_oob_neg_reply()
1645 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_REM_OOB_NEG_REPLY); in btsnd_hcic_rem_oob_neg_reply()
1647 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_rem_oob_neg_reply()
1657 UINT8 *pp; in btsnd_hcic_read_inq_tx_power() local
1663 pp = (UINT8 *)(p + 1); in btsnd_hcic_read_inq_tx_power()
1668 UINT16_TO_STREAM (pp, HCI_READ_INQ_TX_POWER_LEVEL); in btsnd_hcic_read_inq_tx_power()
1669 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_R_TX_POWER); in btsnd_hcic_read_inq_tx_power()
1678 UINT8 *pp; in btsnd_hcic_send_keypress_notif() local
1684 pp = (UINT8 *)(p + 1); in btsnd_hcic_send_keypress_notif()
1689 UINT16_TO_STREAM (pp, HCI_SEND_KEYPRESS_NOTIF); in btsnd_hcic_send_keypress_notif()
1690 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SEND_KEYPRESS_NOTIF); in btsnd_hcic_send_keypress_notif()
1692 BDADDR_TO_STREAM (pp, bd_addr); in btsnd_hcic_send_keypress_notif()
1693 UINT8_TO_STREAM (pp, notif); in btsnd_hcic_send_keypress_notif()
1705 UINT8 *pp; in btsnd_hcic_enhanced_flush() local
1711 pp = (UINT8 *)(p + 1); in btsnd_hcic_enhanced_flush()
1715 UINT16_TO_STREAM (pp, HCI_ENHANCED_FLUSH); in btsnd_hcic_enhanced_flush()
1716 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_ENHANCED_FLUSH); in btsnd_hcic_enhanced_flush()
1718 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_enhanced_flush()
1719 UINT8_TO_STREAM (pp, packet_type); in btsnd_hcic_enhanced_flush()
1733 UINT8 *pp; in btsnd_hcic_get_link_quality() local
1739 pp = (UINT8 *)(p + 1); in btsnd_hcic_get_link_quality()
1744 UINT16_TO_STREAM (pp, HCI_GET_LINK_QUALITY); in btsnd_hcic_get_link_quality()
1745 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_get_link_quality()
1747 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_get_link_quality()
1756 UINT8 *pp; in btsnd_hcic_read_rssi() local
1762 pp = (UINT8 *)(p + 1); in btsnd_hcic_read_rssi()
1767 UINT16_TO_STREAM (pp, HCI_READ_RSSI); in btsnd_hcic_read_rssi()
1768 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_read_rssi()
1770 UINT16_TO_STREAM (pp, handle); in btsnd_hcic_read_rssi()
1779 UINT8 *pp; in btsnd_hcic_enable_test_mode() local
1785 pp = (UINT8 *)(p + 1); in btsnd_hcic_enable_test_mode()
1790 UINT16_TO_STREAM (pp, HCI_ENABLE_DEV_UNDER_TEST_MODE); in btsnd_hcic_enable_test_mode()
1791 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_enable_test_mode()
1800 UINT8 *pp; in btsnd_hcic_write_inqscan_type() local
1806 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_inqscan_type()
1811 UINT16_TO_STREAM (pp, HCI_WRITE_INQSCAN_TYPE); in btsnd_hcic_write_inqscan_type()
1812 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_inqscan_type()
1814 UINT8_TO_STREAM (pp, type); in btsnd_hcic_write_inqscan_type()
1823 UINT8 *pp; in btsnd_hcic_write_inquiry_mode() local
1829 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_inquiry_mode()
1834 UINT16_TO_STREAM (pp, HCI_WRITE_INQUIRY_MODE); in btsnd_hcic_write_inquiry_mode()
1835 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_inquiry_mode()
1837 UINT8_TO_STREAM (pp, mode); in btsnd_hcic_write_inquiry_mode()
1846 UINT8 *pp; in btsnd_hcic_write_pagescan_type() local
1852 pp = (UINT8 *)(p + 1); in btsnd_hcic_write_pagescan_type()
1857 UINT16_TO_STREAM (pp, HCI_WRITE_PAGESCAN_TYPE); in btsnd_hcic_write_pagescan_type()
1858 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_pagescan_type()
1860 UINT8_TO_STREAM (pp, type); in btsnd_hcic_write_pagescan_type()
1875 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_vendor_spec_cmd() local
1883 UINT16_TO_STREAM (pp, HCI_GRP_VENDOR_SPECIFIC | opcode); in btsnd_hcic_vendor_spec_cmd()
1884 UINT8_TO_STREAM (pp, len); in btsnd_hcic_vendor_spec_cmd()
1885 ARRAY_TO_STREAM (pp, p_data, len); in btsnd_hcic_vendor_spec_cmd()
1894 UINT8 *pp; in btsnd_hcic_set_afh_channels() local
1900 pp = (UINT8 *)(p + 1); in btsnd_hcic_set_afh_channels()
1905 UINT16_TO_STREAM (pp, HCI_SET_AFH_CHANNELS); in btsnd_hcic_set_afh_channels()
1906 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SET_AFH_CHANNELS); in btsnd_hcic_set_afh_channels()
1908 ARRAY_TO_STREAM (pp, channels, HCIC_PARAM_SIZE_SET_AFH_CHANNELS); in btsnd_hcic_set_afh_channels()