Searched refs:hdev (Results 1 - 23 of 23) sorted by relevance

/net/bluetooth/
H A Dhci_event.c37 static void hci_cc_inquiry_cancel(struct hci_dev *hdev, struct sk_buff *skb) argument
41 BT_DBG("%s status 0x%2.2x", hdev->name, status);
44 hci_dev_lock(hdev);
45 mgmt_stop_discovery_failed(hdev, status);
46 hci_dev_unlock(hdev);
50 clear_bit(HCI_INQUIRY, &hdev->flags);
52 wake_up_bit(&hdev->flags, HCI_INQUIRY);
54 hci_dev_lock(hdev);
55 hci_discovery_set_state(hdev, DISCOVERY_STOPPED);
56 hci_dev_unlock(hdev);
61 hci_cc_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) argument
73 hci_cc_exit_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) argument
87 hci_cc_remote_name_req_cancel(struct hci_dev *hdev, struct sk_buff *skb) argument
93 hci_cc_role_discovery(struct hci_dev *hdev, struct sk_buff *skb) argument
116 hci_cc_read_link_policy(struct hci_dev *hdev, struct sk_buff *skb) argument
135 hci_cc_write_link_policy(struct hci_dev *hdev, struct sk_buff *skb) argument
159 hci_cc_read_def_link_policy(struct hci_dev *hdev, struct sk_buff *skb) argument
172 hci_cc_write_def_link_policy(struct hci_dev *hdev, struct sk_buff *skb) argument
188 hci_cc_reset(struct hci_dev *hdev, struct sk_buff *skb) argument
207 hci_cc_write_local_name(struct hci_dev *hdev, struct sk_buff *skb) argument
228 hci_cc_read_local_name(struct hci_dev *hdev, struct sk_buff *skb) argument
241 hci_cc_write_auth_enable(struct hci_dev *hdev, struct sk_buff *skb) argument
265 hci_cc_write_encrypt_mode(struct hci_dev *hdev, struct sk_buff *skb) argument
286 hci_cc_write_scan_enable(struct hci_dev *hdev, struct sk_buff *skb) argument
334 hci_cc_read_class_of_dev(struct hci_dev *hdev, struct sk_buff *skb) argument
349 hci_cc_write_class_of_dev(struct hci_dev *hdev, struct sk_buff *skb) argument
371 hci_cc_read_voice_setting(struct hci_dev *hdev, struct sk_buff *skb) argument
394 hci_cc_write_voice_setting(struct hci_dev *hdev, struct sk_buff *skb) argument
423 hci_cc_write_ssp_mode(struct hci_dev *hdev, struct sk_buff *skb) argument
451 hci_cc_read_local_version(struct hci_dev *hdev, struct sk_buff *skb) argument
470 hci_cc_read_local_commands(struct hci_dev *hdev, struct sk_buff *skb) argument
481 hci_cc_read_local_features(struct hci_dev *hdev, struct sk_buff *skb) argument
537 hci_cc_read_local_ext_features(struct hci_dev *hdev, struct sk_buff *skb) argument
553 hci_cc_read_flow_control_mode(struct hci_dev *hdev, struct sk_buff *skb) argument
564 hci_cc_read_buffer_size(struct hci_dev *hdev, struct sk_buff *skb) argument
590 hci_cc_read_bd_addr(struct hci_dev *hdev, struct sk_buff *skb) argument
600 hci_cc_read_page_scan_activity(struct hci_dev *hdev, struct sk_buff *skb) argument
613 hci_cc_write_page_scan_activity(struct hci_dev *hdev, struct sk_buff *skb) argument
632 hci_cc_read_page_scan_type(struct hci_dev *hdev, struct sk_buff *skb) argument
643 hci_cc_write_page_scan_type(struct hci_dev *hdev, struct sk_buff *skb) argument
659 hci_cc_read_data_block_size(struct hci_dev *hdev, struct sk_buff *skb) argument
679 hci_cc_read_local_amp_info(struct hci_dev *hdev, struct sk_buff *skb) argument
704 hci_cc_read_local_amp_assoc(struct hci_dev *hdev, struct sk_buff *skb) argument
741 hci_cc_read_inq_rsp_tx_power(struct hci_dev *hdev, struct sk_buff *skb) argument
752 hci_cc_pin_code_reply(struct hci_dev *hdev, struct sk_buff *skb) argument
780 hci_cc_pin_code_neg_reply(struct hci_dev *hdev, struct sk_buff *skb) argument
795 hci_cc_le_read_buffer_size(struct hci_dev *hdev, struct sk_buff *skb) argument
813 hci_cc_le_read_local_features(struct hci_dev *hdev, struct sk_buff *skb) argument
824 hci_cc_le_read_adv_tx_power(struct hci_dev *hdev, struct sk_buff *skb) argument
835 hci_cc_user_confirm_reply(struct hci_dev *hdev, struct sk_buff *skb) argument
850 hci_cc_user_confirm_neg_reply(struct hci_dev *hdev, struct sk_buff *skb) argument
866 hci_cc_user_passkey_reply(struct hci_dev *hdev, struct sk_buff *skb) argument
881 hci_cc_user_passkey_neg_reply(struct hci_dev *hdev, struct sk_buff *skb) argument
897 hci_cc_read_local_oob_data_reply(struct hci_dev *hdev, struct sk_buff *skb) argument
910 hci_cc_le_set_adv_enable(struct hci_dev *hdev, struct sk_buff *skb) argument
940 hci_cc_le_set_scan_param(struct hci_dev *hdev, struct sk_buff *skb) argument
954 hci_cc_le_set_scan_enable(struct hci_dev *hdev, struct sk_buff *skb) argument
1009 hci_cc_le_read_white_list_size(struct hci_dev *hdev, struct sk_buff *skb) argument
1020 hci_cc_le_read_supported_states(struct hci_dev *hdev, struct sk_buff *skb) argument
1031 hci_cc_write_le_host_supported(struct hci_dev *hdev, struct sk_buff *skb) argument
1060 hci_cc_write_remote_amp_assoc(struct hci_dev *hdev, struct sk_buff *skb) argument
1074 hci_cs_inquiry(struct hci_dev *hdev, __u8 status) argument
1094 hci_cs_create_conn(struct hci_dev *hdev, __u8 status) argument
1134 hci_cs_add_sco(struct hci_dev *hdev, __u8 status) argument
1169 hci_cs_auth_requested(struct hci_dev *hdev, __u8 status) argument
1196 hci_cs_set_conn_encrypt(struct hci_dev *hdev, __u8 status) argument
1223 hci_outgoing_auth_needed(struct hci_dev *hdev, struct hci_conn *conn) argument
1241 hci_resolve_name(struct hci_dev *hdev, struct inquiry_entry *e) argument
1256 hci_resolve_next_name(struct hci_dev *hdev) argument
1276 hci_check_pending_name(struct hci_dev *hdev, struct hci_conn *conn, bdaddr_t *bdaddr, u8 *name, u8 name_len) argument
1319 hci_cs_remote_name_req(struct hci_dev *hdev, __u8 status) argument
1358 hci_cs_read_remote_features(struct hci_dev *hdev, __u8 status) argument
1385 hci_cs_read_remote_ext_features(struct hci_dev *hdev, __u8 status) argument
1412 hci_cs_setup_sync_conn(struct hci_dev *hdev, __u8 status) argument
1447 hci_cs_sniff_mode(struct hci_dev *hdev, __u8 status) argument
1474 hci_cs_exit_sniff_mode(struct hci_dev *hdev, __u8 status) argument
1501 hci_cs_disconnect(struct hci_dev *hdev, u8 status) argument
1523 hci_cs_le_create_conn(struct hci_dev *hdev, __u8 status) argument
1550 hci_cs_create_phylink(struct hci_dev *hdev, u8 status) argument
1575 hci_cs_accept_phylink(struct hci_dev *hdev, u8 status) argument
1591 hci_inquiry_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
1632 hci_inquiry_result_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
1669 hci_conn_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
1751 is_sco_active(struct hci_dev *hdev) argument
1760 hci_conn_request_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
1860 hci_disconn_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
1900 hci_auth_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
1966 hci_remote_name_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2005 hci_encrypt_change_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2048 hci_change_link_key_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2071 hci_remote_features_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2121 hci_cmd_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2357 hci_cmd_status_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2446 hci_role_change_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2472 hci_num_comp_pkts_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2538 __hci_conn_lookup_handle(struct hci_dev *hdev, __u16 handle) argument
2559 hci_num_comp_blocks_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2609 hci_mode_change_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2638 hci_pin_code_request_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2675 hci_link_key_request_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2738 hci_link_key_notify_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2767 hci_clock_offset_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2790 hci_pkt_type_change_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2806 hci_pscan_rep_mode_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2824 hci_inquiry_result_with_rssi_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2884 hci_remote_ext_features_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
2947 hci_sync_conn_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3003 hci_extended_inquiry_result_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3051 hci_key_refresh_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3114 hci_io_capa_request_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3166 hci_io_capa_reply_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3188 hci_user_confirm_request_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3256 hci_user_passkey_request_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3267 hci_user_passkey_notify_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3288 hci_keypress_notify_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3326 hci_simple_pair_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3355 hci_remote_host_features_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3377 hci_remote_oob_data_request_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3412 hci_phy_link_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3451 hci_loglink_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3489 hci_disconn_loglink_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3513 hci_disconn_phylink_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3535 hci_le_conn_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3585 hci_le_adv_report_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3602 hci_le_ltk_request_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3645 hci_le_meta_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3669 hci_chan_selected_evt(struct hci_dev *hdev, struct sk_buff *skb) argument
3685 hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb) argument
[all...]
H A Dhci_core.c53 static void hci_notify(struct hci_dev *hdev, int event) argument
55 hci_sock_dev_event(hdev, event);
60 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result) argument
62 BT_DBG("%s result 0x%2.2x", hdev->name, result);
64 if (hdev->req_status == HCI_REQ_PEND) {
65 hdev->req_result = result;
66 hdev->req_status = HCI_REQ_DONE;
67 wake_up_interruptible(&hdev->req_wait_q);
71 static void hci_req_cancel(struct hci_dev *hdev, int err) argument
73 BT_DBG("%s err 0x%2.2x", hdev
82 hci_get_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 event) argument
137 __hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, const void *param, u8 event, u32 timeout) argument
191 __hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, const void *param, u32 timeout) argument
199 __hci_req_sync(struct hci_dev *hdev, void (*func)(struct hci_request *req, unsigned long opt), unsigned long opt, __u32 timeout) argument
262 hci_req_sync(struct hci_dev *hdev, void (*req)(struct hci_request *req, unsigned long opt), unsigned long opt, __u32 timeout) argument
319 struct hci_dev *hdev = req->hdev; local
376 struct hci_dev *hdev = req->hdev; local
398 hci_get_inquiry_mode(struct hci_dev *hdev) argument
437 struct hci_dev *hdev = req->hdev; local
506 struct hci_dev *hdev = req->hdev; local
557 struct hci_dev *hdev = req->hdev; local
576 struct hci_dev *hdev = req->hdev; local
597 struct hci_dev *hdev = req->hdev; local
628 __hci_init(struct hci_dev *hdev) argument
694 struct hci_dev *hdev = NULL, *d; local
714 hci_discovery_active(struct hci_dev *hdev) argument
728 hci_discovery_set_state(struct hci_dev *hdev, int state) argument
754 inquiry_cache_flush(struct hci_dev *hdev) argument
768 hci_inquiry_cache_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
784 hci_inquiry_cache_lookup_unknown(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
800 hci_inquiry_cache_lookup_resolve(struct hci_dev *hdev, bdaddr_t *bdaddr, int state) argument
819 hci_inquiry_cache_update_resolve(struct hci_dev *hdev, struct inquiry_entry *ie) argument
838 hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data, bool name_known, bool *ssp) argument
896 inquiry_cache_dump(struct hci_dev *hdev, int num, __u8 *buf) argument
927 struct hci_dev *hdev = req->hdev; local
952 struct hci_dev *hdev; local
1023 create_ad(struct hci_dev *hdev, u8 *ptr) argument
1083 struct hci_dev *hdev = req->hdev; local
1110 struct hci_dev *hdev; local
1200 hci_dev_do_close(struct hci_dev *hdev) argument
1299 struct hci_dev *hdev; local
1317 struct hci_dev *hdev; local
1355 struct hci_dev *hdev; local
1371 struct hci_dev *hdev; local
1446 struct hci_dev *hdev; local
1493 struct hci_dev *hdev; local
1544 struct hci_dev *hdev = data; local
1562 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); local
1583 struct hci_dev *hdev = container_of(work, struct hci_dev, local
1593 struct hci_dev *hdev; local
1609 hci_uuids_clear(struct hci_dev *hdev) argument
1621 hci_link_keys_clear(struct hci_dev *hdev) argument
1637 hci_smp_ltks_clear(struct hci_dev *hdev) argument
1649 hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
1660 hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, u8 key_type, u8 old_key_type) argument
1696 hci_find_ltk(struct hci_dev *hdev, __le16 ediv, u8 rand[8]) argument
1711 hci_find_ltk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) argument
1724 hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, int new_key, bdaddr_t *bdaddr, u8 *val, u8 type, u8 pin_len) argument
1777 hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, u8 type, int new_key, u8 authenticated, u8 tk[16], u8 enc_size, __le16 ediv, u8 rand[8]) argument
1814 hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
1830 hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
1850 struct hci_dev *hdev = (void *) arg; local
1865 hci_find_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
1877 hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
1893 hci_remote_oob_data_clear(struct hci_dev *hdev) argument
1905 hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 *hash, u8 *randomizer) argument
1929 hci_blacklist_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
1940 hci_blacklist_clear(struct hci_dev *hdev) argument
1956 hci_blacklist_add(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) argument
1977 hci_blacklist_del(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) argument
2018 hci_do_le_scan(struct hci_dev *hdev, u8 type, u16 interval, u16 window, int timeout) argument
2052 hci_cancel_le_scan(struct hci_dev *hdev) argument
2072 struct hci_dev *hdev = container_of(work, struct hci_dev, local
2085 struct hci_dev *hdev = container_of(work, struct hci_dev, le_scan); local
2094 hci_le_scan(struct hci_dev *hdev, u8 type, u16 interval, u16 window, int timeout) argument
2120 struct hci_dev *hdev; local
2173 hci_free_dev(struct hci_dev *hdev) argument
2181 hci_register_dev(struct hci_dev *hdev) argument
2270 hci_unregister_dev(struct hci_dev *hdev) argument
2329 hci_suspend_dev(struct hci_dev *hdev) argument
2337 hci_resume_dev(struct hci_dev *hdev) argument
2347 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local
2367 hci_reassembly(struct hci_dev *hdev, int type, void *data, int count, __u8 index) argument
2476 hci_recv_fragment(struct hci_dev *hdev, int type, void *data, int count) argument
2498 hci_recv_stream_fragment(struct hci_dev *hdev, void *data, int count) argument
2559 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local
2585 hci_req_init(struct hci_request *req, struct hci_dev *hdev) argument
2594 struct hci_dev *hdev = req->hdev; local
2624 hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, const void *param) argument
2651 hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, const void *param) argument
2679 struct hci_dev *hdev = req->hdev; local
2713 hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) argument
2747 struct hci_dev *hdev = conn->hdev; local
2804 struct hci_dev *hdev = chan->conn->hdev; local
2818 struct hci_dev *hdev = conn->hdev; local
2840 hci_low_sent(struct hci_dev *hdev, __u8 type, int *quote) argument
2900 hci_link_tx_to(struct hci_dev *hdev, __u8 type) argument
2921 hci_chan_sent(struct hci_dev *hdev, __u8 type, int *quote) argument
3003 hci_prio_recalculate(struct hci_dev *hdev, __u8 type) argument
3053 __get_blocks(struct hci_dev *hdev, struct sk_buff *skb) argument
3059 __check_timeout(struct hci_dev *hdev, unsigned int cnt) argument
3070 hci_sched_acl_pkt(struct hci_dev *hdev) argument
3108 hci_sched_acl_blk(struct hci_dev *hdev) argument
3162 hci_sched_acl(struct hci_dev *hdev) argument
3186 hci_sched_sco(struct hci_dev *hdev) argument
3209 hci_sched_esco(struct hci_dev *hdev) argument
3233 hci_sched_le(struct hci_dev *hdev) argument
3286 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); local
3310 hci_acldata_packet(struct hci_dev *hdev, struct sk_buff *skb) argument
3346 hci_scodata_packet(struct hci_dev *hdev, struct sk_buff *skb) argument
3376 hci_req_is_complete(struct hci_dev *hdev) argument
3387 hci_resend_last(struct hci_dev *hdev) argument
3409 hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status) argument
3469 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); local
3524 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work); local
3554 hci_do_inquiry(struct hci_dev *hdev, u8 length) argument
3574 hci_cancel_inquiry(struct hci_dev *hdev) argument
[all...]
H A Dmgmt.c119 #define hdev_is_powered(hdev) (test_bit(HCI_UP, &hdev->flags) && \
120 !test_bit(HCI_AUTO_OFF, &hdev->dev_flags))
196 bool mgmt_valid_hdev(struct hci_dev *hdev) argument
198 return hdev->dev_type == HCI_BREDR;
273 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data, argument
287 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data, argument
321 static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data, argument
374 static u32 get_supported_settings(struct hci_dev *hdev) argument
381 if (lmp_ssp_capable(hdev))
402 get_current_settings(struct hci_dev *hdev) argument
441 create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) argument
483 create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) argument
516 create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) argument
549 create_eir(struct hci_dev *hdev, u8 *data) argument
599 struct hci_dev *hdev = req->hdev; local
626 get_service_classes(struct hci_dev *hdev) argument
639 struct hci_dev *hdev = req->hdev; local
662 struct hci_dev *hdev = container_of(work, struct hci_dev, local
681 mgmt_init_hdev(struct sock *sk, struct hci_dev *hdev) argument
696 read_controller_info(struct sock *sk, struct hci_dev *hdev, void *data, u16 data_len) argument
733 mgmt_pending_add(struct sock *sk, u16 opcode, struct hci_dev *hdev, void *data, u16 len) argument
763 mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, void (*cb)(struct pending_cmd *cmd, void *data), void *data) argument
778 mgmt_pending_find(u16 opcode, struct hci_dev *hdev) argument
796 send_settings_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev) argument
804 set_powered(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
859 mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 data_len, struct sock *skip_sk) argument
889 new_settings(struct hci_dev *hdev, struct sock *skip) argument
898 set_discoverable(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1004 struct hci_dev *hdev = req->hdev; local
1034 set_connectable_complete(struct hci_dev *hdev, u8 status) argument
1054 set_connectable(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1148 set_pairable(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1178 set_link_security(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1247 set_ssp(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1314 set_hs(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1336 set_le(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1417 pending_eir_or_class(struct hci_dev *hdev) argument
1453 mgmt_class_complete(struct hci_dev *hdev, u16 mgmt_op, u8 status) argument
1472 add_uuid_complete(struct hci_dev *hdev, u8 status) argument
1479 add_uuid(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1537 enable_service_cache(struct hci_dev *hdev) argument
1551 remove_uuid_complete(struct hci_dev *hdev, u8 status) argument
1558 remove_uuid(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1636 set_class_complete(struct hci_dev *hdev, u8 status) argument
1643 set_dev_class(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1714 load_link_keys(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1772 device_unpaired(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, struct sock *skip_sk) argument
1784 unpair_device(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1863 disconnect(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
1947 get_connections(struct sock *sk, struct hci_dev *hdev, void *data, u16 data_len) argument
2005 send_pin_code_neg_reply(struct sock *sk, struct hci_dev *hdev, struct mgmt_cp_pin_code_neg_reply *cp) argument
2024 pin_code_reply(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2084 set_io_capability(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2106 struct hci_dev *hdev = conn->hdev; local
2172 pair_device(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2264 cancel_pair_device(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2306 user_pairing_resp(struct sock *sk, struct hci_dev *hdev, struct mgmt_addr_info *addr, u16 mgmt_op, u16 hci_op, __le32 passkey) argument
2376 pin_code_neg_reply(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2388 user_confirm_reply(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2404 user_confirm_neg_reply(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2416 user_passkey_reply(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2428 user_passkey_neg_reply(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2442 struct hci_dev *hdev = req->hdev; local
2450 set_name_complete(struct hci_dev *hdev, u8 status) argument
2478 set_local_name(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2544 read_local_oob_data(struct sock *sk, struct hci_dev *hdev, void *data, u16 data_len) argument
2587 add_remote_oob_data(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2612 remove_remote_oob_data(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2636 mgmt_interleaved_discovery(struct hci_dev *hdev) argument
2653 start_discovery(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2743 stop_discovery(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2819 confirm_name(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2859 block_device(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2889 unblock_device(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2919 set_device_id(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
2953 fast_connectable_complete(struct hci_dev *hdev, u8 status) argument
2986 set_fast_connectable(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) argument
3061 load_long_term_keys(struct sock *sk, struct hci_dev *hdev, void *cp_data, u16 len) argument
3173 struct hci_dev *hdev = NULL; local
3261 mgmt_index_added(struct hci_dev *hdev) argument
3269 mgmt_index_removed(struct hci_dev *hdev) argument
3283 struct hci_dev *hdev; member in struct:cmd_lookup
3305 struct hci_dev *hdev = req->hdev; local
3323 powered_complete(struct hci_dev *hdev, u8 status) argument
3341 powered_update_hci(struct hci_dev *hdev) argument
3386 mgmt_powered(struct hci_dev *hdev, u8 powered) argument
3421 mgmt_set_powered_failed(struct hci_dev *hdev, int err) argument
3442 mgmt_discoverable(struct hci_dev *hdev, u8 discoverable) argument
3468 mgmt_connectable(struct hci_dev *hdev, u8 connectable) argument
3490 mgmt_write_scan_failed(struct hci_dev *hdev, u8 scan, u8 status) argument
3505 mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, bool persistent) argument
3522 mgmt_new_ltk(struct hci_dev *hdev, struct smp_ltk *key, u8 persistent) argument
3545 mgmt_device_connected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u32 flags, u8 *name, u8 name_len, u8 *dev_class) argument
3592 struct hci_dev *hdev = data; local
3607 mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 reason) argument
3632 mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
3657 mgmt_connect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
3669 mgmt_pin_code_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 secure) argument
3681 mgmt_pin_code_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 status) argument
3703 mgmt_pin_code_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 status) argument
3725 mgmt_user_confirm_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, __le32 value, u8 confirm_hint) argument
3742 mgmt_user_passkey_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type) argument
3756 user_pairing_resp_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status, u8 opcode) argument
3778 mgmt_user_confirm_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
3785 mgmt_user_confirm_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
3793 mgmt_user_passkey_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
3800 mgmt_user_passkey_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
3808 mgmt_user_passkey_notify(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u32 passkey, u8 entered) argument
3824 mgmt_auth_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 status) argument
3836 mgmt_auth_enable_complete(struct hci_dev *hdev, u8 status) argument
3871 struct hci_dev *hdev = req->hdev; local
3884 mgmt_ssp_enable_complete(struct hci_dev *hdev, u8 enable, u8 status) argument
3942 mgmt_set_class_of_dev_complete(struct hci_dev *hdev, u8 *dev_class, u8 status) argument
3962 mgmt_set_local_name_complete(struct hci_dev *hdev, u8 *name, u8 status) argument
3989 mgmt_read_local_oob_data_reply_complete(struct hci_dev *hdev, u8 *hash, u8 *randomizer, u8 status) argument
4020 mgmt_le_enable_complete(struct hci_dev *hdev, u8 enable, u8 status) argument
4058 mgmt_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, u8 *dev_class, s8 rssi, u8 cfm_name, u8 ssp, u8 *eir, u16 eir_len) argument
4093 mgmt_remote_name(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, u8 addr_type, s8 rssi, u8 *name, u8 name_len) argument
4117 mgmt_start_discovery_failed(struct hci_dev *hdev, u8 status) argument
4138 mgmt_stop_discovery_failed(struct hci_dev *hdev, u8 status) argument
4154 mgmt_discovering(struct hci_dev *hdev, u8 discovering) argument
4181 mgmt_device_blocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) argument
4195 mgmt_device_unblocked(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) argument
[all...]
H A Dhci_sysfs.c104 struct hci_dev *hdev = conn->hdev; local
110 conn->dev.parent = &hdev->dev;
117 struct hci_dev *hdev = conn->hdev; local
121 dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle);
128 hci_dev_hold(hdev);
133 struct hci_dev *hdev = conn->hdev; local
150 hci_dev_put(hdev);
190 struct hci_dev *hdev = to_hci_dev(dev); local
197 struct hci_dev *hdev = to_hci_dev(dev); local
204 struct hci_dev *hdev = to_hci_dev(dev); local
218 struct hci_dev *hdev = to_hci_dev(dev); local
226 struct hci_dev *hdev = to_hci_dev(dev); local
233 struct hci_dev *hdev = to_hci_dev(dev); local
245 struct hci_dev *hdev = to_hci_dev(dev); local
252 struct hci_dev *hdev = to_hci_dev(dev); local
259 struct hci_dev *hdev = to_hci_dev(dev); local
266 struct hci_dev *hdev = to_hci_dev(dev); local
274 struct hci_dev *hdev = to_hci_dev(dev); local
293 struct hci_dev *hdev = to_hci_dev(dev); local
301 struct hci_dev *hdev = to_hci_dev(dev); local
320 struct hci_dev *hdev = to_hci_dev(dev); local
328 struct hci_dev *hdev = to_hci_dev(dev); local
388 struct hci_dev *hdev = to_hci_dev(dev); local
401 struct hci_dev *hdev = f->private; local
437 struct hci_dev *hdev = f->private; local
480 struct hci_dev *hdev = f->private; local
507 struct hci_dev *hdev = data; local
520 struct hci_dev *hdev = data; local
534 hci_init_sysfs(struct hci_dev *hdev) argument
545 hci_add_sysfs(struct hci_dev *hdev) argument
578 hci_del_sysfs(struct hci_dev *hdev) argument
[all...]
H A Dhci_conn.c36 struct hci_dev *hdev = conn->hdev; local
55 hci_send_cmd(hdev, HCI_OP_LE_CREATE_CONN, sizeof(cp), &cp);
60 hci_send_cmd(conn->hdev, HCI_OP_LE_CREATE_CONN_CANCEL, 0, NULL);
65 struct hci_dev *hdev = conn->hdev; local
78 conn->link_policy = hdev->link_policy;
84 ie = hci_inquiry_cache_lookup(hdev, &conn->dst);
99 if (lmp_rswitch_capable(hdev) && !(hdev
159 struct hci_dev *hdev = conn->hdev; local
177 struct hci_dev *hdev = conn->hdev; local
203 struct hci_dev *hdev = conn->hdev; local
221 struct hci_dev *hdev = conn->hdev; local
306 struct hci_dev *hdev = conn->hdev; local
351 struct hci_dev *hdev = conn->hdev; local
357 hci_conn_add(struct hci_dev *hdev, int type, __u16 pkt_type, bdaddr_t *dst) argument
429 struct hci_dev *hdev = conn->hdev; local
482 struct hci_dev *hdev = NULL, *d; local
518 hci_connect_le(struct hci_dev *hdev, bdaddr_t *dst, u8 dst_type, u8 sec_level, u8 auth_type) argument
548 hci_connect_acl(struct hci_dev *hdev, bdaddr_t *dst, u8 sec_level, u8 auth_type) argument
572 hci_connect_sco(struct hci_dev *hdev, int type, __u16 pkt_type, bdaddr_t *dst, u8 sec_level, u8 auth_type) argument
615 hci_connect(struct hci_dev *hdev, int type, __u16 pkt_type, bdaddr_t *dst, __u8 dst_type, __u8 sec_level, __u8 auth_type) argument
801 struct hci_dev *hdev = conn->hdev; local
827 hci_conn_hash_flush(struct hci_dev *hdev) argument
843 hci_conn_check_pending(struct hci_dev *hdev) argument
863 struct hci_dev *hdev; local
920 hci_get_conn_info(struct hci_dev *hdev, void __user *arg) argument
957 hci_get_auth_info(struct hci_dev *hdev, void __user *arg) argument
979 struct hci_dev *hdev = conn->hdev; local
1000 struct hci_dev *hdev = conn->hdev; local
1037 hci_chan_lookup_handle(struct hci_dev *hdev, __u16 handle) argument
[all...]
H A Damp.c110 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, argument
116 hcon = hci_conn_add(hdev, AMP_LINK, 0, dst);
169 struct hci_dev *hdev = conn->hdev; local
189 key = hci_find_link_key(hdev, &conn->dst);
216 void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle) argument
219 struct amp_assoc *loc_assoc = &hdev->loc_assoc;
221 BT_DBG("%s handle %d", hdev->name, phy_handle);
224 cp.max_len = cpu_to_le16(hdev->amp_assoc_size);
227 hci_send_cmd(hdev, HCI_OP_READ_LOCAL_AMP_ASSO
230 amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr) argument
243 amp_read_loc_assoc_final_data(struct hci_dev *hdev, struct hci_conn *hcon) argument
260 amp_write_rem_assoc_frag(struct hci_dev *hdev, struct hci_conn *hcon) argument
310 amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle) argument
325 amp_write_remote_assoc(struct hci_dev *hdev, u8 handle) argument
340 amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, struct hci_conn *hcon) argument
359 amp_accept_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, struct hci_conn *hcon) argument
410 struct hci_dev *hdev; local
[all...]
H A Dhci_sock.c70 void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb) argument
75 BT_DBG("hdev %p len %d", hdev, skb->len);
83 if (sk->sk_state != BT_BOUND || hci_pi(sk)->hdev != hdev)
174 void hci_send_to_monitor(struct hci_dev *hdev, struct sk_buff *skb) argument
183 BT_DBG("hdev %p len %d", hdev, skb->len);
231 hdr->index = cpu_to_le16(hdev->id);
276 static struct sk_buff *create_monitor_event(struct hci_dev *hdev, in argument
322 struct hci_dev *hdev; local
341 hci_si_event(struct hci_dev *hdev, int type, int dlen, void *data) argument
368 hci_sock_dev_event(struct hci_dev *hdev, int event) argument
414 struct hci_dev *hdev; local
442 hci_sock_blacklist_add(struct hci_dev *hdev, void __user *arg) argument
459 hci_sock_blacklist_del(struct hci_dev *hdev, void __user *arg) argument
480 struct hci_dev *hdev = hci_pi(sk)->hdev; local
590 struct hci_dev *hdev = NULL; local
680 struct hci_dev *hdev = hci_pi(sk)->hdev; local
785 struct hci_dev *hdev; local
[all...]
H A Da2mp.c89 struct hci_dev *hdev; local
93 list_for_each_entry(hdev, &hci_dev_list, list) {
95 if (hdev->id == HCI_BREDR_ID)
102 cl[i].id = hdev->id;
103 cl[i].type = hdev->amp_type;
104 cl[i].status = hdev->amp_status;
273 struct hci_dev *hdev; local
280 hdev = hci_dev_get(req->id);
281 if (!hdev || hdev
335 struct hci_dev *hdev; local
379 struct hci_dev *hdev; local
441 struct hci_dev *hdev; local
520 struct hci_dev *hdev; local
860 a2mp_send_getinfo_rsp(struct hci_dev *hdev) argument
887 a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status) argument
921 a2mp_send_create_phy_link_req(struct hci_dev *hdev, u8 status) argument
958 a2mp_send_create_phy_link_rsp(struct hci_dev *hdev, u8 status) argument
[all...]
H A Dsmp.c222 if (test_bit(HCI_PAIRABLE, &conn->hcon->hdev->dev_flags)) {
269 mgmt_auth_failed(conn->hcon->hdev, conn->dst, hcon->type,
354 hci_dev_lock(hcon->hdev);
357 ret = mgmt_user_passkey_request(hcon->hdev, conn->dst,
360 ret = mgmt_user_confirm_request(hcon->hdev, conn->dst,
364 hci_dev_unlock(hcon->hdev);
482 hci_add_ltk(hcon->hdev, conn->dst, hcon->dst_type,
564 queue_work(hcon->hdev->workqueue, &smp->confirm);
627 struct hci_dev *hdev = conn->hcon->hdev; local
675 struct hci_dev *hdev = conn->hcon->hdev; local
700 struct hci_dev *hdev = conn->hcon->hdev; local
831 struct hci_dev *hdev = conn->hcon->hdev; local
[all...]
H A Dsco.c80 struct hci_dev *hdev = hcon->hdev; local
95 conn->src = &hdev->bdaddr;
98 if (hdev->sco_mtu > 0)
99 conn->mtu = hdev->sco_mtu;
164 struct hci_dev *hdev; local
169 hdev = hci_get_route(dst, src);
170 if (!hdev)
173 hci_dev_lock(hdev);
175 if (lmp_esco_capable(hdev)
674 struct hci_dev *hdev = conn->hdev; local
1003 sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags) argument
[all...]
H A Dl2cap_core.c748 if (lmp_no_flush_capable(conn->hcon->hdev))
783 lmp_no_flush_capable(hcon->hdev))
1464 struct hci_dev *hdev = conn->hcon->hdev; local
1474 hci_dev_lock(hdev);
1495 hci_dev_unlock(hdev);
1502 struct hci_dev *hdev = conn->hcon->hdev; local
1504 hci_dev_lock(hdev);
1515 hci_dev_unlock(hdev);
1722 struct hci_dev *hdev; local
3841 struct hci_dev *hdev = conn->hcon->hdev; local
4399 struct hci_dev *hdev; local
4860 struct hci_dev *hdev; local
6425 l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr) argument
[all...]
H A Dl2cap_sock.c689 if (!conn || !lmp_no_flush_capable(conn->hcon->hdev)) {
/net/nfc/hci/
H A Dcore.c53 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, local
59 mutex_lock(&hdev->msg_tx_mutex);
60 if (hdev->shutting_down)
63 if (hdev->cmd_pending_msg) {
64 if (timer_pending(&hdev->cmd_timer) == 0) {
65 if (hdev->cmd_pending_msg->cb)
66 hdev->cmd_pending_msg->cb(hdev->
71 kfree(hdev->cmd_pending_msg);
72 hdev
116 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, local
136 __nfc_hci_cmd_completion(struct nfc_hci_dev *hdev, int err, struct sk_buff *skb) argument
153 nfc_hci_resp_received(struct nfc_hci_dev *hdev, u8 result, struct sk_buff *skb) argument
169 nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, struct sk_buff *skb) argument
192 nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate) argument
289 nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, struct sk_buff *skb) argument
349 struct nfc_hci_dev *hdev = (struct nfc_hci_dev *)data; local
354 hci_dev_connect_gates(struct nfc_hci_dev *hdev, u8 gate_count, struct nfc_hci_gate *gates) argument
369 hci_dev_session_init(struct nfc_hci_dev *hdev) argument
428 hci_dev_version(struct nfc_hci_dev *hdev) argument
489 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
535 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
550 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
562 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
571 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
582 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
605 struct nfc_hci_dev *hdev = context; local
630 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
674 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
687 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); local
695 nfc_hci_failure(struct nfc_hci_dev *hdev, int err) argument
710 nfc_hci_llc_failure(struct nfc_hci_dev *hdev, int err) argument
715 nfc_hci_recv_from_llc(struct nfc_hci_dev *hdev, struct sk_buff *skb) argument
806 struct nfc_hci_dev *hdev; local
849 nfc_hci_free_device(struct nfc_hci_dev *hdev) argument
857 nfc_hci_register_device(struct nfc_hci_dev *hdev) argument
879 nfc_hci_unregister_device(struct nfc_hci_dev *hdev) argument
916 nfc_hci_set_clientdata(struct nfc_hci_dev *hdev, void *clientdata) argument
922 nfc_hci_get_clientdata(struct nfc_hci_dev *hdev) argument
928 nfc_hci_driver_failure(struct nfc_hci_dev *hdev, int err) argument
934 nfc_hci_recv_frame(struct nfc_hci_dev *hdev, struct sk_buff *skb) argument
[all...]
H A Dcommand.c31 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, argument
41 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd,
67 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, argument
83 hcp_ew.exec_result = nfc_hci_hcp_message_tx(hdev, pipe,
103 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, argument
110 pipe = hdev->gate2pipe[gate];
114 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_EVENT, event,
119 int nfc_hci_send_response(struct nfc_hci_dev *hdev, u8 gate, u8 response, argument
126 pipe = hdev->gate2pipe[gate];
130 return nfc_hci_hcp_message_tx(hdev, pip
141 nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, const u8 *param, size_t param_len, struct sk_buff **skb) argument
156 nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, const u8 *param, size_t param_len, data_exchange_cb_t cb, void *cb_context) argument
173 nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, const u8 *param, size_t param_len) argument
205 nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, struct sk_buff **skb) argument
215 nfc_hci_open_pipe(struct nfc_hci_dev *hdev, u8 pipe) argument
235 nfc_hci_close_pipe(struct nfc_hci_dev *hdev, u8 pipe) argument
243 nfc_hci_create_pipe(struct nfc_hci_dev *hdev, u8 dest_host, u8 dest_gate, int *result) argument
272 nfc_hci_delete_pipe(struct nfc_hci_dev *hdev, u8 pipe) argument
280 nfc_hci_clear_all_pipes(struct nfc_hci_dev *hdev) argument
298 nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate) argument
324 nfc_hci_disconnect_all_gates(struct nfc_hci_dev *hdev) argument
340 nfc_hci_connect_gate(struct nfc_hci_dev *hdev, u8 dest_host, u8 dest_gate, u8 pipe) argument
[all...]
H A Dhcp.c35 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, argument
41 struct nfc_dev *ndev = hdev->ndev;
65 hdev->max_data_link_payload)
68 data_link_len = hdev->max_data_link_payload -
107 mutex_lock(&hdev->msg_tx_mutex);
109 if (hdev->shutting_down) {
111 mutex_unlock(&hdev->msg_tx_mutex);
115 list_add_tail(&cmd->msg_l, &hdev->msg_tx_queue);
116 mutex_unlock(&hdev->msg_tx_mutex);
118 schedule_work(&hdev
129 nfc_hci_pipe2gate(struct nfc_hci_dev *hdev, u8 pipe) argument
144 nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, struct sk_buff *skb) argument
[all...]
H A Dllc_nop.c26 struct nfc_hci_dev *hdev; member in struct:llc_nop
34 static void *llc_nop_init(struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv, argument
48 llc_nop->hdev = hdev;
77 llc_nop->rcv_to_hci(llc_nop->hdev, skb);
84 return llc_nop->xmit_to_drv(llc_nop->hdev, skb);
H A Dhci.h76 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe,
82 u8 nfc_hci_pipe2gate(struct nfc_hci_dev *hdev, u8 pipe);
84 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type,
H A Dllc.h29 void *(*init) (struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv,
H A Dllc.c105 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, argument
121 llc->data = llc_engine->ops->init(hdev, xmit_to_drv, rcv_to_hci,
H A Dllc_shdlc.c40 struct nfc_hci_dev *hdev; member in struct:llc_shdlc
167 r = shdlc->xmit_to_drv(shdlc->hdev, skb);
185 r = shdlc->xmit_to_drv(shdlc->hdev, skb);
260 shdlc->rcv_to_hci(shdlc->hdev, skb);
563 r = shdlc->xmit_to_drv(shdlc->hdev, skb);
686 shdlc->llc_failure(shdlc->hdev, shdlc->hard_fault);
751 static void *llc_shdlc_init(struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv, argument
789 shdlc->hdev = hdev;
/net/bluetooth/bnep/
H A Dcore.c515 struct hci_dev *hdev; local
518 hdev = hci_get_route(dst, src);
519 if (!hdev)
522 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, dst);
524 hci_dev_put(hdev);
/net/bluetooth/rfcomm/
H A Dtty.c152 struct hci_dev *hdev; local
155 hdev = hci_get_route(&dev->dst, &dev->src);
156 if (!hdev)
159 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &dev->dst);
161 hci_dev_put(hdev);
H A Dcore.c2064 s = rfcomm_session_get(&conn->hdev->bdaddr, &conn->dst);

Completed in 449 milliseconds