Lines Matching refs:UINT16_TO_STREAM
45 UINT16_TO_STREAM(pp, HCI_INQUIRY); in btsnd_hcic_inquiry()
61 UINT16_TO_STREAM(pp, HCI_INQUIRY_CANCEL); in btsnd_hcic_inq_cancel()
76 UINT16_TO_STREAM(pp, HCI_PERIODIC_INQUIRY_MODE); in btsnd_hcic_per_inq_mode()
79 UINT16_TO_STREAM(pp, max_period); in btsnd_hcic_per_inq_mode()
80 UINT16_TO_STREAM(pp, min_period); in btsnd_hcic_per_inq_mode()
94 UINT16_TO_STREAM(pp, HCI_EXIT_PERIODIC_INQUIRY_MODE); in btsnd_hcic_exit_per_inq()
113 UINT16_TO_STREAM(pp, HCI_CREATE_CONNECTION); in btsnd_hcic_create_conn()
120 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_create_conn()
123 UINT16_TO_STREAM(pp, clock_offset); in btsnd_hcic_create_conn()
137 UINT16_TO_STREAM(pp, HCI_DISCONNECT); in btsnd_hcic_disconnect()
139 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_disconnect()
152 UINT16_TO_STREAM(pp, HCI_ADD_SCO_CONNECTION); in btsnd_hcic_add_SCO_conn()
155 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_add_SCO_conn()
156 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_add_SCO_conn()
168 UINT16_TO_STREAM(pp, HCI_CREATE_CONNECTION_CANCEL); in btsnd_hcic_create_conn_cancel()
183 UINT16_TO_STREAM(pp, HCI_ACCEPT_CONNECTION_REQUEST); in btsnd_hcic_accept_conn()
198 UINT16_TO_STREAM(pp, HCI_REJECT_CONNECTION_REQUEST); in btsnd_hcic_reject_conn()
215 UINT16_TO_STREAM(pp, HCI_LINK_KEY_REQUEST_REPLY); in btsnd_hcic_link_key_req_reply()
231 UINT16_TO_STREAM(pp, HCI_LINK_KEY_REQUEST_NEG_REPLY); in btsnd_hcic_link_key_neg_reply()
248 UINT16_TO_STREAM(pp, HCI_PIN_CODE_REQUEST_REPLY); in btsnd_hcic_pin_code_req_reply()
268 UINT16_TO_STREAM(pp, HCI_PIN_CODE_REQUEST_NEG_REPLY); in btsnd_hcic_pin_code_neg_reply()
283 UINT16_TO_STREAM(pp, HCI_CHANGE_CONN_PACKET_TYPE); in btsnd_hcic_change_conn_type()
286 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_change_conn_type()
287 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_change_conn_type()
299 UINT16_TO_STREAM(pp, HCI_AUTHENTICATION_REQUESTED); in btsnd_hcic_auth_request()
302 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_auth_request()
314 UINT16_TO_STREAM(pp, HCI_SET_CONN_ENCRYPTION); in btsnd_hcic_set_conn_encrypt()
317 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_set_conn_encrypt()
332 UINT16_TO_STREAM(pp, HCI_RMT_NAME_REQUEST); in btsnd_hcic_rmt_name_req()
338 UINT16_TO_STREAM(pp, clock_offset); in btsnd_hcic_rmt_name_req()
350 UINT16_TO_STREAM(pp, HCI_RMT_NAME_REQUEST_CANCEL); in btsnd_hcic_rmt_name_req_cancel()
365 UINT16_TO_STREAM(pp, HCI_READ_RMT_FEATURES); in btsnd_hcic_rmt_features_req()
368 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_rmt_features_req()
380 UINT16_TO_STREAM(pp, HCI_READ_RMT_EXT_FEATURES); in btsnd_hcic_rmt_ext_features()
383 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_rmt_ext_features()
396 UINT16_TO_STREAM(pp, HCI_READ_RMT_VERSION_INFO); in btsnd_hcic_rmt_ver_req()
399 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_rmt_ver_req()
411 UINT16_TO_STREAM(pp, HCI_READ_RMT_CLOCK_OFFSET); in btsnd_hcic_read_rmt_clk_offset()
414 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_rmt_clk_offset()
426 UINT16_TO_STREAM(pp, HCI_READ_LMP_HANDLE); in btsnd_hcic_read_lmp_handle()
429 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_lmp_handle()
444 UINT16_TO_STREAM(pp, HCI_SETUP_ESCO_CONNECTION); in btsnd_hcic_setup_esco_conn()
447 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_setup_esco_conn()
450 UINT16_TO_STREAM(pp, max_latency); in btsnd_hcic_setup_esco_conn()
451 UINT16_TO_STREAM(pp, voice); in btsnd_hcic_setup_esco_conn()
453 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_setup_esco_conn()
470 UINT16_TO_STREAM(pp, HCI_ACCEPT_ESCO_CONNECTION); in btsnd_hcic_accept_esco_conn()
476 UINT16_TO_STREAM(pp, max_latency); in btsnd_hcic_accept_esco_conn()
477 UINT16_TO_STREAM(pp, content_fmt); in btsnd_hcic_accept_esco_conn()
479 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_accept_esco_conn()
491 UINT16_TO_STREAM(pp, HCI_REJECT_ESCO_CONNECTION); in btsnd_hcic_reject_esco_conn()
508 UINT16_TO_STREAM(pp, HCI_HOLD_MODE); in btsnd_hcic_hold_mode()
511 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_hold_mode()
512 UINT16_TO_STREAM(pp, max_hold_period); in btsnd_hcic_hold_mode()
513 UINT16_TO_STREAM(pp, min_hold_period); in btsnd_hcic_hold_mode()
527 UINT16_TO_STREAM(pp, HCI_SNIFF_MODE); in btsnd_hcic_sniff_mode()
530 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_sniff_mode()
531 UINT16_TO_STREAM(pp, max_sniff_period); in btsnd_hcic_sniff_mode()
532 UINT16_TO_STREAM(pp, min_sniff_period); in btsnd_hcic_sniff_mode()
533 UINT16_TO_STREAM(pp, sniff_attempt); in btsnd_hcic_sniff_mode()
534 UINT16_TO_STREAM(pp, sniff_timeout); in btsnd_hcic_sniff_mode()
546 UINT16_TO_STREAM(pp, HCI_EXIT_SNIFF_MODE); in btsnd_hcic_exit_sniff_mode()
549 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_exit_sniff_mode()
562 UINT16_TO_STREAM(pp, HCI_PARK_MODE); in btsnd_hcic_park_mode()
565 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_park_mode()
566 UINT16_TO_STREAM(pp, beacon_max_interval); in btsnd_hcic_park_mode()
567 UINT16_TO_STREAM(pp, beacon_min_interval); in btsnd_hcic_park_mode()
579 UINT16_TO_STREAM(pp, HCI_EXIT_PARK_MODE); in btsnd_hcic_exit_park_mode()
582 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_exit_park_mode()
596 UINT16_TO_STREAM(pp, HCI_QOS_SETUP); in btsnd_hcic_qos_setup()
599 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_qos_setup()
617 UINT16_TO_STREAM(pp, HCI_SWITCH_ROLE); in btsnd_hcic_switch_role()
632 UINT16_TO_STREAM(pp, HCI_WRITE_POLICY_SETTINGS); in btsnd_hcic_write_policy_set()
635 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_write_policy_set()
636 UINT16_TO_STREAM(pp, settings); in btsnd_hcic_write_policy_set()
647 UINT16_TO_STREAM(pp, HCI_WRITE_DEF_POLICY_SETTINGS); in btsnd_hcic_write_def_policy_set()
650 UINT16_TO_STREAM(pp, settings); in btsnd_hcic_write_def_policy_set()
662 UINT16_TO_STREAM(pp, HCI_SET_EVENT_FILTER); in btsnd_hcic_set_event_filter()
703 UINT16_TO_STREAM(pp, HCI_WRITE_PIN_TYPE); in btsnd_hcic_write_pin_type()
719 UINT16_TO_STREAM(pp, HCI_DELETE_STORED_LINK_KEY); in btsnd_hcic_delete_stored_key()
738 UINT16_TO_STREAM(pp, HCI_CHANGE_LOCAL_NAME); in btsnd_hcic_change_name()
755 UINT16_TO_STREAM(pp, HCI_READ_LOCAL_NAME); in btsnd_hcic_read_name()
768 UINT16_TO_STREAM(pp, HCI_WRITE_PAGE_TOUT); in btsnd_hcic_write_page_tout()
771 UINT16_TO_STREAM(pp, timeout); in btsnd_hcic_write_page_tout()
783 UINT16_TO_STREAM(pp, HCI_WRITE_SCAN_ENABLE); in btsnd_hcic_write_scan_enable()
798 UINT16_TO_STREAM(pp, HCI_WRITE_PAGESCAN_CFG); in btsnd_hcic_write_pagescan_cfg()
801 UINT16_TO_STREAM(pp, interval); in btsnd_hcic_write_pagescan_cfg()
802 UINT16_TO_STREAM(pp, window); in btsnd_hcic_write_pagescan_cfg()
814 UINT16_TO_STREAM(pp, HCI_WRITE_INQUIRYSCAN_CFG); in btsnd_hcic_write_inqscan_cfg()
817 UINT16_TO_STREAM(pp, interval); in btsnd_hcic_write_inqscan_cfg()
818 UINT16_TO_STREAM(pp, window); in btsnd_hcic_write_inqscan_cfg()
830 UINT16_TO_STREAM(pp, HCI_WRITE_AUTHENTICATION_ENABLE); in btsnd_hcic_write_auth_enable()
845 UINT16_TO_STREAM(pp, HCI_WRITE_CLASS_OF_DEVICE); in btsnd_hcic_write_dev_class()
860 UINT16_TO_STREAM(pp, HCI_WRITE_VOICE_SETTINGS); in btsnd_hcic_write_voice_settings()
863 UINT16_TO_STREAM(pp, flags); in btsnd_hcic_write_voice_settings()
875 UINT16_TO_STREAM(pp, HCI_WRITE_AUTOMATIC_FLUSH_TIMEOUT); in btsnd_hcic_write_auto_flush_tout()
878 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_write_auto_flush_tout()
879 UINT16_TO_STREAM(pp, tout); in btsnd_hcic_write_auto_flush_tout()
891 UINT16_TO_STREAM(pp, HCI_READ_TRANSMIT_POWER_LEVEL); in btsnd_hcic_read_tx_power()
894 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_tx_power()
908 UINT16_TO_STREAM(pp, HCI_HOST_NUM_PACKETS_DONE); in btsnd_hcic_host_num_xmitted_pkts()
914 UINT16_TO_STREAM(pp, handle[i]); in btsnd_hcic_host_num_xmitted_pkts()
915 UINT16_TO_STREAM(pp, num_pkts[i]); in btsnd_hcic_host_num_xmitted_pkts()
929 UINT16_TO_STREAM(pp, HCI_WRITE_LINK_SUPER_TOUT); in btsnd_hcic_write_link_super_tout()
932 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_write_link_super_tout()
933 UINT16_TO_STREAM(pp, timeout); in btsnd_hcic_write_link_super_tout()
945 UINT16_TO_STREAM(pp, HCI_WRITE_CURRENT_IAC_LAP); in btsnd_hcic_write_cur_iac_lap()
969 UINT16_TO_STREAM(pp, HCI_SNIFF_SUB_RATE); in btsnd_hcic_sniff_sub_rate()
972 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_sniff_sub_rate()
973 UINT16_TO_STREAM(pp, max_lat); in btsnd_hcic_sniff_sub_rate()
974 UINT16_TO_STREAM(pp, min_remote_lat); in btsnd_hcic_sniff_sub_rate()
975 UINT16_TO_STREAM(pp, min_local_lat); in btsnd_hcic_sniff_sub_rate()
989 UINT16_TO_STREAM(pp, HCI_WRITE_EXT_INQ_RESPONSE); in btsnd_hcic_write_ext_inquiry_response()
1005 UINT16_TO_STREAM(pp, HCI_IO_CAPABILITY_REQUEST_REPLY); in btsnd_hcic_io_cap_req_reply()
1024 UINT16_TO_STREAM(pp, HCI_ENH_SETUP_ESCO_CONNECTION); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1027 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1031 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1032 UINT16_TO_STREAM(pp, in btsnd_hcic_enhanced_set_up_synchronous_connection()
1035 UINT16_TO_STREAM(pp, p_params->receive_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1036 UINT16_TO_STREAM(pp, in btsnd_hcic_enhanced_set_up_synchronous_connection()
1038 UINT16_TO_STREAM(pp, p_params->transmit_codec_frame_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1039 UINT16_TO_STREAM(pp, p_params->receive_codec_frame_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1043 UINT16_TO_STREAM(pp, p_params->input_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1044 UINT16_TO_STREAM(pp, p_params->input_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1046 UINT16_TO_STREAM(pp, p_params->output_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1047 UINT16_TO_STREAM(pp, p_params->output_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1048 UINT16_TO_STREAM(pp, p_params->input_coded_data_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1049 UINT16_TO_STREAM(pp, p_params->output_coded_data_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1058 UINT16_TO_STREAM(pp, p_params->max_latency_ms); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1059 UINT16_TO_STREAM(pp, p_params->packet_types); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1073 UINT16_TO_STREAM(pp, HCI_ENH_ACCEPT_ESCO_CONNECTION); in btsnd_hcic_enhanced_accept_synchronous_connection()
1080 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.company_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1081 UINT16_TO_STREAM(pp, in btsnd_hcic_enhanced_accept_synchronous_connection()
1084 UINT16_TO_STREAM(pp, p_params->receive_coding_format.company_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1085 UINT16_TO_STREAM(pp, in btsnd_hcic_enhanced_accept_synchronous_connection()
1087 UINT16_TO_STREAM(pp, p_params->transmit_codec_frame_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1088 UINT16_TO_STREAM(pp, p_params->receive_codec_frame_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1092 UINT16_TO_STREAM(pp, p_params->input_coding_format.company_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1093 UINT16_TO_STREAM(pp, p_params->input_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1095 UINT16_TO_STREAM(pp, p_params->output_coding_format.company_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1096 UINT16_TO_STREAM(pp, p_params->output_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1097 UINT16_TO_STREAM(pp, p_params->input_coded_data_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1098 UINT16_TO_STREAM(pp, p_params->output_coded_data_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1107 UINT16_TO_STREAM(pp, p_params->max_latency_ms); in btsnd_hcic_enhanced_accept_synchronous_connection()
1108 UINT16_TO_STREAM(pp, p_params->packet_types); in btsnd_hcic_enhanced_accept_synchronous_connection()
1122 UINT16_TO_STREAM(pp, HCI_IO_CAP_REQ_NEG_REPLY); in btsnd_hcic_io_cap_req_neg_reply()
1138 UINT16_TO_STREAM(pp, HCI_READ_LOCAL_OOB_DATA); in btsnd_hcic_read_local_oob_data()
1153 UINT16_TO_STREAM(pp, HCI_USER_CONF_VALUE_NEG_REPLY); in btsnd_hcic_user_conf_reply()
1156 UINT16_TO_STREAM(pp, HCI_USER_CONF_REQUEST_REPLY); in btsnd_hcic_user_conf_reply()
1173 UINT16_TO_STREAM(pp, HCI_USER_PASSKEY_REQ_REPLY); in btsnd_hcic_user_passkey_reply()
1189 UINT16_TO_STREAM(pp, HCI_USER_PASSKEY_REQ_NEG_REPLY); in btsnd_hcic_user_passkey_neg_reply()
1205 UINT16_TO_STREAM(pp, HCI_REM_OOB_DATA_REQ_REPLY); in btsnd_hcic_rem_oob_reply()
1222 UINT16_TO_STREAM(pp, HCI_REM_OOB_DATA_REQ_NEG_REPLY); in btsnd_hcic_rem_oob_neg_reply()
1237 UINT16_TO_STREAM(pp, HCI_READ_INQ_TX_POWER_LEVEL); in btsnd_hcic_read_inq_tx_power()
1250 UINT16_TO_STREAM(pp, HCI_SEND_KEYPRESS_NOTIF); in btsnd_hcic_send_keypress_notif()
1268 UINT16_TO_STREAM(pp, HCI_ENHANCED_FLUSH); in btsnd_hcic_enhanced_flush()
1271 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_enhanced_flush()
1289 UINT16_TO_STREAM(pp, HCI_GET_LINK_QUALITY); in btsnd_hcic_get_link_quality()
1292 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_get_link_quality()
1304 UINT16_TO_STREAM(pp, HCI_READ_RSSI); in btsnd_hcic_read_rssi()
1307 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_rssi()
1330 UINT16_TO_STREAM(p, handle); in btsnd_hcic_read_encryption_key_size()
1343 UINT16_TO_STREAM(pp, HCI_READ_FAILED_CONTACT_COUNTER); in btsnd_hcic_read_failed_contact_counter()
1346 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_failed_contact_counter()
1358 UINT16_TO_STREAM(pp, HCI_READ_AUTOMATIC_FLUSH_TIMEOUT); in btsnd_hcic_read_automatic_flush_timeout()
1361 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_automatic_flush_timeout()
1373 UINT16_TO_STREAM(pp, HCI_ENABLE_DEV_UNDER_TEST_MODE); in btsnd_hcic_enable_test_mode()
1386 UINT16_TO_STREAM(pp, HCI_WRITE_INQSCAN_TYPE); in btsnd_hcic_write_inqscan_type()
1401 UINT16_TO_STREAM(pp, HCI_WRITE_INQUIRY_MODE); in btsnd_hcic_write_inquiry_mode()
1416 UINT16_TO_STREAM(pp, HCI_WRITE_PAGESCAN_TYPE); in btsnd_hcic_write_pagescan_type()
1441 UINT16_TO_STREAM(pp, HCI_GRP_VENDOR_SPECIFIC | opcode); in btsnd_hcic_vendor_spec_cmd()