Home
last modified time | relevance | path

Searched refs:hci_dev (Results 1 – 56 of 56) sorted by relevance

/linux-4.1.27/include/net/bluetooth/
Dhci_core.h188 struct hci_dev { struct
383 int (*open)(struct hci_dev *hdev); argument
384 int (*close)(struct hci_dev *hdev); argument
385 int (*flush)(struct hci_dev *hdev); argument
386 int (*setup)(struct hci_dev *hdev); argument
387 int (*shutdown)(struct hci_dev *hdev); argument
388 int (*send)(struct hci_dev *hdev, struct sk_buff *skb); argument
389 void (*notify)(struct hci_dev *hdev, unsigned int evt); argument
390 void (*hw_error)(struct hci_dev *hdev, u8 code); argument
391 int (*set_bdaddr)(struct hci_dev *hdev, const bdaddr_t *bdaddr); argument
[all …]
Dbluetooth.h277 struct hci_dev;
279 typedef void (*hci_req_complete_t)(struct hci_dev *hdev, u8 status, u16 opcode);
280 typedef void (*hci_req_complete_skb_t)(struct hci_dev *hdev, u8 status,
Dhci_sock.h39 unsigned short hci_dev; member
/linux-4.1.27/drivers/bluetooth/
Dbtbcm.h26 int btbcm_check_bdaddr(struct hci_dev *hdev);
27 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
28 int btbcm_patchram(struct hci_dev *hdev, const char *firmware);
30 int btbcm_setup_patchram(struct hci_dev *hdev);
31 int btbcm_setup_apple(struct hci_dev *hdev);
35 static inline int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr()
40 static inline int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btbcm_set_bdaddr()
45 static inline int btbcm_patchram(struct hci_dev *hdev, const char *firmware) in btbcm_patchram()
50 static inline int btbcm_setup_patchram(struct hci_dev *hdev) in btbcm_setup_patchram()
55 static inline int btbcm_setup_apple(struct hci_dev *hdev) in btbcm_setup_apple()
Dbtintel.h74 int btintel_check_bdaddr(struct hci_dev *hdev);
75 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
79 static inline int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr()
84 static inline int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btintel_set_bdaddr()
Dbpa10x.c50 struct hci_dev *hdev;
67 static int bpa10x_recv(struct hci_dev *hdev, int queue, void *buf, int count) in bpa10x_recv()
168 struct hci_dev *hdev = (struct hci_dev *) skb->dev; in bpa10x_tx_complete()
189 struct hci_dev *hdev = urb->context; in bpa10x_rx_complete()
218 static inline int bpa10x_submit_intr_urb(struct hci_dev *hdev) in bpa10x_submit_intr_urb()
259 static inline int bpa10x_submit_bulk_urb(struct hci_dev *hdev) in bpa10x_submit_bulk_urb()
300 static int bpa10x_open(struct hci_dev *hdev) in bpa10x_open()
328 static int bpa10x_close(struct hci_dev *hdev) in bpa10x_close()
342 static int bpa10x_flush(struct hci_dev *hdev) in bpa10x_flush()
353 static int bpa10x_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in bpa10x_send_frame()
[all …]
Dbtbcm.c37 int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr()
80 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btbcm_set_bdaddr()
98 int btbcm_patchram(struct hci_dev *hdev, const char *firmware) in btbcm_patchram()
170 static int btbcm_reset(struct hci_dev *hdev) in btbcm_reset()
185 static struct sk_buff *btbcm_read_local_version(struct hci_dev *hdev) in btbcm_read_local_version()
206 static struct sk_buff *btbcm_read_verbose_config(struct hci_dev *hdev) in btbcm_read_verbose_config()
226 static struct sk_buff *btbcm_read_usb_product(struct hci_dev *hdev) in btbcm_read_usb_product()
271 int btbcm_setup_patchram(struct hci_dev *hdev) in btbcm_setup_patchram()
375 int btbcm_setup_apple(struct hci_dev *hdev) in btbcm_setup_apple()
Dbtwilink.c53 struct hci_dev *hdev;
62 struct hci_dev *hdev = hst->hdev; in ti_st_tx_complete()
150 static int ti_st_open(struct hci_dev *hdev) in ti_st_open()
234 static int ti_st_close(struct hci_dev *hdev) in ti_st_close()
254 static int ti_st_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in ti_st_send_frame()
292 struct hci_dev *hdev; in bt_ti_probe()
329 struct hci_dev *hdev; in bt_ti_remove()
Dbtusb.c348 struct hci_dev *hdev;
385 int (*recv_event)(struct hci_dev *hdev, struct sk_buff *skb);
388 int (*setup_on_usb)(struct hci_dev *hdev);
578 struct hci_dev *hdev = urb->context; in btusb_intr_complete()
618 static int btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_intr_urb()
667 struct hci_dev *hdev = urb->context; in btusb_bulk_complete()
707 static int btusb_submit_bulk_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_bulk_urb()
755 struct hci_dev *hdev = urb->context; in btusb_isoc_complete()
823 static int btusb_submit_isoc_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_isoc_urb()
877 struct hci_dev *hdev = (struct hci_dev *)skb->dev; in btusb_tx_complete()
[all …]
Dbtsdio.c58 struct hci_dev *hdev;
190 static int btsdio_open(struct hci_dev *hdev) in btsdio_open()
226 static int btsdio_close(struct hci_dev *hdev) in btsdio_close()
247 static int btsdio_flush(struct hci_dev *hdev) in btsdio_flush()
258 static int btsdio_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in btsdio_send_frame()
295 struct hci_dev *hdev; in btsdio_probe()
354 struct hci_dev *hdev; in btsdio_remove()
Dhci_vhci.c48 struct hci_dev *hdev;
57 static int vhci_open_dev(struct hci_dev *hdev) in vhci_open_dev()
64 static int vhci_close_dev(struct hci_dev *hdev) in vhci_close_dev()
76 static int vhci_flush(struct hci_dev *hdev) in vhci_flush()
85 static int vhci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in vhci_send_frame()
101 struct hci_dev *hdev; in __vhci_create_device()
355 struct hci_dev *hdev; in vhci_release()
Dhci_ldisc.c93 struct hci_dev *hdev = hu->hdev; in hci_uart_tx_complete()
141 struct hci_dev *hdev = hu->hdev; in hci_uart_write_work()
205 static int hci_uart_open(struct hci_dev *hdev) in hci_uart_open()
217 static int hci_uart_flush(struct hci_dev *hdev) in hci_uart_flush()
239 static int hci_uart_close(struct hci_dev *hdev) in hci_uart_close()
252 static int hci_uart_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_uart_send_frame()
268 static int hci_uart_setup(struct hci_dev *hdev) in hci_uart_setup()
372 struct hci_dev *hdev; in hci_uart_tty_close()
462 struct hci_dev *hdev; in hci_uart_register_dev()
Dhci_uart.h72 struct hci_dev *hdev;
110 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb);
134 struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb,
Dbtmrvl_drv.h61 struct hci_dev *hcidev;
178 void btmrvl_debugfs_init(struct hci_dev *hdev);
179 void btmrvl_debugfs_remove(struct hci_dev *hdev);
Ddtl1_cs.c68 struct hci_dev *hdev;
358 static int dtl1_hci_open(struct hci_dev *hdev) in dtl1_hci_open()
366 static int dtl1_hci_flush(struct hci_dev *hdev) in dtl1_hci_flush()
377 static int dtl1_hci_close(struct hci_dev *hdev) in dtl1_hci_close()
388 static int dtl1_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in dtl1_hci_send_frame()
443 struct hci_dev *hdev; in dtl1_open()
512 struct hci_dev *hdev = info->hdev; in dtl1_close()
Dbtuart_cs.c68 struct hci_dev *hdev;
399 static int btuart_hci_flush(struct hci_dev *hdev) in btuart_hci_flush()
410 static int btuart_hci_open(struct hci_dev *hdev) in btuart_hci_open()
418 static int btuart_hci_close(struct hci_dev *hdev) in btuart_hci_close()
429 static int btuart_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in btuart_hci_send_frame()
463 struct hci_dev *hdev; in btuart_open()
529 struct hci_dev *hdev = info->hdev; in btuart_close()
Dbtintel.c35 int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr()
80 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btintel_set_bdaddr()
Dbt3c_cs.c73 struct hci_dev *hdev;
386 static int bt3c_hci_flush(struct hci_dev *hdev) in bt3c_hci_flush()
397 static int bt3c_hci_open(struct hci_dev *hdev) in bt3c_hci_open()
405 static int bt3c_hci_close(struct hci_dev *hdev) in bt3c_hci_close()
416 static int bt3c_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in bt3c_hci_send_frame()
540 struct hci_dev *hdev; in bt3c_open()
606 struct hci_dev *hdev = info->hdev; in bt3c_close()
Dbluecard_cs.c67 struct hci_dev *hdev;
564 static int bluecard_hci_set_baud_rate(struct hci_dev *hdev, int baud) in bluecard_hci_set_baud_rate()
613 static int bluecard_hci_flush(struct hci_dev *hdev) in bluecard_hci_flush()
624 static int bluecard_hci_open(struct hci_dev *hdev) in bluecard_hci_open()
645 static int bluecard_hci_close(struct hci_dev *hdev) in bluecard_hci_close()
665 static int bluecard_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in bluecard_hci_send_frame()
698 struct hci_dev *hdev; in bluecard_open()
813 struct hci_dev *hdev = info->hdev; in bluecard_close()
Dbtmrvl_main.c447 static int btmrvl_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in btmrvl_send_frame()
481 static int btmrvl_flush(struct hci_dev *hdev) in btmrvl_flush()
490 static int btmrvl_close(struct hci_dev *hdev) in btmrvl_close()
502 static int btmrvl_open(struct hci_dev *hdev) in btmrvl_open()
560 static int btmrvl_setup(struct hci_dev *hdev) in btmrvl_setup()
585 static int btmrvl_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btmrvl_set_bdaddr()
688 struct hci_dev *hdev = NULL; in btmrvl_register_hdev()
782 struct hci_dev *hdev; in btmrvl_remove_card()
Dbfusb.c65 struct hci_dev *hdev;
417 static int bfusb_open(struct hci_dev *hdev) in bfusb_open()
443 static int bfusb_flush(struct hci_dev *hdev) in bfusb_flush()
454 static int bfusb_close(struct hci_dev *hdev) in bfusb_close()
473 static int bfusb_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in bfusb_send_frame()
630 struct hci_dev *hdev; in bfusb_probe()
721 struct hci_dev *hdev = data->hdev; in bfusb_disconnect()
Dbtmrvl_debugfs.c199 void btmrvl_debugfs_init(struct hci_dev *hdev) in btmrvl_debugfs_init()
243 void btmrvl_debugfs_remove(struct hci_dev *hdev) in btmrvl_debugfs_remove()
Dhci_h4.c169 struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb, in h4_recv_buf()
Dhci_ath.c147 static int ath_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in ath_set_bdaddr()
Dhci_ll.c348 static inline int ll_check_data_len(struct hci_dev *hdev, struct ll_struct *ll, int len) in ll_check_data_len()
Dbtmrvl_sdio.c593 struct hci_dev *hdev = priv->btmrvl_dev.hcidev; in btmrvl_sdio_card_to_host()
1485 struct hci_dev *hcidev; in btmrvl_sdio_suspend()
1537 struct hci_dev *hcidev; in btmrvl_sdio_resume()
/linux-4.1.27/net/nfc/nci/
Dhci.c135 if (ndev->hci_dev->pipes[i].host == host) { in nci_hci_reset_pipes_per_host()
136 ndev->hci_dev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes_per_host()
137 ndev->hci_dev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes_per_host()
159 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data()
220 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event()
239 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd()
244 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_cmd()
280 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received()
304 ndev->hci_dev->gate2pipe[dest_gate] = new_pipe; in nci_hci_cmd_received()
305 ndev->hci_dev->pipes[new_pipe].gate = dest_gate; in nci_hci_cmd_received()
[all …]
Drsp.c254 if (ndev->cur_id == ndev->hci_dev->nfcee_id) in nci_core_conn_create_rsp_packet()
255 ndev->hci_dev->conn_info = conn_info; in nci_core_conn_create_rsp_packet()
Dcore.c975 ndev->hci_dev = nci_hci_allocate(ndev); in nci_allocate_device()
976 if (!ndev->hci_dev) in nci_allocate_device()
Dntf.c736 ndev->hci_dev->nfcee_id = nfcee_ntf->nfcee_id; in nci_nfcee_discover_ntf_packet()
/linux-4.1.27/net/bluetooth/
Damp.h33 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr,
38 void amp_read_loc_info(struct hci_dev *hdev, struct amp_mgr *mgr);
39 void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle);
40 void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr);
41 void amp_read_loc_assoc_final_data(struct hci_dev *hdev,
43 void amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr,
45 void amp_accept_phylink(struct hci_dev *hdev, struct amp_mgr *mgr,
47 void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle);
48 void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle);
Dhci_debugfs.c36 struct hci_dev *hdev = file->private_data; \
49 struct hci_dev *hdev = file->private_data; \
81 struct hci_dev *hdev = f->private; in features_show()
119 struct hci_dev *hdev = f->private; in device_id_show()
143 struct hci_dev *hdev = f->private; in device_list_show()
173 struct hci_dev *hdev = f->private; in blacklist_show()
198 struct hci_dev *hdev = f->private; in uuids_show()
233 struct hci_dev *hdev = f->private; in remote_oob_show()
262 struct hci_dev *hdev = data; in conn_info_min_age_set()
276 struct hci_dev *hdev = data; in conn_info_min_age_get()
[all …]
Dhci_debugfs.h25 void hci_debugfs_create_common(struct hci_dev *hdev);
26 void hci_debugfs_create_bredr(struct hci_dev *hdev);
27 void hci_debugfs_create_le(struct hci_dev *hdev);
32 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()
Dhci_request.h24 struct hci_dev *hdev;
33 void hci_req_init(struct hci_request *req, struct hci_dev *hdev);
40 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status,
44 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen,
50 void hci_update_page_scan(struct hci_dev *hdev);
56 void hci_update_background_scan(struct hci_dev *hdev);
Dhci_core.c70 static void hci_notify(struct hci_dev *hdev, int event) in hci_notify()
80 struct hci_dev *hdev = file->private_data; in dut_mode_read()
92 struct hci_dev *hdev = file->private_data; in dut_mode_write()
144 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete()
158 static void hci_req_cancel(struct hci_dev *hdev, int err) in hci_req_cancel()
169 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev()
234 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync()
242 static int __hci_req_sync(struct hci_dev *hdev, in __hci_req_sync()
308 static int hci_req_sync(struct hci_dev *hdev, in hci_req_sync()
384 struct hci_dev *hdev = req->hdev; in hci_init1_req()
[all …]
Dhci_event.c44 static void hci_cc_inquiry_cancel(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_inquiry_cancel()
64 static void hci_cc_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_periodic_inq()
76 static void hci_cc_exit_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_exit_periodic_inq()
90 static void hci_cc_remote_name_req_cancel(struct hci_dev *hdev, in hci_cc_remote_name_req_cancel()
96 static void hci_cc_role_discovery(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_role_discovery()
115 static void hci_cc_read_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_read_link_policy()
134 static void hci_cc_write_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_write_link_policy()
158 static void hci_cc_read_def_link_policy(struct hci_dev *hdev, in hci_cc_read_def_link_policy()
171 static void hci_cc_write_def_link_policy(struct hci_dev *hdev, in hci_cc_write_def_link_policy()
189 static void hci_cc_reset(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_reset()
[all …]
Dmgmt_util.h34 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel,
41 struct hci_dev *hdev);
44 struct hci_dev *hdev,
46 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev,
50 struct hci_dev *hdev,
Dhci_sysfs.c78 struct hci_dev *hdev = conn->hdev; in hci_conn_init_sysfs()
91 struct hci_dev *hdev = conn->hdev; in hci_conn_add_sysfs()
107 struct hci_dev *hdev = conn->hdev; in hci_conn_del_sysfs()
142 struct hci_dev *hdev = to_hci_dev(dev); in show_type()
149 struct hci_dev *hdev = to_hci_dev(dev); in show_name()
163 struct hci_dev *hdev = to_hci_dev(dev); in show_address()
182 struct hci_dev *hdev = to_hci_dev(dev); in bt_host_release()
193 void hci_init_sysfs(struct hci_dev *hdev) in hci_init_sysfs()
Dhci_request.c30 void hci_req_init(struct hci_request *req, struct hci_dev *hdev) in hci_req_init()
40 struct hci_dev *hdev = req->hdev; in req_run()
81 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd()
111 struct hci_dev *hdev = req->hdev; in hci_req_add_ev()
166 struct hci_dev *hdev = req->hdev; in update_white_list()
257 struct hci_dev *hdev = req->hdev; in hci_req_add_le_passive_scan()
307 struct hci_dev *hdev = req->hdev; in set_random_addr()
332 struct hci_dev *hdev = req->hdev; in hci_update_random_address()
417 static bool disconnected_whitelist_entries(struct hci_dev *hdev) in disconnected_whitelist_entries()
437 struct hci_dev *hdev = req->hdev; in __hci_update_page_scan()
[all …]
Dmgmt.c243 static int mgmt_index_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_index_event()
250 static int mgmt_limited_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_limited_event()
257 static int mgmt_generic_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_generic_event()
264 static int mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 len, in mgmt_event()
271 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data, in read_version()
285 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data, in read_commands()
337 static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data, in read_index_list()
341 struct hci_dev *d; in read_index_list()
397 static int read_unconf_index_list(struct sock *sk, struct hci_dev *hdev, in read_unconf_index_list()
401 struct hci_dev *d; in read_unconf_index_list()
[all …]
Dsmp.h188 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16],
190 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa);
191 int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16]);
193 int smp_register(struct hci_dev *hdev);
194 void smp_unregister(struct hci_dev *hdev);
Dhci_conn.c69 struct hci_dev *hdev = conn->hdev; in hci_acl_create_connection()
145 struct hci_dev *hdev = conn->hdev; in hci_disconnect()
176 struct hci_dev *hdev = conn->hdev; in hci_add_sco()
194 struct hci_dev *hdev = conn->hdev; in hci_setup_sync()
245 struct hci_dev *hdev = conn->hdev; in hci_le_conn_update()
281 struct hci_dev *hdev = conn->hdev; in hci_le_start_enc()
369 struct hci_dev *hdev = conn->hdev; in hci_conn_idle()
412 struct hci_dev *hdev = conn->hdev; in le_conn_timeout()
432 struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst, in hci_conn_add()
508 struct hci_dev *hdev = conn->hdev; in hci_conn_del()
[all …]
Damp.c111 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, in phylink_add()
176 struct hci_dev *hdev = conn->hdev; in phylink_gen_key()
223 void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle) in amp_read_loc_assoc_frag()
237 void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr) in amp_read_loc_assoc()
250 void amp_read_loc_assoc_final_data(struct hci_dev *hdev, in amp_read_loc_assoc_final_data()
267 static bool amp_write_rem_assoc_frag(struct hci_dev *hdev, in amp_write_rem_assoc_frag()
317 void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle) in amp_write_rem_assoc_continue()
332 void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle) in amp_write_remote_assoc()
347 void amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, in amp_create_phylink()
366 void amp_accept_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, in amp_accept_phylink()
[all …]
Da2mp.h137 void a2mp_send_getinfo_rsp(struct hci_dev *hdev);
138 void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status);
139 void a2mp_send_create_phy_link_req(struct hci_dev *hdev, u8 status);
140 void a2mp_send_create_phy_link_rsp(struct hci_dev *hdev, u8 status);
Dmgmt_util.c30 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel, in mgmt_send_event()
125 struct hci_dev *hdev) in mgmt_pending_find()
141 struct hci_dev *hdev, in mgmt_pending_find_data()
156 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, in mgmt_pending_foreach()
171 struct hci_dev *hdev, in mgmt_pending_add()
Dhci_sock.c49 struct hci_dev *hdev;
156 void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_to_sock()
252 void hci_send_to_monitor(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_to_monitor()
302 static struct sk_buff *create_monitor_event(struct hci_dev *hdev, int event) in create_monitor_event()
348 struct hci_dev *hdev; in send_monitor_replay()
367 static void hci_si_event(struct hci_dev *hdev, int type, int dlen, void *data) in hci_si_event()
393 void hci_sock_dev_event(struct hci_dev *hdev, int event) in hci_sock_dev_event()
490 struct hci_dev *hdev; in hci_sock_release()
524 static int hci_sock_blacklist_add(struct hci_dev *hdev, void __user *arg) in hci_sock_blacklist_add()
541 static int hci_sock_blacklist_del(struct hci_dev *hdev, void __user *arg) in hci_sock_blacklist_del()
[all …]
Da2mp.c100 struct hci_dev *hdev; in __a2mp_add_cl()
144 struct hci_dev *hdev; in a2mp_discover_req()
293 struct hci_dev *hdev; in a2mp_getinfo_req()
355 struct hci_dev *hdev; in a2mp_getampassoc_req()
399 struct hci_dev *hdev; in a2mp_getampassoc_rsp()
461 struct hci_dev *hdev; in a2mp_createphyslink_req()
540 struct hci_dev *hdev; in a2mp_discphyslink_req()
882 void a2mp_send_getinfo_rsp(struct hci_dev *hdev) in a2mp_send_getinfo_rsp()
909 void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status) in a2mp_send_getampassoc_rsp()
943 void a2mp_send_create_phy_link_req(struct hci_dev *hdev, u8 status) in a2mp_send_create_phy_link_req()
[all …]
Dsmp.c490 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], in smp_irk_matches()
512 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa) in smp_generate_rpa()
537 int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16]) in smp_generate_oob()
649 struct hci_dev *hdev = hcon->hdev; in build_pairing_cmd()
1031 struct hci_dev *hdev = hcon->hdev; in smp_notify_keys()
1202 struct hci_dev *hdev = hcon->hdev; in sc_generate_ltk()
1228 struct hci_dev *hdev = hcon->hdev; in smp_distribute_keys()
1477 struct hci_dev *hdev = hcon->hdev; in sc_passkey_round()
1672 struct hci_dev *hdev = conn->hcon->hdev; in build_bredr_pairing_cmd()
1711 struct hci_dev *hdev = conn->hcon->hdev; in smp_cmd_pairing_req()
[all …]
Dsco.c105 struct hci_dev *hdev = hcon->hdev; in sco_conn_add()
215 struct hci_dev *hdev; in sco_connect()
722 struct hci_dev *hdev = conn->hdev; in sco_conn_defer_accept()
1062 int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags) in sco_connect_ind()
D6lowpan.c77 struct hci_dev *hdev;
1145 struct hci_dev *hdev; in get_l2cap_conn()
Dl2cap_core.c1129 struct hci_dev *hdev; in __amp_capable()
1478 struct hci_dev *hdev = hcon->hdev; in l2cap_le_conn_ready()
1592 struct hci_dev *hdev = conn->hcon->hdev; in l2cap_register_user()
1630 struct hci_dev *hdev = conn->hcon->hdev; in l2cap_unregister_user()
3896 struct hci_dev *hdev = conn->hcon->hdev; in l2cap_connect_req()
4452 struct hci_dev *hdev; in l2cap_create_channel_req()
4916 struct hci_dev *hdev; in l2cap_move_channel_req()
7031 struct hci_dev *hdev; in l2cap_chan_connect()
7190 int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr) in l2cap_connect_ind()
7257 struct hci_dev *hdev = hcon->hdev; in l2cap_connect_cfm()
/linux-4.1.27/drivers/usb/host/
Dssb-hcd.c106 struct platform_device *hci_dev; in ssb_hcd_create_pdev() local
119 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in ssb_hcd_create_pdev()
121 if (!hci_dev) in ssb_hcd_create_pdev()
124 hci_dev->dev.parent = dev->dev; in ssb_hcd_create_pdev()
125 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in ssb_hcd_create_pdev()
127 ret = platform_device_add_resources(hci_dev, hci_res, in ssb_hcd_create_pdev()
132 ret = platform_device_add_data(hci_dev, &ohci_pdata, in ssb_hcd_create_pdev()
135 ret = platform_device_add_data(hci_dev, &ehci_pdata, in ssb_hcd_create_pdev()
139 ret = platform_device_add(hci_dev); in ssb_hcd_create_pdev()
143 return hci_dev; in ssb_hcd_create_pdev()
[all …]
Dbcma-hcd.c170 struct platform_device *hci_dev; in bcma_hcd_create_pdev() local
183 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in bcma_hcd_create_pdev()
185 if (!hci_dev) in bcma_hcd_create_pdev()
188 hci_dev->dev.parent = &dev->dev; in bcma_hcd_create_pdev()
189 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in bcma_hcd_create_pdev()
191 ret = platform_device_add_resources(hci_dev, hci_res, in bcma_hcd_create_pdev()
196 ret = platform_device_add_data(hci_dev, &ohci_pdata, in bcma_hcd_create_pdev()
199 ret = platform_device_add_data(hci_dev, &ehci_pdata, in bcma_hcd_create_pdev()
203 ret = platform_device_add(hci_dev); in bcma_hcd_create_pdev()
207 return hci_dev; in bcma_hcd_create_pdev()
[all …]
/linux-4.1.27/drivers/nfc/st21nfcb/
Dst21nfcb_se.c237 ndev->hci_dev->gate2pipe[st21nfcb_gates[j].gate] = in st21nfcb_hci_load_session()
239 ndev->hci_dev->pipes[st21nfcb_gates[j].pipe].gate = in st21nfcb_hci_load_session()
241 ndev->hci_dev->pipes[st21nfcb_gates[j].pipe].host = in st21nfcb_hci_load_session()
246 memcpy(ndev->hci_dev->init_data.gates, st21nfcb_gates, in st21nfcb_hci_load_session()
361 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st21nfcb_hci_event_received()
362 u8 host = ndev->hci_dev->pipes[pipe].host; in st21nfcb_hci_event_received()
384 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st21nfcb_hci_cmd_received()
391 ndev->hci_dev->pipes[pipe].host != ST21NFCB_UICC_HOST_ID) in st21nfcb_hci_cmd_received()
392 ndev->hci_dev->count_pipes++; in st21nfcb_hci_cmd_received()
394 if (ndev->hci_dev->count_pipes == in st21nfcb_hci_cmd_received()
[all …]
/linux-4.1.27/include/net/nfc/
Dnci_core.h186 struct nci_hci_dev *hci_dev; member
/linux-4.1.27/net/bluetooth/rfcomm/
Dtty.c178 struct hci_dev *hdev; in rfcomm_reparent_device()