H A D | bt-hci.c | 421 * preserved though (for example if a real hci is used). */ 432 static inline uint8_t *bt_hci_event_start(struct bt_hci_s *hci, argument 446 if (mask & bt_event_reserved_mask[mask_byte] & ~hci->event_mask[mask_byte]) 449 packet = hci->evt_packet(hci->opaque); 456 static inline void bt_hci_event(struct bt_hci_s *hci, int evt, argument 459 uint8_t *packet = bt_hci_event_start(hci, evt, len); 467 hci->evt_submit(hci->opaque, len + 2); 470 static inline void bt_hci_event_status(struct bt_hci_s *hci, in argument 481 bt_hci_event_complete(struct bt_hci_s *hci, void *ret, int len) argument 501 struct bt_hci_s *hci = (struct bt_hci_s *) opaque; local 515 bt_hci_inquiry_result_standard(struct bt_hci_s *hci, struct bt_device_s *slave) argument 534 bt_hci_inquiry_result_with_rssi(struct bt_hci_s *hci, struct bt_device_s *slave) argument 554 bt_hci_inquiry_result(struct bt_hci_s *hci, struct bt_device_s *slave) argument 583 bt_hci_inquiry_start(struct bt_hci_s *hci, int length) argument 609 struct bt_hci_s *hci = (struct bt_hci_s *) opaque; local 616 bt_hci_handle_bad(struct bt_hci_s *hci, uint16_t handle) argument 623 bt_hci_role_master(struct bt_hci_s *hci, uint16_t handle) argument 628 bt_hci_remote_dev(struct bt_hci_s *hci, uint16_t handle) argument 637 bt_hci_lmp_link_establish(struct bt_hci_s *hci, struct bt_link_s *link, int master) argument 664 bt_hci_lmp_link_teardown(struct bt_hci_s *hci, uint16_t handle) argument 675 bt_hci_connect(struct bt_hci_s *hci, bdaddr_t *bdaddr) argument 695 bt_hci_connection_reject(struct bt_hci_s *hci, struct bt_device_s *host, uint8_t because) argument 708 bt_hci_connection_reject_event(struct bt_hci_s *hci, bdaddr_t *bdaddr) argument 721 bt_hci_connection_accept(struct bt_hci_s *hci, struct bt_device_s *host) argument 771 struct bt_hci_s *hci = hci_from_device(link->slave); local 794 struct bt_hci_s *hci = (struct bt_hci_s *) opaque; local 810 bt_hci_lmp_connection_ready(struct bt_hci_s *hci, bdaddr_t *bdaddr) argument 828 struct bt_hci_s *hci = hci_from_device(link->host); local 875 bt_hci_disconnect(struct bt_hci_s *hci, uint16_t handle, int reason) argument 911 struct bt_hci_s *hci = hci_from_device(link->host); local 927 struct bt_hci_s *hci = hci_from_device(btlink->slave); local 942 bt_hci_name_req(struct bt_hci_s *hci, bdaddr_t *bdaddr) argument 967 bt_hci_features_req(struct bt_hci_s *hci, uint16_t handle) argument 995 bt_hci_version_req(struct bt_hci_s *hci, uint16_t handle) argument 1017 bt_hci_clkoffset_req(struct bt_hci_s *hci, uint16_t handle) argument 1039 bt_hci_event_mode(struct bt_hci_s *hci, struct bt_link_s *link, uint16_t handle) argument 1052 bt_hci_lmp_mode_change_master(struct bt_hci_s *hci, struct bt_link_s *link, int mode, uint16_t interval) argument 1066 struct bt_hci_s *hci = hci_from_device(btlink->slave); local 1071 bt_hci_mode_change(struct bt_hci_s *hci, uint16_t handle, int interval, int mode) argument 1094 bt_hci_mode_cancel(struct bt_hci_s *hci, uint16_t handle, int mode) argument 1119 struct bt_hci_s *hci = hci_from_device(link->host); local 1124 bt_hci_reset(struct bt_hci_s *hci) argument 1159 bt_hci_read_local_version_rp(struct bt_hci_s *hci) argument 1173 bt_hci_read_local_commands_rp(struct bt_hci_s *hci) argument 1194 bt_hci_read_local_features_rp(struct bt_hci_s *hci) argument 1213 bt_hci_read_local_ext_features_rp(struct bt_hci_s *hci, int page) argument 1230 bt_hci_read_buffer_size_rp(struct bt_hci_s *hci) argument 1247 bt_hci_read_country_code_rp(struct bt_hci_s *hci) argument 1259 bt_hci_read_bd_addr_rp(struct bt_hci_s *hci) argument 1269 bt_hci_link_quality_rp(struct bt_hci_s *hci, uint16_t handle) argument 1285 bt_hci_event_complete_status(struct bt_hci_s *hci, uint8_t status) argument 1291 bt_hci_event_complete_conn_cancel(struct bt_hci_s *hci, uint8_t status, bdaddr_t *bd_addr) argument 1302 bt_hci_event_auth_complete(struct bt_hci_s *hci, uint16_t handle) argument 1313 bt_hci_event_encrypt_change(struct bt_hci_s *hci, uint16_t handle, uint8_t mode) argument 1325 bt_hci_event_complete_name_cancel(struct bt_hci_s *hci, bdaddr_t *bd_addr) argument 1336 bt_hci_event_read_remote_ext_features(struct bt_hci_s *hci, uint16_t handle) argument 1349 bt_hci_event_complete_lmp_handle(struct bt_hci_s *hci, uint16_t handle) argument 1362 bt_hci_event_complete_role_discovery(struct bt_hci_s *hci, int status, uint16_t handle, int master) argument 1374 bt_hci_event_complete_flush(struct bt_hci_s *hci, int status, uint16_t handle) argument 1385 bt_hci_event_complete_read_local_name(struct bt_hci_s *hci) argument 1396 bt_hci_event_complete_read_conn_accept_timeout( struct bt_hci_s *hci) argument 1407 bt_hci_event_complete_read_scan_enable(struct bt_hci_s *hci) argument 1419 bt_hci_event_complete_read_local_class(struct bt_hci_s *hci) argument 1429 bt_hci_event_complete_voice_setting(struct bt_hci_s *hci) argument 1439 bt_hci_event_complete_read_inquiry_mode( struct bt_hci_s *hci) argument 1450 bt_hci_event_num_comp_pkts(struct bt_hci_s *hci, uint16_t handle, int packets) argument 1466 struct bt_hci_s *hci = hci_from_info(info); local 1970 bt_hci_lmp_acl_data(struct bt_hci_s *hci, uint16_t handle, const uint8_t *data, int start, int len) argument 2011 struct bt_hci_s *hci = hci_from_info(info); local 2081 struct bt_hci_s *hci = hci_from_info(info); local 2130 struct bt_hci_s *hci = hci_from_info(info); local 2139 struct bt_hci_s *hci = hci_from_device(dev); local 2185 struct bt_hci_s *hci = hci_from_info(info); local [all...] |