/openbmc/linux/include/net/bluetooth/ |
H A D | hci_sync.h | 42 void hci_cmd_sync_init(struct hci_dev *hdev); 43 void hci_cmd_sync_clear(struct hci_dev *hdev); 52 int hci_update_eir_sync(struct hci_dev *hdev); 55 int hci_update_eir_sync(struct hci_dev *hdev); 57 int hci_update_name_sync(struct hci_dev *hdev); 99 int hci_update_scan(struct hci_dev *hdev); 108 int hci_reset_sync(struct hci_dev *hdev); 109 int hci_dev_open_sync(struct hci_dev *hdev); 110 int hci_dev_close_sync(struct hci_dev *hdev); 123 int hci_suspend_sync(struct hci_dev *hdev); [all …]
|
H A D | coredump.h | 11 typedef void (*coredump_t)(struct hci_dev *hdev); 12 typedef void (*dmp_hdr_t)(struct hci_dev *hdev, struct sk_buff *skb); 13 typedef void (*notify_change_t)(struct hci_dev *hdev, int state); 63 void hci_devcd_reset(struct hci_dev *hdev); 69 int hci_devcd_init(struct hci_dev *hdev, u32 dump_size); 70 int hci_devcd_append(struct hci_dev *hdev, struct sk_buff *skb); 72 int hci_devcd_complete(struct hci_dev *hdev); 73 int hci_devcd_abort(struct hci_dev *hdev); 77 static inline void hci_devcd_reset(struct hci_dev *hdev) {} in hci_devcd_reset() 104 static inline int hci_devcd_complete(struct hci_dev *hdev) in hci_devcd_complete() [all …]
|
H A D | hci_core.h | 345 struct hci_dev { struct 633 int (*open)(struct hci_dev *hdev); argument 634 int (*close)(struct hci_dev *hdev); argument 635 int (*flush)(struct hci_dev *hdev); argument 636 int (*setup)(struct hci_dev *hdev); argument 645 void (*reset)(struct hci_dev *hdev); argument 646 bool (*wakeup)(struct hci_dev *hdev); argument 745 struct hci_dev *hdev; 963 struct hci_dev *hdev = conn->hdev; in hci_conn_ssp_enabled() 970 struct hci_dev *hdev = conn->hdev; in hci_conn_sc_enabled() [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | msft.h | 15 bool msft_monitor_supported(struct hci_dev *hdev); 16 void msft_register(struct hci_dev *hdev); 17 void msft_release(struct hci_dev *hdev); 18 void msft_do_open(struct hci_dev *hdev); 19 void msft_do_close(struct hci_dev *hdev); 21 __u64 msft_get_features(struct hci_dev *hdev); 26 int msft_suspend_sync(struct hci_dev *hdev); 27 int msft_resume_sync(struct hci_dev *hdev); 28 bool msft_curve_validity(struct hci_dev *hdev); 38 static inline void msft_release(struct hci_dev *hdev) {} in msft_release() [all …]
|
H A D | aosp.h | 8 void aosp_do_open(struct hci_dev *hdev); 9 void aosp_do_close(struct hci_dev *hdev); 11 bool aosp_has_quality_report(struct hci_dev *hdev); 12 int aosp_set_quality_report(struct hci_dev *hdev, bool enable); 16 static inline void aosp_do_open(struct hci_dev *hdev) {} in aosp_do_open() 17 static inline void aosp_do_close(struct hci_dev *hdev) {} in aosp_do_close() 19 static inline bool aosp_has_quality_report(struct hci_dev *hdev) in aosp_has_quality_report() 24 static inline int aosp_set_quality_report(struct hci_dev *hdev, bool enable) in aosp_set_quality_report()
|
H A 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); 29 void hci_debugfs_create_basic(struct hci_dev *hdev); 33 static inline void hci_debugfs_create_common(struct hci_dev *hdev) in hci_debugfs_create_common() 37 static inline void hci_debugfs_create_bredr(struct hci_dev *hdev) in hci_debugfs_create_bredr() 41 static inline void hci_debugfs_create_le(struct hci_dev *hdev) in hci_debugfs_create_le() 49 static inline void hci_debugfs_create_basic(struct hci_dev *hdev) in hci_debugfs_create_basic()
|
H A D | hci_debugfs.c | 219 struct hci_dev *hdev = data; in conn_info_min_age_set() 235 struct hci_dev *hdev = data; in conn_info_min_age_get() 249 struct hci_dev *hdev = data; in conn_info_max_age_set() 265 struct hci_dev *hdev = data; in conn_info_max_age_get() 419 struct hci_dev *hdev = data; in voice_setting_get() 451 struct hci_dev *hdev = data; in auto_accept_delay_set() 462 struct hci_dev *hdev = data; in min_encrypt_key_size_set() 476 struct hci_dev *hdev = data; in min_encrypt_key_size_get() 491 struct hci_dev *hdev = data; in auto_accept_delay_get() 544 struct hci_dev *hdev = data; in idle_timeout_set() [all …]
|
H A D | hci_request.h | 37 struct hci_dev *hdev; 46 void hci_req_init(struct hci_request *req, struct hci_dev *hdev); 48 bool hci_req_status_pend(struct hci_dev *hdev); 51 void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, 57 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, 61 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, 64 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, 68 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, 74 void hci_request_setup(struct hci_dev *hdev); 75 void hci_request_cancel_all(struct hci_dev *hdev);
|
H A D | mgmt_util.h | 45 struct sk_buff *mgmt_alloc_skb(struct hci_dev *hdev, u16 opcode, 49 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel, 56 struct hci_dev *hdev); 59 struct hci_dev *hdev, 61 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, 65 struct hci_dev *hdev, 68 struct hci_dev *hdev, 72 void mgmt_mesh_foreach(struct hci_dev *hdev, 75 struct mgmt_mesh_tx *mgmt_mesh_find(struct hci_dev *hdev, u8 handle); 76 struct mgmt_mesh_tx *mgmt_mesh_next(struct hci_dev *hdev, struct sock *sk); [all …]
|
H A D | hci_sync.c | 90 struct hci_dev *hdev = req->hdev; in hci_cmd_sync_add() 119 struct hci_dev *hdev = req->hdev; in hci_cmd_sync_run() 285 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_sync_work); in hci_cmd_sync_work() 322 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_sync_cancel_work); in hci_cmd_sync_cancel_work() 345 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_disable() 422 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_restart() 497 struct hci_dev *hdev = container_of(work, struct hci_dev, in reenable_adv() 604 struct hci_dev *hdev = container_of(work, struct hci_dev, in adv_timeout_expire() 3346 int (*func)(struct hci_dev *hdev); 6024 struct hci_dev *hdev = conn->hdev; in conn_use_rpa() [all …]
|
H A D | coredump.c | 81 static void hci_devcd_notify(struct hci_dev *hdev, int state) in hci_devcd_notify() 88 void hci_devcd_reset(struct hci_dev *hdev) in hci_devcd_reset() 101 static void hci_devcd_free(struct hci_dev *hdev) in hci_devcd_free() 109 static int hci_devcd_alloc(struct hci_dev *hdev, u32 size) in hci_devcd_alloc() 262 static void hci_devcd_handle_pkt_abort(struct hci_dev *hdev, in hci_devcd_handle_pkt_abort() 314 struct hci_dev *hdev = container_of(work, struct hci_dev, dump.dump_rx); in hci_devcd_rx() 378 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_devcd_timeout() 427 static inline bool hci_devcd_enabled(struct hci_dev *hdev) in hci_devcd_enabled() 432 int hci_devcd_init(struct hci_dev *hdev, u32 dump_size) in hci_devcd_init() 497 int hci_devcd_complete(struct hci_dev *hdev) in hci_devcd_complete() [all …]
|
H A D | hci_core.c | 376 struct hci_dev *hdev; in hci_inquiry() 488 struct hci_dev *hdev; in hci_dev_open() 558 struct hci_dev *hdev; in hci_dev_close() 960 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); in hci_power_on() 1029 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_power_off() 1039 struct hci_dev *hdev = container_of(work, struct hci_dev, error_reset); in hci_error_reset() 1480 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_cmd_timeout() 1503 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_ncmd_timeout() 3747 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); in hci_tx_work() 3979 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); in hci_rx_work() [all …]
|
H A D | leds.h | 8 void hci_leds_update_powered(struct hci_dev *hdev, bool enabled); 9 void hci_leds_init(struct hci_dev *hdev); 16 static inline void hci_leds_update_powered(struct hci_dev *hdev, in hci_leds_update_powered() 18 static inline void hci_leds_init(struct hci_dev *hdev) {} in hci_leds_init()
|
H A D | hci_request.c | 55 struct hci_dev *hdev = req->hdev; in req_run() 244 struct hci_dev *hdev = req->hdev; in hci_req_add_ev() 332 struct hci_dev *hdev = req->hdev; in hci_req_add_le_scan_disable() 396 struct hci_dev *hdev = req->hdev; in add_to_accept_list() 454 struct hci_dev *hdev = req->hdev; in update_accept_list() 548 struct hci_dev *hdev = req->hdev; in hci_req_start_scan() 639 struct hci_dev *hdev = req->hdev; in hci_update_random_address() 730 struct hci_dev *hdev = req->hdev; in hci_req_add_le_passive_scan() 816 struct hci_dev *hdev = req->hdev; in hci_req_add_le_interleaved_scan() 846 struct hci_dev *hdev = container_of(work, struct hci_dev, in interleave_scan_work() [all …]
|
H A D | hci_event.c | 86 static u8 hci_cc_inquiry_cancel(struct hci_dev *hdev, void *data, in hci_cc_inquiry_cancel() 126 static u8 hci_cc_periodic_inq(struct hci_dev *hdev, void *data, in hci_cc_periodic_inq() 1690 static bool has_pending_adv_report(struct hci_dev *hdev) in has_pending_adv_report() 1697 static void clear_pending_adv_report(struct hci_dev *hdev) in clear_pending_adv_report() 2398 static int hci_outgoing_auth_needed(struct hci_dev *hdev, in hci_outgoing_auth_needed() 2420 static int hci_resolve_name(struct hci_dev *hdev, in hci_resolve_name() 2435 static bool hci_resolve_next_name(struct hci_dev *hdev) in hci_resolve_next_name() 4297 void (*func)(struct hci_dev *hdev, __u8 status); 5172 struct hci_dev *hdev = conn->hdev; in bredr_oob_data_present() 7266 void (*func)(struct hci_dev *hdev, void *data, [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | btintel.h | 175 int (*acpi_reset_method)(struct hci_dev *hdev); 206 int btintel_check_bdaddr(struct hci_dev *hdev); 207 int btintel_enter_mfg(struct hci_dev *hdev); 210 int btintel_set_diag(struct hci_dev *hdev, bool enable); 219 int btintel_read_boot_params(struct hci_dev *hdev, 226 void btintel_secure_send_result(struct hci_dev *hdev, 231 static inline int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr() 236 static inline int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg() 256 static inline int btintel_version_info(struct hci_dev *hdev, in btintel_version_info() 273 static inline int btintel_read_version(struct hci_dev *hdev, in btintel_read_version() [all …]
|
H A D | btbcm.h | 54 int btbcm_check_bdaddr(struct hci_dev *hdev); 55 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 57 int btbcm_read_pcm_int_params(struct hci_dev *hdev, 59 int btbcm_write_pcm_int_params(struct hci_dev *hdev, 62 int btbcm_setup_patchram(struct hci_dev *hdev); 63 int btbcm_setup_apple(struct hci_dev *hdev); 70 static inline int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr() 80 static inline int btbcm_read_pcm_int_params(struct hci_dev *hdev, in btbcm_read_pcm_int_params() 86 static inline int btbcm_write_pcm_int_params(struct hci_dev *hdev, in btbcm_write_pcm_int_params() 97 static inline int btbcm_setup_patchram(struct hci_dev *hdev) in btbcm_setup_patchram() [all …]
|
H A D | btmtk.h | 129 typedef int (*btmtk_reset_sync_func_t)(struct hci_dev *, void *); 144 typedef int (*wmt_cmd_sync_func_t)(struct hci_dev *, 149 int btmtk_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 151 int btmtk_setup_firmware_79xx(struct hci_dev *hdev, const char *fwname, 154 int btmtk_setup_firmware(struct hci_dev *hdev, const char *fwname, 157 void btmtk_reset_sync(struct hci_dev *hdev); 159 int btmtk_register_coredump(struct hci_dev *hdev, const char *name, 162 int btmtk_process_coredump(struct hci_dev *hdev, struct sk_buff *skb); 165 static inline int btmtk_set_bdaddr(struct hci_dev *hdev, in btmtk_set_bdaddr() 177 static int btmtk_setup_firmware(struct hci_dev *hdev, const char *fwname, in btmtk_setup_firmware() [all …]
|
H A D | btrtl.h | 137 struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, 140 int btrtl_download_firmware(struct hci_dev *hdev, 142 void btrtl_set_quirks(struct hci_dev *hdev, 144 int btrtl_setup_realtek(struct hci_dev *hdev); 145 int btrtl_shutdown_realtek(struct hci_dev *hdev); 146 int btrtl_get_uart_settings(struct hci_dev *hdev, 164 static inline int btrtl_download_firmware(struct hci_dev *hdev, in btrtl_download_firmware() 170 static inline void btrtl_set_quirks(struct hci_dev *hdev, in btrtl_set_quirks() 175 static inline int btrtl_setup_realtek(struct hci_dev *hdev) in btrtl_setup_realtek() 180 static inline int btrtl_shutdown_realtek(struct hci_dev *hdev) in btrtl_shutdown_realtek() [all …]
|
H A D | btqca.h | 161 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr); 162 int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, 165 int qca_read_soc_version(struct hci_dev *hdev, struct qca_btsoc_version *ver, 167 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 168 int qca_send_pre_shutdown_cmd(struct hci_dev *hdev); 171 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() 176 static inline int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, in qca_uart_setup() 184 static inline int qca_read_soc_version(struct hci_dev *hdev, in qca_read_soc_version() 191 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() 196 static inline int qca_send_pre_shutdown_cmd(struct hci_dev *hdev) in qca_send_pre_shutdown_cmd()
|
H A D | btrsi.c | 30 struct hci_dev *hdev; 33 static int rsi_hci_open(struct hci_dev *hdev) in rsi_hci_open() 38 static int rsi_hci_close(struct hci_dev *hdev) in rsi_hci_close() 43 static int rsi_hci_flush(struct hci_dev *hdev) in rsi_hci_flush() 48 static int rsi_hci_send_pkt(struct hci_dev *hdev, struct sk_buff *skb) in rsi_hci_send_pkt() 92 struct hci_dev *hdev = h_adapter->hdev; in rsi_hci_recv_pkt() 112 struct hci_dev *hdev; in rsi_hci_attach() 159 struct hci_dev *hdev; in rsi_hci_detach()
|
H A D | btbcm.c | 40 static int btbcm_set_bdaddr_from_efi(struct hci_dev *hdev) in btbcm_set_bdaddr_from_efi() 70 static int btbcm_set_bdaddr_from_efi(struct hci_dev *hdev) in btbcm_set_bdaddr_from_efi() 76 int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr() 164 int btbcm_read_pcm_int_params(struct hci_dev *hdev, in btbcm_read_pcm_int_params() 192 int btbcm_write_pcm_int_params(struct hci_dev *hdev, in btbcm_write_pcm_int_params() 273 static int btbcm_reset(struct hci_dev *hdev) in btbcm_reset() 440 static int btbcm_read_info(struct hci_dev *hdev) in btbcm_read_info() 455 static int btbcm_print_controller_features(struct hci_dev *hdev) in btbcm_print_controller_features() 474 static int btbcm_print_local_name(struct hci_dev *hdev) in btbcm_print_local_name() 720 int btbcm_setup_patchram(struct hci_dev *hdev) in btbcm_setup_patchram() [all …]
|
/openbmc/linux/net/nfc/nci/ |
H A D | hci.c | 151 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data() 234 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_cmd() 269 nci_hci_reset_pipes(ndev->hci_dev); in nci_hci_clear_all_pipes() 314 ndev->hci_dev->pipes[new_pipe].host = in nci_hci_cmd_received() 369 conn_info = ndev->hci_dev->conn_info; in nci_hci_resp_received() 503 conn_info = ndev->hci_dev->conn_info; in nci_hci_open_pipe() 569 conn_info = ndev->hci_dev->conn_info; in nci_hci_set_param() 717 ndev->hci_dev->count_pipes = 0; in nci_hci_dev_session_init() 718 ndev->hci_dev->expected_pipes = 0; in nci_hci_dev_session_init() 727 nci_hci_reset_pipes(ndev->hci_dev); in nci_hci_dev_session_init() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ssb-hcd.c | 105 struct platform_device *hci_dev; in ssb_hcd_create_pdev() local 118 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in ssb_hcd_create_pdev() 120 if (!hci_dev) in ssb_hcd_create_pdev() 123 hci_dev->dev.parent = dev->dev; in ssb_hcd_create_pdev() 124 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in ssb_hcd_create_pdev() 126 ret = platform_device_add_resources(hci_dev, hci_res, in ssb_hcd_create_pdev() 131 ret = platform_device_add_data(hci_dev, &ohci_pdata, in ssb_hcd_create_pdev() 134 ret = platform_device_add_data(hci_dev, &ehci_pdata, in ssb_hcd_create_pdev() 138 ret = platform_device_add(hci_dev); in ssb_hcd_create_pdev() 142 return hci_dev; in ssb_hcd_create_pdev() [all …]
|
/openbmc/linux/drivers/nfc/st-nci/ |
H A D | se.c | 230 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session() 385 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_event_received() 386 u8 host = ndev->hci_dev->pipes[pipe].host; in st_nci_hci_event_received() 414 ndev->hci_dev->count_pipes++; in st_nci_hci_cmd_received() 416 if (ndev->hci_dev->count_pipes == in st_nci_hci_cmd_received() 417 ndev->hci_dev->expected_pipes) { in st_nci_hci_cmd_received() 420 ndev->hci_dev->count_pipes = 0; in st_nci_hci_cmd_received() 438 ndev->hci_dev->count_pipes = 0; in st_nci_control_se() 442 ndev->hci_dev->count_pipes = 0; in st_nci_control_se() 561 spec_params.id = ndev->hci_dev->nfcee_id; in st_nci_hci_network_init() [all …]
|