Home
last modified time | relevance | path

Searched defs:hdev (Results 1 – 25 of 28) sorted by relevance

12

/net/bluetooth/
Dhci_event.c44 static void hci_cc_inquiry_cancel(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_inquiry_cancel()
69 static void hci_cc_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_periodic_inq()
81 static void hci_cc_exit_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_exit_periodic_inq()
95 static void hci_cc_remote_name_req_cancel(struct hci_dev *hdev, in hci_cc_remote_name_req_cancel()
101 static void hci_cc_role_discovery(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_role_discovery()
120 static void hci_cc_read_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_read_link_policy()
139 static void hci_cc_write_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_write_link_policy()
163 static void hci_cc_read_def_link_policy(struct hci_dev *hdev, in hci_cc_read_def_link_policy()
176 static void hci_cc_write_def_link_policy(struct hci_dev *hdev, in hci_cc_write_def_link_policy()
194 static void hci_cc_reset(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_reset()
[all …]
Dhci_debugfs.c105 struct hci_dev *hdev = f->private; in features_show() local
143 struct hci_dev *hdev = f->private; in device_id_show() local
167 struct hci_dev *hdev = f->private; in device_list_show() local
197 struct hci_dev *hdev = f->private; in blacklist_show() local
222 struct hci_dev *hdev = f->private; in uuids_show() local
257 struct hci_dev *hdev = f->private; in remote_oob_show() local
286 struct hci_dev *hdev = data; in conn_info_min_age_set() local
300 struct hci_dev *hdev = data; in conn_info_min_age_get() local
314 struct hci_dev *hdev = data; in conn_info_max_age_set() local
328 struct hci_dev *hdev = data; in conn_info_max_age_get() local
[all …]
Dhci_core.c65 struct hci_dev *hdev = file->private_data; in dut_mode_read() local
77 struct hci_dev *hdev = file->private_data; in dut_mode_write() local
125 struct hci_dev *hdev = file->private_data; in vendor_diag_read() local
137 struct hci_dev *hdev = file->private_data; in vendor_diag_write() local
183 static void hci_debugfs_create_basic(struct hci_dev *hdev) in hci_debugfs_create_basic()
254 struct hci_dev *hdev = req->hdev; in hci_init1_req() local
311 struct hci_dev *hdev = req->hdev; in le_setup() local
329 struct hci_dev *hdev = req->hdev; in hci_setup_event_mask() local
425 struct hci_dev *hdev = req->hdev; in hci_init2_req() local
509 struct hci_dev *hdev = req->hdev; in hci_setup_link_policy() local
[all …]
Dhci_request.c37 void hci_req_init(struct hci_request *req, struct hci_dev *hdev) in hci_req_init()
47 struct hci_dev *hdev = req->hdev; in req_run() local
92 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete()
106 void hci_req_sync_cancel(struct hci_dev *hdev, int err) in hci_req_sync_cancel()
117 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev()
182 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync()
190 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, in __hci_req_sync()
274 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, in hci_req_sync()
291 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd()
321 struct hci_dev *hdev = req->hdev; in hci_req_add_ev() local
[all …]
Dmgmt.c250 static int mgmt_index_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_index_event()
257 static int mgmt_limited_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_limited_event()
264 static int mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 len, in mgmt_event()
287 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data, in read_version()
300 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data, in read_commands()
352 static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data, in read_index_list()
412 static int read_unconf_index_list(struct sock *sk, struct hci_dev *hdev, in read_unconf_index_list()
472 static int read_ext_index_list(struct sock *sk, struct hci_dev *hdev, in read_ext_index_list()
548 static bool is_configured(struct hci_dev *hdev) in is_configured()
561 static __le32 get_missing_options(struct hci_dev *hdev) in get_missing_options()
[all …]
Dhci_conn.c66 struct hci_dev *hdev = conn->hdev; in hci_connect_le_scan_cleanup() local
116 struct hci_dev *hdev = conn->hdev; in hci_conn_cleanup() local
141 struct hci_dev *hdev = conn->hdev; in le_scan_cleanup() local
190 struct hci_dev *hdev = conn->hdev; in hci_acl_create_connection() local
242 struct hci_dev *hdev = conn->hdev; in hci_disconnect() local
255 struct hci_dev *hdev = conn->hdev; in hci_add_sco() local
273 struct hci_dev *hdev = conn->hdev; in hci_setup_sync() local
324 struct hci_dev *hdev = conn->hdev; in hci_le_conn_update() local
360 struct hci_dev *hdev = conn->hdev; in hci_le_start_enc() local
431 struct hci_dev *hdev = conn->hdev; in hci_conn_idle() local
[all …]
Damp.c112 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, in phylink_add()
177 struct hci_dev *hdev = conn->hdev; in phylink_gen_key() local
224 static void read_local_amp_assoc_complete(struct hci_dev *hdev, u8 status, in read_local_amp_assoc_complete()
261 void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle) in amp_read_loc_assoc_frag()
281 void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr) in amp_read_loc_assoc()
300 void amp_read_loc_assoc_final_data(struct hci_dev *hdev, in amp_read_loc_assoc_final_data()
322 static void write_remote_amp_assoc_complete(struct hci_dev *hdev, u8 status, in write_remote_amp_assoc_complete()
337 static bool amp_write_rem_assoc_frag(struct hci_dev *hdev, in amp_write_rem_assoc_frag()
390 void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle) in amp_write_rem_assoc_continue()
405 void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle) in amp_write_remote_assoc()
[all …]
Dhci_request.h25 #define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock) argument
26 #define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock) argument
29 struct hci_dev *hdev; member
87 static inline void hci_req_update_scan(struct hci_dev *hdev) in hci_req_update_scan()
101 static inline void hci_update_background_scan(struct hci_dev *hdev) in hci_update_background_scan()
Dhci_sysfs.c34 struct hci_dev *hdev = conn->hdev; in hci_conn_init_sysfs() local
47 struct hci_dev *hdev = conn->hdev; in hci_conn_add_sysfs() local
63 struct hci_dev *hdev = conn->hdev; in hci_conn_del_sysfs() local
85 struct hci_dev *hdev = to_hci_dev(dev); in bt_host_release() local
95 void hci_init_sysfs(struct hci_dev *hdev) in hci_init_sysfs()
Dhci_debugfs.h32 static inline void hci_debugfs_create_common(struct hci_dev *hdev) in hci_debugfs_create_common()
36 static inline void hci_debugfs_create_bredr(struct hci_dev *hdev) in hci_debugfs_create_bredr()
40 static inline void hci_debugfs_create_le(struct hci_dev *hdev) in hci_debugfs_create_le()
Dleds.c18 struct hci_dev *hdev; member
24 void hci_leds_update_powered(struct hci_dev *hdev, bool enabled) in hci_leds_update_powered()
57 static struct led_trigger *led_allocate_basic(struct hci_dev *hdev, in led_allocate_basic()
87 void hci_leds_init(struct hci_dev *hdev) in hci_leds_init()
Da2mp.c101 struct hci_dev *hdev; in __a2mp_add_cl() local
145 struct hci_dev *hdev; in a2mp_discover_req() local
290 static void read_local_amp_info_complete(struct hci_dev *hdev, u8 status, in read_local_amp_info_complete()
302 struct hci_dev *hdev; in a2mp_getinfo_req() local
370 struct hci_dev *hdev; in a2mp_getampassoc_req() local
414 struct hci_dev *hdev; in a2mp_getampassoc_rsp() local
476 struct hci_dev *hdev; in a2mp_createphyslink_req() local
555 struct hci_dev *hdev; in a2mp_discphyslink_req() local
897 void a2mp_send_getinfo_rsp(struct hci_dev *hdev) in a2mp_send_getinfo_rsp()
924 void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status) in a2mp_send_getampassoc_rsp()
[all …]
Dhci_sock.c53 struct hci_dev *hdev; member
191 void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_to_sock()
292 void hci_send_to_monitor(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_to_monitor()
345 void hci_send_monitor_ctrl_event(struct hci_dev *hdev, u16 event, in hci_send_monitor_ctrl_event()
399 static struct sk_buff *create_monitor_event(struct hci_dev *hdev, int event) in create_monitor_event()
635 struct hci_dev *hdev; in send_monitor_replay() local
696 static void hci_si_event(struct hci_dev *hdev, int type, int dlen, void *data) in hci_si_event()
722 void hci_sock_dev_event(struct hci_dev *hdev, int event) in hci_sock_dev_event()
821 struct hci_dev *hdev; in hci_sock_release() local
883 static int hci_sock_blacklist_add(struct hci_dev *hdev, void __user *arg) in hci_sock_blacklist_add()
[all …]
Dmgmt_util.c59 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel, in mgmt_send_event()
185 struct hci_dev *hdev) in mgmt_pending_find()
201 struct hci_dev *hdev, in mgmt_pending_find_data()
216 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, in mgmt_pending_foreach()
231 struct hci_dev *hdev, in mgmt_pending_add()
Dleds.h19 static inline void hci_leds_update_powered(struct hci_dev *hdev, in hci_leds_update_powered()
21 static inline void hci_leds_init(struct hci_dev *hdev) {} in hci_leds_init()
Dsmp.c38 #define SMP_DEV(hdev) \ argument
508 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], in smp_irk_matches()
530 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa) in smp_generate_rpa()
555 int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16]) in smp_generate_oob()
670 struct hci_dev *hdev = hcon->hdev; in build_pairing_cmd() local
742 struct hci_dev *hdev = conn->hcon->hdev; in check_enc_key_size() local
1046 struct hci_dev *hdev = hcon->hdev; in smp_notify_keys() local
1207 struct hci_dev *hdev = hcon->hdev; in sc_generate_ltk() local
1244 struct hci_dev *hdev = hcon->hdev; in smp_distribute_keys() local
1500 struct hci_dev *hdev = hcon->hdev; in sc_passkey_round() local
[all …]
Dsco.c106 struct hci_dev *hdev = hcon->hdev; in sco_conn_add() local
218 struct hci_dev *hdev; in sco_connect() local
730 struct hci_dev *hdev = conn->hdev; in sco_conn_defer_accept() local
1083 int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags) in sco_connect_ind()
Dl2cap_core.c1140 struct hci_dev *hdev; in __amp_capable() local
1512 struct hci_dev *hdev = hcon->hdev; in l2cap_le_conn_ready() local
1626 struct hci_dev *hdev = conn->hcon->hdev; in l2cap_register_user() local
1664 struct hci_dev *hdev = conn->hcon->hdev; in l2cap_unregister_user() local
3965 struct hci_dev *hdev = conn->hcon->hdev; in l2cap_connect_req() local
4527 struct hci_dev *hdev; in l2cap_create_channel_req() local
4989 struct hci_dev *hdev; in l2cap_move_channel_req() local
7131 struct hci_dev *hdev; in l2cap_chan_connect() local
7291 int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr) in l2cap_connect_ind()
7358 struct hci_dev *hdev = hcon->hdev; in l2cap_connect_cfm() local
/net/nfc/hci/
Dcore.c49 void nfc_hci_reset_pipes(struct nfc_hci_dev *hdev) in nfc_hci_reset_pipes()
61 void nfc_hci_reset_pipes_per_host(struct nfc_hci_dev *hdev, u8 host) in nfc_hci_reset_pipes_per_host()
77 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, in nfc_hci_msg_tx_work() local
140 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, in nfc_hci_msg_rx_work() local
160 static void __nfc_hci_cmd_completion(struct nfc_hci_dev *hdev, int err, in __nfc_hci_cmd_completion()
177 void nfc_hci_resp_received(struct nfc_hci_dev *hdev, u8 result, in nfc_hci_resp_received()
193 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_cmd_received()
296 int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_target_discovered()
393 void nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, in nfc_hci_event_received()
456 struct nfc_hci_dev *hdev = (struct nfc_hci_dev *)data; in nfc_hci_cmd_timeout() local
[all …]
Dcommand.c31 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd_async()
67 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd()
103 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, in nfc_hci_send_event()
124 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd()
139 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd_async()
156 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_set_param()
188 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_get_param()
198 static int nfc_hci_open_pipe(struct nfc_hci_dev *hdev, u8 pipe) in nfc_hci_open_pipe()
218 static int nfc_hci_close_pipe(struct nfc_hci_dev *hdev, u8 pipe) in nfc_hci_close_pipe()
226 static u8 nfc_hci_create_pipe(struct nfc_hci_dev *hdev, u8 dest_host, in nfc_hci_create_pipe()
[all …]
Dhcp.c33 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, in nfc_hci_hcp_message_tx()
131 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, in nfc_hci_hcp_message_rx()
Dllc_nop.c24 struct nfc_hci_dev *hdev; member
32 static void *llc_nop_init(struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv, in llc_nop_init()
Dllc.c101 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, in nfc_llc_allocate()
Dllc_shdlc.c38 struct nfc_hci_dev *hdev; member
749 static void *llc_shdlc_init(struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv, in llc_shdlc_init()
/net/nfc/nci/
Dhci.c122 static void nci_hci_reset_pipes(struct nci_hci_dev *hdev) in nci_hci_reset_pipes()
423 struct nci_hci_dev *hdev = in nci_hci_msg_rx_work() local
797 struct nci_hci_dev *hdev; in nci_hci_allocate() local

12