Lines Matching refs:ERROR
95 b, &n0) == ERROR) in hci_inquiry()
96 return (ERROR); in hci_inquiry()
107 if (hci_recv(s, b, &n0) == ERROR) { in hci_inquiry()
109 return (ERROR); in hci_inquiry()
115 return (ERROR); in hci_inquiry()
253 (char const *) &cp, sizeof(cp), b, &n0) == ERROR) in hci_create_connection()
254 return (ERROR); in hci_create_connection()
262 if (hci_recv(s, b, &n0) == ERROR) in hci_create_connection()
263 return (ERROR); in hci_create_connection()
266 return (ERROR); in hci_create_connection()
329 (char const *) &cp, sizeof(cp), b, &n) == ERROR) in hci_disconnect()
330 return (ERROR); in hci_disconnect()
338 if (hci_recv(s, b, &n) == ERROR) in hci_disconnect()
339 return (ERROR); in hci_disconnect()
342 return (ERROR); in hci_disconnect()
408 (char const *) &cp, sizeof(cp), b, &n) == ERROR) in hci_add_sco_connection()
409 return (ERROR); in hci_add_sco_connection()
417 if (hci_recv(s, b, &n) == ERROR) in hci_add_sco_connection()
418 return (ERROR); in hci_add_sco_connection()
421 return (ERROR); in hci_add_sco_connection()
479 (char const *) &cp, sizeof(cp), b, &n) == ERROR) in hci_change_connection_packet_type()
480 return (ERROR); in hci_change_connection_packet_type()
488 if (hci_recv(s, b, &n) == ERROR) in hci_change_connection_packet_type()
489 return (ERROR); in hci_change_connection_packet_type()
492 return (ERROR); in hci_change_connection_packet_type()
572 (char const *) &cp, sizeof(cp), b, &n0) == ERROR) in hci_remote_name_request()
573 return (ERROR); in hci_remote_name_request()
581 if (hci_recv(s, b, &n0) == ERROR) in hci_remote_name_request()
582 return (ERROR); in hci_remote_name_request()
585 return (ERROR); in hci_remote_name_request()
635 (char const *) &cp, sizeof(cp), b, &n) == ERROR) in hci_read_remote_supported_features()
636 return (ERROR); in hci_read_remote_supported_features()
644 if (hci_recv(s, b, &n) == ERROR) in hci_read_remote_supported_features()
645 return (ERROR); in hci_read_remote_supported_features()
649 return (ERROR); in hci_read_remote_supported_features()
703 (char const *) &cp, sizeof(cp), b, &n) == ERROR) in hci_read_remote_version_information()
704 return (ERROR); in hci_read_remote_version_information()
712 if (hci_recv(s, b, &n) == ERROR) in hci_read_remote_version_information()
713 return (ERROR); in hci_read_remote_version_information()
717 return (ERROR); in hci_read_remote_version_information()
775 (char const *) &cp, sizeof(cp), b, &n) == ERROR) in hci_read_clock_offset()
776 return (ERROR); in hci_read_clock_offset()
784 if (hci_recv(s, b, &n) == ERROR) in hci_read_clock_offset()
785 return (ERROR); in hci_read_clock_offset()
789 return (ERROR); in hci_read_clock_offset()