Lines Matching refs:ep
270 ng_hci_con_compl_ep *ep = (ng_hci_con_compl_ep *)(e + 1); in hci_create_connection() local
272 if (ep->status != 0x00) { in hci_create_connection()
274 hci_status2str(ep->status), ep->status); in hci_create_connection()
278 fprintf(stdout, "BD_ADDR: %s\n", hci_bdaddr2str(&ep->bdaddr)); in hci_create_connection()
280 le16toh(ep->con_handle)); in hci_create_connection()
282 hci_encrypt2str(ep->encryption_mode, 0), in hci_create_connection()
283 ep->encryption_mode); in hci_create_connection()
346 ng_hci_discon_compl_ep *ep = (ng_hci_discon_compl_ep *)(e + 1); in hci_disconnect() local
348 if (ep->status != 0x00) { in hci_disconnect()
350 hci_status2str(ep->status), ep->status); in hci_disconnect()
355 le16toh(ep->con_handle)); in hci_disconnect()
357 hci_status2str(ep->reason), ep->reason); in hci_disconnect()
425 ng_hci_con_compl_ep *ep = (ng_hci_con_compl_ep *)(e + 1); in hci_add_sco_connection() local
427 if (ep->status != 0x00) { in hci_add_sco_connection()
429 hci_status2str(ep->status), ep->status); in hci_add_sco_connection()
433 fprintf(stdout, "BD_ADDR: %s\n", hci_bdaddr2str(&ep->bdaddr)); in hci_add_sco_connection()
435 le16toh(ep->con_handle)); in hci_add_sco_connection()
437 hci_encrypt2str(ep->encryption_mode, 0), in hci_add_sco_connection()
438 ep->encryption_mode); in hci_add_sco_connection()
496 ng_hci_con_pkt_type_changed_ep *ep = in hci_change_connection_packet_type() local
499 if (ep->status != 0x00) { in hci_change_connection_packet_type()
501 hci_status2str(ep->status), ep->status); in hci_change_connection_packet_type()
506 le16toh(ep->con_handle)); in hci_change_connection_packet_type()
508 le16toh(ep->pkt_type)); in hci_change_connection_packet_type()
589 ng_hci_remote_name_req_compl_ep *ep = in hci_remote_name_request() local
592 if (ep->status != 0x00) { in hci_remote_name_request()
594 hci_status2str(ep->status), ep->status); in hci_remote_name_request()
598 fprintf(stdout, "BD_ADDR: %s\n", hci_bdaddr2str(&ep->bdaddr)); in hci_remote_name_request()
599 fprintf(stdout, "Name: %s\n", ep->name); in hci_remote_name_request()
653 ng_hci_read_remote_features_compl_ep *ep = in hci_read_remote_supported_features() local
656 if (ep->status != 0x00) { in hci_read_remote_supported_features()
658 hci_status2str(ep->status), ep->status); in hci_read_remote_supported_features()
663 le16toh(ep->con_handle)); in hci_read_remote_supported_features()
665 for (n = 0; n < sizeof(ep->features); n++) in hci_read_remote_supported_features()
666 fprintf(stdout, "%#02x ", ep->features[n]); in hci_read_remote_supported_features()
667 fprintf(stdout, "\n%s\n", hci_features2str(ep->features, in hci_read_remote_supported_features()
721 ng_hci_read_remote_ver_info_compl_ep *ep = in hci_read_remote_version_information() local
724 if (ep->status != 0x00) { in hci_read_remote_version_information()
726 hci_status2str(ep->status), ep->status); in hci_read_remote_version_information()
730 ep->manufacturer = le16toh(ep->manufacturer); in hci_read_remote_version_information()
733 le16toh(ep->con_handle)); in hci_read_remote_version_information()
735 hci_lmpver2str(ep->lmp_version), ep->lmp_version); in hci_read_remote_version_information()
737 le16toh(ep->lmp_subversion)); in hci_read_remote_version_information()
739 hci_manufacturer2str(ep->manufacturer), in hci_read_remote_version_information()
740 ep->manufacturer); in hci_read_remote_version_information()
793 ng_hci_read_clock_offset_compl_ep *ep = in hci_read_clock_offset() local
796 if (ep->status != 0x00) { in hci_read_clock_offset()
798 hci_status2str(ep->status), ep->status); in hci_read_clock_offset()
803 le16toh(ep->con_handle)); in hci_read_clock_offset()
805 le16toh(ep->clock_offset)); in hci_read_clock_offset()