/linux-4.4.14/drivers/bluetooth/ |
D | btintel.h | 74 int btintel_check_bdaddr(struct hci_dev *hdev); 75 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 76 int btintel_set_diag(struct hci_dev *hdev, bool enable); 77 int btintel_set_diag_mfg(struct hci_dev *hdev, bool enable); 78 void btintel_hw_error(struct hci_dev *hdev, u8 code); 80 void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver); 81 int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type, u32 plen, 83 int btintel_load_ddc_config(struct hci_dev *hdev, const char *ddc_name); 84 int btintel_set_event_mask(struct hci_dev *hdev, bool debug); 85 int btintel_set_event_mask_mfg(struct hci_dev *hdev, bool debug); [all …]
|
D | btbcm.h | 69 int btbcm_check_bdaddr(struct hci_dev *hdev); 70 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 71 int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw); 73 int btbcm_setup_patchram(struct hci_dev *hdev); 74 int btbcm_setup_apple(struct hci_dev *hdev); 76 int btbcm_initialize(struct hci_dev *hdev, char *fw_name, size_t len); 77 int btbcm_finalize(struct hci_dev *hdev); 81 static inline int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr() 86 static inline int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btbcm_set_bdaddr() 91 static inline int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw) in btbcm_patchram() [all …]
|
D | bpa10x.c | 52 struct hci_dev *hdev; 64 struct hci_dev *hdev = (struct hci_dev *) skb->dev; in bpa10x_tx_complete() 101 struct hci_dev *hdev = urb->context; in bpa10x_rx_complete() 136 static inline int bpa10x_submit_intr_urb(struct hci_dev *hdev) in bpa10x_submit_intr_urb() 177 static inline int bpa10x_submit_bulk_urb(struct hci_dev *hdev) in bpa10x_submit_bulk_urb() 218 static int bpa10x_open(struct hci_dev *hdev) in bpa10x_open() 241 static int bpa10x_close(struct hci_dev *hdev) in bpa10x_close() 252 static int bpa10x_flush(struct hci_dev *hdev) in bpa10x_flush() 263 static int bpa10x_setup(struct hci_dev *hdev) in bpa10x_setup() 281 static int bpa10x_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in bpa10x_send_frame() [all …]
|
D | btbcm.c | 39 int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr() 88 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btbcm_set_bdaddr() 106 int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw) in btbcm_patchram() 169 static int btbcm_reset(struct hci_dev *hdev) in btbcm_reset() 184 static struct sk_buff *btbcm_read_local_name(struct hci_dev *hdev) in btbcm_read_local_name() 205 static struct sk_buff *btbcm_read_local_version(struct hci_dev *hdev) in btbcm_read_local_version() 226 static struct sk_buff *btbcm_read_verbose_config(struct hci_dev *hdev) in btbcm_read_verbose_config() 246 static struct sk_buff *btbcm_read_usb_product(struct hci_dev *hdev) in btbcm_read_usb_product() 277 int btbcm_initialize(struct hci_dev *hdev, char *fw_name, size_t len) in btbcm_initialize() 333 int btbcm_finalize(struct hci_dev *hdev) in btbcm_finalize() [all …]
|
D | btintel.c | 37 int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr() 76 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btintel_set_bdaddr() 94 int btintel_set_diag(struct hci_dev *hdev, bool enable) in btintel_set_diag() 127 int btintel_set_diag_mfg(struct hci_dev *hdev, bool enable) in btintel_set_diag_mfg() 163 void btintel_hw_error(struct hci_dev *hdev, u8 code) in btintel_hw_error() 197 void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver) in btintel_version_info() 218 int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type, u32 plen, in btintel_secure_send() 243 int btintel_load_ddc_config(struct hci_dev *hdev, const char *ddc_name) in btintel_load_ddc_config() 288 int btintel_set_event_mask(struct hci_dev *hdev, bool debug) in btintel_set_event_mask() 310 int btintel_set_event_mask_mfg(struct hci_dev *hdev, bool debug) in btintel_set_event_mask_mfg() [all …]
|
D | btwilink.c | 53 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() 227 static int ti_st_close(struct hci_dev *hdev) in ti_st_close() 244 static int ti_st_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in ti_st_send_frame() 279 struct hci_dev *hdev; in bt_ti_probe() 316 struct hci_dev *hdev; in bt_ti_remove()
|
D | btqca.h | 120 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr); 121 int qca_uart_setup_rome(struct hci_dev *hdev, uint8_t baudrate); 125 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() 130 static inline int qca_uart_setup_rome(struct hci_dev *hdev, int speed) in qca_uart_setup_rome()
|
D | btusb.c | 365 struct hci_dev *hdev; 406 int (*recv_event)(struct hci_dev *hdev, struct sk_buff *skb); 409 int (*setup_on_usb)(struct hci_dev *hdev); 599 struct hci_dev *hdev = urb->context; in btusb_intr_complete() 639 static int btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_intr_urb() 688 struct hci_dev *hdev = urb->context; in btusb_bulk_complete() 728 static int btusb_submit_bulk_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_bulk_urb() 776 struct hci_dev *hdev = urb->context; in btusb_isoc_complete() 844 static int btusb_submit_isoc_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_isoc_urb() 897 struct hci_dev *hdev = urb->context; in btusb_diag_complete() [all …]
|
D | btsdio.c | 58 struct hci_dev *hdev; 190 static int btsdio_open(struct hci_dev *hdev) in btsdio_open() 220 static int btsdio_close(struct hci_dev *hdev) in btsdio_close() 238 static int btsdio_flush(struct hci_dev *hdev) in btsdio_flush() 249 static int btsdio_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in btsdio_send_frame() 283 struct hci_dev *hdev; in btsdio_probe() 342 struct hci_dev *hdev; in btsdio_remove()
|
D | hci_vhci.c | 48 struct hci_dev *hdev; 57 static int vhci_open_dev(struct hci_dev *hdev) in vhci_open_dev() 62 static int vhci_close_dev(struct hci_dev *hdev) in vhci_close_dev() 71 static int vhci_flush(struct hci_dev *hdev) in vhci_flush() 80 static int vhci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in vhci_send_frame() 93 struct hci_dev *hdev; in __vhci_create_device() 347 struct hci_dev *hdev; in vhci_release()
|
D | btrtl.c | 37 static int rtl_read_rom_version(struct hci_dev *hdev, u8 *version) in rtl_read_rom_version() 66 static int rtl8723b_parse_firmware(struct hci_dev *hdev, u16 lmp_subver, in rtl8723b_parse_firmware() 208 static int rtl_download_firmware(struct hci_dev *hdev, in rtl_download_firmware() 260 static int btrtl_setup_rtl8723a(struct hci_dev *hdev) in btrtl_setup_rtl8723a() 293 static int btrtl_setup_rtl8723b(struct hci_dev *hdev, u16 lmp_subver, in btrtl_setup_rtl8723b() 321 static struct sk_buff *btrtl_read_local_version(struct hci_dev *hdev) in btrtl_read_local_version() 343 int btrtl_setup_realtek(struct hci_dev *hdev) in btrtl_setup_realtek()
|
D | btqca.c | 30 static int rome_patch_ver_req(struct hci_dev *hdev, u32 *rome_version) in rome_patch_ver_req() 92 static int rome_reset(struct hci_dev *hdev) in rome_reset() 197 static int rome_tlv_send_segment(struct hci_dev *hdev, int idx, int seg_size, in rome_tlv_send_segment() 248 static int rome_tlv_download_request(struct hci_dev *hdev, in rome_tlv_download_request() 284 static int rome_download_firmware(struct hci_dev *hdev, in rome_download_firmware() 312 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() 337 int qca_uart_setup_rome(struct hci_dev *hdev, uint8_t baudrate) in qca_uart_setup_rome()
|
D | btrtl.h | 43 int btrtl_setup_realtek(struct hci_dev *hdev); 47 static inline int btrtl_setup_realtek(struct hci_dev *hdev) in btrtl_setup_realtek()
|
D | hci_uart.h | 77 struct hci_dev *hdev; 122 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb); 146 struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb,
|
D | btmrvl_drv.h | 61 struct hci_dev *hcidev; 178 void btmrvl_debugfs_init(struct hci_dev *hdev); 179 void btmrvl_debugfs_remove(struct hci_dev *hdev);
|
D | dtl1_cs.c | 68 struct hci_dev *hdev; 358 static int dtl1_hci_open(struct hci_dev *hdev) in dtl1_hci_open() 364 static int dtl1_hci_flush(struct hci_dev *hdev) in dtl1_hci_flush() 375 static int dtl1_hci_close(struct hci_dev *hdev) in dtl1_hci_close() 383 static int dtl1_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in dtl1_hci_send_frame() 438 struct hci_dev *hdev; in dtl1_open() 507 struct hci_dev *hdev = info->hdev; in dtl1_close()
|
D | btuart_cs.c | 68 struct hci_dev *hdev; 398 static int btuart_hci_flush(struct hci_dev *hdev) in btuart_hci_flush() 409 static int btuart_hci_open(struct hci_dev *hdev) in btuart_hci_open() 415 static int btuart_hci_close(struct hci_dev *hdev) in btuart_hci_close() 423 static int btuart_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in btuart_hci_send_frame() 457 struct hci_dev *hdev; in btuart_open() 523 struct hci_dev *hdev = info->hdev; in btuart_close()
|
D | hci_ldisc.c | 94 struct hci_dev *hdev = hu->hdev; in hci_uart_tx_complete() 142 struct hci_dev *hdev = hu->hdev; in hci_uart_write_work() 206 static int hci_uart_open(struct hci_dev *hdev) in hci_uart_open() 215 static int hci_uart_flush(struct hci_dev *hdev) in hci_uart_flush() 237 static int hci_uart_close(struct hci_dev *hdev) in hci_uart_close() 247 static int hci_uart_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_uart_send_frame() 355 static int hci_uart_setup(struct hci_dev *hdev) in hci_uart_setup() 484 struct hci_dev *hdev; in hci_uart_tty_close() 574 struct hci_dev *hdev; in hci_uart_register_dev()
|
D | bt3c_cs.c | 73 struct hci_dev *hdev; 384 static int bt3c_hci_flush(struct hci_dev *hdev) in bt3c_hci_flush() 395 static int bt3c_hci_open(struct hci_dev *hdev) in bt3c_hci_open() 401 static int bt3c_hci_close(struct hci_dev *hdev) in bt3c_hci_close() 409 static int bt3c_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in bt3c_hci_send_frame() 537 struct hci_dev *hdev; in bt3c_open() 603 struct hci_dev *hdev = info->hdev; in bt3c_close()
|
D | btmrvl_main.c | 433 static int btmrvl_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in btmrvl_send_frame() 460 static int btmrvl_flush(struct hci_dev *hdev) in btmrvl_flush() 469 static int btmrvl_close(struct hci_dev *hdev) in btmrvl_close() 478 static int btmrvl_open(struct hci_dev *hdev) in btmrvl_open() 537 static int btmrvl_setup(struct hci_dev *hdev) in btmrvl_setup() 562 static int btmrvl_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btmrvl_set_bdaddr() 665 struct hci_dev *hdev = NULL; in btmrvl_register_hdev() 759 struct hci_dev *hdev; in btmrvl_remove_card()
|
D | bluecard_cs.c | 67 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() 642 static int bluecard_hci_close(struct hci_dev *hdev) in bluecard_hci_close() 659 static int bluecard_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in bluecard_hci_send_frame() 692 struct hci_dev *hdev; in bluecard_open() 807 struct hci_dev *hdev = info->hdev; in bluecard_close()
|
D | bfusb.c | 65 struct hci_dev *hdev; 417 static int bfusb_open(struct hci_dev *hdev) in bfusb_open() 438 static int bfusb_flush(struct hci_dev *hdev) in bfusb_flush() 449 static int bfusb_close(struct hci_dev *hdev) in bfusb_close() 465 static int bfusb_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in bfusb_send_frame() 619 struct hci_dev *hdev; in bfusb_probe() 710 struct hci_dev *hdev = data->hdev; in bfusb_disconnect()
|
D | hci_qca.c | 457 static void qca_debugfs_init(struct hci_dev *hdev) in qca_debugfs_init() 730 static int qca_ibs_sleep_ind(struct hci_dev *hdev, struct sk_buff *skb) in qca_ibs_sleep_ind() 742 static int qca_ibs_wake_ind(struct hci_dev *hdev, struct sk_buff *skb) in qca_ibs_wake_ind() 754 static int qca_ibs_wake_ack(struct hci_dev *hdev, struct sk_buff *skb) in qca_ibs_wake_ack() 856 static int qca_set_baudrate(struct hci_dev *hdev, uint8_t baudrate) in qca_set_baudrate() 894 struct hci_dev *hdev = hu->hdev; in qca_setup()
|
D | btmrvl_debugfs.c | 199 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()
|
D | hci_intel.c | 450 static int inject_cmd_complete(struct hci_dev *hdev, __u16 opcode) in inject_cmd_complete() 478 struct hci_dev *hdev = hu->hdev; in intel_set_baudrate() 543 struct hci_dev *hdev = hu->hdev; in intel_setup() 961 static int intel_recv_event(struct hci_dev *hdev, struct sk_buff *skb) in intel_recv_event() 1003 static void intel_recv_lpm_notify(struct hci_dev *hdev, int value) in intel_recv_lpm_notify() 1018 static int intel_recv_lpm(struct hci_dev *hdev, struct sk_buff *skb) in intel_recv_lpm()
|
D | hci_ath.c | 147 static int ath_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in ath_set_bdaddr()
|
D | hci_h4.c | 170 struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb, in h4_recv_buf()
|
D | hci_bcm.c | 84 struct hci_dev *hdev = hu->hdev; in bcm_set_baudrate() 252 static int bcm_set_diag(struct hci_dev *hdev, bool enable) in bcm_set_diag()
|
D | hci_ll.c | 348 static inline int ll_check_data_len(struct hci_dev *hdev, struct ll_struct *ll, int len) in ll_check_data_len()
|
D | btmrvl_sdio.c | 628 struct hci_dev *hdev = priv->btmrvl_dev.hcidev; in btmrvl_sdio_card_to_host() 1525 struct hci_dev *hcidev; in btmrvl_sdio_suspend() 1577 struct hci_dev *hcidev; in btmrvl_sdio_resume()
|
/linux-4.4.14/include/net/bluetooth/ |
D | hci_core.h | 194 struct hci_dev { struct 393 int (*open)(struct hci_dev *hdev); argument 394 int (*close)(struct hci_dev *hdev); argument 395 int (*flush)(struct hci_dev *hdev); argument 396 int (*setup)(struct hci_dev *hdev); argument 397 int (*shutdown)(struct hci_dev *hdev); argument 398 int (*send)(struct hci_dev *hdev, struct sk_buff *skb); argument 399 void (*notify)(struct hci_dev *hdev, unsigned int evt); argument 400 void (*hw_error)(struct hci_dev *hdev, u8 code); argument 401 int (*post_init)(struct hci_dev *hdev); argument [all …]
|
D | bluetooth.h | 293 struct hci_dev; 295 typedef void (*hci_req_complete_t)(struct hci_dev *hdev, u8 status, u16 opcode); 296 typedef void (*hci_req_complete_skb_t)(struct hci_dev *hdev, u8 status,
|
D | hci_sock.h | 39 unsigned short hci_dev; member
|
/linux-4.4.14/net/nfc/nci/ |
D | hci.c | 138 if (ndev->hci_dev->pipes[i].host == host) { in nci_hci_reset_pipes_per_host() 139 ndev->hci_dev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes_per_host() 140 ndev->hci_dev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes_per_host() 162 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data() 223 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event() 242 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd() 247 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_cmd() 282 nci_hci_reset_pipes(ndev->hci_dev); in nci_hci_clear_all_pipes() 297 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received() 321 ndev->hci_dev->gate2pipe[dest_gate] = new_pipe; in nci_hci_cmd_received() [all …]
|
D | rsp.c | 254 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()
|
D | core.c | 1078 ndev->hci_dev = nci_hci_allocate(ndev); in nci_allocate_device() 1079 if (!ndev->hci_dev) in nci_allocate_device()
|
D | ntf.c | 736 ndev->hci_dev->nfcee_id = nfcee_ntf->nfcee_id; in nci_nfcee_discover_ntf_packet()
|
/linux-4.4.14/net/bluetooth/ |
D | amp.h | 33 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, 61 void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle); 62 void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle);
|
D | hci_debugfs.c | 36 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 …]
|
D | hci_debugfs.h | 25 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()
|
D | hci_request.h | 24 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);
|
D | hci_core.c | 73 struct hci_dev *hdev = file->private_data; in dut_mode_read() 85 struct hci_dev *hdev = file->private_data; in dut_mode_write() 133 struct hci_dev *hdev = file->private_data; in vendor_diag_read() 145 struct hci_dev *hdev = file->private_data; in vendor_diag_write() 191 static void hci_debugfs_create_basic(struct hci_dev *hdev) in hci_debugfs_create_basic() 203 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete() 217 static void hci_req_cancel(struct hci_dev *hdev, int err) in hci_req_cancel() 228 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() 293 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() 301 static int __hci_req_sync(struct hci_dev *hdev, in __hci_req_sync() [all …]
|
D | hci_event.c | 44 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 …]
|
D | mgmt_util.h | 34 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,
|
D | hci_sysfs.c | 78 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()
|
D | mgmt.c | 243 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() 279 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data, in read_version() 293 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data, in read_commands() 345 static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data, in read_index_list() 349 struct hci_dev *d; in read_index_list() 405 static int read_unconf_index_list(struct sock *sk, struct hci_dev *hdev, in read_unconf_index_list() 409 struct hci_dev *d; in read_unconf_index_list() [all …]
|
D | hci_request.c | 30 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() 265 struct hci_dev *hdev = req->hdev; in hci_req_add_le_passive_scan() 315 struct hci_dev *hdev = req->hdev; in set_random_addr() 340 struct hci_dev *hdev = req->hdev; in hci_update_random_address() 425 static bool disconnected_whitelist_entries(struct hci_dev *hdev) in disconnected_whitelist_entries() 445 struct hci_dev *hdev = req->hdev; in __hci_update_page_scan() [all …]
|
D | hci_conn.c | 66 struct hci_dev *hdev = conn->hdev; in hci_connect_le_scan_cleanup() 116 struct hci_dev *hdev = conn->hdev; in hci_conn_cleanup() 141 struct hci_dev *hdev = conn->hdev; in le_scan_cleanup() 186 struct hci_dev *hdev = conn->hdev; in hci_acl_create_connection() 238 struct hci_dev *hdev = conn->hdev; in hci_disconnect() 251 struct hci_dev *hdev = conn->hdev; in hci_add_sco() 269 struct hci_dev *hdev = conn->hdev; in hci_setup_sync() 320 struct hci_dev *hdev = conn->hdev; in hci_le_conn_update() 356 struct hci_dev *hdev = conn->hdev; in hci_le_start_enc() 427 struct hci_dev *hdev = conn->hdev; in hci_conn_idle() [all …]
|
D | amp.c | 112 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() 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 …]
|
D | smp.h | 189 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], 191 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa); 192 int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16]); 194 int smp_register(struct hci_dev *hdev); 195 void smp_unregister(struct hci_dev *hdev);
|
D | a2mp.h | 156 void a2mp_send_getinfo_rsp(struct hci_dev *hdev); 157 void a2mp_send_getampassoc_rsp(struct hci_dev *hdev, u8 status); 158 void a2mp_send_create_phy_link_req(struct hci_dev *hdev, u8 status); 159 void a2mp_send_create_phy_link_rsp(struct hci_dev *hdev, u8 status);
|
D | mgmt_util.c | 30 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()
|
D | hci_sock.c | 49 struct hci_dev *hdev; 153 void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_to_sock() 254 void hci_send_to_monitor(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_to_monitor() 307 static struct sk_buff *create_monitor_event(struct hci_dev *hdev, int event) in create_monitor_event() 388 struct hci_dev *hdev; in send_monitor_replay() 429 static void hci_si_event(struct hci_dev *hdev, int type, int dlen, void *data) in hci_si_event() 455 void hci_sock_dev_event(struct hci_dev *hdev, int event) in hci_sock_dev_event() 554 struct hci_dev *hdev; in hci_sock_release() 597 static int hci_sock_blacklist_add(struct hci_dev *hdev, void __user *arg) in hci_sock_blacklist_add() 614 static int hci_sock_blacklist_del(struct hci_dev *hdev, void __user *arg) in hci_sock_blacklist_del() [all …]
|
D | a2mp.c | 101 struct hci_dev *hdev; in __a2mp_add_cl() 145 struct hci_dev *hdev; in a2mp_discover_req() 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() 370 struct hci_dev *hdev; in a2mp_getampassoc_req() 414 struct hci_dev *hdev; in a2mp_getampassoc_rsp() 476 struct hci_dev *hdev; in a2mp_createphyslink_req() 555 struct hci_dev *hdev; in a2mp_discphyslink_req() 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 …]
|
D | smp.c | 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() 667 struct hci_dev *hdev = hcon->hdev; in build_pairing_cmd() 739 struct hci_dev *hdev = conn->hcon->hdev; in check_enc_key_size() 1043 struct hci_dev *hdev = hcon->hdev; in smp_notify_keys() 1196 struct hci_dev *hdev = hcon->hdev; in sc_generate_ltk() 1222 struct hci_dev *hdev = hcon->hdev; in smp_distribute_keys() 1478 struct hci_dev *hdev = hcon->hdev; in sc_passkey_round() 1673 struct hci_dev *hdev = conn->hcon->hdev; in build_bredr_pairing_cmd() [all …]
|
D | sco.c | 105 struct hci_dev *hdev = hcon->hdev; in sco_conn_add() 217 struct hci_dev *hdev; in sco_connect() 730 struct hci_dev *hdev = conn->hdev; in sco_conn_defer_accept() 1083 int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags) in sco_connect_ind()
|
D | 6lowpan.c | 74 struct hci_dev *hdev; 1104 struct hci_dev *hdev; in get_l2cap_conn()
|
D | l2cap_core.c | 1129 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() 3892 struct hci_dev *hdev = conn->hcon->hdev; in l2cap_connect_req() 4448 struct hci_dev *hdev; in l2cap_create_channel_req() 4912 struct hci_dev *hdev; in l2cap_move_channel_req() 7041 struct hci_dev *hdev; in l2cap_chan_connect() 7202 int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr) in l2cap_connect_ind() 7269 struct hci_dev *hdev = hcon->hdev; in l2cap_connect_cfm()
|
/linux-4.4.14/drivers/usb/host/ |
D | ssb-hcd.c | 106 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 …]
|
D | bcma-hcd.c | 254 struct platform_device *hci_dev; in bcma_hcd_create_pdev() local 267 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in bcma_hcd_create_pdev() 269 if (!hci_dev) in bcma_hcd_create_pdev() 272 hci_dev->dev.parent = &dev->dev; in bcma_hcd_create_pdev() 273 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in bcma_hcd_create_pdev() 275 ret = platform_device_add_resources(hci_dev, hci_res, in bcma_hcd_create_pdev() 280 ret = platform_device_add_data(hci_dev, &ohci_pdata, in bcma_hcd_create_pdev() 283 ret = platform_device_add_data(hci_dev, &ehci_pdata, in bcma_hcd_create_pdev() 287 ret = platform_device_add(hci_dev); in bcma_hcd_create_pdev() 291 return hci_dev; in bcma_hcd_create_pdev() [all …]
|
/linux-4.4.14/drivers/nfc/st-nci/ |
D | se.c | 239 ndev->hci_dev->init_data.gates[j].pipe = pipe_info[2]; in st_nci_hci_load_session() 241 ndev->hci_dev->gate2pipe[st_nci_gates[j].gate] = in st_nci_hci_load_session() 243 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session() 245 ndev->hci_dev->pipes[pipe_info[2]].host = in st_nci_hci_load_session() 375 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_event_received() 376 u8 host = ndev->hci_dev->pipes[pipe].host; in st_nci_hci_event_received() 400 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_cmd_received() 407 ndev->hci_dev->pipes[pipe].host != ST_NCI_UICC_HOST_ID) in st_nci_hci_cmd_received() 408 ndev->hci_dev->count_pipes++; in st_nci_hci_cmd_received() 410 if (ndev->hci_dev->count_pipes == in st_nci_hci_cmd_received() [all …]
|
/linux-4.4.14/include/net/nfc/ |
D | nci_core.h | 204 struct nci_hci_dev *hci_dev; member
|
/linux-4.4.14/net/bluetooth/rfcomm/ |
D | tty.c | 178 struct hci_dev *hdev; in rfcomm_reparent_device()
|