Home
last modified time | relevance | path

Searched refs:hdev (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/linux/drivers/accel/habanalabs/common/
H A Ddevice.c51 static u64 hl_set_dram_bar(struct hl_device *hdev, u64 addr, struct pci_mem_region *region, in hl_set_dram_bar() argument
54 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_set_dram_bar()
64 old_base = hdev->asic_funcs->set_dram_bar_base(hdev, bar_base_addr); in hl_set_dram_bar()
73 int hl_access_sram_dram_region(struct hl_device *hdev, u64 addr, u64 *val, in hl_access_sram_dram_region() argument
76 struct pci_mem_region *region = &hdev->pci_mem_region[region_type]; in hl_access_sram_dram_region()
81 old_base = hl_set_dram_bar(hdev, addr, region, &bar_region_base); in hl_access_sram_dram_region()
86 acc_addr = hdev->pcie_bar[region->bar_id] + region->offset_in_bar + in hl_access_sram_dram_region()
111 rc = hl_set_dram_bar(hdev, old_base, region, NULL); in hl_access_sram_dram_region()
119 static void *hl_dma_alloc_common(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle, in hl_dma_alloc_common() argument
127 ptr = hdev->asic_funcs->asic_dma_alloc_coherent(hdev, size, dma_handle, flag); in hl_dma_alloc_common()
[all …]
H A Dhabanalabs_drv.c120 static enum hl_asic_type get_asic_type(struct hl_device *hdev) in get_asic_type() argument
122 struct pci_dev *pdev = hdev->pdev; in get_asic_type()
179 struct hl_device *hdev = to_hl_device(ddev); in hl_device_open() local
188 hpriv->hdev = hdev; in hl_device_open()
195 hl_mem_mgr_init(hpriv->hdev->dev, &hpriv->mem_mgr); in hl_device_open()
199 mutex_lock(&hdev->fpriv_list_lock); in hl_device_open()
201 if (!hl_device_operational(hdev, &status)) { in hl_device_open()
202 dev_dbg_ratelimited(hdev->dev, in hl_device_open()
204 dev_name(hdev->dev), hdev->status[status]); in hl_device_open()
215 if (hdev->is_in_dram_scrub) { in hl_device_open()
[all …]
H A Dfirmware_if.c55 int hl_fw_version_cmp(struct hl_device *hdev, u32 major, u32 minor, u32 subminor) in hl_fw_version_cmp() argument
57 if (hdev->fw_sw_major_ver != major) in hl_fw_version_cmp()
58 return (hdev->fw_sw_major_ver > major) ? 1 : -1; in hl_fw_version_cmp()
60 if (hdev->fw_sw_minor_ver != minor) in hl_fw_version_cmp()
61 return (hdev->fw_sw_minor_ver > minor) ? 1 : -1; in hl_fw_version_cmp()
63 if (hdev->fw_sw_sub_minor_ver != subminor) in hl_fw_version_cmp()
64 return (hdev->fw_sw_sub_minor_ver > subminor) ? 1 : -1; in hl_fw_version_cmp()
137 static int hl_get_sw_major_minor_subminor(struct hl_device *hdev, const char *fw_str) in hl_get_sw_major_minor_subminor() argument
164 start = extract_u32_until_given_char(start, &hdev->fw_sw_major_ver, '.'); in hl_get_sw_major_minor_subminor()
169 start = extract_u32_until_given_char(start, &hdev->fw_sw_minor_ver, '.'); in hl_get_sw_major_minor_subminor()
[all …]
H A Dhw_queue.c43 struct hl_device *hdev = cs->ctx->hdev; in hl_hw_queue_update_ci() local
47 if (hdev->disabled) in hl_hw_queue_update_ci()
50 q = &hdev->kernel_queues[0]; in hl_hw_queue_update_ci()
53 if (!hdev->asic_prop.max_queues || q->queue_type == QUEUE_TYPE_HW) in hl_hw_queue_update_ci()
61 for (i = 0 ; i < hdev->asic_prop.max_queues ; i++, q++) { in hl_hw_queue_update_ci()
83 void hl_hw_queue_submit_bd(struct hl_device *hdev, struct hl_hw_queue *q, in hl_hw_queue_submit_bd() argument
100 hdev->asic_funcs->access_dev_mem(hdev, PCI_REGION_DRAM, addr, in hl_hw_queue_submit_bd()
106 hdev->asic_funcs->ring_doorbell(hdev, q->hw_queue_id, q->pi); in hl_hw_queue_submit_bd()
127 static int ext_queue_sanity_checks(struct hl_device *hdev, in ext_queue_sanity_checks() argument
132 &hdev->completion_queue[q->cq_id].free_slots_cnt; in ext_queue_sanity_checks()
[all …]
H A Dcommand_buffer.c19 struct hl_device *hdev = ctx->hdev; in cb_map_mem() local
20 struct asic_fixed_properties *prop = &hdev->asic_prop; in cb_map_mem()
24 if (!hdev->supports_cb_mapping) { in cb_map_mem()
25 dev_err_ratelimited(hdev->dev, in cb_map_mem()
37 dev_err(hdev->dev, "Failed to allocate device virtual address for CB\n"); in cb_map_mem()
41 mutex_lock(&hdev->mmu_lock); in cb_map_mem()
45 dev_err(hdev->dev, "Failed to map VA %#llx to CB\n", cb->virtual_addr); in cb_map_mem()
49 rc = hl_mmu_invalidate_cache(hdev, false, MMU_OP_USERPTR | MMU_OP_SKIP_LOW_CACHE_INV); in cb_map_mem()
53 mutex_unlock(&hdev->mmu_lock); in cb_map_mem()
62 mutex_unlock(&hdev->mmu_lock); in cb_map_mem()
[all …]
/linux/net/bluetooth/
H A Dhci_debugfs.c35 struct hci_dev *hdev = file->private_data; \
38 buf[0] = test_bit(__quirk, hdev->quirk_flags) ? 'Y' : 'N'; \
48 struct hci_dev *hdev = file->private_data; \
52 if (test_bit(HCI_UP, &hdev->flags)) \
59 if (enable == test_bit(__quirk, hdev->quirk_flags)) \
62 change_bit(__quirk, hdev->quirk_flags); \
78 struct hci_dev *hdev = f->private; \
80 hci_dev_lock(hdev); \
81 seq_printf(f, "%s\n", hdev->__field ? : ""); \
82 hci_dev_unlock(hdev); \
90 struct hci_dev *hdev = f->private; features_show() local
107 struct hci_dev *hdev = f->private; device_id_show() local
121 struct hci_dev *hdev = f->private; device_list_show() local
141 struct hci_dev *hdev = f->private; blacklist_show() local
156 struct hci_dev *hdev = f->private; blocked_keys_show() local
171 struct hci_dev *hdev = f->private; uuids_show() local
196 struct hci_dev *hdev = f->private; remote_oob_show() local
215 struct hci_dev *hdev = data; conn_info_min_age_set() local
231 struct hci_dev *hdev = data; conn_info_min_age_get() local
245 struct hci_dev *hdev = data; conn_info_max_age_set() local
261 struct hci_dev *hdev = data; conn_info_max_age_get() local
276 struct hci_dev *hdev = file->private_data; use_debug_keys_read() local
294 struct hci_dev *hdev = file->private_data; sc_only_mode_read() local
312 hci_debugfs_create_common(struct hci_dev * hdev) hci_debugfs_create_common() argument
359 struct hci_dev *hdev = f->private; inquiry_cache_show() local
385 struct hci_dev *hdev = f->private; link_keys_show() local
401 struct hci_dev *hdev = f->private; dev_class_show() local
415 struct hci_dev *hdev = data; voice_setting_get() local
430 struct hci_dev *hdev = file->private_data; ssp_debug_mode_read() local
447 struct hci_dev *hdev = data; auto_accept_delay_set() local
458 struct hci_dev *hdev = data; min_encrypt_key_size_set() local
472 struct hci_dev *hdev = data; min_encrypt_key_size_get() local
487 struct hci_dev *hdev = data; auto_accept_delay_get() local
503 struct hci_dev *hdev = file->private_data; force_bredr_smp_read() local
516 struct hci_dev *hdev = file->private_data; force_bredr_smp_write() local
540 struct hci_dev *hdev = data; idle_timeout_set() local
554 struct hci_dev *hdev = data; idle_timeout_get() local
568 struct hci_dev *hdev = data; sniff_min_interval_set() local
584 struct hci_dev *hdev = data; sniff_min_interval_get() local
598 struct hci_dev *hdev = data; sniff_max_interval_set() local
614 struct hci_dev *hdev = data; sniff_max_interval_get() local
626 hci_debugfs_create_bredr(struct hci_dev * hdev) hci_debugfs_create_bredr() argument
669 struct hci_dev *hdev = f->private; identity_show() local
689 struct hci_dev *hdev = data; rpa_timeout_set() local
706 struct hci_dev *hdev = data; rpa_timeout_get() local
720 struct hci_dev *hdev = f->private; random_address_show() local
733 struct hci_dev *hdev = f->private; static_address_show() local
748 struct hci_dev *hdev = file->private_data; force_static_address_read() local
761 struct hci_dev *hdev = file->private_data; force_static_address_write() local
789 struct hci_dev *hdev = f->private; white_list_show() local
804 struct hci_dev *hdev = f->private; resolv_list_show() local
819 struct hci_dev *hdev = f->private; identity_resolving_keys_show() local
837 struct hci_dev *hdev = f->private; long_term_keys_show() local
855 struct hci_dev *hdev = data; conn_min_interval_set() local
871 struct hci_dev *hdev = data; conn_min_interval_get() local
885 struct hci_dev *hdev = data; conn_max_interval_set() local
901 struct hci_dev *hdev = data; conn_max_interval_get() local
915 struct hci_dev *hdev = data; conn_latency_set() local
929 struct hci_dev *hdev = data; conn_latency_get() local
943 struct hci_dev *hdev = data; supervision_timeout_set() local
957 struct hci_dev *hdev = data; supervision_timeout_get() local
971 struct hci_dev *hdev = data; adv_channel_map_set() local
985 struct hci_dev *hdev = data; adv_channel_map_get() local
999 struct hci_dev *hdev = data; adv_min_interval_set() local
1015 struct hci_dev *hdev = data; adv_min_interval_get() local
1029 struct hci_dev *hdev = data; adv_max_interval_set() local
1045 struct hci_dev *hdev = data; adv_max_interval_get() local
1059 struct hci_dev *hdev = data; min_key_size_set() local
1075 struct hci_dev *hdev = data; min_key_size_get() local
1089 struct hci_dev *hdev = data; max_key_size_set() local
1105 struct hci_dev *hdev = data; max_key_size_get() local
1119 struct hci_dev *hdev = data; auth_payload_timeout_set() local
1133 struct hci_dev *hdev = data; auth_payload_timeout_get() local
1150 struct hci_dev *hdev = file->private_data; force_no_mitm_read() local
1163 struct hci_dev *hdev = file->private_data; force_no_mitm_write() local
1191 hci_debugfs_create_le(struct hci_dev * hdev) hci_debugfs_create_le() argument
1258 struct hci_dev *hdev = conn->hdev; hci_debugfs_create_conn() local
1271 struct hci_dev *hdev = file->private_data; dut_mode_read() local
1283 struct hci_dev *hdev = file->private_data; dut_mode_write() local
1327 struct hci_dev *hdev = file->private_data; vendor_diag_read() local
1339 struct hci_dev *hdev = file->private_data; vendor_diag_write() local
1380 hci_debugfs_create_basic(struct hci_dev * hdev) hci_debugfs_create_basic() argument
[all...]
H A Dhci_sync.c23 static void hci_cmd_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_cmd_sync_complete() argument
26 bt_dev_dbg(hdev, "result 0x%2.2x", result); in hci_cmd_sync_complete()
28 if (READ_ONCE(hdev->req_status) != HCI_REQ_PEND) in hci_cmd_sync_complete()
31 hdev->req_result = result; in hci_cmd_sync_complete()
32 WRITE_ONCE(hdev->req_status, HCI_REQ_DONE); in hci_cmd_sync_complete()
38 hci_dev_lock(hdev); in hci_cmd_sync_complete()
39 if (hdev->req_skb) { in hci_cmd_sync_complete()
40 struct sock *sk = hci_skb_sk(hdev->req_skb); in hci_cmd_sync_complete()
45 kfree_skb(hdev->req_skb); in hci_cmd_sync_complete()
46 hdev in hci_cmd_sync_complete()
53 hci_cmd_sync_alloc(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param,struct sock * sk) hci_cmd_sync_alloc() argument
90 struct hci_dev *hdev = req->hdev; hci_cmd_sync_add() local
119 struct hci_dev *hdev = req->hdev; hci_req_sync_run() local
150 hci_request_init(struct hci_request * req,struct hci_dev * hdev) hci_request_init() argument
158 __hci_cmd_sync_sk(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param,u8 event,u32 timeout,struct sock * sk) __hci_cmd_sync_sk() argument
222 __hci_cmd_sync(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param,u32 timeout) __hci_cmd_sync() argument
230 hci_cmd_sync(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param,u32 timeout) hci_cmd_sync() argument
249 __hci_cmd_sync_ev(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param,u8 event,u32 timeout) __hci_cmd_sync_ev() argument
258 __hci_cmd_sync_status_sk(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param,u8 event,u32 timeout,struct sock * sk) __hci_cmd_sync_status_sk() argument
286 __hci_cmd_sync_status(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param,u32 timeout) __hci_cmd_sync_status() argument
294 hci_cmd_sync_status(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param,u32 timeout) hci_cmd_sync_status() argument
309 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_sync_work); hci_cmd_sync_work() local
350 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_sync_cancel_work); hci_cmd_sync_cancel_work() local
360 scan_disable_sync(struct hci_dev * hdev,void * data) scan_disable_sync() argument
365 interleaved_inquiry_sync(struct hci_dev * hdev,void * data) interleaved_inquiry_sync() argument
372 struct hci_dev *hdev = container_of(work, struct hci_dev, le_scan_disable() local
428 reenable_adv_sync(struct hci_dev * hdev,void * data) reenable_adv_sync() argument
455 struct hci_dev *hdev = container_of(work, struct hci_dev, reenable_adv() local
470 cancel_adv_timeout(struct hci_dev * hdev) cancel_adv_timeout() argument
489 hci_clear_adv_instance_sync(struct hci_dev * hdev,struct sock * sk,u8 instance,bool force) hci_clear_adv_instance_sync() argument
545 adv_timeout_expire_sync(struct hci_dev * hdev,void * data) adv_timeout_expire_sync() argument
557 adv_timeout_expire_destroy(struct hci_dev * hdev,void * data,int err) adv_timeout_expire_destroy() argument
566 struct hci_dev *hdev = container_of(work, struct hci_dev, adv_timeout_expire() local
591 is_interleave_scanning(struct hci_dev * hdev) is_interleave_scanning() argument
600 struct hci_dev *hdev = container_of(work, struct hci_dev, interleave_scan_work() local
638 hci_cmd_sync_init(struct hci_dev * hdev) hci_cmd_sync_init() argument
652 _hci_cmd_sync_cancel_entry(struct hci_dev * hdev,struct hci_cmd_sync_work_entry * entry,int err) _hci_cmd_sync_cancel_entry() argument
663 hci_cmd_sync_clear(struct hci_dev * hdev) hci_cmd_sync_clear() argument
678 hci_cmd_sync_cancel(struct hci_dev * hdev,int err) hci_cmd_sync_cancel() argument
696 hci_cmd_sync_cancel_sync(struct hci_dev * hdev,int err) hci_cmd_sync_cancel_sync() argument
716 hci_cmd_sync_submit(struct hci_dev * hdev,hci_cmd_sync_work_func_t func,void * data,hci_cmd_sync_work_destroy_t destroy) hci_cmd_sync_submit() argument
753 hci_cmd_sync_queue(struct hci_dev * hdev,hci_cmd_sync_work_func_t func,void * data,hci_cmd_sync_work_destroy_t destroy) hci_cmd_sync_queue() argument
767 _hci_cmd_sync_lookup_entry(struct hci_dev * hdev,hci_cmd_sync_work_func_t func,void * data,hci_cmd_sync_work_destroy_t destroy) _hci_cmd_sync_lookup_entry() argument
793 hci_cmd_sync_queue_once(struct hci_dev * hdev,hci_cmd_sync_work_func_t func,void * data,hci_cmd_sync_work_destroy_t destroy) hci_cmd_sync_queue_once() argument
808 hci_cmd_sync_run(struct hci_dev * hdev,hci_cmd_sync_work_func_t func,void * data,hci_cmd_sync_work_destroy_t destroy) hci_cmd_sync_run() argument
838 hci_cmd_sync_run_once(struct hci_dev * hdev,hci_cmd_sync_work_func_t func,void * data,hci_cmd_sync_work_destroy_t destroy) hci_cmd_sync_run_once() argument
854 hci_cmd_sync_lookup_entry(struct hci_dev * hdev,hci_cmd_sync_work_func_t func,void * data,hci_cmd_sync_work_destroy_t destroy) hci_cmd_sync_lookup_entry() argument
868 hci_cmd_sync_cancel_entry(struct hci_dev * hdev,struct hci_cmd_sync_work_entry * entry) hci_cmd_sync_cancel_entry() argument
882 hci_cmd_sync_dequeue(struct hci_dev * hdev,hci_cmd_sync_work_func_t func,void * data,hci_cmd_sync_work_destroy_t destroy) hci_cmd_sync_dequeue() argument
900 hci_update_eir_sync(struct hci_dev * hdev) hci_update_eir_sync() argument
935 get_service_classes(struct hci_dev * hdev) get_service_classes() argument
946 hci_update_class_sync(struct hci_dev * hdev) hci_update_class_sync() argument
980 is_advertising_allowed(struct hci_dev * hdev,bool connectable) is_advertising_allowed() argument
1019 adv_use_rpa(struct hci_dev * hdev,uint32_t flags) adv_use_rpa() argument
1042 hci_set_random_addr_sync(struct hci_dev * hdev,bdaddr_t * rpa) hci_set_random_addr_sync() argument
1071 hci_update_random_address_sync(struct hci_dev * hdev,bool require_privacy,bool rpa,u8 * own_addr_type) hci_update_random_address_sync() argument
1161 hci_disable_ext_adv_legacy_instance_sync(struct hci_dev * hdev) hci_disable_ext_adv_legacy_instance_sync() argument
1187 hci_disable_ext_adv_instance_sync(struct hci_dev * hdev,u8 instance) hci_disable_ext_adv_instance_sync() argument
1223 hci_set_adv_set_random_addr_sync(struct hci_dev * hdev,u8 instance,bdaddr_t * random_addr) hci_set_adv_set_random_addr_sync() argument
1250 hci_set_ext_adv_params_sync(struct hci_dev * hdev,u8 instance,const struct hci_cp_le_set_ext_adv_params * cp,struct hci_rp_le_set_ext_adv_params * rp) hci_set_ext_adv_params_sync() argument
1297 hci_set_ext_adv_data_sync(struct hci_dev * hdev,u8 instance) hci_set_ext_adv_data_sync() argument
1352 hci_set_adv_data_sync(struct hci_dev * hdev,u8 instance) hci_set_adv_data_sync() argument
1375 hci_update_adv_data_sync(struct hci_dev * hdev,u8 instance) hci_update_adv_data_sync() argument
1386 hci_setup_ext_adv_instance_sync(struct hci_dev * hdev,u8 instance) hci_setup_ext_adv_instance_sync() argument
1547 hci_set_ext_scan_rsp_data_sync(struct hci_dev * hdev,u8 instance) hci_set_ext_scan_rsp_data_sync() argument
1601 __hci_set_scan_rsp_data_sync(struct hci_dev * hdev,u8 instance) __hci_set_scan_rsp_data_sync() argument
1630 hci_update_scan_rsp_data_sync(struct hci_dev * hdev,u8 instance) hci_update_scan_rsp_data_sync() argument
1641 hci_enable_ext_advertising_sync(struct hci_dev * hdev,u8 instance) hci_enable_ext_advertising_sync() argument
1687 hci_start_ext_adv_sync(struct hci_dev * hdev,u8 instance) hci_start_ext_adv_sync() argument
1702 hci_disable_per_advertising_sync(struct hci_dev * hdev,u8 instance) hci_disable_per_advertising_sync() argument
1721 hci_set_per_adv_params_sync(struct hci_dev * hdev,u8 instance,u16 min_interval,u16 max_interval) hci_set_per_adv_params_sync() argument
1743 hci_set_per_adv_data_sync(struct hci_dev * hdev,u8 instance) hci_set_per_adv_data_sync() argument
1775 hci_enable_per_advertising_sync(struct hci_dev * hdev,u8 instance) hci_enable_per_advertising_sync() argument
1797 hci_adv_bcast_annoucement(struct hci_dev * hdev,struct adv_info * adv) hci_adv_bcast_annoucement() argument
1840 hci_start_per_adv_sync(struct hci_dev * hdev,u8 instance,u8 sid,u8 data_len,u8 * data,u32 flags,u16 min_interval,u16 max_interval,u16 sync_interval) hci_start_per_adv_sync() argument
1915 hci_start_adv_sync(struct hci_dev * hdev,u8 instance) hci_start_adv_sync() argument
1933 hci_enable_advertising_sync(struct hci_dev * hdev) hci_enable_advertising_sync() argument
2019 enable_advertising_sync(struct hci_dev * hdev,void * data) enable_advertising_sync() argument
2024 hci_enable_advertising(struct hci_dev * hdev) hci_enable_advertising() argument
2033 hci_remove_ext_adv_instance_sync(struct hci_dev * hdev,u8 instance,struct sock * sk) hci_remove_ext_adv_instance_sync() argument
2054 hci_le_terminate_big_sync(struct hci_dev * hdev,u8 handle,u8 reason) hci_le_terminate_big_sync() argument
2066 hci_schedule_adv_instance_sync(struct hci_dev * hdev,u8 instance,bool force) hci_schedule_adv_instance_sync() argument
2122 hci_clear_adv_sets_sync(struct hci_dev * hdev,struct sock * sk) hci_clear_adv_sets_sync() argument
2138 hci_clear_adv_sync(struct hci_dev * hdev,struct sock * sk,bool force) hci_clear_adv_sync() argument
2169 hci_remove_adv_sync(struct hci_dev * hdev,u8 instance,struct sock * sk) hci_remove_adv_sync() argument
2203 hci_remove_advertising_sync(struct hci_dev * hdev,struct sock * sk,u8 instance,bool force) hci_remove_advertising_sync() argument
2247 hci_read_rssi_sync(struct hci_dev * hdev,__le16 handle) hci_read_rssi_sync() argument
2256 hci_read_clock_sync(struct hci_dev * hdev,struct hci_cp_read_clock * cp) hci_read_clock_sync() argument
2262 hci_read_tx_power_sync(struct hci_dev * hdev,__le16 handle,u8 type) hci_read_tx_power_sync() argument
2272 hci_disable_advertising_sync(struct hci_dev * hdev) hci_disable_advertising_sync() argument
2287 hci_le_set_ext_scan_enable_sync(struct hci_dev * hdev,u8 val,u8 filter_dup) hci_le_set_ext_scan_enable_sync() argument
2304 hci_le_set_scan_enable_sync(struct hci_dev * hdev,u8 val,u8 filter_dup) hci_le_set_scan_enable_sync() argument
2324 hci_le_set_addr_resolution_enable_sync(struct hci_dev * hdev,u8 val) hci_le_set_addr_resolution_enable_sync() argument
2337 hci_scan_disable_sync(struct hci_dev * hdev) hci_scan_disable_sync() argument
2359 scan_use_rpa(struct hci_dev * hdev) scan_use_rpa() argument
2364 hci_start_interleave_scan(struct hci_dev * hdev) hci_start_interleave_scan() argument
2371 cancel_interleave_scan(struct hci_dev * hdev) cancel_interleave_scan() argument
2383 hci_update_interleaved_scan_sync(struct hci_dev * hdev) hci_update_interleaved_scan_sync() argument
2412 hci_le_del_resolve_list_sync(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type) hci_le_del_resolve_list_sync() argument
2434 hci_le_del_accept_list_sync(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type) hci_le_del_accept_list_sync() argument
2475 hci_le_add_resolve_list_sync(struct hci_dev * hdev,struct conn_params * params) hci_le_add_resolve_list_sync() argument
2538 hci_le_set_privacy_mode_sync(struct hci_dev * hdev,struct conn_params * params) hci_le_set_privacy_mode_sync() argument
2578 hci_le_add_accept_list_sync(struct hci_dev * hdev,struct conn_params * params,u8 * num_entries) hci_le_add_accept_list_sync() argument
2639 hci_pause_advertising_sync(struct hci_dev * hdev) hci_pause_advertising_sync() argument
2687 hci_resume_advertising_sync(struct hci_dev * hdev) hci_resume_advertising_sync() argument
2737 hci_pause_addr_resolution(struct hci_dev * hdev) hci_pause_addr_resolution() argument
2781 hci_read_local_oob_data_sync(struct hci_dev * hdev,bool extended,struct sock * sk) hci_read_local_oob_data_sync() argument
2837 hci_le_clear_accept_list_sync(struct hci_dev * hdev) hci_le_clear_accept_list_sync() argument
2863 hci_update_accept_list_sync(struct hci_dev * hdev) hci_update_accept_list_sync() argument
3047 hci_le_set_ext_scan_param_sync(struct hci_dev * hdev,u8 type,u16 interval,u16 window,u8 own_addr_type,u8 filter_policy) hci_le_set_ext_scan_param_sync() argument
3139 hci_le_set_scan_param_sync(struct hci_dev * hdev,u8 type,u16 interval,u16 window,u8 own_addr_type,u8 filter_policy) hci_le_set_scan_param_sync() argument
3161 hci_start_scan_sync(struct hci_dev * hdev,u8 type,u16 interval,u16 window,u8 own_addr_type,u8 filter_policy,u8 filter_dup) hci_start_scan_sync() argument
3180 hci_passive_scan_sync(struct hci_dev * hdev) hci_passive_scan_sync() argument
3310 hci_update_passive_scan_sync(struct hci_dev * hdev) hci_update_passive_scan_sync() argument
3385 update_scan_sync(struct hci_dev * hdev,void * data) update_scan_sync() argument
3390 hci_update_scan(struct hci_dev * hdev) hci_update_scan() argument
3395 update_passive_scan_sync(struct hci_dev * hdev,void * data) update_passive_scan_sync() argument
3400 hci_update_passive_scan(struct hci_dev * hdev) hci_update_passive_scan() argument
3418 hci_write_sc_support_sync(struct hci_dev * hdev,u8 val) hci_write_sc_support_sync() argument
3441 hci_write_ssp_mode_sync(struct hci_dev * hdev,u8 mode) hci_write_ssp_mode_sync() argument
3462 hci_write_le_host_supported_sync(struct hci_dev * hdev,u8 le,u8 simul) hci_write_le_host_supported_sync() argument
3486 hci_powered_update_adv_sync(struct hci_dev * hdev) hci_powered_update_adv_sync() argument
3531 hci_write_auth_enable_sync(struct hci_dev * hdev) hci_write_auth_enable_sync() argument
3544 hci_write_fast_connectable_sync(struct hci_dev * hdev,bool enable) hci_write_fast_connectable_sync() argument
3588 disconnected_accept_list_entries(struct hci_dev * hdev) disconnected_accept_list_entries() argument
3607 hci_write_scan_enable_sync(struct hci_dev * hdev,u8 val) hci_write_scan_enable_sync() argument
3614 hci_update_scan_sync(struct hci_dev * hdev) hci_update_scan_sync() argument
3650 hci_update_name_sync(struct hci_dev * hdev,const u8 * name) hci_update_name_sync() argument
3675 hci_powered_update_sync(struct hci_dev * hdev) hci_powered_update_sync() argument
3745 hci_dev_get_bd_addr_from_property(struct hci_dev * hdev) hci_dev_get_bd_addr_from_property() argument
3767 hci_init_stage_sync(struct hci_dev * hdev,const struct hci_init_stage * stage) hci_init_stage_sync() argument
3784 hci_read_local_version_sync(struct hci_dev * hdev) hci_read_local_version_sync() argument
3791 hci_read_bd_addr_sync(struct hci_dev * hdev) hci_read_bd_addr_sync() argument
3810 hci_reset_sync(struct hci_dev * hdev) hci_reset_sync() argument
3819 __hci_reset_sync(struct hci_dev * hdev) __hci_reset_sync() argument
3826 hci_init0_sync(struct hci_dev * hdev) hci_init0_sync() argument
3842 hci_unconf_init_sync(struct hci_dev * hdev) hci_unconf_init_sync() argument
3860 hci_read_local_features_sync(struct hci_dev * hdev) hci_read_local_features_sync() argument
3878 hci_read_local_cmds_sync(struct hci_dev * hdev) hci_read_local_cmds_sync() argument
3896 hci_init1_sync(struct hci_dev * hdev) hci_init1_sync() argument
3913 hci_read_buffer_size_sync(struct hci_dev * hdev) hci_read_buffer_size_sync() argument
3920 hci_read_dev_class_sync(struct hci_dev * hdev) hci_read_dev_class_sync() argument
3927 hci_read_local_name_sync(struct hci_dev * hdev) hci_read_local_name_sync() argument
3934 hci_read_voice_setting_sync(struct hci_dev * hdev) hci_read_voice_setting_sync() argument
3944 hci_read_num_supported_iac_sync(struct hci_dev * hdev) hci_read_num_supported_iac_sync() argument
3951 hci_read_current_iac_lap_sync(struct hci_dev * hdev) hci_read_current_iac_lap_sync() argument
3957 hci_set_event_filter_sync(struct hci_dev * hdev,u8 flt_type,u8 cond_type,bdaddr_t * bdaddr,u8 auto_accept) hci_set_event_filter_sync() argument
3984 hci_clear_event_filter_sync(struct hci_dev * hdev) hci_clear_event_filter_sync() argument
4001 hci_write_ca_timeout_sync(struct hci_dev * hdev) hci_write_ca_timeout_sync() argument
4010 hci_write_sync_flowctl_sync(struct hci_dev * hdev) hci_write_sync_flowctl_sync() argument
4054 hci_write_ssp_mode_1_sync(struct hci_dev * hdev) hci_write_ssp_mode_1_sync() argument
4073 hci_write_eir_sync(struct hci_dev * hdev) hci_write_eir_sync() argument
4087 hci_write_inquiry_mode_sync(struct hci_dev * hdev) hci_write_inquiry_mode_sync() argument
4105 hci_read_inq_rsp_tx_power_sync(struct hci_dev * hdev) hci_read_inq_rsp_tx_power_sync() argument
4114 hci_read_local_ext_features_sync(struct hci_dev * hdev,u8 page) hci_read_local_ext_features_sync() argument
4128 hci_read_local_ext_features_1_sync(struct hci_dev * hdev) hci_read_local_ext_features_1_sync() argument
4153 hci_le_read_buffer_size_sync(struct hci_dev * hdev) hci_le_read_buffer_size_sync() argument
4166 hci_le_read_local_features_sync(struct hci_dev * hdev) hci_le_read_local_features_sync() argument
4184 hci_le_read_supported_states_sync(struct hci_dev * hdev) hci_le_read_supported_states_sync() argument
4201 hci_init2_sync(struct hci_dev * hdev) hci_init2_sync() argument
4231 hci_set_event_mask_sync(struct hci_dev * hdev) hci_set_event_mask_sync() argument
4340 hci_read_stored_link_key_sync(struct hci_dev * hdev) hci_read_stored_link_key_sync() argument
4356 hci_setup_link_policy_sync(struct hci_dev * hdev) hci_setup_link_policy_sync() argument
4381 hci_read_page_scan_activity_sync(struct hci_dev * hdev) hci_read_page_scan_activity_sync() argument
4390 hci_read_def_err_data_reporting_sync(struct hci_dev * hdev) hci_read_def_err_data_reporting_sync() argument
4401 hci_read_page_scan_type_sync(struct hci_dev * hdev) hci_read_page_scan_type_sync() argument
4416 hci_read_local_ext_features_all_sync(struct hci_dev * hdev) hci_read_local_ext_features_all_sync() argument
4453 hci_le_set_event_mask_sync(struct hci_dev * hdev) hci_le_set_event_mask_sync() argument
4608 hci_le_read_adv_tx_power_sync(struct hci_dev * hdev) hci_le_read_adv_tx_power_sync() argument
4626 hci_le_read_tx_power_sync(struct hci_dev * hdev) hci_le_read_tx_power_sync() argument
4637 hci_le_read_accept_list_size_sync(struct hci_dev * hdev) hci_le_read_accept_list_size_sync() argument
4647 hci_le_read_resolv_list_size_sync(struct hci_dev * hdev) hci_le_read_resolv_list_size_sync() argument
4657 hci_le_clear_resolv_list_sync(struct hci_dev * hdev) hci_le_clear_resolv_list_sync() argument
4667 hci_le_set_rpa_timeout_sync(struct hci_dev * hdev) hci_le_set_rpa_timeout_sync() argument
4681 hci_le_read_max_data_len_sync(struct hci_dev * hdev) hci_le_read_max_data_len_sync() argument
4691 hci_le_read_def_data_len_sync(struct hci_dev * hdev) hci_le_read_def_data_len_sync() argument
4701 hci_le_read_num_support_adv_sets_sync(struct hci_dev * hdev) hci_le_read_num_support_adv_sets_sync() argument
4712 hci_set_le_support_sync(struct hci_dev * hdev) hci_set_le_support_sync() argument
4735 hci_le_set_host_feature_v2_sync(struct hci_dev * hdev,u16 bit,u8 value) hci_le_set_host_feature_v2_sync() argument
4751 hci_le_set_host_feature_sync(struct hci_dev * hdev,u16 bit,u8 value) hci_le_set_host_feature_sync() argument
4771 hci_le_read_conn_interval_sync(struct hci_dev * hdev) hci_le_read_conn_interval_sync() argument
4780 hci_le_set_def_rate_sync(struct hci_dev * hdev) hci_le_set_def_rate_sync() argument
4839 hci_le_set_host_features_sync(struct hci_dev * hdev) hci_le_set_host_features_sync() argument
4901 hci_init3_sync(struct hci_dev * hdev) hci_init3_sync() argument
4917 hci_delete_stored_link_key_sync(struct hci_dev * hdev) hci_delete_stored_link_key_sync() argument
4946 hci_set_event_mask_page_2_sync(struct hci_dev * hdev) hci_set_event_mask_page_2_sync() argument
4997 hci_read_local_codecs_sync(struct hci_dev * hdev) hci_read_local_codecs_sync() argument
5008 hci_read_local_pairing_opts_sync(struct hci_dev * hdev) hci_read_local_pairing_opts_sync() argument
5018 hci_get_mws_transport_config_sync(struct hci_dev * hdev) hci_get_mws_transport_config_sync() argument
5028 hci_read_sync_train_params_sync(struct hci_dev * hdev) hci_read_sync_train_params_sync() argument
5038 hci_write_sc_support_1_sync(struct hci_dev * hdev) hci_write_sc_support_1_sync() argument
5054 hci_set_err_data_report_sync(struct hci_dev * hdev) hci_set_err_data_report_sync() argument
5096 hci_le_set_write_def_data_len_sync(struct hci_dev * hdev) hci_le_set_write_def_data_len_sync() argument
5114 hci_le_set_default_phy_sync(struct hci_dev * hdev) hci_le_set_default_phy_sync() argument
5156 hci_init4_sync(struct hci_dev * hdev) hci_init4_sync() argument
5172 hci_init_sync(struct hci_dev * hdev) hci_init_sync() argument
5267 hci_dev_setup_sync(struct hci_dev * hdev) hci_dev_setup_sync() argument
5341 hci_dev_init_sync(struct hci_dev * hdev) hci_dev_init_sync() argument
5393 hci_dev_open_sync(struct hci_dev * hdev) hci_dev_open_sync() argument
5503 hci_pend_le_actions_clear(struct hci_dev * hdev) hci_pend_le_actions_clear() argument
5519 hci_dev_shutdown(struct hci_dev * hdev) hci_dev_shutdown() argument
5544 hci_dev_close_sync(struct hci_dev * hdev) hci_dev_close_sync() argument
5704 hci_power_on_sync(struct hci_dev * hdev) hci_power_on_sync() argument
5766 hci_remote_name_cancel_sync(struct hci_dev * hdev,bdaddr_t * addr) hci_remote_name_cancel_sync() argument
5777 hci_stop_discovery_sync(struct hci_dev * hdev) hci_stop_discovery_sync() argument
5837 hci_disconnect_sync(struct hci_dev * hdev,struct hci_conn * conn,u8 reason) hci_disconnect_sync() argument
5872 hci_le_connect_cancel_sync(struct hci_dev * hdev,struct hci_conn * conn,u8 reason) hci_le_connect_cancel_sync() argument
5889 hci_connect_cancel_sync(struct hci_dev * hdev,struct hci_conn * conn,u8 reason) hci_connect_cancel_sync() argument
5936 hci_reject_sco_sync(struct hci_dev * hdev,struct hci_conn * conn,u8 reason) hci_reject_sco_sync() argument
5955 hci_le_reject_cis_sync(struct hci_dev * hdev,struct hci_conn * conn,u8 reason) hci_le_reject_cis_sync() argument
5968 hci_reject_conn_sync(struct hci_dev * hdev,struct hci_conn * conn,u8 reason) hci_reject_conn_sync() argument
5990 hci_abort_conn_sync(struct hci_dev * hdev,struct hci_conn * conn,u8 reason) hci_abort_conn_sync() argument
6043 hci_disconnect_all_sync(struct hci_dev * hdev,u8 reason) hci_disconnect_all_sync() argument
6074 hci_power_off_sync(struct hci_dev * hdev) hci_power_off_sync() argument
6111 hci_set_powered_sync(struct hci_dev * hdev,u8 val) hci_set_powered_sync() argument
6119 hci_write_iac_sync(struct hci_dev * hdev) hci_write_iac_sync() argument
6150 hci_update_discoverable_sync(struct hci_dev * hdev) hci_update_discoverable_sync() argument
6190 update_discoverable_sync(struct hci_dev * hdev,void * data) update_discoverable_sync() argument
6195 hci_update_discoverable(struct hci_dev * hdev) hci_update_discoverable() argument
6208 hci_update_connectable_sync(struct hci_dev * hdev) hci_update_connectable_sync() argument
6239 hci_inquiry_sync(struct hci_dev * hdev,u8 length,u8 num_rsp) hci_inquiry_sync() argument
6268 hci_active_scan_sync(struct hci_dev * hdev,uint16_t interval) hci_active_scan_sync() argument
6339 hci_start_interleaved_discovery_sync(struct hci_dev * hdev) hci_start_interleaved_discovery_sync() argument
6352 hci_start_discovery_sync(struct hci_dev * hdev) hci_start_discovery_sync() argument
6402 hci_suspend_monitor_sync(struct hci_dev * hdev) hci_suspend_monitor_sync() argument
6414 hci_pause_discovery_sync(struct hci_dev * hdev) hci_pause_discovery_sync() argument
6435 hci_update_event_filter_sync(struct hci_dev * hdev) hci_update_event_filter_sync() argument
6507 hci_pause_scan_sync(struct hci_dev * hdev) hci_pause_scan_sync() argument
6536 hci_suspend_sync(struct hci_dev * hdev) hci_suspend_sync() argument
6601 hci_resume_discovery_sync(struct hci_dev * hdev) hci_resume_discovery_sync() argument
6621 hci_resume_monitor_sync(struct hci_dev * hdev) hci_resume_monitor_sync() argument
6633 hci_resume_scan_sync(struct hci_dev * hdev) hci_resume_scan_sync() argument
6656 hci_resume_sync(struct hci_dev * hdev) hci_resume_sync() argument
6687 struct hci_dev *hdev = conn->hdev; conn_use_rpa() local
6692 hci_le_ext_directed_advertising_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_le_ext_directed_advertising_sync() argument
6760 hci_le_directed_advertising_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_le_directed_advertising_sync() argument
6815 struct hci_dev *hdev = conn->hdev; set_ext_conn_params() local
6829 hci_le_ext_create_conn_sync(struct hci_dev * hdev,struct hci_conn * conn,u8 own_addr_type) hci_le_ext_create_conn_sync() argument
6880 hci_le_create_conn_sync(struct hci_dev * hdev,void * data) hci_le_create_conn_sync() argument
7007 hci_le_create_cis_sync(struct hci_dev * hdev) hci_le_create_cis_sync() argument
7106 hci_le_remove_cig_sync(struct hci_dev * hdev,u8 handle) hci_le_remove_cig_sync() argument
7117 hci_le_big_terminate_sync(struct hci_dev * hdev,u8 handle) hci_le_big_terminate_sync() argument
7128 hci_le_pa_terminate_sync(struct hci_dev * hdev,u16 handle) hci_le_pa_terminate_sync() argument
7139 hci_get_random_address(struct hci_dev * hdev,bool require_privacy,bool use_rpa,struct adv_info * adv_instance,u8 * own_addr_type,bdaddr_t * rand_addr) hci_get_random_address() argument
7212 _update_adv_data_sync(struct hci_dev * hdev,void * data) _update_adv_data_sync() argument
7219 hci_update_adv_data(struct hci_dev * hdev,u8 instance) hci_update_adv_data() argument
7225 hci_acl_create_conn_sync(struct hci_dev * hdev,void * data) hci_acl_create_conn_sync() argument
7295 hci_acl_create_conn_sync_complete(struct hci_dev * hdev,void * data,int err) hci_acl_create_conn_sync_complete() argument
7303 hci_connect_acl_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_connect_acl_sync() argument
7315 create_le_conn_complete(struct hci_dev * hdev,void * data,int err) create_le_conn_complete() argument
7353 hci_connect_le_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_connect_le_sync() argument
7365 hci_acl_cancel_create_conn_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_acl_cancel_create_conn_sync() argument
7399 hci_le_cancel_create_conn_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_le_cancel_create_conn_sync() argument
7427 hci_cis_cancel_create_conn_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_cis_cancel_create_conn_sync() argument
7444 hci_cancel_connect_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_cancel_connect_sync() argument
7458 hci_le_conn_update_sync(struct hci_dev * hdev,struct hci_conn * conn,struct hci_conn_params * params) hci_le_conn_update_sync() argument
7476 hci_le_conn_rate_request_sync(struct hci_dev * hdev,void * data) hci_le_conn_rate_request_sync() argument
7537 hci_le_conn_rate_request_destroy(struct hci_dev * hdev,void * data,int err) hci_le_conn_rate_request_destroy() argument
7545 hci_le_conn_rate_request(struct hci_dev * hdev,struct hci_conn * conn) hci_le_conn_rate_request() argument
7561 create_pa_complete(struct hci_dev * hdev,void * data,int err) create_pa_complete() argument
7597 hci_le_past_params_sync(struct hci_dev * hdev,struct hci_conn * conn,u16 acl_handle,struct bt_iso_qos * qos) hci_le_past_params_sync() argument
7628 hci_le_pa_create_sync(struct hci_dev * hdev,void * data) hci_le_pa_create_sync() argument
7741 hci_connect_pa_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_connect_pa_sync() argument
7753 create_big_complete(struct hci_dev * hdev,void * data,int err) create_big_complete() argument
7768 hci_le_big_create_sync(struct hci_dev * hdev,void * data) hci_le_big_create_sync() argument
7813 hci_connect_big_sync(struct hci_dev * hdev,struct hci_conn * conn) hci_connect_big_sync() argument
7833 past_complete(struct hci_dev * hdev,void * data,int err) past_complete() argument
7844 hci_le_past_set_info_sync(struct hci_dev * hdev,void * data) hci_le_past_set_info_sync() argument
7867 hci_le_past_sync(struct hci_dev * hdev,void * data) hci_le_past_sync() argument
7925 le_read_features_complete(struct hci_dev * hdev,void * data,int err) le_read_features_complete() argument
7935 hci_le_read_all_remote_features_sync(struct hci_dev * hdev,void * data) hci_le_read_all_remote_features_sync() argument
7955 hci_le_read_remote_features_sync(struct hci_dev * hdev,void * data) hci_le_read_remote_features_sync() argument
7984 struct hci_dev *hdev = conn->hdev; hci_le_read_remote_features() local
8012 pkt_type_changed(struct hci_dev * hdev,void * data,int err) pkt_type_changed() argument
8021 hci_change_conn_ptype_sync(struct hci_dev * hdev,void * data) hci_change_conn_ptype_sync() argument
8033 struct hci_dev *hdev = conn->hdev; hci_acl_change_pkt_type() local
8052 le_phy_update_complete(struct hci_dev * hdev,void * data,int err) le_phy_update_complete() argument
8061 hci_le_set_phy_sync(struct hci_dev * hdev,void * data) hci_le_set_phy_sync() argument
8073 struct hci_dev *hdev = conn->hdev; hci_le_set_phy() local
[all...]
H A Dhci_core.c67 struct hci_dev *hdev = NULL, *d; in __hci_dev_get() local
77 hdev = hci_dev_hold(d); in __hci_dev_get()
84 return hdev; in __hci_dev_get()
98 static void hci_dev_put_srcu(struct hci_dev *hdev, int srcu_index) in hci_dev_put_srcu() argument
101 srcu_read_unlock(&hdev->srcu, srcu_index); in hci_dev_put_srcu()
102 hci_dev_put(hdev); in hci_dev_put_srcu()
107 bool hci_discovery_active(struct hci_dev *hdev) in hci_discovery_active() argument
109 struct discovery_state *discov = &hdev->discovery; in hci_discovery_active()
122 void hci_discovery_set_state(struct hci_dev *hdev, int state) in hci_discovery_set_state() argument
124 int old_state = hdev in hci_discovery_set_state()
152 hci_inquiry_cache_flush(struct hci_dev * hdev) hci_inquiry_cache_flush() argument
166 hci_inquiry_cache_lookup(struct hci_dev * hdev,bdaddr_t * bdaddr) hci_inquiry_cache_lookup() argument
182 hci_inquiry_cache_lookup_unknown(struct hci_dev * hdev,bdaddr_t * bdaddr) hci_inquiry_cache_lookup_unknown() argument
198 hci_inquiry_cache_lookup_resolve(struct hci_dev * hdev,bdaddr_t * bdaddr,int state) hci_inquiry_cache_lookup_resolve() argument
217 hci_inquiry_cache_update_resolve(struct hci_dev * hdev,struct inquiry_entry * ie) hci_inquiry_cache_update_resolve() argument
236 hci_inquiry_cache_update(struct hci_dev * hdev,struct inquiry_data * data,bool name_known) hci_inquiry_cache_update() argument
298 inquiry_cache_dump(struct hci_dev * hdev,int num,__u8 * buf) inquiry_cache_dump() argument
330 struct hci_dev *hdev; hci_inquiry() local
423 hci_dev_do_open(struct hci_dev * hdev) hci_dev_do_open() argument
441 struct hci_dev *hdev; hci_dev_open() local
494 hci_dev_do_close(struct hci_dev * hdev) hci_dev_do_close() argument
511 struct hci_dev *hdev; hci_dev_close() local
534 hci_dev_do_reset(struct hci_dev * hdev) hci_dev_do_reset() argument
552 struct hci_dev *hdev; hci_dev_reset() local
583 struct hci_dev *hdev; hci_dev_reset_stat() local
607 hci_update_passive_scan_state(struct hci_dev * hdev,u8 scan) hci_update_passive_scan_state() argument
645 struct hci_dev *hdev; hci_dev_cmd() local
751 struct hci_dev *hdev; hci_get_dev_list() local
798 struct hci_dev *hdev; hci_get_dev_info() local
851 hci_dev_do_poweroff(struct hci_dev * hdev) hci_dev_do_poweroff() argument
868 struct hci_dev *hdev = data; hci_rfkill_set_block() local
909 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); hci_power_on() local
978 struct hci_dev *hdev = container_of(work, struct hci_dev, hci_power_off() local
988 struct hci_dev *hdev = container_of(work, struct hci_dev, error_reset); hci_error_reset() local
1004 hci_uuids_clear(struct hci_dev * hdev) hci_uuids_clear() argument
1014 hci_link_keys_clear(struct hci_dev * hdev) hci_link_keys_clear() argument
1024 hci_smp_ltks_clear(struct hci_dev * hdev) hci_smp_ltks_clear() argument
1034 hci_smp_irks_clear(struct hci_dev * hdev) hci_smp_irks_clear() argument
1044 hci_blocked_keys_clear(struct hci_dev * hdev) hci_blocked_keys_clear() argument
1054 hci_is_blocked_key(struct hci_dev * hdev,u8 type,u8 val[16]) hci_is_blocked_key() argument
1071 hci_find_link_key(struct hci_dev * hdev,bdaddr_t * bdaddr) hci_find_link_key() argument
1097 hci_persistent_key(struct hci_dev * hdev,struct hci_conn * conn,u8 key_type,u8 old_key_type) hci_persistent_key() argument
1145 hci_find_ltk(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type,u8 role) hci_find_ltk() argument
1174 hci_find_irk_by_rpa(struct hci_dev * hdev,bdaddr_t * rpa) hci_find_irk_by_rpa() argument
1208 hci_find_irk_by_addr(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type) hci_find_irk_by_addr() argument
1239 hci_add_link_key(struct hci_dev * hdev,struct hci_conn * conn,bdaddr_t * bdaddr,u8 * val,u8 type,u8 pin_len,bool * persistent) hci_add_link_key() argument
1286 hci_add_ltk(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type,u8 type,u8 authenticated,u8 tk[16],u8 enc_size,__le16 ediv,__le64 rand) hci_add_ltk() argument
1315 hci_add_irk(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type,u8 val[16],bdaddr_t * rpa) hci_add_irk() argument
1338 hci_remove_link_key(struct hci_dev * hdev,bdaddr_t * bdaddr) hci_remove_link_key() argument
1354 hci_remove_ltk(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type) hci_remove_ltk() argument
1373 hci_remove_irk(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type) hci_remove_irk() argument
1388 hci_bdaddr_is_paired(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 type) hci_bdaddr_is_paired() argument
1427 struct hci_dev *hdev = container_of(work, struct hci_dev, hci_cmd_timeout() local
1450 struct hci_dev *hdev = container_of(work, struct hci_dev, hci_ncmd_timeout() local
1465 hci_find_remote_oob_data(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type) hci_find_remote_oob_data() argument
1481 hci_remove_remote_oob_data(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type) hci_remove_remote_oob_data() argument
1500 hci_remote_oob_data_clear(struct hci_dev * hdev) hci_remote_oob_data_clear() argument
1512 hci_add_remote_oob_data(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type,u8 * hash192,u8 * rand192,u8 * hash256,u8 * rand256) hci_add_remote_oob_data() argument
1564 hci_find_adv_instance(struct hci_dev * hdev,u8 instance) hci_find_adv_instance() argument
1577 hci_find_adv_sid(struct hci_dev * hdev,u8 sid) hci_find_adv_sid() argument
1590 hci_get_next_instance(struct hci_dev * hdev,u8 instance) hci_get_next_instance() argument
1607 hci_remove_adv_instance(struct hci_dev * hdev,u8 instance) hci_remove_adv_instance() argument
1635 hci_adv_instances_set_rpa_expired(struct hci_dev * hdev,bool rpa_expired) hci_adv_instances_set_rpa_expired() argument
1644 hci_adv_instances_clear(struct hci_dev * hdev) hci_adv_instances_clear() argument
1674 hci_add_adv_instance(struct hci_dev * hdev,u8 instance,u32 flags,u16 adv_data_len,u8 * adv_data,u16 scan_rsp_len,u8 * scan_rsp_data,u16 timeout,u16 duration,s8 tx_power,u32 min_interval,u32 max_interval,u8 mesh_handle) hci_add_adv_instance() argument
1741 hci_add_per_instance(struct hci_dev * hdev,u8 instance,u8 sid,u32 flags,u8 data_len,u8 * data,u32 min_interval,u32 max_interval) hci_add_per_instance() argument
1764 hci_set_adv_instance_data(struct hci_dev * hdev,u8 instance,u16 adv_data_len,u8 * adv_data,u16 scan_rsp_len,u8 * scan_rsp_data) hci_set_adv_instance_data() argument
1799 hci_adv_instance_flags(struct hci_dev * hdev,u8 instance) hci_adv_instance_flags() argument
1833 hci_adv_instance_is_scannable(struct hci_dev * hdev,u8 instance) hci_adv_instance_is_scannable() argument
1853 hci_adv_monitors_clear(struct hci_dev * hdev) hci_adv_monitors_clear() argument
1867 hci_free_adv_monitor(struct hci_dev * hdev,struct adv_monitor * monitor) hci_free_adv_monitor() argument
1893 hci_add_adv_monitor(struct hci_dev * hdev,struct adv_monitor * monitor) hci_add_adv_monitor() argument
1939 hci_remove_adv_monitor(struct hci_dev * hdev,struct adv_monitor * monitor) hci_remove_adv_monitor() argument
1975 hci_remove_single_adv_monitor(struct hci_dev * hdev,u16 handle) hci_remove_single_adv_monitor() argument
1986 hci_remove_all_adv_monitor(struct hci_dev * hdev) hci_remove_all_adv_monitor() argument
2008 hci_is_adv_monitoring(struct hci_dev * hdev) hci_is_adv_monitoring() argument
2013 hci_get_adv_monitor_offload_ext(struct hci_dev * hdev) hci_get_adv_monitor_offload_ext() argument
2187 hci_conn_params_lookup(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type) hci_conn_params_lookup() argument
2242 hci_conn_params_add(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type) hci_conn_params_add() argument
2288 hci_conn_params_del(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type) hci_conn_params_del() argument
2304 hci_conn_params_clear_disabled(struct hci_dev * hdev) hci_conn_params_clear_disabled() argument
2327 hci_conn_params_clear_all(struct hci_dev * hdev) hci_conn_params_clear_all() argument
2350 hci_copy_identity_address(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 * bdaddr_type) hci_copy_identity_address() argument
2365 hci_clear_wake_reason(struct hci_dev * hdev) hci_clear_wake_reason() argument
2379 struct hci_dev *hdev = hci_suspend_notifier() local
2412 struct hci_dev *hdev; hci_alloc_dev_priv() local
2550 hci_free_dev(struct hci_dev * hdev) hci_free_dev() argument
2558 hci_register_dev(struct hci_dev * hdev) hci_register_dev() argument
2666 hci_unregister_dev(struct hci_dev * hdev) hci_unregister_dev() argument
2722 hci_release_dev(struct hci_dev * hdev) hci_release_dev() argument
2759 hci_register_suspend_notifier(struct hci_dev * hdev) hci_register_suspend_notifier() argument
2772 hci_unregister_suspend_notifier(struct hci_dev * hdev) hci_unregister_suspend_notifier() argument
2791 hci_cancel_cmd_sync(struct hci_dev * hdev,int err) hci_cancel_cmd_sync() argument
2809 hci_suspend_dev(struct hci_dev * hdev) hci_suspend_dev() argument
2840 hci_resume_dev(struct hci_dev * hdev) hci_resume_dev() argument
2868 __hci_reset_dev(struct hci_dev * hdev,u8 hw_err_code) __hci_reset_dev() argument
2887 hci_dev_classify_pkt_type(struct hci_dev * hdev,struct sk_buff * skb) hci_dev_classify_pkt_type() argument
2896 hci_recv_frame(struct hci_dev * hdev,struct sk_buff * skb) hci_recv_frame() argument
2953 hci_recv_diag(struct hci_dev * hdev,struct sk_buff * skb) hci_recv_diag() argument
2968 hci_set_hw_info(struct hci_dev * hdev,const char * fmt,...) hci_set_hw_info() argument
2979 hci_set_fw_info(struct hci_dev * hdev,const char * fmt,...) hci_set_fw_info() argument
3016 hci_send_frame(struct hci_dev * hdev,struct sk_buff * skb) hci_send_frame() argument
3061 hci_send_conn_frame(struct hci_dev * hdev,struct hci_conn * conn,struct sk_buff * skb) hci_send_conn_frame() argument
3069 hci_send_cmd(struct hci_dev * hdev,__u16 opcode,__u32 plen,const void * param) hci_send_cmd() argument
3093 __hci_cmd_send(struct hci_dev * hdev,u16 opcode,u32 plen,const void * param) __hci_cmd_send() argument
3141 hci_sent_cmd_data(struct hci_dev * hdev,__u16 opcode) hci_sent_cmd_data() argument
3155 hci_recv_event_data(struct hci_dev * hdev,__u8 event) hci_recv_event_data() argument
3202 struct hci_dev *hdev = conn->hdev; hci_queue_acl() local
3255 hci_sched_tx(struct hci_dev * hdev) hci_sched_tx() argument
3265 struct hci_dev *hdev = chan->conn->hdev; hci_send_acl() local
3277 struct hci_dev *hdev = conn->hdev; hci_send_sco() local
3315 struct hci_dev *hdev = conn->hdev; hci_queue_iso() local
3365 struct hci_dev *hdev = conn->hdev; hci_send_iso() local
3379 struct hci_dev *hdev; hci_quote_sent() local
3414 hci_low_sent(struct hci_dev * hdev,__u8 type,int * quote) hci_low_sent() argument
3454 hci_link_tx_to(struct hci_dev * hdev,__u8 type) hci_link_tx_to() argument
3475 hci_chan_sent(struct hci_dev * hdev,__u8 type,int * quote) hci_chan_sent() argument
3538 hci_prio_recalculate(struct hci_dev * hdev,__u8 type) hci_prio_recalculate() argument
3588 __check_timeout(struct hci_dev * hdev,unsigned int cnt,u8 type) __check_timeout() argument
3625 __hci_sched_sco(struct hci_dev * hdev,__u8 type) __hci_sched_sco() argument
3668 hci_sched_sco(struct hci_dev * hdev,__u8 type) hci_sched_sco() argument
3675 hci_sched_acl_pkt(struct hci_dev * hdev) hci_sched_acl_pkt() argument
3721 hci_sched_acl(struct hci_dev * hdev) hci_sched_acl() argument
3732 hci_sched_le(struct hci_dev * hdev) hci_sched_le() argument
3782 hci_sched_iso(struct hci_dev * hdev,__u8 type) hci_sched_iso() argument
3818 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); hci_tx_work() local
3843 hci_acldata_packet(struct hci_dev * hdev,struct sk_buff * skb) hci_acldata_packet() argument
3875 hci_scodata_packet(struct hci_dev * hdev,struct sk_buff * skb) hci_scodata_packet() argument
3908 hci_isodata_packet(struct hci_dev * hdev,struct sk_buff * skb) hci_isodata_packet() argument
3937 hci_req_is_complete(struct hci_dev * hdev) hci_req_is_complete() argument
3948 hci_resend_last(struct hci_dev * hdev) hci_resend_last() argument
3970 hci_req_cmd_complete(struct hci_dev * hdev,u16 opcode,u8 status,hci_req_complete_t * req_complete,hci_req_complete_skb_t * req_complete_skb) hci_req_cmd_complete() argument
4039 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); hci_rx_work() local
4112 hci_send_cmd_sync(struct hci_dev * hdev,struct sk_buff * skb) hci_send_cmd_sync() argument
4154 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work); hci_cmd_work() local
[all...]
H A Dcoredump.c32 bt_dev_dbg(hdev, \
35 hci_devcd_state_name(hdev->dump.state))
50 static int hci_devcd_update_state(struct hci_dev *hdev, int state) in hci_devcd_update_state() argument
52 bt_dev_dbg(hdev, "Updating devcoredump state from %s to %s.", in hci_devcd_update_state()
53 hci_devcd_state_name(hdev->dump.state), in hci_devcd_update_state()
56 hdev->dump.state = state; in hci_devcd_update_state()
58 return hci_devcd_update_hdr_state(hdev->dump.head, in hci_devcd_update_state()
59 hdev->dump.alloc_size, state); in hci_devcd_update_state()
62 static int hci_devcd_mkheader(struct hci_dev *hdev, struct sk_buff *skb) in hci_devcd_mkheader() argument
71 if (hdev->dump.dmp_hdr) in hci_devcd_mkheader()
[all …]
H A Dhci_event.c44 static void *hci_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_ev_skb_pull() argument
51 bt_dev_err(hdev, "Malformed Event: 0x%2.2x", ev); in hci_ev_skb_pull()
56 static void *hci_cc_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_cc_skb_pull() argument
63 bt_dev_err(hdev, "Malformed Command Complete: 0x%4.4x", op); in hci_cc_skb_pull()
68 static void *hci_le_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_le_ev_skb_pull() argument
75 bt_dev_err(hdev, "Malformed LE Event: 0x%2.2x", ev); in hci_le_ev_skb_pull()
80 static void hci_store_wake_reason(struct hci_dev *hdev,
82 __must_hold(&hdev->lock);
84 static u8 hci_cc_inquiry_cancel(struct hci_dev *hdev, void *data, in hci_cc_inquiry_cancel() argument
89 bt_dev_dbg(hdev, "statu in hci_cc_inquiry_cancel()
122 hci_cc_periodic_inq(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_periodic_inq() argument
137 hci_cc_exit_periodic_inq(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_exit_periodic_inq() argument
152 hci_cc_remote_name_req_cancel(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_remote_name_req_cancel() argument
162 hci_cc_role_discovery(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_role_discovery() argument
184 hci_cc_read_link_policy(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_link_policy() argument
206 hci_cc_write_link_policy(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_link_policy() argument
233 hci_cc_read_def_link_policy(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_def_link_policy() argument
248 hci_cc_write_def_link_policy(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_def_link_policy() argument
268 hci_cc_reset(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_reset() argument
308 hci_cc_read_stored_link_key(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_stored_link_key() argument
328 hci_cc_delete_stored_link_key(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_delete_stored_link_key() argument
349 hci_cc_write_local_name(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_local_name() argument
373 hci_cc_read_local_name(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_local_name() argument
390 hci_cc_write_auth_enable(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_auth_enable() argument
421 hci_cc_write_encrypt_mode(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_encrypt_mode() argument
447 hci_cc_write_scan_enable(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_scan_enable() argument
485 hci_cc_set_event_filter(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_set_event_filter() argument
511 hci_cc_read_class_of_dev(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_class_of_dev() argument
532 hci_cc_write_class_of_dev(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_class_of_dev() argument
557 hci_cc_read_voice_setting(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_voice_setting() argument
583 hci_cc_write_voice_setting(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_voice_setting() argument
614 hci_cc_read_num_supported_iac(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_num_supported_iac() argument
631 hci_cc_write_ssp_mode(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_ssp_mode() argument
664 hci_cc_write_sc_support(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_sc_support() argument
697 hci_cc_read_local_version(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_local_version() argument
719 hci_cc_read_enc_key_size(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_enc_key_size() argument
785 hci_cc_read_local_commands(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_local_commands() argument
802 hci_cc_read_auth_payload_timeout(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_auth_payload_timeout() argument
824 hci_cc_write_auth_payload_timeout(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_auth_payload_timeout() argument
854 hci_cc_read_local_features(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_local_features() argument
906 hci_cc_read_local_ext_features(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_local_ext_features() argument
930 hci_cc_read_buffer_size(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_buffer_size() argument
965 hci_cc_read_bd_addr(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_bd_addr() argument
984 hci_cc_read_local_pairing_opts(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_local_pairing_opts() argument
1003 hci_cc_read_page_scan_activity(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_page_scan_activity() argument
1021 hci_cc_write_page_scan_activity(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_page_scan_activity() argument
1042 hci_cc_read_page_scan_type(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_page_scan_type() argument
1058 hci_cc_write_page_scan_type(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_page_scan_type() argument
1076 hci_cc_read_clock(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_clock() argument
1110 hci_cc_read_inq_rsp_tx_power(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_inq_rsp_tx_power() argument
1125 hci_cc_read_def_err_data_reporting(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_def_err_data_reporting() argument
1140 hci_cc_write_def_err_data_reporting(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_def_err_data_reporting() argument
1160 hci_cc_pin_code_reply(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_pin_code_reply() argument
1190 hci_cc_pin_code_neg_reply(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_pin_code_neg_reply() argument
1208 hci_cc_le_read_buffer_size(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_buffer_size() argument
1231 hci_cc_le_read_local_features(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_local_features() argument
1246 hci_cc_le_read_conn_interval(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_conn_interval() argument
1279 hci_cc_le_read_adv_tx_power(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_adv_tx_power() argument
1294 hci_cc_user_confirm_reply(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_user_confirm_reply() argument
1312 hci_cc_user_confirm_neg_reply(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_user_confirm_neg_reply() argument
1330 hci_cc_user_passkey_reply(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_user_passkey_reply() argument
1348 hci_cc_user_passkey_neg_reply(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_user_passkey_neg_reply() argument
1366 hci_cc_read_local_oob_data(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_local_oob_data() argument
1376 hci_cc_read_local_oob_ext_data(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_local_oob_ext_data() argument
1386 hci_cc_le_set_random_addr(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_random_addr() argument
1416 hci_cc_le_set_default_phy(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_default_phy() argument
1441 hci_cc_le_set_adv_set_random_addr(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_adv_set_random_addr() argument
1479 hci_cc_le_remove_adv_set(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_remove_adv_set() argument
1507 hci_cc_le_clear_adv_sets(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_clear_adv_sets() argument
1538 hci_cc_le_read_transmit_power(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_transmit_power() argument
1554 hci_cc_le_set_privacy_mode(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_privacy_mode() argument
1581 hci_cc_le_set_adv_enable(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_adv_enable() argument
1620 hci_cc_le_set_ext_adv_enable(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_ext_adv_enable() argument
1689 hci_cc_le_set_scan_param(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_scan_param() argument
1713 hci_cc_le_set_ext_scan_param(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_ext_scan_param() argument
1740 has_pending_adv_report(struct hci_dev * hdev) has_pending_adv_report() argument
1747 clear_pending_adv_report(struct hci_dev * hdev) clear_pending_adv_report() argument
1755 store_pending_adv_report(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type,s8 rssi,u32 flags,u8 * data,u8 len) store_pending_adv_report() argument
1772 le_set_scan_enable_complete(struct hci_dev * hdev,u8 enable) le_set_scan_enable_complete() argument
1835 hci_cc_le_set_scan_enable(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_scan_enable() argument
1855 hci_cc_le_set_ext_scan_enable(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_ext_scan_enable() argument
1875 hci_cc_le_read_num_adv_sets(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_num_adv_sets() argument
1891 hci_cc_le_read_accept_list_size(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_accept_list_size() argument
1906 hci_cc_le_clear_accept_list(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_clear_accept_list() argument
1923 hci_cc_le_add_to_accept_list(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_add_to_accept_list() argument
1946 hci_cc_le_del_from_accept_list(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_del_from_accept_list() argument
1969 hci_cc_le_read_supported_states(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_supported_states() argument
1984 hci_cc_le_read_def_data_len(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_def_data_len() argument
2000 hci_cc_le_write_def_data_len(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_write_def_data_len() argument
2021 hci_cc_le_add_to_resolv_list(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_add_to_resolv_list() argument
2045 hci_cc_le_del_from_resolv_list(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_del_from_resolv_list() argument
2068 hci_cc_le_clear_resolv_list(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_clear_resolv_list() argument
2085 hci_cc_le_read_resolv_list_size(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_resolv_list_size() argument
2100 hci_cc_le_set_addr_resolution_enable(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_addr_resolution_enable() argument
2127 hci_cc_le_read_max_data_len(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_max_data_len() argument
2145 hci_cc_write_le_host_supported(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_le_host_supported() argument
2181 hci_cc_set_adv_param(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_set_adv_param() argument
2203 hci_cc_read_rssi(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_rssi() argument
2225 hci_cc_read_tx_power(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_read_tx_power() argument
2261 hci_cc_write_ssp_debug_mode(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_write_ssp_debug_mode() argument
2279 hci_cs_inquiry(struct hci_dev * hdev,__u8 status) hci_cs_inquiry() argument
2290 hci_cs_create_conn(struct hci_dev * hdev,__u8 status) hci_cs_create_conn() argument
2325 hci_cs_add_sco(struct hci_dev * hdev,__u8 status) hci_cs_add_sco() argument
2362 hci_cs_auth_requested(struct hci_dev * hdev,__u8 status) hci_cs_auth_requested() argument
2389 hci_cs_set_conn_encrypt(struct hci_dev * hdev,__u8 status) hci_cs_set_conn_encrypt() argument
2416 hci_outgoing_auth_needed(struct hci_dev * hdev,struct hci_conn * conn) hci_outgoing_auth_needed() argument
2438 hci_resolve_name(struct hci_dev * hdev,struct inquiry_entry * e) hci_resolve_name() argument
2453 hci_resolve_next_name(struct hci_dev * hdev) hci_resolve_next_name() argument
2479 hci_check_pending_name(struct hci_dev * hdev,struct hci_conn * conn,bdaddr_t * bdaddr,u8 * name,u8 name_len) hci_check_pending_name() argument
2523 hci_cs_remote_name_req(struct hci_dev * hdev,__u8 status) hci_cs_remote_name_req() argument
2566 hci_cs_read_remote_features(struct hci_dev * hdev,__u8 status) hci_cs_read_remote_features() argument
2593 hci_cs_read_remote_ext_features(struct hci_dev * hdev,__u8 status) hci_cs_read_remote_ext_features() argument
2620 hci_setup_sync_conn_status(struct hci_dev * hdev,__u16 handle,__u8 status) hci_setup_sync_conn_status() argument
2645 hci_cs_setup_sync_conn(struct hci_dev * hdev,__u8 status) hci_cs_setup_sync_conn() argument
2661 hci_cs_enhanced_setup_sync_conn(struct hci_dev * hdev,__u8 status) hci_cs_enhanced_setup_sync_conn() argument
2677 hci_cs_sniff_mode(struct hci_dev * hdev,__u8 status) hci_cs_sniff_mode() argument
2704 hci_cs_exit_sniff_mode(struct hci_dev * hdev,__u8 status) hci_cs_exit_sniff_mode() argument
2731 hci_cs_disconnect(struct hci_dev * hdev,u8 status) hci_cs_disconnect() argument
2819 ev_bdaddr_type(struct hci_dev * hdev,u8 type,bool * resolved) ev_bdaddr_type() argument
2841 cs_le_create_conn(struct hci_dev * hdev,bdaddr_t * peer_addr,u8 peer_addr_type,u8 own_address_type,u8 filter_policy) cs_le_create_conn() argument
2868 hci_cs_le_create_conn(struct hci_dev * hdev,u8 status) hci_cs_le_create_conn() argument
2893 hci_cs_le_ext_create_conn(struct hci_dev * hdev,u8 status) hci_cs_le_ext_create_conn() argument
2918 hci_cs_le_set_phy(struct hci_dev * hdev,u8 status) hci_cs_le_set_phy() argument
2943 hci_cs_le_read_remote_features(struct hci_dev * hdev,u8 status) hci_cs_le_read_remote_features() argument
2966 hci_cs_le_start_enc(struct hci_dev * hdev,u8 status) hci_cs_le_start_enc() argument
2996 hci_cs_switch_role(struct hci_dev * hdev,u8 status) hci_cs_switch_role() argument
3019 hci_inquiry_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_inquiry_complete_evt() argument
3078 hci_inquiry_result_evt(struct hci_dev * hdev,void * edata,struct sk_buff * skb) hci_inquiry_result_evt() argument
3122 hci_read_enc_key_size(struct hci_dev * hdev,struct hci_conn * conn) hci_read_enc_key_size() argument
3150 hci_conn_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_conn_complete_evt() argument
3304 hci_reject_conn(struct hci_dev * hdev,bdaddr_t * bdaddr) hci_reject_conn() argument
3313 hci_conn_request_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_conn_request_evt() argument
3422 hci_disconn_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_disconn_complete_evt() argument
3514 hci_auth_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_auth_complete_evt() argument
3578 hci_remote_name_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_remote_name_evt() argument
3619 hci_encrypt_change_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_encrypt_change_evt() argument
3721 hci_change_link_key_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_change_link_key_complete_evt() argument
3744 hci_remote_features_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_remote_features_evt() argument
3794 handle_cmd_cnt_and_timer(struct hci_dev * hdev,u8 ncmd) handle_cmd_cnt_and_timer() argument
3812 hci_cc_le_read_buffer_size_v2(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_buffer_size_v2() argument
3839 hci_unbound_cis_failed(struct hci_dev * hdev,u8 cig,u8 status) hci_unbound_cis_failed() argument
3855 hci_cc_le_set_cig_params(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_cig_params() argument
3922 hci_cc_le_setup_iso_path(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_setup_iso_path() argument
3973 hci_cc_le_read_all_local_features(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_read_all_local_features() argument
3988 hci_cs_le_create_big(struct hci_dev * hdev,u8 status) hci_cs_le_create_big() argument
3993 hci_cs_le_read_all_remote_features(struct hci_dev * hdev,u8 status) hci_cs_le_read_all_remote_features() argument
4016 hci_cc_set_per_adv_param(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_set_per_adv_param() argument
4035 hci_cc_le_set_per_adv_enable(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_cc_le_set_per_adv_enable() argument
4275 hci_cc_func(struct hci_dev * hdev,const struct hci_cc * cc,struct sk_buff * skb) hci_cc_func() argument
4301 hci_cmd_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb,u16 * opcode,u8 * status,hci_req_complete_t * req_complete,hci_req_complete_skb_t * req_complete_skb) hci_cmd_complete_evt() argument
4353 hci_cs_le_create_cis(struct hci_dev * hdev,u8 status) hci_cs_le_create_cis() argument
4432 hci_cmd_status_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb,u16 * opcode,u8 * status,hci_req_complete_t * req_complete,hci_req_complete_skb_t * req_complete_skb) hci_cmd_status_evt() argument
4474 hci_hardware_error_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_hardware_error_evt() argument
4486 hci_role_change_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_role_change_evt() argument
4509 hci_num_comp_pkts_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_num_comp_pkts_evt() argument
4598 hci_mode_change_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_mode_change_evt() argument
4627 hci_pin_code_request_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_pin_code_request_evt() argument
4698 hci_link_key_request_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_link_key_request_evt() argument
4756 hci_link_key_notify_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_link_key_notify_evt() argument
4826 hci_clock_offset_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_clock_offset_evt() argument
4850 hci_pkt_type_change_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_pkt_type_change_evt() argument
4867 hci_pscan_rep_mode_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_pscan_rep_mode_evt() argument
4886 hci_inquiry_result_with_rssi_evt(struct hci_dev * hdev,void * edata,struct sk_buff * skb) hci_inquiry_result_with_rssi_evt() argument
4973 hci_remote_ext_features_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_remote_ext_features_evt() argument
5038 hci_sync_conn_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_sync_conn_complete_evt() argument
5169 hci_extended_inquiry_result_evt(struct hci_dev * hdev,void * edata,struct sk_buff * skb) hci_extended_inquiry_result_evt() argument
5224 hci_key_refresh_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_key_refresh_complete_evt() argument
5294 struct hci_dev *hdev = conn->hdev; bredr_oob_data_present() local
5334 hci_io_capa_request_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_io_capa_request_evt() argument
5407 hci_io_capa_reply_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_io_capa_reply_evt() argument
5428 hci_user_confirm_request_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_user_confirm_request_evt() argument
5510 hci_user_passkey_request_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_user_passkey_request_evt() argument
5521 hci_user_passkey_notify_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_user_passkey_notify_evt() argument
5547 hci_keypress_notify_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_keypress_notify_evt() argument
5591 hci_simple_pair_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_simple_pair_complete_evt() argument
5622 hci_remote_host_features_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_remote_host_features_evt() argument
5644 hci_remote_oob_data_request_evt(struct hci_dev * hdev,void * edata,struct sk_buff * skb) hci_remote_oob_data_request_evt() argument
5751 le_conn_complete_evt(struct hci_dev * hdev,u8 status,bdaddr_t * bdaddr,u8 bdaddr_type,bdaddr_t * local_rpa,u8 role,u16 handle,u16 interval,u16 latency,u16 supervision_timeout) le_conn_complete_evt() argument
5927 hci_le_conn_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_conn_complete_evt() argument
5941 hci_le_enh_conn_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_enh_conn_complete_evt() argument
5955 hci_le_pa_sync_lost_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_pa_sync_lost_evt() argument
5978 hci_le_ext_adv_term_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_ext_adv_term_evt() argument
6048 hci_le_pa_term_sync(struct hci_dev * hdev,__le16 handle) hci_le_pa_term_sync() argument
6058 hci_le_past_received_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_past_received_evt() argument
6114 hci_le_conn_update_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_conn_update_complete_evt() argument
6138 check_pending_le_conn(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type,bool addr_resolved,u8 adv_type,u8 phy,u8 sec_phy) check_pending_le_conn() argument
6229 process_adv_report(struct hci_dev * hdev,u8 type,bdaddr_t * bdaddr,u8 bdaddr_type,bdaddr_t * direct_addr,u8 direct_addr_type,u8 phy,u8 sec_phy,s8 rssi,u8 * data,u8 len,bool ext_adv,bool ctl_time,u64 instant) process_adv_report() argument
6443 hci_le_adv_report_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_adv_report_evt() argument
6485 ext_evt_type_to_legacy(struct hci_dev * hdev,u16 evt_type) ext_evt_type_to_legacy() argument
6533 hci_le_ext_adv_report_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_ext_adv_report_evt() argument
6594 hci_le_pa_sync_established_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_pa_sync_established_evt() argument
6652 hci_le_per_adv_report_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_per_adv_report_evt() argument
6698 hci_le_remote_feat_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_remote_feat_complete_evt() argument
6751 hci_le_ltk_request_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_ltk_request_evt() argument
6816 send_conn_param_neg_reply(struct hci_dev * hdev,u16 handle,u8 reason) send_conn_param_neg_reply() argument
6828 hci_le_remote_conn_param_req_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_remote_conn_param_req_evt() argument
6899 hci_le_direct_adv_report_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_direct_adv_report_evt() argument
6929 hci_le_phy_update_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_phy_update_evt() argument
6968 hci_le_cis_established_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_cis_established_evt() argument
7068 hci_le_reject_cis(struct hci_dev * hdev,__le16 handle) hci_le_reject_cis() argument
7078 hci_le_accept_cis(struct hci_dev * hdev,__le16 handle) hci_le_accept_cis() argument
7087 hci_le_cis_req_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_cis_req_evt() argument
7138 hci_iso_term_big_sync(struct hci_dev * hdev,void * data) hci_iso_term_big_sync() argument
7146 hci_le_create_big_complete_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_create_big_complete_evt() argument
7217 hci_le_big_sync_established_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_big_sync_established_evt() argument
7303 hci_le_big_sync_lost_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_big_sync_lost_evt() argument
7334 hci_le_big_info_adv_report_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_big_info_adv_report_evt() argument
7369 hci_le_read_all_remote_features_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_read_all_remote_features_evt() argument
7425 hci_le_conn_rate_change_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_le_conn_rate_change_evt() argument
7571 hci_le_meta_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb,u16 * opcode,u8 * status,hci_req_complete_t * req_complete,hci_req_complete_skb_t * req_complete_skb) hci_le_meta_evt() argument
7615 hci_vendor_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) hci_vendor_evt() argument
7623 hci_get_cmd_complete(struct hci_dev * hdev,u16 opcode,u8 event,struct sk_buff * skb) hci_get_cmd_complete() argument
7667 hci_store_wake_reason(struct hci_dev * hdev,const bdaddr_t * bdaddr,u8 addr_type) hci_store_wake_reason() argument
7853 hci_event_func(struct hci_dev * hdev,u8 event,struct sk_buff * skb,u16 * opcode,u8 * status,hci_req_complete_t * req_complete,hci_req_complete_skb_t * req_complete_skb) hci_event_func() argument
7890 hci_event_packet(struct hci_dev * hdev,struct sk_buff * skb) hci_event_packet() argument
[all...]
H A Dmgmt.c325 static int mgmt_index_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_index_event()
328 return mgmt_send_event(event, hdev, HCI_CHANNEL_CONTROL, data, len, in mgmt_limited_event()
332 static int mgmt_limited_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_limited_event()
335 return mgmt_send_event(event, hdev, HCI_CHANNEL_CONTROL, data, len, in mgmt_event()
339 static int mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 len, in mgmt_event()
342 return mgmt_send_event(event, hdev, HCI_CHANNEL_CONTROL, data, len, in mgmt_event_skb()
368 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data, in read_version()
373 bt_dev_dbg(hdev, "sock %p", sk); in read_version()
381 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data, in read_commands()
389 bt_dev_dbg(hdev, "soc in read_commands()
320 mgmt_index_event(u16 event,struct hci_dev * hdev,void * data,u16 len,int flag) mgmt_index_event() argument
327 mgmt_limited_event(u16 event,struct hci_dev * hdev,void * data,u16 len,int flag,struct sock * skip_sk) mgmt_limited_event() argument
334 mgmt_event(u16 event,struct hci_dev * hdev,void * data,u16 len,struct sock * skip_sk) mgmt_event() argument
363 read_version(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_version() argument
376 read_commands(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_commands() argument
428 read_index_list(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_index_list() argument
486 read_unconf_index_list(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_unconf_index_list() argument
540 read_ext_index_list(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_ext_index_list() argument
606 is_configured(struct hci_dev * hdev) is_configured() argument
620 get_missing_options(struct hci_dev * hdev) get_missing_options() argument
636 new_options(struct hci_dev * hdev,struct sock * skip) new_options() argument
644 send_options_rsp(struct sock * sk,u16 opcode,struct hci_dev * hdev) send_options_rsp() argument
652 read_config_info(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_config_info() argument
680 get_supported_phys(struct hci_dev * hdev) get_supported_phys() argument
732 get_selected_phys(struct hci_dev * hdev) get_selected_phys() argument
795 get_configurable_phys(struct hci_dev * hdev) get_configurable_phys() argument
801 get_supported_settings(struct hci_dev * hdev) get_supported_settings() argument
868 get_current_settings(struct hci_dev * hdev) get_current_settings() argument
960 pending_find(u16 opcode,struct hci_dev * hdev) pending_find() argument
965 mgmt_get_adv_discov_flags(struct hci_dev * hdev) mgmt_get_adv_discov_flags() argument
989 mgmt_get_connectable(struct hci_dev * hdev) mgmt_get_connectable() argument
1006 service_cache_sync(struct hci_dev * hdev,void * data) service_cache_sync() argument
1016 struct hci_dev *hdev = container_of(work, struct hci_dev, service_cache_off() local
1025 rpa_expired_sync(struct hci_dev * hdev,void * data) rpa_expired_sync() argument
1039 struct hci_dev *hdev = container_of(work, struct hci_dev, rpa_expired() local
1056 struct hci_dev *hdev = container_of(work, struct hci_dev, discov_off() local
1081 mesh_send_complete(struct hci_dev * hdev,struct mgmt_mesh_tx * mesh_tx,bool silent) mesh_send_complete() argument
1093 mesh_send_done_sync(struct hci_dev * hdev,void * data) mesh_send_done_sync() argument
1110 mesh_next(struct hci_dev * hdev,void * data,int err) mesh_next() argument
1128 struct hci_dev *hdev = container_of(work, struct hci_dev, mesh_send_done() local
1137 mgmt_init_hdev(struct sock * sk,struct hci_dev * hdev) mgmt_init_hdev() argument
1159 read_controller_info(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_controller_info() argument
1189 append_eir_data_to_buf(struct hci_dev * hdev,u8 * eir) append_eir_data_to_buf() argument
1213 read_ext_controller_info(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_ext_controller_info() argument
1253 ext_info_changed(struct hci_dev * hdev,struct sock * skip) ext_info_changed() argument
1269 send_settings_rsp(struct sock * sk,u16 opcode,struct hci_dev * hdev) send_settings_rsp() argument
1277 mgmt_advertising_added(struct sock * sk,struct hci_dev * hdev,u8 instance) mgmt_advertising_added() argument
1286 mgmt_advertising_removed(struct sock * sk,struct hci_dev * hdev,u8 instance) mgmt_advertising_removed() argument
1296 cancel_adv_timeout(struct hci_dev * hdev) cancel_adv_timeout() argument
1305 restart_le_actions(struct hci_dev * hdev) restart_le_actions() argument
1329 new_settings(struct hci_dev * hdev,struct sock * skip) new_settings() argument
1337 mgmt_set_powered_complete(struct hci_dev * hdev,void * data,int err) mgmt_set_powered_complete() argument
1373 set_powered_sync(struct hci_dev * hdev,void * data) set_powered_sync() argument
1395 set_powered(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_powered() argument
1454 mgmt_new_settings(struct hci_dev * hdev) mgmt_new_settings() argument
1461 struct hci_dev *hdev; global() member
1513 mgmt_bredr_support(struct hci_dev * hdev) mgmt_bredr_support() argument
1523 mgmt_le_support(struct hci_dev * hdev) mgmt_le_support() argument
1533 mgmt_set_discoverable_complete(struct hci_dev * hdev,void * data,int err) mgmt_set_discoverable_complete() argument
1567 set_discoverable_sync(struct hci_dev * hdev,void * data) set_discoverable_sync() argument
1577 set_discoverable(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_discoverable() argument
1710 mgmt_set_connectable_complete(struct hci_dev * hdev,void * data,int err) mgmt_set_connectable_complete() argument
1738 set_connectable_update_settings(struct hci_dev * hdev,struct sock * sk,u8 val) set_connectable_update_settings() argument
1767 set_connectable_sync(struct hci_dev * hdev,void * data) set_connectable_sync() argument
1777 set_connectable(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_connectable() argument
1837 set_bondable(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_bondable() argument
1875 set_link_security(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_link_security() argument
1944 set_ssp_complete(struct hci_dev * hdev,void * data,int err) set_ssp_complete() argument
1990 set_ssp_sync(struct hci_dev * hdev,void * data) set_ssp_sync() argument
2019 set_ssp(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_ssp() argument
2094 set_hs(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_hs() argument
2102 set_le_complete(struct hci_dev * hdev,void * data,int err) set_le_complete() argument
2129 set_le_sync(struct hci_dev * hdev,void * data) set_le_sync() argument
2185 set_mesh_complete(struct hci_dev * hdev,void * data,int err) set_mesh_complete() argument
2207 set_mesh_sync(struct hci_dev * hdev,void * data) set_mesh_sync() argument
2246 set_mesh(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_mesh() argument
2302 mesh_send_start_complete(struct hci_dev * hdev,void * data,int err) mesh_send_start_complete() argument
2325 mesh_send_sync(struct hci_dev * hdev,void * data) mesh_send_sync() argument
2389 mesh_features(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) mesh_features() argument
2416 send_cancel(struct hci_dev * hdev,void * data) send_cancel() argument
2451 send_cancel_destroy(struct hci_dev * hdev,void * data,int err) send_cancel_destroy() argument
2456 mesh_send_cancel(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) mesh_send_cancel() argument
2491 mesh_send(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) mesh_send() argument
2560 set_le(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_le() argument
2649 send_hci_cmd_sync(struct hci_dev * hdev,void * data) send_hci_cmd_sync() argument
2674 send_hci_cmd_sync_destroy(struct hci_dev * hdev,void * data,int err) send_hci_cmd_sync_destroy() argument
2679 mgmt_hci_cmd_sync(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) mgmt_hci_cmd_sync() argument
2725 pending_eir_or_class(struct hci_dev * hdev) pending_eir_or_class() argument
2771 mgmt_class_complete(struct hci_dev * hdev,void * data,int err) mgmt_class_complete() argument
2783 add_uuid_sync(struct hci_dev * hdev,void * data) add_uuid_sync() argument
2794 add_uuid(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) add_uuid() argument
2844 enable_service_cache(struct hci_dev * hdev) enable_service_cache() argument
2858 remove_uuid_sync(struct hci_dev * hdev,void * data) remove_uuid_sync() argument
2869 remove_uuid(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) remove_uuid() argument
2940 set_class_sync(struct hci_dev * hdev,void * data) set_class_sync() argument
2955 set_dev_class(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_dev_class() argument
3010 load_link_keys(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) load_link_keys() argument
3103 device_unpaired(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type,struct sock * skip_sk) device_unpaired() argument
3115 unpair_device_complete(struct hci_dev * hdev,void * data,int err) unpair_device_complete() argument
3127 unpair_device_sync(struct hci_dev * hdev,void * data) unpair_device_sync() argument
3159 unpair_device(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) unpair_device() argument
3288 disconnect_complete(struct hci_dev * hdev,void * data,int err) disconnect_complete() argument
3296 disconnect_sync(struct hci_dev * hdev,void * data) disconnect_sync() argument
3328 disconnect(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) disconnect() argument
3396 get_connections(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) get_connections() argument
3450 send_pin_code_neg_reply(struct sock * sk,struct hci_dev * hdev,struct mgmt_cp_pin_code_neg_reply * cp) send_pin_code_neg_reply() argument
3471 pin_code_reply(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) pin_code_reply() argument
3533 set_io_capability(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_io_capability() argument
3558 struct hci_dev *hdev = conn->hdev; remove_pairing() local
3580 remove_pairing_by_addr(struct hci_dev * hdev,bdaddr_t * bdaddr) remove_pairing_by_addr() argument
3682 pair_device(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) pair_device() argument
3818 cancel_pair_device(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) cancel_pair_device() argument
3871 user_pairing_resp(struct sock * sk,struct hci_dev * hdev,struct mgmt_addr_info * addr,u16 mgmt_op,u16 hci_op,__le32 passkey) user_pairing_resp() argument
3944 pin_code_neg_reply(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) pin_code_neg_reply() argument
3956 user_confirm_reply(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) user_confirm_reply() argument
3972 user_confirm_neg_reply(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) user_confirm_neg_reply() argument
3984 user_passkey_reply(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) user_passkey_reply() argument
3996 user_passkey_neg_reply(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) user_passkey_neg_reply() argument
4008 adv_expire_sync(struct hci_dev * hdev,u32 flags) adv_expire_sync() argument
4031 name_changed_sync(struct hci_dev * hdev,void * data) name_changed_sync() argument
4036 set_name_complete(struct hci_dev * hdev,void * data,int err) set_name_complete() argument
4063 set_name_sync(struct hci_dev * hdev,void * data) set_name_sync() argument
4093 set_local_name(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_local_name() argument
4162 appearance_changed_sync(struct hci_dev * hdev,void * data) appearance_changed_sync() argument
4167 set_appearance(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_appearance() argument
4202 get_phy_configuration(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) get_phy_configuration() argument
4223 mgmt_phy_configuration_changed(struct hci_dev * hdev,struct sock * skip) mgmt_phy_configuration_changed() argument
4235 set_default_phy_complete(struct hci_dev * hdev,void * data,int err) set_default_phy_complete() argument
4271 set_default_phy_sync(struct hci_dev * hdev,void * data) set_default_phy_sync() argument
4312 set_phy_configuration(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_phy_configuration() argument
4441 set_blocked_keys(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_blocked_keys() argument
4490 set_wideband_speech(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_wideband_speech() argument
4539 read_controller_cap(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_controller_cap() argument
4644 read_exp_features_info(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_exp_features_info() argument
4736 exp_feature_changed(struct hci_dev * hdev,const u8 * uuid,bool enabled,struct sock * skip) exp_feature_changed() argument
4757 set_zero_key_func(struct sock * sk,struct hci_dev * hdev,struct mgmt_cp_set_exp_feature * cp,u16 data_len) set_zero_key_func() argument
4784 set_debug_func(struct sock * sk,struct hci_dev * hdev,struct mgmt_cp_set_exp_feature * cp,u16 data_len) set_debug_func() argument
4830 set_mgmt_mesh_func(struct sock * sk,struct hci_dev * hdev,struct mgmt_cp_set_exp_feature * cp,u16 data_len) set_mgmt_mesh_func() argument
4881 set_quality_report_func(struct sock * sk,struct hci_dev * hdev,struct mgmt_cp_set_exp_feature * cp,u16 data_len) set_quality_report_func() argument
4955 set_offload_codec_func(struct sock * sk,struct hci_dev * hdev,struct mgmt_cp_set_exp_feature * cp,u16 data_len) set_offload_codec_func() argument
5013 set_le_simultaneous_roles_func(struct sock * sk,struct hci_dev * hdev,struct mgmt_cp_set_exp_feature * cp,u16 data_len) set_le_simultaneous_roles_func() argument
5072 set_iso_socket_func(struct sock * sk,struct hci_dev * hdev,struct mgmt_cp_set_exp_feature * cp,u16 data_len) set_iso_socket_func() argument
5143 set_exp_feature(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) set_exp_feature() argument
5161 get_device_flags(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) get_device_flags() argument
5212 device_flags_changed(struct sock * sk,struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type,u32 supported_flags,u32 current_flags) device_flags_changed() argument
5226 is_connected(struct hci_dev * hdev,bdaddr_t * addr,u8 type) is_connected() argument
5244 hci_conn_params_set(struct hci_dev * hdev,bdaddr_t * addr,u8 addr_type,u8 auto_connect) hci_conn_params_set() argument
5289 set_device_flags(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_device_flags() argument
5373 mgmt_adv_monitor_added(struct sock * sk,struct hci_dev * hdev,u16 handle) mgmt_adv_monitor_added() argument
5383 mgmt_adv_monitor_removed(struct sock * sk,struct hci_dev * hdev,__le16 handle) mgmt_adv_monitor_removed() argument
5393 read_adv_mon_features(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) read_adv_mon_features() argument
5442 mgmt_add_adv_patterns_monitor_complete(struct hci_dev * hdev,void * data,int status) mgmt_add_adv_patterns_monitor_complete() argument
5482 mgmt_add_adv_patterns_monitor_sync(struct hci_dev * hdev,void * data) mgmt_add_adv_patterns_monitor_sync() argument
5501 __add_adv_patterns_monitor(struct sock * sk,struct hci_dev * hdev,struct adv_monitor * m,u8 status,void * data,u16 len,u16 op) __add_adv_patterns_monitor() argument
5604 add_adv_patterns_monitor(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) add_adv_patterns_monitor() argument
5641 add_adv_patterns_monitor_rssi(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) add_adv_patterns_monitor_rssi() argument
5678 mgmt_remove_adv_monitor_complete(struct hci_dev * hdev,void * data,int status) mgmt_remove_adv_monitor_complete() argument
5708 mgmt_remove_adv_monitor_sync(struct hci_dev * hdev,void * data) mgmt_remove_adv_monitor_sync() argument
5720 remove_adv_monitor(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) remove_adv_monitor() argument
5765 read_local_oob_data_complete(struct hci_dev * hdev,void * data,int err) read_local_oob_data_complete() argument
5834 read_local_oob_data_sync(struct hci_dev * hdev,void * data) read_local_oob_data_sync() argument
5849 read_local_oob_data(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_local_oob_data() argument
5891 add_remote_oob_data(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) add_remote_oob_data() argument
5999 remove_remote_oob_data(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) remove_remote_oob_data() argument
6036 discovery_type_is_valid(struct hci_dev * hdev,uint8_t type,uint8_t * mgmt_status) discovery_type_is_valid() argument
6063 start_discovery_complete(struct hci_dev * hdev,void * data,int err) start_discovery_complete() argument
6080 start_discovery_sync(struct hci_dev * hdev,void * data) start_discovery_sync() argument
6088 start_discovery_internal(struct sock * sk,struct hci_dev * hdev,u16 op,void * data,u16 len) start_discovery_internal() argument
6159 start_discovery(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) start_discovery() argument
6166 start_limited_discovery(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) start_limited_discovery() argument
6174 start_service_discovery(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) start_service_discovery() argument
6290 stop_discovery_complete(struct hci_dev * hdev,void * data,int err) stop_discovery_complete() argument
6307 stop_discovery_sync(struct hci_dev * hdev,void * data) stop_discovery_sync() argument
6315 stop_discovery(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) stop_discovery() argument
6360 confirm_name(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) confirm_name() argument
6402 block_device(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) block_device() argument
6438 unblock_device(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) unblock_device() argument
6474 set_device_id_sync(struct hci_dev * hdev,void * data) set_device_id_sync() argument
6479 set_device_id(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_device_id() argument
6511 enable_advertising_instance(struct hci_dev * hdev,int err) enable_advertising_instance() argument
6519 set_advertising_complete(struct hci_dev * hdev,void * data,int err) set_advertising_complete() argument
6571 set_adv_sync(struct hci_dev * hdev,void * data) set_adv_sync() argument
6618 set_advertising(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_advertising() argument
6703 set_static_address(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_static_address() argument
6747 set_scan_params(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_scan_params() argument
6797 fast_connectable_complete(struct hci_dev * hdev,void * data,int err) fast_connectable_complete() argument
6821 write_fast_connectable_sync(struct hci_dev * hdev,void * data) write_fast_connectable_sync() argument
6829 set_fast_connectable(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_fast_connectable() argument
6885 set_bredr_complete(struct hci_dev * hdev,void * data,int err) set_bredr_complete() argument
6908 set_bredr_sync(struct hci_dev * hdev,void * data) set_bredr_sync() argument
6926 set_bredr(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_bredr() argument
7026 set_secure_conn_complete(struct hci_dev * hdev,void * data,int err) set_secure_conn_complete() argument
7064 set_secure_conn_sync(struct hci_dev * hdev,void * data) set_secure_conn_sync() argument
7076 set_secure_conn(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_secure_conn() argument
7157 set_debug_keys(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_debug_keys() argument
7204 set_privacy(struct sock * sk,struct hci_dev * hdev,void * cp_data,u16 len) set_privacy() argument
7277 load_irks(struct sock * sk,struct hci_dev * hdev,void * cp_data,u16 len) load_irks() argument
7370 load_long_term_keys(struct sock * sk,struct hci_dev * hdev,void * cp_data,u16 len) load_long_term_keys() argument
7463 get_conn_info_complete(struct hci_dev * hdev,void * data,int err) get_conn_info_complete() argument
7495 get_conn_info_sync(struct hci_dev * hdev,void * data) get_conn_info_sync() argument
7539 get_conn_info(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) get_conn_info() argument
7630 get_clock_info_complete(struct hci_dev * hdev,void * data,int err) get_clock_info_complete() argument
7664 get_clock_info_sync(struct hci_dev * hdev,void * data) get_clock_info_sync() argument
7692 get_clock_info(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) get_clock_info() argument
7756 device_added(struct sock * sk,struct hci_dev * hdev,bdaddr_t * bdaddr,u8 type,u8 action) device_added() argument
7768 add_device_complete(struct hci_dev * hdev,void * data,int err) add_device_complete() argument
7794 add_device_sync(struct hci_dev * hdev,void * data) add_device_sync() argument
7799 add_device(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) add_device() argument
7911 device_removed(struct sock * sk,struct hci_dev * hdev,bdaddr_t * bdaddr,u8 type) device_removed() argument
7922 remove_device_sync(struct hci_dev * hdev,void * data) remove_device_sync() argument
7927 remove_device(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) remove_device() argument
8051 conn_update_sync(struct hci_dev * hdev,void * data) conn_update_sync() argument
8080 conn_update_sync_destroy(struct hci_dev * hdev,void * data,int err) conn_update_sync_destroy() argument
8085 load_conn_param(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) load_conn_param() argument
8208 load_conn_subrate(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) load_conn_subrate() argument
8320 set_external_config(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_external_config() argument
8376 set_public_address(struct sock * sk,struct hci_dev * hdev,void * data,u16 len) set_public_address() argument
8428 read_local_oob_ext_data_complete(struct hci_dev * hdev,void * data,int err) read_local_oob_ext_data_complete() argument
8548 read_local_ssp_oob_req(struct hci_dev * hdev,struct sock * sk,struct mgmt_cp_read_local_oob_ext_data * cp) read_local_ssp_oob_req() argument
8570 read_local_oob_ext_data(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_local_oob_ext_data() argument
8731 get_supported_adv_flags(struct hci_dev * hdev) get_supported_adv_flags() argument
8768 read_adv_features(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) read_adv_features() argument
8823 calculate_name_len(struct hci_dev * hdev) calculate_name_len() argument
8830 tlv_data_max_len(struct hci_dev * hdev,u32 adv_flags,bool is_adv_data) tlv_data_max_len() argument
8876 tlv_data_is_valid(struct hci_dev * hdev,u32 adv_flags,u8 * data,u8 len,bool is_adv_data) tlv_data_is_valid() argument
8921 requested_adv_flags_are_valid(struct hci_dev * hdev,u32 adv_flags) requested_adv_flags_are_valid() argument
8937 adv_busy(struct hci_dev * hdev) adv_busy() argument
8942 add_adv_complete(struct hci_dev * hdev,struct sock * sk,u8 instance,int err) add_adv_complete() argument
8974 add_advertising_complete(struct hci_dev * hdev,void * data,int err) add_advertising_complete() argument
8996 add_advertising_sync(struct hci_dev * hdev,void * data) add_advertising_sync() argument
9004 add_advertising(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) add_advertising() argument
9139 add_ext_adv_params_complete(struct hci_dev * hdev,void * data,int err) add_ext_adv_params_complete() argument
9189 add_ext_adv_params_sync(struct hci_dev * hdev,void * data) add_ext_adv_params_sync() argument
9197 add_ext_adv_params(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) add_ext_adv_params() argument
9313 add_ext_adv_data_complete(struct hci_dev * hdev,void * data,int err) add_ext_adv_data_complete() argument
9335 add_ext_adv_data_sync(struct hci_dev * hdev,void * data) add_ext_adv_data_sync() argument
9356 add_ext_adv_data(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) add_ext_adv_data() argument
9482 remove_advertising_complete(struct hci_dev * hdev,void * data,int err) remove_advertising_complete() argument
9504 remove_advertising_sync(struct hci_dev * hdev,void * data) remove_advertising_sync() argument
9520 remove_advertising(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) remove_advertising() argument
9568 get_adv_size_info(struct sock * sk,struct hci_dev * hdev,void * data,u16 data_len) get_adv_size_info() argument
9741 mgmt_index_added(struct hci_dev * hdev) mgmt_index_added() argument
9764 mgmt_index_removed(struct hci_dev * hdev) mgmt_index_removed() argument
9798 mgmt_power_on(struct hci_dev * hdev,int err) mgmt_power_on() argument
9822 __mgmt_power_off(struct hci_dev * hdev) __mgmt_power_off() argument
9857 mgmt_set_powered_failed(struct hci_dev * hdev,int err) mgmt_set_powered_failed() argument
9876 mgmt_new_link_key(struct hci_dev * hdev,struct link_key * key,bool persistent) mgmt_new_link_key() argument
9912 mgmt_new_ltk(struct hci_dev * hdev,struct smp_ltk * key,bool persistent) mgmt_new_ltk() argument
9955 mgmt_new_irk(struct hci_dev * hdev,struct smp_irk * irk,bool persistent) mgmt_new_irk() argument
9971 mgmt_new_csrk(struct hci_dev * hdev,struct smp_csrk * csrk,bool persistent) mgmt_new_csrk() argument
10001 mgmt_new_conn_param(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type,u8 store_hint,u16 min_interval,u16 max_interval,u16 latency,u16 timeout) mgmt_new_conn_param() argument
10022 mgmt_device_connected(struct hci_dev * hdev,struct hci_conn * conn,u8 * name,u8 name_len) mgmt_device_connected() argument
10077 struct hci_dev *hdev = data; unpair_device_rsp() local
10085 mgmt_powering_down(struct hci_dev * hdev) mgmt_powering_down() argument
10120 mgmt_device_disconnected(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 reason,bool mgmt_connected) mgmt_device_disconnected() argument
10149 mgmt_disconnect_failed(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_disconnect_failed() argument
10175 mgmt_connect_failed(struct hci_dev * hdev,struct hci_conn * conn,u8 status) mgmt_connect_failed() argument
10193 mgmt_pin_code_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 secure) mgmt_pin_code_request() argument
10204 mgmt_pin_code_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 status) mgmt_pin_code_reply_complete() argument
10217 mgmt_pin_code_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 status) mgmt_pin_code_neg_reply_complete() argument
10230 mgmt_user_confirm_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u32 value,u8 confirm_hint) mgmt_user_confirm_request() argument
10247 mgmt_user_passkey_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type) mgmt_user_passkey_request() argument
10261 user_pairing_resp_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status,u8 opcode) user_pairing_resp_complete() argument
10277 mgmt_user_confirm_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_confirm_reply_complete() argument
10284 mgmt_user_confirm_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_confirm_neg_reply_complete() argument
10292 mgmt_user_passkey_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_passkey_reply_complete() argument
10299 mgmt_user_passkey_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_passkey_neg_reply_complete() argument
10307 mgmt_user_passkey_notify(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u32 passkey,u8 entered) mgmt_user_passkey_notify() argument
10344 mgmt_auth_enable_complete(struct hci_dev * hdev,u8 status) mgmt_auth_enable_complete() argument
10381 mgmt_set_class_of_dev_complete(struct hci_dev * hdev,u8 * dev_class,u8 status) mgmt_set_class_of_dev_complete() argument
10403 mgmt_set_local_name_complete(struct hci_dev * hdev,u8 * name,u8 status) mgmt_set_local_name_complete() argument
10501 is_filter_match(struct hci_dev * hdev,s8 rssi,u8 * eir,u16 eir_len,u8 * scan_rsp,u8 scan_rsp_len) is_filter_match() argument
10548 mgmt_adv_monitor_device_lost(struct hci_dev * hdev,u16 handle,bdaddr_t * bdaddr,u8 addr_type) mgmt_adv_monitor_device_lost() argument
10561 mgmt_send_adv_monitor_device_found(struct hci_dev * hdev,struct sk_buff * skb,struct sock * skip_sk,u16 handle) mgmt_send_adv_monitor_device_found() argument
10591 mgmt_adv_monitor_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,bool report_device,struct sk_buff * skb,struct sock * skip_sk) mgmt_adv_monitor_device_found() argument
10655 mesh_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type,s8 rssi,u32 flags,u8 * eir,u16 eir_len,u8 * scan_rsp,u8 scan_rsp_len,u64 instant) mesh_device_found() argument
10721 mgmt_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 * dev_class,s8 rssi,u32 flags,u8 * eir,u16 eir_len,u8 * scan_rsp,u8 scan_rsp_len,u64 instant) mgmt_device_found() argument
10813 mgmt_remote_name(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,s8 rssi,u8 * name,u8 name_len) mgmt_remote_name() argument
10842 mgmt_discovering(struct hci_dev * hdev,u8 discovering) mgmt_discovering() argument
10855 mgmt_suspending(struct hci_dev * hdev,u8 state) mgmt_suspending() argument
10863 mgmt_resuming(struct hci_dev * hdev,u8 reason,bdaddr_t * bdaddr,u8 addr_type) mgmt_resuming() argument
10891 mgmt_conn_subrate_notify(struct hci_dev * hdev,struct hci_conn * conn,u8 status) mgmt_conn_subrate_notify() argument
10916 struct hci_dev *hdev; mgmt_cleanup() local
[all...]
H A Dmsft.c136 bool msft_monitor_supported(struct hci_dev *hdev) in msft_monitor_supported() argument
138 return !!(msft_get_features(hdev) & MSFT_FEATURE_MASK_LE_ADV_MONITOR); in msft_monitor_supported()
141 static bool read_supported_features(struct hci_dev *hdev, in read_supported_features() argument
150 skb = __hci_cmd_sync(hdev, hdev->msft_opcode, sizeof(cp), &cp, in read_supported_features()
153 bt_dev_err(hdev, "Failed to read MSFT supported features (%ld)", in read_supported_features()
159 bt_dev_err(hdev, "MSFT supported features length mismatch"); in read_supported_features()
169 bt_dev_err(hdev, "MSFT event prefix length mismatch"); in read_supported_features()
184 hdev->msft_curve_validity = true; in read_supported_features()
196 * This function requires the caller holds hdev
199 msft_find_handle_data(struct hci_dev * hdev,u16 handle,bool is_mgmt) msft_find_handle_data() argument
216 msft_find_address_data(struct hci_dev * hdev,u8 addr_type,bdaddr_t * addr,u8 pattern_handle) msft_find_address_data() argument
233 msft_monitor_device_del(struct hci_dev * hdev,__u16 mgmt_handle,bdaddr_t * bdaddr,__u8 addr_type,bool notify) msft_monitor_device_del() argument
263 msft_le_monitor_advertisement_cb(struct hci_dev * hdev,u16 opcode,struct adv_monitor * monitor,struct sk_buff * skb) msft_le_monitor_advertisement_cb() argument
308 msft_remove_addr_filters_sync(struct hci_dev * hdev,u8 handle) msft_remove_addr_filters_sync() argument
371 msft_le_cancel_monitor_advertisement_cb(struct hci_dev * hdev,u16 opcode,struct adv_monitor * monitor,struct sk_buff * skb) msft_le_cancel_monitor_advertisement_cb() argument
428 msft_remove_monitor_sync(struct hci_dev * hdev,struct adv_monitor * monitor) msft_remove_monitor_sync() argument
454 msft_suspend_sync(struct hci_dev * hdev) msft_suspend_sync() argument
510 msft_add_monitor_sync(struct hci_dev * hdev,struct adv_monitor * monitor) msft_add_monitor_sync() argument
587 reregister_monitor(struct hci_dev * hdev) reregister_monitor() argument
613 msft_resume_sync(struct hci_dev * hdev) msft_resume_sync() argument
636 msft_do_open(struct hci_dev * hdev) msft_do_open() argument
672 msft_do_close(struct hci_dev * hdev) msft_do_close() argument
715 msft_cancel_address_filter_sync(struct hci_dev * hdev,void * data) msft_cancel_address_filter_sync() argument
758 msft_register(struct hci_dev * hdev) msft_register() argument
776 msft_release(struct hci_dev * hdev) msft_release() argument
793 msft_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,__u8 addr_type,__u16 mgmt_handle) msft_device_found() argument
816 msft_device_lost(struct hci_dev * hdev,bdaddr_t * bdaddr,__u8 addr_type,__u16 mgmt_handle) msft_device_lost() argument
826 msft_skb_pull(struct hci_dev * hdev,struct sk_buff * skb,u8 ev,size_t len) msft_skb_pull() argument
838 msft_add_address_filter_sync(struct hci_dev * hdev,void * data) msft_add_address_filter_sync() argument
933 msft_add_address_filter(struct hci_dev * hdev,u8 addr_type,bdaddr_t * bdaddr,struct msft_monitor_advertisement_handle_data * handle_data) msft_add_address_filter() argument
977 msft_monitor_device_evt(struct hci_dev * hdev,struct sk_buff * skb) msft_monitor_device_evt() argument
1073 msft_vendor_evt(struct hci_dev * hdev,void * data,struct sk_buff * skb) msft_vendor_evt() argument
1121 msft_get_features(struct hci_dev * hdev) msft_get_features() argument
1128 msft_le_set_advertisement_filter_enable_cb(struct hci_dev * hdev,void * user_data,u8 status) msft_le_set_advertisement_filter_enable_cb() argument
1157 msft_add_monitor_pattern(struct hci_dev * hdev,struct adv_monitor * monitor) msft_add_monitor_pattern() argument
1171 msft_remove_monitor(struct hci_dev * hdev,struct adv_monitor * monitor) msft_remove_monitor() argument
1184 msft_set_filter_enable(struct hci_dev * hdev,bool enable) msft_set_filter_enable() argument
1203 msft_curve_validity(struct hci_dev * hdev) msft_curve_validity() argument
[all...]
/linux/net/nfc/hci/
H A Dcore.c37 void nfc_hci_reset_pipes(struct nfc_hci_dev *hdev) in nfc_hci_reset_pipes() argument
42 hdev->pipes[i].gate = NFC_HCI_INVALID_GATE; in nfc_hci_reset_pipes()
43 hdev->pipes[i].dest_host = NFC_HCI_INVALID_HOST; in nfc_hci_reset_pipes()
45 memset(hdev->gate2pipe, NFC_HCI_INVALID_PIPE, sizeof(hdev->gate2pipe)); in nfc_hci_reset_pipes()
49 void nfc_hci_reset_pipes_per_host(struct nfc_hci_dev *hdev, u8 host) in nfc_hci_reset_pipes_per_host() argument
54 if (hdev->pipes[i].dest_host != host) in nfc_hci_reset_pipes_per_host()
57 hdev->pipes[i].gate = NFC_HCI_INVALID_GATE; in nfc_hci_reset_pipes_per_host()
58 hdev->pipes[i].dest_host = NFC_HCI_INVALID_HOST; in nfc_hci_reset_pipes_per_host()
65 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, in nfc_hci_msg_tx_work() local
71 mutex_lock(&hdev->msg_tx_mutex); in nfc_hci_msg_tx_work()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c50 static int hclge_set_mac_mtu(struct hclge_dev *hdev, int new_mps);
51 static int hclge_init_vlan_config(struct hclge_dev *hdev);
52 static void hclge_sync_vlan_filter(struct hclge_dev *hdev);
57 static int hclge_set_default_loopback(struct hclge_dev *hdev);
59 static void hclge_sync_mac_table(struct hclge_dev *hdev);
60 static void hclge_restore_hw_table(struct hclge_dev *hdev);
61 static void hclge_sync_promisc_mode(struct hclge_dev *hdev);
62 static void hclge_update_fec_stats(struct hclge_dev *hdev);
63 static int hclge_mac_link_status_wait(struct hclge_dev *hdev, int link_ret,
65 static int hclge_update_port_info(struct hclge_dev *hdev);
367 hclge_mac_update_stats_defective(struct hclge_dev * hdev) hclge_mac_update_stats_defective() argument
403 hclge_mac_update_stats_complete(struct hclge_dev * hdev) hclge_mac_update_stats_complete() argument
450 hclge_mac_query_reg_num(struct hclge_dev * hdev,u32 * reg_num) hclge_mac_query_reg_num() argument
484 hclge_mac_update_stats(struct hclge_dev * hdev) hclge_mac_update_stats() argument
493 hclge_comm_get_count(struct hclge_dev * hdev,const struct hclge_comm_stats_str strs[],u32 size) hclge_comm_get_count() argument
507 hclge_comm_get_stats(struct hclge_dev * hdev,const struct hclge_comm_stats_str strs[],int size,u64 * data) hclge_comm_get_stats() argument
525 hclge_comm_get_strings(struct hclge_dev * hdev,u32 stringset,const struct hclge_comm_stats_str strs[],int size,u8 ** data) hclge_comm_get_strings() argument
542 hclge_update_stats_for_all(struct hclge_dev * hdev) hclge_update_stats_for_all() argument
568 struct hclge_dev *hdev = vport->back; hclge_update_stats() local
598 struct hclge_dev *hdev = vport->back; hclge_get_sset_count() local
647 struct hclge_dev *hdev = vport->back; hclge_get_strings() local
683 struct hclge_dev *hdev = vport->back; hclge_get_stats() local
695 struct hclge_dev *hdev = vport->back; hclge_get_mac_stat() local
703 hclge_parse_func_status(struct hclge_dev * hdev,struct hclge_func_status_cmd * status) hclge_parse_func_status() argument
721 hclge_query_function_status(struct hclge_dev * hdev) hclge_query_function_status() argument
750 hclge_query_pf_resource(struct hclge_dev * hdev) hclge_query_pf_resource() argument
874 struct hclge_dev *hdev = vport->back; hclge_check_port_speed() local
1046 hclge_parse_fiber_link_mode(struct hclge_dev * hdev,u16 speed_ability) hclge_parse_fiber_link_mode() argument
1068 hclge_parse_backplane_link_mode(struct hclge_dev * hdev,u16 speed_ability) hclge_parse_backplane_link_mode() argument
1084 hclge_parse_copper_link_mode(struct hclge_dev * hdev,u16 speed_ability) hclge_parse_copper_link_mode() argument
1118 hclge_parse_link_mode(struct hclge_dev * hdev,u16 speed_ability) hclge_parse_link_mode() argument
1257 hclge_get_cfg(struct hclge_dev * hdev,struct hclge_cfg * hcfg) hclge_get_cfg() argument
1289 hclge_set_default_dev_specs(struct hclge_dev * hdev) hclge_set_default_dev_specs() argument
1306 hclge_parse_dev_specs(struct hclge_dev * hdev,struct hclge_desc * desc) hclge_parse_dev_specs() argument
1331 hclge_check_dev_specs(struct hclge_dev * hdev) hclge_check_dev_specs() argument
1353 hclge_query_mac_stats_num(struct hclge_dev * hdev) hclge_query_mac_stats_num() argument
1366 hclge_query_dev_specs(struct hclge_dev * hdev) hclge_query_dev_specs() argument
1401 hclge_get_cap(struct hclge_dev * hdev) hclge_get_cap() argument
1416 hclge_init_kdump_kernel_config(struct hclge_dev * hdev) hclge_init_kdump_kernel_config() argument
1433 hclge_init_tc_config(struct hclge_dev * hdev) hclge_init_tc_config() argument
1461 hclge_configure(struct hclge_dev * hdev) hclge_configure() argument
1522 hclge_config_tso(struct hclge_dev * hdev,u16 tso_mss_min,u16 tso_mss_max) hclge_config_tso() argument
1537 hclge_config_gro(struct hclge_dev * hdev) hclge_config_gro() argument
1559 hclge_alloc_tqps(struct hclge_dev * hdev) hclge_alloc_tqps() argument
1609 hclge_map_tqps_to_func(struct hclge_dev * hdev,u16 func_id,u16 tqp_pid,u16 tqp_vid,bool is_pf) hclge_map_tqps_to_func() argument
1636 struct hclge_dev *hdev = vport->back; hclge_assign_tqp() local
1668 struct hclge_dev *hdev = vport->back; hclge_knic_setup() local
1689 hclge_map_tqp_to_vport(struct hclge_dev * hdev,struct hclge_vport * vport) hclge_map_tqp_to_vport() argument
1713 hclge_map_tqp(struct hclge_dev * hdev) hclge_map_tqp() argument
1735 struct hclge_dev *hdev = vport->back; hclge_vport_setup() local
1752 hclge_alloc_vport(struct hclge_dev * hdev) hclge_alloc_vport() argument
1816 hclge_cmd_alloc_tx_buff(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_cmd_alloc_tx_buff() argument
1846 hclge_tx_buffer_alloc(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_tx_buffer_alloc() argument
1857 hclge_get_tc_num(struct hclge_dev * hdev) hclge_get_tc_num() argument
1869 hclge_get_pfc_priv_num(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_get_pfc_priv_num() argument
1887 hclge_get_no_pfc_priv_num(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_get_no_pfc_priv_num() argument
1929 hclge_is_rx_buf_ok(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc,u32 rx_all) hclge_is_rx_buf_ok() argument
1995 hclge_tx_buffer_calc(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_tx_buffer_calc() argument
2021 hclge_rx_buf_calc_all(struct hclge_dev * hdev,bool max,struct hclge_pkt_buf_alloc * buf_alloc) hclge_rx_buf_calc_all() argument
2057 hclge_drop_nopfc_buf_till_fit(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_drop_nopfc_buf_till_fit() argument
2087 hclge_drop_pfc_buf_till_fit(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_drop_pfc_buf_till_fit() argument
2117 hclge_only_alloc_priv_buff(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_only_alloc_priv_buff() argument
2170 hclge_rx_buffer_calc(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_rx_buffer_calc() argument
2203 hclge_rx_priv_buf_alloc(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_rx_priv_buf_alloc() argument
2236 hclge_rx_priv_wl_config(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_rx_priv_wl_config() argument
2280 hclge_common_thrd_config(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_common_thrd_config() argument
2323 hclge_common_wl_config(struct hclge_dev * hdev,struct hclge_pkt_buf_alloc * buf_alloc) hclge_common_wl_config() argument
2348 hclge_buffer_alloc(struct hclge_dev * hdev) hclge_buffer_alloc() argument
2418 struct hclge_dev *hdev = vport->back; hclge_init_roce_base_info() local
2439 hclge_init_msi(struct hclge_dev * hdev) hclge_init_msi() argument
2516 hclge_cfg_mac_speed_dup_hw(struct hclge_dev * hdev,int speed,u8 duplex,u8 lane_num) hclge_cfg_mac_speed_dup_hw() argument
2553 hclge_cfg_mac_speed_dup(struct hclge_dev * hdev,int speed,u8 duplex,u8 lane_num) hclge_cfg_mac_speed_dup() argument
2579 struct hclge_dev *hdev = vport->back; hclge_cfg_mac_speed_dup_h() local
2596 hclge_set_autoneg_en(struct hclge_dev * hdev,bool enable) hclge_set_autoneg_en() argument
2621 struct hclge_dev *hdev = vport->back; hclge_set_autoneg() local
2643 struct hclge_dev *hdev = vport->back; hclge_get_autoneg() local
2655 struct hclge_dev *hdev = vport->back; hclge_restart_autoneg() local
2669 struct hclge_dev *hdev = vport->back; hclge_halt_autoneg() local
2677 hclge_parse_fec_stats_lanes(struct hclge_dev * hdev,struct hclge_desc * desc,u32 desc_len) hclge_parse_fec_stats_lanes() argument
2700 hclge_parse_fec_stats(struct hclge_dev * hdev,struct hclge_desc * desc,u32 desc_len) hclge_parse_fec_stats() argument
2722 hclge_update_fec_stats_hw(struct hclge_dev * hdev) hclge_update_fec_stats_hw() argument
2744 hclge_update_fec_stats(struct hclge_dev * hdev) hclge_update_fec_stats() argument
2761 hclge_get_fec_stats_total(struct hclge_dev * hdev,struct ethtool_fec_stats * fec_stats) hclge_get_fec_stats_total() argument
2769 hclge_get_fec_stats_lanes(struct hclge_dev * hdev,struct ethtool_fec_stats * fec_stats) hclge_get_fec_stats_lanes() argument
2790 hclge_comm_get_fec_stats(struct hclge_dev * hdev,struct ethtool_fec_stats * fec_stats) hclge_comm_get_fec_stats() argument
2815 struct hclge_dev *hdev = vport->back; hclge_get_fec_stats() local
2828 hclge_set_fec_hw(struct hclge_dev * hdev,u32 fec_mode) hclge_set_fec_hw() argument
2859 struct hclge_dev *hdev = vport->back; hclge_set_fec() local
2880 struct hclge_dev *hdev = vport->back; hclge_get_fec() local
2889 hclge_mac_init(struct hclge_dev * hdev) hclge_mac_init() argument
2925 hclge_mbx_task_schedule(struct hclge_dev * hdev) hclge_mbx_task_schedule() argument
2934 hclge_reset_task_schedule(struct hclge_dev * hdev) hclge_reset_task_schedule() argument
2944 hclge_errhand_task_schedule(struct hclge_dev * hdev) hclge_errhand_task_schedule() argument
2951 hclge_task_schedule(struct hclge_dev * hdev,unsigned long delay_time) hclge_task_schedule() argument
2958 hclge_get_mac_link_status(struct hclge_dev * hdev,int * link_status) hclge_get_mac_link_status() argument
2979 hclge_get_mac_phy_link(struct hclge_dev * hdev,int * link_status) hclge_get_mac_phy_link() argument
2994 hclge_push_link_status(struct hclge_dev * hdev) hclge_push_link_status() argument
3016 hclge_update_link_status(struct hclge_dev * hdev) hclge_update_link_status() argument
3100 hclge_update_pause_advertising(struct hclge_dev * hdev) hclge_update_pause_advertising() argument
3127 hclge_update_advertising(struct hclge_dev * hdev) hclge_update_advertising() argument
3137 hclge_update_port_capability(struct hclge_dev * hdev,struct hclge_mac * mac) hclge_update_port_capability() argument
3162 hclge_get_sfp_speed(struct hclge_dev * hdev,u32 * speed) hclge_get_sfp_speed() argument
3185 hclge_get_sfp_info(struct hclge_dev * hdev,struct hclge_mac * mac) hclge_get_sfp_info() argument
3243 struct hclge_dev *hdev = vport->back; hclge_get_phy_link_ksettings() local
3293 struct hclge_dev *hdev = vport->back; hclge_ethtool_ksettings_set() local
3337 struct hclge_dev *hdev = vport->back; hclge_set_phy_link_ksettings() local
3360 hclge_update_tp_port_info(struct hclge_dev * hdev) hclge_update_tp_port_info() argument
3380 hclge_tp_port_init(struct hclge_dev * hdev) hclge_tp_port_init() argument
3395 hclge_update_port_info(struct hclge_dev * hdev) hclge_update_port_info() argument
3445 struct hclge_dev *hdev = vport->back; hclge_get_status() local
3452 hclge_get_vf_vport(struct hclge_dev * hdev,int vf) hclge_get_vf_vport() argument
3476 struct hclge_dev *hdev = vport->back; hclge_get_vf_config() local
3500 struct hclge_dev *hdev = vport->back; hclge_set_vf_link_state() local
3527 hclge_set_pfc_storm_para(struct hclge_dev * hdev,struct hnae3_pfc_storm_para * para) hclge_set_pfc_storm_para() argument
3553 hclge_get_pfc_storm_para(struct hclge_dev * hdev,struct hnae3_pfc_storm_para * para) hclge_get_pfc_storm_para() argument
3581 hclge_enable_pfc_storm_prevent(struct hclge_dev * hdev,int dir,bool enable) hclge_enable_pfc_storm_prevent() argument
3599 struct hclge_dev *hdev = vport->back; hclge_set_pfc_prevention_tout() local
3629 struct hclge_dev *hdev = vport->back; hclge_get_pfc_prevention_tout() local
3643 hclge_set_reset_pending(struct hclge_dev * hdev,enum hnae3_reset_type reset_type) hclge_set_reset_pending() argument
3654 hclge_check_event_cause(struct hclge_dev * hdev,u32 * clearval) hclge_check_event_cause() argument
3716 hclge_clear_event_cause(struct hclge_dev * hdev,u32 event_type,u32 regclr) hclge_clear_event_cause() argument
3737 hclge_clear_all_event_cause(struct hclge_dev * hdev) hclge_clear_all_event_cause() argument
3753 struct hclge_dev *hdev = data; hclge_misc_irq_handle() local
3803 hclge_free_vector(struct hclge_dev * hdev,int vector_id) hclge_free_vector() argument
3816 hclge_get_misc_vector(struct hclge_dev * hdev) hclge_get_misc_vector() argument
3829 hclge_misc_irq_init(struct hclge_dev * hdev) hclge_misc_irq_init() argument
3849 hclge_misc_irq_uninit(struct hclge_dev * hdev) hclge_misc_irq_uninit() argument
3855 hclge_notify_client(struct hclge_dev * hdev,enum hnae3_reset_notify_type type) hclge_notify_client() argument
3876 hclge_notify_roce_client(struct hclge_dev * hdev,enum hnae3_reset_notify_type type) hclge_notify_roce_client() argument
3897 hclge_reset_wait(struct hclge_dev * hdev) hclge_reset_wait() argument
3941 hclge_set_vf_rst(struct hclge_dev * hdev,int func_id,bool reset) hclge_set_vf_rst() argument
3956 hclge_set_all_vf_rst(struct hclge_dev * hdev,bool reset) hclge_set_all_vf_rst() argument
4000 hclge_mailbox_service_task(struct hclge_dev * hdev) hclge_mailbox_service_task() argument
4019 hclge_func_reset_sync_vf(struct hclge_dev * hdev) hclge_func_reset_sync_vf() argument
4054 hclge_report_hw_error(struct hclge_dev * hdev,enum hnae3_hw_error_type type) hclge_report_hw_error() argument
4066 hclge_handle_imp_error(struct hclge_dev * hdev) hclge_handle_imp_error() argument
4084 hclge_func_reset_cmd(struct hclge_dev * hdev,int func_id) hclge_func_reset_cmd() argument
4102 hclge_do_reset(struct hclge_dev * hdev) hclge_do_reset() argument
4146 struct hclge_dev *hdev = ae_dev->priv; hclge_get_reset_level() local
4175 hclge_clear_reset_cause(struct hclge_dev * hdev) hclge_clear_reset_cause() argument
4203 hclge_reset_handshake(struct hclge_dev * hdev,bool enable) hclge_reset_handshake() argument
4216 hclge_func_reset_notify_vf(struct hclge_dev * hdev) hclge_func_reset_notify_vf() argument
4229 hclge_reset_prepare_wait(struct hclge_dev * hdev) hclge_reset_prepare_wait() argument
4278 hclge_show_rst_info(struct hclge_dev * hdev) hclge_show_rst_info() argument
4293 hclge_reset_err_handle(struct hclge_dev * hdev) hclge_reset_err_handle() argument
4330 hclge_update_reset_level(struct hclge_dev * hdev) hclge_update_reset_level() argument
4351 hclge_set_rst_done(struct hclge_dev * hdev) hclge_set_rst_done() argument
4379 hclge_reset_prepare_up(struct hclge_dev * hdev) hclge_reset_prepare_up() argument
4402 hclge_reset_stack(struct hclge_dev * hdev) hclge_reset_stack() argument
4417 hclge_reset_prepare(struct hclge_dev * hdev) hclge_reset_prepare() argument
4436 hclge_restore_pfc_storm_prevention_tout(struct hclge_dev * hdev) hclge_restore_pfc_storm_prevention_tout() argument
4456 hclge_reset_rebuild(struct hclge_dev * hdev) hclge_reset_rebuild() argument
4506 hclge_reset(struct hclge_dev * hdev) hclge_reset() argument
4527 struct hclge_dev *hdev = ae_dev->priv; hclge_reset_event() local
4576 struct hclge_dev *hdev = ae_dev->priv; hclge_set_def_reset_request() local
4591 struct hclge_dev *hdev = timer_container_of(hdev, t, reset_timer); hclge_reset_timer() local
4604 hclge_reset_subtask(struct hclge_dev * hdev) hclge_reset_subtask() argument
4630 hclge_handle_err_reset_request(struct hclge_dev * hdev) hclge_handle_err_reset_request() argument
4648 hclge_handle_err_recovery(struct hclge_dev * hdev) hclge_handle_err_recovery() argument
4663 hclge_misc_err_recovery(struct hclge_dev * hdev) hclge_misc_err_recovery() argument
4682 hclge_errhand_service_task(struct hclge_dev * hdev) hclge_errhand_service_task() argument
4693 hclge_reset_service_task(struct hclge_dev * hdev) hclge_reset_service_task() argument
4714 hclge_update_vport_alive(struct hclge_dev * hdev) hclge_update_vport_alive() argument
4738 hclge_periodic_service_task(struct hclge_dev * hdev) hclge_periodic_service_task() argument
4785 hclge_ptp_service_task(struct hclge_dev * hdev) hclge_ptp_service_task() argument
4808 struct hclge_dev *hdev = hclge_service_task() local
4837 hclge_get_vector_info(struct hclge_dev * hdev,u16 idx,struct hnae3_vector_info * vector_info) hclge_get_vector_info() argument
4866 struct hclge_dev *hdev = vport->back; hclge_get_vector() local
4891 hclge_get_vector_index(struct hclge_dev * hdev,int vector) hclge_get_vector_index() argument
4905 struct hclge_dev *hdev = vport->back; hclge_put_vector() local
4940 struct hclge_dev *hdev = vport->back; hclge_set_rss() local
4963 struct hclge_dev *hdev = vport->back; hclge_set_rss_tuple() local
4999 struct hclge_dev *hdev = vport->back; hclge_get_tc_size() local
5004 hclge_init_rss_tc_mode(struct hclge_dev * hdev) hclge_init_rss_tc_mode() argument
5048 hclge_rss_init_hw(struct hclge_dev * hdev) hclge_rss_init_hw() argument
5075 struct hclge_dev *hdev = vport->back; hclge_bind_ring_with_vector() local
5153 struct hclge_dev *hdev = vport->back; hclge_map_ring_to_vector() local
5170 struct hclge_dev *hdev = vport->back; hclge_unmap_ring_frm_vector() local
5192 hclge_cmd_set_promisc_mode(struct hclge_dev * hdev,u8 vf_id,bool en_uc,bool en_mc,bool en_bc) hclge_cmd_set_promisc_mode() argument
5248 struct hclge_dev *hdev = vport->back; hclge_set_promisc_mode() local
5272 struct hclge_dev *hdev = vport->back; hclge_get_hw_reset_stat() local
5281 struct hclge_dev *hdev = vport->back; hclge_get_cmdq_stat() local
5289 struct hclge_dev *hdev = vport->back; hclge_ae_dev_resetting() local
5297 struct hclge_dev *hdev = vport->back; hclge_ae_dev_reset_cnt() local
5302 hclge_cfg_mac_mode(struct hclge_dev * hdev,bool enable) hclge_cfg_mac_mode() argument
5361 hclge_config_switch_param(struct hclge_dev * hdev,int vfid,u8 switch_param,u8 param_mask) hclge_config_switch_param() argument
5397 hclge_phy_link_status_wait(struct hclge_dev * hdev,int link_ret) hclge_phy_link_status_wait() argument
5421 hclge_mac_link_status_wait(struct hclge_dev * hdev,int link_ret,int wait_cnt) hclge_mac_link_status_wait() argument
5440 hclge_mac_phy_link_status_wait(struct hclge_dev * hdev,bool en,bool is_phy) hclge_mac_phy_link_status_wait() argument
5456 hclge_set_app_loopback(struct hclge_dev * hdev,bool en) hclge_set_app_loopback() argument
5490 hclge_cfg_common_loopback_cmd_send(struct hclge_dev * hdev,bool en,enum hnae3_loop loop_mode) hclge_cfg_common_loopback_cmd_send() argument
5530 hclge_cfg_common_loopback_wait(struct hclge_dev * hdev) hclge_cfg_common_loopback_wait() argument
5567 hclge_cfg_common_loopback(struct hclge_dev * hdev,bool en,enum hnae3_loop loop_mode) hclge_cfg_common_loopback() argument
5579 hclge_set_common_loopback(struct hclge_dev * hdev,bool en,enum hnae3_loop loop_mode) hclge_set_common_loopback() argument
5598 hclge_enable_phy_loopback(struct hclge_dev * hdev,struct phy_device * phydev) hclge_enable_phy_loopback() argument
5616 hclge_disable_phy_loopback(struct hclge_dev * hdev,struct phy_device * phydev) hclge_disable_phy_loopback() argument
5628 hclge_set_phy_loopback(struct hclge_dev * hdev,bool en) hclge_set_phy_loopback() argument
5660 hclge_tqp_enable_cmd_send(struct hclge_dev * hdev,u16 tqp_id,u16 stream_id,bool enable) hclge_tqp_enable_cmd_send() argument
5679 struct hclge_dev *hdev = vport->back; hclge_tqp_enable() local
5695 struct hclge_dev *hdev = vport->back; hclge_set_loopback() local
5743 hclge_set_default_loopback(struct hclge_dev * hdev) hclge_set_default_loopback() argument
5759 hclge_flush_link_update(struct hclge_dev * hdev) hclge_flush_link_update() argument
5775 struct hclge_dev *hdev = vport->back; hclge_set_timer_task() local
5791 struct hclge_dev *hdev = vport->back; hclge_ae_start() local
5809 struct hclge_dev *hdev = vport->back; hclge_ae_stop() local
5846 struct hclge_dev *hdev = vport->back; hclge_vport_start() local
5893 struct hclge_dev *hdev = vport->back; hclge_get_mac_vlan_cmd_status() local
6011 struct hclge_dev *hdev = vport->back; hclge_remove_mac_vlan_tbl() local
6040 struct hclge_dev *hdev = vport->back; hclge_lookup_mac_vlan_tbl() local
6082 struct hclge_dev *hdev = vport->back; hclge_add_mac_vlan_tbl() local
6131 hclge_set_umv_space(struct hclge_dev * hdev,u16 space_size,u16 * allocated_size) hclge_set_umv_space() argument
6155 hclge_init_umv_space(struct hclge_dev * hdev) hclge_init_umv_space() argument
6180 hclge_reset_umv_space(struct hclge_dev * hdev) hclge_reset_umv_space() argument
6200 struct hclge_dev *hdev = vport->back; hclge_is_umv_space_full() local
6217 struct hclge_dev *hdev = vport->back; hclge_update_umv_space() local
6280 struct hclge_dev *hdev = vport->back; hclge_update_mac_list() local
6341 struct hclge_dev *hdev = vport->back; hclge_add_uc_addr_common() local
6412 struct hclge_dev *hdev = vport->back; hclge_rm_uc_addr_common() local
6453 struct hclge_dev *hdev = vport->back; hclge_add_mc_addr_common() local
6517 struct hclge_dev *hdev = vport->back; hclge_rm_mc_addr_common() local
6753 struct hclge_dev *hdev = vport->back; hclge_need_sync_mac_table() local
6764 hclge_sync_mac_table(struct hclge_dev * hdev) hclge_sync_mac_table() argument
6834 struct hclge_dev *hdev = vport->back; hclge_rm_vport_all_mac_table() local
6870 struct hclge_dev *hdev = vport->back; hclge_uninit_vport_mac_list() local
6909 hclge_uninit_mac_table(struct hclge_dev * hdev) hclge_uninit_mac_table() argument
6921 hclge_get_mac_ethertype_cmd_status(struct hclge_dev * hdev,u16 cmdq_resp,u8 resp_code) hclge_get_mac_ethertype_cmd_status() argument
6968 struct hclge_dev *hdev = vport->back; hclge_set_vf_mac() local
7002 hclge_add_mgr_tbl(struct hclge_dev * hdev,const struct hclge_mac_mgr_tbl_entry_cmd * req) hclge_add_mgr_tbl() argument
7027 init_mgr_tbl(struct hclge_dev * hdev) init_mgr_tbl() argument
7048 struct hclge_dev *hdev = vport->back; hclge_get_mac_addr() local
7103 struct hclge_dev *hdev = vport->back; hclge_set_mac_addr() local
7154 hclge_mii_ioctl(struct hclge_dev * hdev,struct ifreq * ifr,int cmd) hclge_mii_ioctl() argument
7180 struct hclge_dev *hdev = vport->back; hclge_do_ioctl() local
7188 hclge_set_port_vlan_filter_bypass(struct hclge_dev * hdev,u8 vf_id,bool bypass_en) hclge_set_port_vlan_filter_bypass() argument
7210 hclge_set_vlan_filter_ctrl(struct hclge_dev * hdev,u8 vlan_type,u8 fe_type,bool filter_en,u8 vf_id) hclge_set_vlan_filter_ctrl() argument
7245 struct hclge_dev *hdev = vport->back; hclge_set_vport_vlan_filter() local
7279 struct hclge_dev *hdev = vport->back; hclge_need_enable_vport_vlan_filter() local
7327 struct hclge_dev *hdev = vport->back; hclge_enable_vport_vlan_filter() local
7345 hclge_set_vf_vlan_filter_cmd(struct hclge_dev * hdev,u16 vfid,bool is_kill,u16 vlan,struct hclge_desc * desc) hclge_set_vf_vlan_filter_cmd() argument
7387 hclge_check_vf_vlan_cmd_status(struct hclge_dev * hdev,u16 vfid,bool is_kill,struct hclge_desc * desc) hclge_check_vf_vlan_cmd_status() argument
7430 hclge_set_vf_vlan_common(struct hclge_dev * hdev,u16 vfid,bool is_kill,u16 vlan) hclge_set_vf_vlan_common() argument
7458 hclge_set_port_vlan_filter(struct hclge_dev * hdev,__be16 proto,u16 vlan_id,bool is_kill) hclge_set_port_vlan_filter() argument
7487 hclge_need_update_port_vlan(struct hclge_dev * hdev,u16 vport_id,u16 vlan_id,bool is_kill) hclge_need_update_port_vlan() argument
7513 hclge_set_vlan_filter_hw(struct hclge_dev * hdev,__be16 proto,u16 vport_id,u16 vlan_id,bool is_kill) hclge_set_vlan_filter_hw() argument
7551 struct hclge_dev *hdev = vport->back; hclge_set_vlan_tx_offload_cfg() local
7596 struct hclge_dev *hdev = vport->back; hclge_set_vlan_rx_offload_cfg() local
7687 hclge_set_vlan_protocol_type(struct hclge_dev * hdev) hclge_set_vlan_protocol_type() argument
7728 hclge_init_vlan_filter(struct hclge_dev * hdev) hclge_init_vlan_filter() argument
7759 hclge_init_vlan_type(struct hclge_dev * hdev) hclge_init_vlan_type() argument
7771 hclge_init_vport_vlan_offload(struct hclge_dev * hdev) hclge_init_vport_vlan_offload() argument
7791 hclge_init_vlan_config(struct hclge_dev * hdev) hclge_init_vlan_config() argument
7815 struct hclge_dev *hdev = vport->back; hclge_add_vport_vlan_table() local
7842 struct hclge_dev *hdev = vport->back; hclge_add_vport_all_vlan_table() local
7873 struct hclge_dev *hdev = vport->back; hclge_rm_vport_vlan_table() local
7894 struct hclge_dev *hdev = vport->back; hclge_rm_vport_all_vlan_table() local
7916 hclge_uninit_vport_vlan_table(struct hclge_dev * hdev) hclge_uninit_vport_vlan_table() argument
7935 hclge_restore_vport_port_base_vlan_config(struct hclge_dev * hdev) hclge_restore_vport_port_base_vlan_config() argument
7969 struct hclge_dev *hdev = vport->back; hclge_restore_vport_vlan_table() local
8019 hclge_restore_hw_table(struct hclge_dev * hdev) hclge_restore_hw_table() argument
8055 struct hclge_dev *hdev = vport->back; hclge_set_vport_vlan_fltr_change() local
8066 struct hclge_dev *hdev = vport->back; hclge_update_vlan_filter_entries() local
8114 struct hclge_dev *hdev = vport->back; hclge_modify_port_base_vlan_tag() local
8208 struct hclge_dev *hdev = vport->back; hclge_set_vf_vlan_filter() local
8263 hclge_clear_vf_vlan(struct hclge_dev * hdev) hclge_clear_vf_vlan() argument
8289 struct hclge_dev *hdev = vport->back; hclge_set_vlan_filter() local
8347 hclge_sync_vlan_fltr_state(struct hclge_dev * hdev) hclge_sync_vlan_fltr_state() argument
8375 hclge_sync_vlan_filter(struct hclge_dev * hdev) hclge_sync_vlan_filter() argument
8417 hclge_set_mac_mtu(struct hclge_dev * hdev,int new_mps) hclge_set_mac_mtu() argument
8440 struct hclge_dev *hdev = vport->back; hclge_set_vport_mtu() local
8494 hclge_reset_tqp_cmd_send(struct hclge_dev * hdev,u16 queue_id,bool enable) hclge_reset_tqp_cmd_send() argument
8518 hclge_get_reset_status(struct hclge_dev * hdev,u16 queue_id,u8 * reset_status) hclge_get_reset_status() argument
8556 struct hclge_dev *hdev = vport->back; hclge_reset_tqp_cmd() local
8610 struct hclge_dev *hdev = vport->back; hclge_reset_rcb() local
8651 struct hclge_dev *hdev = vport->back; hclge_reset_tqp() local
8670 struct hclge_dev *hdev = vport->back; hclge_get_fw_version() local
8675 hclge_query_scc_version(struct hclge_dev * hdev,u32 * scc_version) hclge_query_scc_version() argument
8693 hclge_set_flowctrl_adv(struct hclge_dev * hdev,u32 rx_en,u32 tx_en) hclge_set_flowctrl_adv() argument
8703 hclge_cfg_pauseparam(struct hclge_dev * hdev,u32 rx_en,u32 tx_en) hclge_cfg_pauseparam() argument
8718 hclge_cfg_flowctrl(struct hclge_dev * hdev) hclge_cfg_flowctrl() argument
8757 struct hclge_dev *hdev = vport->back; hclge_get_pauseparam() local
8784 hclge_record_user_pauseparam(struct hclge_dev * hdev,u32 rx_en,u32 tx_en) hclge_record_user_pauseparam() argument
8803 struct hclge_dev *hdev = vport->back; hclge_set_pauseparam() local
8839 struct hclge_dev *hdev = vport->back; hclge_get_ksettings_an_result() local
8855 struct hclge_dev *hdev = vport->back; hclge_get_media_type() local
8874 struct hclge_dev *hdev = vport->back; hclge_get_mdix_mode() local
8920 hclge_info_show(struct hclge_dev * hdev) hclge_info_show() argument
8952 struct hclge_dev *hdev = ae_dev->priv; hclge_init_nic_client_instance() local
8995 struct hclge_dev *hdev = ae_dev->priv; hclge_init_roce_client_instance() local
9046 struct hclge_dev *hdev = ae_dev->priv; hclge_init_client_instance() local
9090 hclge_uninit_need_wait(struct hclge_dev * hdev) hclge_uninit_need_wait() argument
9099 struct hclge_dev *hdev = ae_dev->priv; hclge_uninit_client_instance() local
9124 hclge_dev_mem_map(struct hclge_dev * hdev) hclge_dev_mem_map() argument
9145 hclge_pci_init(struct hclge_dev * hdev) hclge_pci_init() argument
9201 hclge_pci_uninit(struct hclge_dev * hdev) hclge_pci_uninit() argument
9214 hclge_state_init(struct hclge_dev * hdev) hclge_state_init() argument
9225 hclge_state_uninit(struct hclge_dev * hdev) hclge_state_uninit() argument
9242 struct hclge_dev *hdev = ae_dev->priv; hclge_reset_prepare_general() local
9272 struct hclge_dev *hdev = ae_dev->priv; hclge_reset_done() local
9286 hclge_clear_resetting_state(struct hclge_dev * hdev) hclge_clear_resetting_state() argument
9303 hclge_clear_hw_resource(struct hclge_dev * hdev) hclge_clear_hw_resource() argument
9325 hclge_init_rxd_adv_layout(struct hclge_dev * hdev) hclge_init_rxd_adv_layout() argument
9331 hclge_uninit_rxd_adv_layout(struct hclge_dev * hdev) hclge_uninit_rxd_adv_layout() argument
9344 hclge_get_wol_supported_mode(struct hclge_dev * hdev,u32 * wol_supported) hclge_get_wol_supported_mode() argument
9367 hclge_set_wol_cfg(struct hclge_dev * hdev,struct hclge_wol_info * wol_info) hclge_set_wol_cfg() argument
9388 hclge_update_wol(struct hclge_dev * hdev) hclge_update_wol() argument
9398 hclge_init_wol(struct hclge_dev * hdev) hclge_init_wol() argument
9417 hclge_init_pfc_prevention_tout(struct hclge_dev * hdev) hclge_init_pfc_prevention_tout() argument
9481 hclge_set_autoneg_speed_dup(struct hclge_dev * hdev) hclge_set_autoneg_speed_dup() argument
9505 struct hclge_dev *hdev; hclge_init_ae_dev() local
9747 hclge_stats_clear(struct hclge_dev * hdev) hclge_stats_clear() argument
9753 hclge_set_mac_spoofchk(struct hclge_dev * hdev,int vf,bool enable) hclge_set_mac_spoofchk() argument
9759 hclge_set_vlan_spoofchk(struct hclge_dev * hdev,int vf,bool enable) hclge_set_vlan_spoofchk() argument
9766 hclge_set_vf_spoofchk_hw(struct hclge_dev * hdev,int vf,bool enable) hclge_set_vf_spoofchk_hw() argument
9791 struct hclge_dev *hdev = vport->back; hclge_set_vf_spoofchk() local
9822 hclge_reset_vport_spoofchk(struct hclge_dev * hdev) hclge_reset_vport_spoofchk() argument
9847 struct hclge_dev *hdev = vport->back; hclge_set_vf_trust() local
9864 hclge_reset_vf_rate(struct hclge_dev * hdev) hclge_reset_vf_rate() argument
9882 hclge_vf_rate_param_check(struct hclge_dev * hdev,int min_tx_rate,int max_tx_rate) hclge_vf_rate_param_check() argument
9900 struct hclge_dev *hdev = vport->back; hclge_set_vf_rate() local
9923 hclge_resume_vf_rate(struct hclge_dev * hdev) hclge_resume_vf_rate() argument
9955 hclge_reset_vport_state(struct hclge_dev * hdev) hclge_reset_vport_state() argument
9968 struct hclge_dev *hdev = ae_dev->priv; hclge_reset_ae_dev() local
10119 struct hclge_dev *hdev = ae_dev->priv; hclge_uninit_ae_dev() local
10158 struct hclge_dev *hdev = vport->back; hclge_get_max_channels() local
10176 struct hclge_dev *hdev = vport->back; hclge_get_tqps_and_rss_info() local
10186 struct hclge_dev *hdev = vport->back; hclge_set_rss_tc_mode_cfg() local
10216 struct hclge_dev *hdev = vport->back; hclge_set_channels() local
10265 hclge_set_led_status(struct hclge_dev * hdev,u8 locate_led_status) hclge_set_led_status() argument
10295 struct hclge_dev *hdev = vport->back; hclge_set_led_id() local
10313 struct hclge_dev *hdev = vport->back; hclge_get_link_mode() local
10325 struct hclge_dev *hdev = vport->back; hclge_gro_en() local
10340 struct hclge_dev *hdev = vport->back; hclge_sync_vport_promisc_mode() local
10390 hclge_sync_promisc_mode(struct hclge_dev * hdev) hclge_sync_promisc_mode() argument
10405 hclge_module_existed(struct hclge_dev * hdev) hclge_module_existed() argument
10427 hclge_get_sfp_eeprom_info(struct hclge_dev * hdev,u32 offset,u32 len,u8 * data) hclge_get_sfp_eeprom_info() argument
10482 struct hclge_dev *hdev = vport->back; hclge_get_module_eeprom() local
10510 struct hclge_dev *hdev = vport->back; hclge_get_link_diagnosis_info() local
10534 struct hclge_dev *hdev = vport->back; hclge_clear_vport_vf_info() local
10572 struct hclge_dev *hdev = ae_dev->priv; hclge_clean_vport_config() local
[all...]
H A Dhclge_tm.c138 static void hclge_pfc_stats_get(struct hclge_dev *hdev, bool tx, u64 *stats) in hclge_pfc_stats_get() argument
149 stats[i] = HCLGE_STATS_READ(&hdev->mac_stats, offset[i]); in hclge_pfc_stats_get()
152 void hclge_pfc_rx_stats_get(struct hclge_dev *hdev, u64 *stats) in hclge_pfc_rx_stats_get() argument
154 hclge_pfc_stats_get(hdev, false, stats); in hclge_pfc_rx_stats_get()
157 void hclge_pfc_tx_stats_get(struct hclge_dev *hdev, u64 *stats) in hclge_pfc_tx_stats_get() argument
159 hclge_pfc_stats_get(hdev, true, stats); in hclge_pfc_tx_stats_get()
162 int hclge_mac_pause_en_cfg(struct hclge_dev *hdev, bool tx, bool rx) in hclge_mac_pause_en_cfg() argument
171 return hclge_cmd_send(&hdev->hw, &desc, 1); in hclge_mac_pause_en_cfg()
174 int hclge_pfc_pause_en_cfg(struct hclge_dev *hdev, u8 tx_rx_bitmap, in hclge_pfc_pause_en_cfg() argument
185 return hclge_cmd_send(&hdev in hclge_pfc_pause_en_cfg()
188 hclge_pause_param_cfg(struct hclge_dev * hdev,const u8 * addr,u8 pause_trans_gap,u16 pause_trans_time) hclge_pause_param_cfg() argument
206 hclge_pause_addr_cfg(struct hclge_dev * hdev,const u8 * mac_addr) hclge_pause_addr_cfg() argument
228 hclge_fill_pri_array(struct hclge_dev * hdev,u8 * pri,u8 pri_id) hclge_fill_pri_array() argument
251 hclge_up_to_tc_map(struct hclge_dev * hdev) hclge_up_to_tc_map() argument
269 hclge_dscp_to_prio_map_init(struct hclge_dev * hdev) hclge_dscp_to_prio_map_init() argument
279 hclge_dscp_to_tc_map(struct hclge_dev * hdev) hclge_dscp_to_tc_map() argument
310 hclge_tm_pg_to_pri_map_cfg(struct hclge_dev * hdev,u8 pg_id,u8 pri_bit_map) hclge_tm_pg_to_pri_map_cfg() argument
326 hclge_tm_qs_to_pri_map_cfg(struct hclge_dev * hdev,u16 qs_id,u8 pri,bool link_vld) hclge_tm_qs_to_pri_map_cfg() argument
343 hclge_tm_q_to_qs_map_cfg(struct hclge_dev * hdev,u16 q_id,u16 qs_id) hclge_tm_q_to_qs_map_cfg() argument
377 hclge_tm_pg_weight_cfg(struct hclge_dev * hdev,u8 pg_id,u8 dwrr) hclge_tm_pg_weight_cfg() argument
393 hclge_tm_pri_weight_cfg(struct hclge_dev * hdev,u8 pri_id,u8 dwrr) hclge_tm_pri_weight_cfg() argument
409 hclge_tm_qs_weight_cfg(struct hclge_dev * hdev,u16 qs_id,u8 dwrr) hclge_tm_qs_weight_cfg() argument
439 hclge_tm_pg_shapping_cfg(struct hclge_dev * hdev,enum hclge_shap_bucket bucket,u8 pg_id,u32 shapping_para,u32 rate) hclge_tm_pg_shapping_cfg() argument
464 hclge_tm_port_shaper_cfg(struct hclge_dev * hdev) hclge_tm_port_shaper_cfg() argument
495 hclge_tm_pri_shapping_cfg(struct hclge_dev * hdev,enum hclge_shap_bucket bucket,u8 pri_id,u32 shapping_para,u32 rate) hclge_tm_pri_shapping_cfg() argument
521 hclge_tm_pg_schd_mode_cfg(struct hclge_dev * hdev,u8 pg_id) hclge_tm_pg_schd_mode_cfg() argument
537 hclge_tm_pri_schd_mode_cfg(struct hclge_dev * hdev,u8 pri_id) hclge_tm_pri_schd_mode_cfg() argument
553 hclge_tm_qs_schd_mode_cfg(struct hclge_dev * hdev,u16 qs_id,u8 mode) hclge_tm_qs_schd_mode_cfg() argument
569 hclge_tm_qs_bp_cfg(struct hclge_dev * hdev,u8 tc,u8 grp_id,u32 bit_map) hclge_tm_qs_bp_cfg() argument
592 struct hclge_dev *hdev = vport->back; hclge_tm_qs_shaper_cfg() local
639 struct hclge_dev *hdev = vport->back; hclge_vport_get_max_rss_size() local
660 struct hclge_dev *hdev = vport->back; hclge_vport_get_tqp_num() local
678 struct hclge_dev *hdev = vport->back; hclge_tm_update_kinfo_rss_size() local
718 struct hclge_dev *hdev = vport->back; hclge_tm_vport_tc_info_update() local
748 hclge_tm_vport_info_update(struct hclge_dev * hdev) hclge_tm_vport_info_update() argument
760 hclge_tm_tc_info_init(struct hclge_dev * hdev) hclge_tm_tc_info_init() argument
785 hclge_tm_pg_info_init(struct hclge_dev * hdev) hclge_tm_pg_info_init() argument
814 hclge_update_fc_mode_by_dcb_flag(struct hclge_dev * hdev) hclge_update_fc_mode_by_dcb_flag() argument
832 hclge_update_fc_mode(struct hclge_dev * hdev) hclge_update_fc_mode() argument
845 hclge_tm_pfc_info_update(struct hclge_dev * hdev) hclge_tm_pfc_info_update() argument
853 hclge_tm_schd_info_init(struct hclge_dev * hdev) hclge_tm_schd_info_init() argument
864 hclge_tm_pg_to_pri_map(struct hclge_dev * hdev) hclge_tm_pg_to_pri_map() argument
883 hclge_tm_pg_shaper_cfg(struct hclge_dev * hdev) hclge_tm_pg_shaper_cfg() argument
929 hclge_tm_pg_dwrr_cfg(struct hclge_dev * hdev) hclge_tm_pg_dwrr_cfg() argument
949 hclge_vport_q_to_qs_map(struct hclge_dev * hdev,struct hclge_vport * vport) hclge_vport_q_to_qs_map() argument
973 hclge_tm_pri_q_qs_cfg_tc_base(struct hclge_dev * hdev) hclge_tm_pri_q_qs_cfg_tc_base() argument
998 hclge_tm_pri_q_qs_cfg_vnet_base(struct hclge_dev * hdev) hclge_tm_pri_q_qs_cfg_vnet_base() argument
1017 hclge_tm_pri_q_qs_cfg(struct hclge_dev * hdev) hclge_tm_pri_q_qs_cfg() argument
1045 hclge_tm_pri_tc_base_shaper_cfg(struct hclge_dev * hdev) hclge_tm_pri_tc_base_shaper_cfg() argument
1091 struct hclge_dev *hdev = vport->back; hclge_tm_pri_vnet_base_shaper_pri_cfg() local
1127 struct hclge_dev *hdev = vport->back; hclge_tm_pri_vnet_base_shaper_qs_cfg() local
1144 hclge_tm_pri_vnet_base_shaper_cfg(struct hclge_dev * hdev) hclge_tm_pri_vnet_base_shaper_cfg() argument
1166 hclge_tm_pri_shaper_cfg(struct hclge_dev * hdev) hclge_tm_pri_shaper_cfg() argument
1183 hclge_tm_pri_tc_base_dwrr_cfg(struct hclge_dev * hdev) hclge_tm_pri_tc_base_dwrr_cfg() argument
1218 hclge_tm_ets_tc_dwrr_cfg(struct hclge_dev * hdev) hclge_tm_ets_tc_dwrr_cfg() argument
1244 struct hclge_dev *hdev = vport->back; hclge_tm_pri_vnet_base_dwrr_pri_cfg() local
1265 hclge_tm_pri_vnet_base_dwrr_cfg(struct hclge_dev * hdev) hclge_tm_pri_vnet_base_dwrr_cfg() argument
1282 hclge_tm_pri_dwrr_cfg(struct hclge_dev * hdev) hclge_tm_pri_dwrr_cfg() argument
1312 hclge_tm_map_cfg(struct hclge_dev * hdev) hclge_tm_map_cfg() argument
1333 hclge_tm_shaper_cfg(struct hclge_dev * hdev) hclge_tm_shaper_cfg() argument
1348 hclge_tm_dwrr_cfg(struct hclge_dev * hdev) hclge_tm_dwrr_cfg() argument
1359 hclge_tm_lvl2_schd_mode_cfg(struct hclge_dev * hdev) hclge_tm_lvl2_schd_mode_cfg() argument
1377 hclge_tm_schd_mode_tc_base_cfg(struct hclge_dev * hdev,u8 pri_id) hclge_tm_schd_mode_tc_base_cfg() argument
1409 struct hclge_dev *hdev = vport->back; hclge_tm_schd_mode_vnet_base_cfg() local
1432 hclge_tm_lvl34_schd_mode_cfg(struct hclge_dev * hdev) hclge_tm_lvl34_schd_mode_cfg() argument
1457 hclge_tm_schd_mode_hw(struct hclge_dev * hdev) hclge_tm_schd_mode_hw() argument
1468 hclge_tm_schd_setup_hw(struct hclge_dev * hdev) hclge_tm_schd_setup_hw() argument
1495 hclge_pause_param_setup_hw(struct hclge_dev * hdev) hclge_pause_param_setup_hw() argument
1504 hclge_pfc_setup_hw(struct hclge_dev * hdev) hclge_pfc_setup_hw() argument
1519 hclge_bp_setup_hw(struct hclge_dev * hdev,u8 tc) hclge_bp_setup_hw() argument
1556 hclge_mac_pause_setup_hw(struct hclge_dev * hdev) hclge_mac_pause_setup_hw() argument
1589 hclge_tm_bp_setup(struct hclge_dev * hdev) hclge_tm_bp_setup() argument
1603 hclge_pause_setup_hw(struct hclge_dev * hdev,bool init) hclge_pause_setup_hw() argument
1635 hclge_tm_prio_tc_info_update(struct hclge_dev * hdev,u8 * prio_tc) hclge_tm_prio_tc_info_update() argument
1651 hclge_tm_schd_info_update(struct hclge_dev * hdev,u8 num_tc) hclge_tm_schd_info_update() argument
1671 hclge_tm_init_hw(struct hclge_dev * hdev,bool init) hclge_tm_init_hw() argument
1690 hclge_tm_schd_init(struct hclge_dev * hdev) hclge_tm_schd_init() argument
1706 hclge_tm_vport_map_update(struct hclge_dev * hdev) hclge_tm_vport_map_update() argument
1723 hclge_tm_get_qset_num(struct hclge_dev * hdev,u16 * qset_num) hclge_tm_get_qset_num() argument
1748 hclge_tm_get_pri_num(struct hclge_dev * hdev,u8 * pri_num) hclge_tm_get_pri_num() argument
1772 hclge_tm_get_qset_map_pri(struct hclge_dev * hdev,u16 qset_id,u8 * priority,u8 * link_vld) hclge_tm_get_qset_map_pri() argument
1794 hclge_tm_get_qset_sch_mode(struct hclge_dev * hdev,u16 qset_id,u8 * mode) hclge_tm_get_qset_sch_mode() argument
1814 hclge_tm_get_qset_weight(struct hclge_dev * hdev,u16 qset_id,u8 * weight) hclge_tm_get_qset_weight() argument
1834 hclge_tm_get_qset_shaper(struct hclge_dev * hdev,u16 qset_id,struct hclge_tm_shaper_para * para) hclge_tm_get_qset_shaper() argument
1864 hclge_tm_get_pri_sch_mode(struct hclge_dev * hdev,u8 pri_id,u8 * mode) hclge_tm_get_pri_sch_mode() argument
1884 hclge_tm_get_pri_weight(struct hclge_dev * hdev,u8 pri_id,u8 * weight) hclge_tm_get_pri_weight() argument
1904 hclge_tm_get_pri_shaper(struct hclge_dev * hdev,u8 pri_id,enum hclge_opcode_type cmd,struct hclge_tm_shaper_para * para) hclge_tm_get_pri_shaper() argument
1939 hclge_tm_get_q_to_qs_map(struct hclge_dev * hdev,u16 q_id,u16 * qset_id) hclge_tm_get_q_to_qs_map() argument
1977 hclge_tm_get_q_to_tc(struct hclge_dev * hdev,u16 q_id,u8 * tc_id) hclge_tm_get_q_to_tc() argument
1999 hclge_tm_get_pg_to_pri_map(struct hclge_dev * hdev,u8 pg_id,u8 * pri_bit_map) hclge_tm_get_pg_to_pri_map() argument
2020 hclge_tm_get_pg_weight(struct hclge_dev * hdev,u8 pg_id,u8 * weight) hclge_tm_get_pg_weight() argument
2040 hclge_tm_get_pg_sch_mode(struct hclge_dev * hdev,u8 pg_id,u8 * mode) hclge_tm_get_pg_sch_mode() argument
2058 hclge_tm_get_pg_shaper(struct hclge_dev * hdev,u8 pg_id,enum hclge_opcode_type cmd,struct hclge_tm_shaper_para * para) hclge_tm_get_pg_shaper() argument
2093 hclge_tm_get_port_shaper(struct hclge_dev * hdev,struct hclge_tm_shaper_para * para) hclge_tm_get_port_shaper() argument
2122 hclge_tm_flush_cfg(struct hclge_dev * hdev,bool enable) hclge_tm_flush_cfg() argument
2147 hclge_reset_tc_config(struct hclge_dev * hdev) hclge_reset_tc_config() argument
[all...]
H A Dhclge_dcb.c11 static int hclge_ieee_ets_to_tm_info(struct hclge_dev *hdev, in hclge_ieee_ets_to_tm_info() argument
19 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info()
21 hdev->tm_info.pg_info[0].tc_dwrr[i] = 0; in hclge_ieee_ets_to_tm_info()
24 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info()
26 hdev->tm_info.pg_info[0].tc_dwrr[i] = in hclge_ieee_ets_to_tm_info()
39 hclge_tm_prio_tc_info_update(hdev, ets->prio_tc); in hclge_ieee_ets_to_tm_info()
44 static void hclge_tm_info_to_ieee_ets(struct hclge_dev *hdev, in hclge_tm_info_to_ieee_ets() argument
51 ets->ets_cap = hdev->tc_max; in hclge_tm_info_to_ieee_ets()
54 ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; in hclge_tm_info_to_ieee_ets()
55 if (i < hdev->tm_info.num_tc) in hclge_tm_info_to_ieee_ets()
[all …]
/linux/include/net/bluetooth/
H A Dhci_sync.h15 #define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock) argument
16 #define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock) argument
19 struct hci_dev *hdev; member
28 typedef int (*hci_cmd_sync_work_func_t)(struct hci_dev *hdev, void *data);
29 typedef void (*hci_cmd_sync_work_destroy_t)(struct hci_dev *hdev, void *data,
41 struct sk_buff *hci_cmd_sync_alloc(struct hci_dev *hdev, u16 opcode, u32 plen,
44 /* Function with sync suffix shall not be called with hdev->lock held as they
46 * which could attempt to acquire hdev
[all...]
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_venus.c138 static void venus_set_state(struct venus_hfi_device *hdev, in venus_set_state() argument
141 mutex_lock(&hdev->lock); in venus_set_state()
142 hdev->state = state; in venus_set_state()
143 mutex_unlock(&hdev->lock); in venus_set_state()
146 static bool venus_is_valid_state(struct venus_hfi_device *hdev) in venus_is_valid_state() argument
148 return hdev->state != VENUS_STATE_DEINIT; in venus_is_valid_state()
151 static void venus_dump_packet(struct venus_hfi_device *hdev, const void *packet) in venus_dump_packet() argument
162 static int venus_write_queue(struct venus_hfi_device *hdev, in venus_write_queue() argument
178 venus_dump_packet(hdev, packet); in venus_write_queue()
239 static int venus_read_queue(struct venus_hfi_device *hdev, in venus_read_queue() argument
[all …]
/linux/drivers/bluetooth/
H A Dbtintel.c77 int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr()
82 skb = __hci_cmd_sync(hdev, HCI_OP_READ_BD_ADDR, 0, NULL, in btintel_check_bdaddr()
86 bt_dev_err(hdev, "Reading Intel device address failed (%d)", in btintel_check_bdaddr()
92 bt_dev_err(hdev, "Intel device address length mismatch"); in btintel_check_bdaddr()
105 bt_dev_err(hdev, "Found Intel default device address (%pMR)", in btintel_check_bdaddr()
107 hci_set_quirk(hdev, HCI_QUIRK_INVALID_BDADDR); in btintel_check_bdaddr()
116 int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg()
121 skb = __hci_cmd_sync(hdev, 0xfc11, 2, param, HCI_CMD_TIMEOUT); in btintel_enter_mfg()
123 bt_dev_err(hdev, "Entering manufacturer mode failed (%ld)", in btintel_enter_mfg()
133 int btintel_exit_mfg(struct hci_dev *hdev, boo in btintel_exit_mfg()
76 btintel_check_bdaddr(struct hci_dev * hdev) btintel_check_bdaddr() argument
115 btintel_enter_mfg(struct hci_dev * hdev) btintel_enter_mfg() argument
132 btintel_exit_mfg(struct hci_dev * hdev,bool reset,bool patched) btintel_exit_mfg() argument
157 btintel_set_bdaddr(struct hci_dev * hdev,const bdaddr_t * bdaddr) btintel_set_bdaddr() argument
175 btintel_set_event_mask(struct hci_dev * hdev,bool debug) btintel_set_event_mask() argument
195 btintel_set_diag(struct hci_dev * hdev,bool enable) btintel_set_diag() argument
228 btintel_set_diag_mfg(struct hci_dev * hdev,bool enable) btintel_set_diag_mfg() argument
245 btintel_set_diag_combined(struct hci_dev * hdev,bool enable) btintel_set_diag_combined() argument
262 btintel_hw_error(struct hci_dev * hdev,u8 code) btintel_hw_error() argument
302 btintel_version_info(struct hci_dev * hdev,struct intel_version * ver) btintel_version_info() argument
367 btintel_secure_send(struct hci_dev * hdev,u8 fragment_type,u32 plen,const void * param) btintel_secure_send() argument
391 btintel_load_ddc_config(struct hci_dev * hdev,const char * ddc_name) btintel_load_ddc_config() argument
444 btintel_set_event_mask_mfg(struct hci_dev * hdev,bool debug) btintel_set_event_mask_mfg() argument
462 btintel_read_version(struct hci_dev * hdev,struct intel_version * ver) btintel_read_version() argument
487 btintel_version_info_tlv(struct hci_dev * hdev,struct intel_version_tlv * version) btintel_version_info_tlv() argument
614 btintel_parse_version_tlv(struct hci_dev * hdev,struct intel_version_tlv * version,struct sk_buff * skb) btintel_parse_version_tlv() argument
728 btintel_read_version_tlv(struct hci_dev * hdev,struct intel_version_tlv * version) btintel_read_version_tlv() argument
765 struct hci_dev *hdev; global() member
933 btintel_regmap_init(struct hci_dev * hdev,u16 opcode_read,u16 opcode_write) btintel_regmap_init() argument
953 btintel_send_intel_reset(struct hci_dev * hdev,u32 boot_param) btintel_send_intel_reset() argument
973 btintel_read_boot_params(struct hci_dev * hdev,struct intel_boot_params * params) btintel_read_boot_params() argument
1024 btintel_sfi_rsa_header_secure_send(struct hci_dev * hdev,const struct firmware * fw) btintel_sfi_rsa_header_secure_send() argument
1060 btintel_sfi_ecdsa_header_secure_send(struct hci_dev * hdev,const struct firmware * fw) btintel_sfi_ecdsa_header_secure_send() argument
1095 btintel_sfi_hybrid_header_secure_send(struct hci_dev * hdev,const struct firmware * fw) btintel_sfi_hybrid_header_secure_send() argument
1137 btintel_download_firmware_payload(struct hci_dev * hdev,const struct firmware * fw,size_t offset) btintel_download_firmware_payload() argument
1180 btintel_firmware_version(struct hci_dev * hdev,u8 num,u8 ww,u8 yy,const struct firmware * fw,u32 * boot_addr) btintel_firmware_version() argument
1221 btintel_download_firmware(struct hci_dev * hdev,struct intel_version * ver,const struct firmware * fw,u32 * boot_param) btintel_download_firmware() argument
1269 btintel_download_fw_tlv(struct hci_dev * hdev,struct intel_version_tlv * ver,const struct firmware * fw,u32 * boot_param,u8 hw_variant,u8 sbe_type) btintel_download_fw_tlv() argument
1376 btintel_reset_to_bootloader(struct hci_dev * hdev) btintel_reset_to_bootloader() argument
1427 btintel_read_debug_features(struct hci_dev * hdev,struct intel_debug_features * features) btintel_read_debug_features() argument
1458 btintel_set_debug_features(struct hci_dev * hdev,const struct intel_debug_features * features) btintel_set_debug_features() argument
1507 btintel_reset_debug_features(struct hci_dev * hdev,const struct intel_debug_features * features) btintel_reset_debug_features() argument
1548 btintel_set_quality_report(struct hci_dev * hdev,bool enable) btintel_set_quality_report() argument
1572 btintel_coredump(struct hci_dev * hdev) btintel_coredump() argument
1585 btintel_dmp_hdr(struct hci_dev * hdev,struct sk_buff * skb) btintel_dmp_hdr() argument
1604 btintel_register_devcoredump_support(struct hci_dev * hdev) btintel_register_devcoredump_support() argument
1625 btintel_legacy_rom_get_fw(struct hci_dev * hdev,struct intel_version * ver) btintel_legacy_rom_get_fw() argument
1666 btintel_legacy_rom_patching(struct hci_dev * hdev,const struct firmware * fw,const u8 ** fw_ptr,int * disable_patch) btintel_legacy_rom_patching() argument
1780 btintel_legacy_rom_setup(struct hci_dev * hdev,struct intel_version * ver) btintel_legacy_rom_setup() argument
1910 btintel_download_wait(struct hci_dev * hdev,ktime_t calltime,int msec) btintel_download_wait() argument
1947 btintel_boot_wait(struct hci_dev * hdev,ktime_t calltime,int msec) btintel_boot_wait() argument
1977 btintel_boot_wait_d0(struct hci_dev * hdev,ktime_t calltime,int msec) btintel_boot_wait_d0() argument
2008 btintel_boot(struct hci_dev * hdev,u32 boot_addr) btintel_boot() argument
2084 btintel_download_fw(struct hci_dev * hdev,struct intel_version * ver,struct intel_boot_params * params,u32 * boot_param) btintel_download_fw() argument
2249 btintel_bootloader_setup(struct hci_dev * hdev,struct intel_version * ver) btintel_bootloader_setup() argument
2381 btintel_prepare_fw_download_tlv(struct hci_dev * hdev,struct intel_version_tlv * ver,u32 * boot_param) btintel_prepare_fw_download_tlv() argument
2501 btintel_get_codec_config_data(struct hci_dev * hdev,__u8 link,struct bt_codec * codec,__u8 * ven_len,__u8 ** ven_data) btintel_get_codec_config_data() argument
2550 btintel_get_data_path_id(struct hci_dev * hdev,__u8 * data_path_id) btintel_get_data_path_id() argument
2557 btintel_configure_offload(struct hci_dev * hdev) btintel_configure_offload() argument
2591 btintel_set_ppag(struct hci_dev * hdev,struct intel_version_tlv * ver) btintel_set_ppag() argument
2674 btintel_acpi_reset_method(struct hci_dev * hdev) btintel_acpi_reset_method() argument
2715 btintel_set_dsm_reset_method(struct hci_dev * hdev,struct intel_version_tlv * ver_tlv) btintel_set_dsm_reset_method() argument
2787 btintel_classify_pkt_type(struct hci_dev * hdev,struct sk_buff * skb) btintel_classify_pkt_type() argument
2860 btintel_set_dsbr(struct hci_dev * hdev,struct intel_version_tlv * ver) btintel_set_dsbr() argument
2932 btintel_evaluate_acpi_method(struct hci_dev * hdev,acpi_string method,union acpi_object ** ptr,u8 pkg_size) btintel_evaluate_acpi_method() argument
2984 btintel_send_sar_ddc(struct hci_dev * hdev,struct btintel_cp_ddc_write * data,u8 len) btintel_send_sar_ddc() argument
2998 btintel_send_edr(struct hci_dev * hdev,struct btintel_cp_ddc_write * cmd,int id,struct btintel_sar_inc_pwr * sar) btintel_send_edr() argument
3009 btintel_send_le(struct hci_dev * hdev,struct btintel_cp_ddc_write * cmd,int id,struct btintel_sar_inc_pwr * sar) btintel_send_le() argument
3018 btintel_send_br(struct hci_dev * hdev,struct btintel_cp_ddc_write * cmd,int id,struct btintel_sar_inc_pwr * sar) btintel_send_br() argument
3027 btintel_send_br_mutual(struct hci_dev * hdev,struct btintel_cp_ddc_write * cmd,int id,struct btintel_sar_inc_pwr * sar) btintel_send_br_mutual() argument
3036 btintel_send_edr2(struct hci_dev * hdev,struct btintel_cp_ddc_write * cmd,int id,struct btintel_sar_inc_pwr * sar) btintel_send_edr2() argument
3045 btintel_send_edr3(struct hci_dev * hdev,struct btintel_cp_ddc_write * cmd,int id,struct btintel_sar_inc_pwr * sar) btintel_send_edr3() argument
3054 btintel_set_legacy_sar(struct hci_dev * hdev,struct btintel_sar_inc_pwr * sar) btintel_set_legacy_sar() argument
3090 btintel_set_mutual_sar(struct hci_dev * hdev,struct btintel_sar_inc_pwr * sar) btintel_set_mutual_sar() argument
3157 btintel_send_sar_rev2_band(struct hci_dev * hdev,struct btintel_cp_ddc_write * cmd,u16 id,u8 chain_a,u8 chain_b) btintel_send_sar_rev2_band() argument
3168 btintel_set_sar_rev2(struct hci_dev * hdev,struct btintel_sar_rev2 * sar) btintel_set_sar_rev2() argument
3239 btintel_sar_rev2_send_to_device(struct hci_dev * hdev,struct btintel_sar_rev2 * sar,struct intel_version_tlv * ver) btintel_sar_rev2_send_to_device() argument
3256 btintel_sar_send_to_device(struct hci_dev * hdev,struct btintel_sar_inc_pwr * sar,struct intel_version_tlv * ver) btintel_sar_send_to_device() argument
3278 btintel_acpi_set_sar(struct hci_dev * hdev,struct intel_version_tlv * ver) btintel_acpi_set_sar() argument
3435 btintel_set_specific_absorption_rate(struct hci_dev * hdev,struct intel_version_tlv * ver) btintel_set_specific_absorption_rate() argument
3444 btintel_bootloader_setup_tlv(struct hci_dev * hdev,struct intel_version_tlv * ver) btintel_bootloader_setup_tlv() argument
3548 btintel_set_msft_opcode(struct hci_dev * hdev,u8 hw_variant) btintel_set_msft_opcode() argument
3579 btintel_print_fseq_info(struct hci_dev * hdev) btintel_print_fseq_info() argument
3693 btintel_setup_combined(struct hci_dev * hdev) btintel_setup_combined() argument
3951 btintel_shutdown_combined(struct hci_dev * hdev) btintel_shutdown_combined() argument
3987 btintel_configure_setup(struct hci_dev * hdev,const char * driver_name) btintel_configure_setup() argument
4002 btintel_diagnostics(struct hci_dev * hdev,struct sk_buff * skb) btintel_diagnostics() argument
4034 btintel_recv_event(struct hci_dev * hdev,struct sk_buff * skb) btintel_recv_event() argument
4079 btintel_bootup(struct hci_dev * hdev,const void * ptr,unsigned int len) btintel_bootup() argument
4091 btintel_secure_send_result(struct hci_dev * hdev,const void * ptr,unsigned int len) btintel_secure_send_result() argument
[all...]
/linux/drivers/crypto/
H A Dimg-hash.c84 struct img_hash_dev *hdev; member
111 struct img_hash_dev *hdev; member
148 static inline u32 img_hash_read(struct img_hash_dev *hdev, u32 offset) in img_hash_read() argument
150 return readl_relaxed(hdev->io_base + offset); in img_hash_read()
153 static inline void img_hash_write(struct img_hash_dev *hdev, in img_hash_write() argument
156 writel_relaxed(value, hdev->io_base + offset); in img_hash_write()
159 static inline __be32 img_hash_read_result_queue(struct img_hash_dev *hdev) in img_hash_read_result_queue() argument
161 return cpu_to_be32(img_hash_read(hdev, CR_RESULT_QUEUE)); in img_hash_read_result_queue()
164 static void img_hash_start(struct img_hash_dev *hdev, bool dma) in img_hash_start() argument
166 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev in img_hash_start()
190 img_hash_xmit_cpu(struct img_hash_dev * hdev,const u8 * buf,size_t length,int final) img_hash_xmit_cpu() argument
211 struct img_hash_dev *hdev = data; img_hash_dma_callback() local
222 img_hash_xmit_dma(struct img_hash_dev * hdev,struct scatterlist * sg) img_hash_xmit_dma() argument
253 img_hash_write_via_cpu(struct img_hash_dev * hdev) img_hash_write_via_cpu() argument
295 struct img_hash_dev *hdev = ctx->hdev; img_hash_finish_req() local
313 img_hash_write_via_dma(struct img_hash_dev * hdev) img_hash_write_via_dma() argument
331 img_hash_dma_init(struct img_hash_dev * hdev) img_hash_dma_init() argument
359 struct img_hash_dev *hdev = (struct img_hash_dev *)d; img_hash_dma_task() local
433 img_hash_write_via_dma_stop(struct img_hash_dev * hdev) img_hash_write_via_dma_stop() argument
443 img_hash_process_data(struct img_hash_dev * hdev) img_hash_process_data() argument
463 img_hash_hw_init(struct img_hash_dev * hdev) img_hash_hw_init() argument
500 img_hash_handle_queue(struct img_hash_dev * hdev,struct ahash_request * req) img_hash_handle_queue() argument
717 struct img_hash_dev *hdev = dev_id; img_irq_handler() local
854 img_register_algs(struct img_hash_dev * hdev) img_register_algs() argument
869 img_unregister_algs(struct img_hash_dev * hdev) img_unregister_algs() argument
876 struct img_hash_dev *hdev = (struct img_hash_dev *)data; img_hash_done_task() local
923 struct img_hash_dev *hdev; img_hash_probe() local
1019 struct img_hash_dev *hdev; img_hash_remove() local
1037 struct img_hash_dev *hdev = dev_get_drvdata(dev); img_hash_suspend() local
1047 struct img_hash_dev *hdev = dev_get_drvdata(dev); img_hash_resume() local
[all...]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_mbx.c17 static void hclgevf_reset_mbx_resp_status(struct hclgevf_dev *hdev) in hclgevf_reset_mbx_resp_status() argument
22 hdev->mbx_resp.received_resp = false; in hclgevf_reset_mbx_resp_status()
23 hdev->mbx_resp.origin_mbx_msg = 0; in hclgevf_reset_mbx_resp_status()
24 hdev->mbx_resp.resp_status = 0; in hclgevf_reset_mbx_resp_status()
25 hdev->mbx_resp.match_id++; in hclgevf_reset_mbx_resp_status()
27 if (hdev->mbx_resp.match_id == 0) in hclgevf_reset_mbx_resp_status()
28 hdev->mbx_resp.match_id = HCLGEVF_MBX_MATCH_ID_START; in hclgevf_reset_mbx_resp_status()
29 memset(hdev->mbx_resp.additional_info, 0, HCLGE_MBX_MAX_RESP_DATA_SIZE); in hclgevf_reset_mbx_resp_status()
40 static int hclgevf_get_mbx_resp(struct hclgevf_dev *hdev, u16 code0, u16 code1, in hclgevf_get_mbx_resp() argument
50 dev_err(&hdev->pdev->dev, in hclgevf_get_mbx_resp()
[all …]
/linux/drivers/accel/habanalabs/common/pci/
H A Dpci.c32 int hl_pci_bars_map(struct hl_device *hdev, const char * const name[3], in hl_pci_bars_map() argument
35 struct pci_dev *pdev = hdev->pdev; in hl_pci_bars_map()
40 dev_err(hdev->dev, "Cannot obtain PCI resources\n"); in hl_pci_bars_map()
46 hdev->pcie_bar[bar] = is_wc[i] ? in hl_pci_bars_map()
49 if (!hdev->pcie_bar[bar]) { in hl_pci_bars_map()
50 dev_err(hdev->dev, "pci_ioremap%s_bar failed for %s\n", in hl_pci_bars_map()
62 if (hdev->pcie_bar[bar]) in hl_pci_bars_map()
63 iounmap(hdev->pcie_bar[bar]); in hl_pci_bars_map()
77 static void hl_pci_bars_unmap(struct hl_device *hdev) in hl_pci_bars_unmap() argument
79 struct pci_dev *pdev = hdev->pdev; in hl_pci_bars_unmap()
[all …]
/linux/drivers/accel/habanalabs/goya/
H A Dgoya_hwmgr.c10 void goya_set_pll_profile(struct hl_device *hdev, enum hl_pll_frequency freq) in goya_set_pll_profile() argument
12 struct goya_device *goya = hdev->asic_specific; in goya_set_pll_profile()
14 if (!hdev->pdev) in goya_set_pll_profile()
19 hl_fw_set_frequency(hdev, HL_GOYA_MME_PLL, hdev->high_pll); in goya_set_pll_profile()
20 hl_fw_set_frequency(hdev, HL_GOYA_TPC_PLL, hdev->high_pll); in goya_set_pll_profile()
21 hl_fw_set_frequency(hdev, HL_GOYA_IC_PLL, hdev->high_pll); in goya_set_pll_profile()
24 hl_fw_set_frequency(hdev, HL_GOYA_MME_PLL, GOYA_PLL_FREQ_LOW); in goya_set_pll_profile()
25 hl_fw_set_frequency(hdev, HL_GOYA_TPC_PLL, GOYA_PLL_FREQ_LOW); in goya_set_pll_profile()
26 hl_fw_set_frequency(hdev, HL_GOYA_IC_PLL, GOYA_PLL_FREQ_LOW); in goya_set_pll_profile()
29 hl_fw_set_frequency(hdev, HL_GOYA_MME_PLL, goya->mme_clk); in goya_set_pll_profile()
[all …]
H A Dgoya.c355 static int goya_mmu_clear_pgt_range(struct hl_device *hdev);
356 static int goya_mmu_set_dram_default_page(struct hl_device *hdev);
357 static int goya_mmu_add_mappings_for_device_cpu(struct hl_device *hdev);
358 static void goya_mmu_prepare(struct hl_device *hdev, u32 asid);
360 int goya_set_fixed_properties(struct hl_device *hdev) in goya_set_fixed_properties() argument
362 struct asic_fixed_properties *prop = &hdev->asic_prop; in goya_set_fixed_properties()
410 if (hdev->pldm) in goya_set_fixed_properties()
507 static int goya_pci_bars_map(struct hl_device *hdev) in goya_pci_bars_map() argument
513 rc = hl_pci_bars_map(hdev, name, is_wc); in goya_pci_bars_map()
517 hdev->rmmio = hdev->pcie_bar[SRAM_CFG_BAR_ID] + in goya_pci_bars_map()
[all …]
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c479 static int gaudi_mmu_update_asid_hop0_addr(struct hl_device *hdev, u32 asid,
481 static int gaudi_send_job_on_qman0(struct hl_device *hdev,
483 static int gaudi_memset_device_memory(struct hl_device *hdev, u64 addr,
485 static int gaudi_memset_registers(struct hl_device *hdev, u64 reg_base,
487 static int gaudi_run_tpc_kernel(struct hl_device *hdev, u64 tpc_kernel,
489 static int gaudi_mmu_clear_pgt_range(struct hl_device *hdev);
490 static int gaudi_cpucp_info_get(struct hl_device *hdev);
491 static void gaudi_disable_clock_gating(struct hl_device *hdev);
492 static void gaudi_mmu_prepare(struct hl_device *hdev, u32 asid);
493 static u32 gaudi_gen_signal_cb(struct hl_device *hdev, voi
498 get_collective_mode(struct hl_device * hdev,u32 queue_id) get_collective_mode() argument
518 set_default_power_values(struct hl_device * hdev) set_default_power_values() argument
535 gaudi_set_fixed_properties(struct hl_device * hdev) gaudi_set_fixed_properties() argument
709 gaudi_pci_bars_map(struct hl_device * hdev) gaudi_pci_bars_map() argument
725 gaudi_set_hbm_bar_base(struct hl_device * hdev,u64 addr) gaudi_set_hbm_bar_base() argument
754 gaudi_init_iatu(struct hl_device * hdev) gaudi_init_iatu() argument
796 gaudi_get_hw_state(struct hl_device * hdev) gaudi_get_hw_state() argument
801 gaudi_early_init(struct hl_device * hdev) gaudi_early_init() argument
893 gaudi_early_fini(struct hl_device * hdev) gaudi_early_fini() argument
907 gaudi_fetch_psoc_frequency(struct hl_device * hdev) gaudi_fetch_psoc_frequency() argument
964 _gaudi_init_tpc_mem(struct hl_device * hdev,dma_addr_t tpc_kernel_src_addr,u32 tpc_kernel_size) _gaudi_init_tpc_mem() argument
1049 gaudi_init_tpc_mem(struct hl_device * hdev) gaudi_init_tpc_mem() argument
1091 gaudi_collective_map_sobs(struct hl_device * hdev,u32 stream) gaudi_collective_map_sobs() argument
1127 struct hl_device *hdev = hw_sob_group->hdev; gaudi_sob_group_hw_reset() local
1141 struct hl_device *hdev = hw_sob_group->hdev; gaudi_sob_group_reset_error() local
1166 gaudi_collective_init(struct hl_device * hdev) gaudi_collective_init() argument
1199 gaudi_reset_sob_group(struct hl_device * hdev,u16 sob_group) gaudi_reset_sob_group() argument
1208 gaudi_collective_master_init_job(struct hl_device * hdev,struct hl_cs_job * job,u32 stream,u32 sob_group_offset) gaudi_collective_master_init_job() argument
1259 gaudi_collective_slave_init_job(struct hl_device * hdev,struct hl_cs_job * job,struct hl_cs_compl * cs_cmpl) gaudi_collective_slave_init_job() argument
1317 struct hl_device *hdev; gaudi_collective_wait_init_cs() local
1427 gaudi_collective_wait_create_job(struct hl_device * hdev,struct hl_ctx * ctx,struct hl_cs * cs,enum hl_collective_mode mode,u32 queue_id,u32 wait_queue_id,u32 encaps_signal_offset) gaudi_collective_wait_create_job() argument
1523 gaudi_collective_wait_create_jobs(struct hl_device * hdev,struct hl_ctx * ctx,struct hl_cs * cs,u32 wait_queue_id,u32 collective_engine_id,u32 encaps_signal_offset) gaudi_collective_wait_create_jobs() argument
1608 gaudi_late_init(struct hl_device * hdev) gaudi_late_init() argument
1688 gaudi_late_fini(struct hl_device * hdev) gaudi_late_fini() argument
1693 gaudi_alloc_cpu_accessible_dma_mem(struct hl_device * hdev) gaudi_alloc_cpu_accessible_dma_mem() argument
1746 gaudi_free_internal_qmans_pq_mem(struct hl_device * hdev) gaudi_free_internal_qmans_pq_mem() argument
1760 gaudi_alloc_internal_qmans_pq_mem(struct hl_device * hdev) gaudi_alloc_internal_qmans_pq_mem() argument
1806 gaudi_set_pci_memory_regions(struct hl_device * hdev) gaudi_set_pci_memory_regions() argument
1848 gaudi_sw_init(struct hl_device * hdev) gaudi_sw_init() argument
1942 gaudi_sw_fini(struct hl_device * hdev) gaudi_sw_fini() argument
1966 struct hl_device *hdev = arg; gaudi_irq_handler_single() local
1984 gaudi_pci_irq_vector(struct hl_device * hdev,unsigned int nr,bool cpu_eq) gaudi_pci_irq_vector() argument
1999 gaudi_enable_msi_single(struct hl_device * hdev) gaudi_enable_msi_single() argument
2015 gaudi_enable_msi(struct hl_device * hdev) gaudi_enable_msi() argument
2042 gaudi_sync_irqs(struct hl_device * hdev) gaudi_sync_irqs() argument
2053 gaudi_disable_msi(struct hl_device * hdev) gaudi_disable_msi() argument
2067 gaudi_init_scrambler_sram(struct hl_device * hdev) gaudi_init_scrambler_sram() argument
2135 gaudi_init_scrambler_hbm(struct hl_device * hdev) gaudi_init_scrambler_hbm() argument
2203 gaudi_init_e2e(struct hl_device * hdev) gaudi_init_e2e() argument
2453 gaudi_init_hbm_cred(struct hl_device * hdev) gaudi_init_hbm_cred() argument
2516 gaudi_init_golden_registers(struct hl_device * hdev) gaudi_init_golden_registers() argument
2544 gaudi_init_pci_dma_qman(struct hl_device * hdev,int dma_id,int qman_id,dma_addr_t qman_pq_addr) gaudi_init_pci_dma_qman() argument
2635 gaudi_init_dma_core(struct hl_device * hdev,int dma_id) gaudi_init_dma_core() argument
2675 gaudi_enable_qman(struct hl_device * hdev,int dma_id,u32 enable_mask) gaudi_enable_qman() argument
2683 gaudi_init_pci_dma_qmans(struct hl_device * hdev) gaudi_init_pci_dma_qmans() argument
2724 gaudi_init_hbm_dma_qman(struct hl_device * hdev,int dma_id,int qman_id,u64 qman_base_addr) gaudi_init_hbm_dma_qman() argument
2829 gaudi_init_hbm_dma_qmans(struct hl_device * hdev) gaudi_init_hbm_dma_qmans() argument
2866 gaudi_init_mme_qman(struct hl_device * hdev,u32 mme_offset,int qman_id,u64 qman_base_addr) gaudi_init_mme_qman() argument
2953 gaudi_init_mme_qmans(struct hl_device * hdev) gaudi_init_mme_qmans() argument
2992 gaudi_init_tpc_qman(struct hl_device * hdev,u32 tpc_offset,int qman_id,u64 qman_base_addr) gaudi_init_tpc_qman() argument
3098 gaudi_init_tpc_qmans(struct hl_device * hdev) gaudi_init_tpc_qmans() argument
3143 gaudi_init_nic_qman(struct hl_device * hdev,u32 nic_offset,int qman_id,u64 qman_base_addr,int nic_id) gaudi_init_nic_qman() argument
3231 gaudi_init_nic_qmans(struct hl_device * hdev) gaudi_init_nic_qmans() argument
3283 gaudi_disable_pci_dma_qmans(struct hl_device * hdev) gaudi_disable_pci_dma_qmans() argument
3295 gaudi_disable_hbm_dma_qmans(struct hl_device * hdev) gaudi_disable_hbm_dma_qmans() argument
3309 gaudi_disable_mme_qmans(struct hl_device * hdev) gaudi_disable_mme_qmans() argument
3320 gaudi_disable_tpc_qmans(struct hl_device * hdev) gaudi_disable_tpc_qmans() argument
3335 gaudi_disable_nic_qmans(struct hl_device * hdev) gaudi_disable_nic_qmans() argument
3359 gaudi_stop_pci_dma_qmans(struct hl_device * hdev) gaudi_stop_pci_dma_qmans() argument
3372 gaudi_stop_hbm_dma_qmans(struct hl_device * hdev) gaudi_stop_hbm_dma_qmans() argument
3388 gaudi_stop_mme_qmans(struct hl_device * hdev) gaudi_stop_mme_qmans() argument
3400 gaudi_stop_tpc_qmans(struct hl_device * hdev) gaudi_stop_tpc_qmans() argument
3417 gaudi_stop_nic_qmans(struct hl_device * hdev) gaudi_stop_nic_qmans() argument
3484 gaudi_pci_dma_stall(struct hl_device * hdev) gaudi_pci_dma_stall() argument
3496 gaudi_hbm_dma_stall(struct hl_device * hdev) gaudi_hbm_dma_stall() argument
3510 gaudi_mme_stall(struct hl_device * hdev) gaudi_mme_stall() argument
3536 gaudi_tpc_stall(struct hl_device * hdev) gaudi_tpc_stall() argument
3553 gaudi_disable_clock_gating(struct hl_device * hdev) gaudi_disable_clock_gating() argument
3581 gaudi_enable_timestamp(struct hl_device * hdev) gaudi_enable_timestamp() argument
3594 gaudi_disable_timestamp(struct hl_device * hdev) gaudi_disable_timestamp() argument
3600 gaudi_halt_engines(struct hl_device * hdev,bool hard_reset,bool fw_reset) gaudi_halt_engines() argument
3639 gaudi_mmu_init(struct hl_device * hdev) gaudi_mmu_init() argument
3688 gaudi_load_firmware_to_device(struct hl_device * hdev) gaudi_load_firmware_to_device() argument
3697 gaudi_load_boot_fit_to_device(struct hl_device * hdev) gaudi_load_boot_fit_to_device() argument
3706 gaudi_init_dynamic_firmware_loader(struct hl_device * hdev) gaudi_init_dynamic_firmware_loader() argument
3729 gaudi_init_static_firmware_loader(struct hl_device * hdev) gaudi_init_static_firmware_loader() argument
3752 gaudi_init_firmware_preload_params(struct hl_device * hdev) gaudi_init_firmware_preload_params() argument
3764 gaudi_init_firmware_loader(struct hl_device * hdev) gaudi_init_firmware_loader() argument
3785 gaudi_init_cpu(struct hl_device * hdev) gaudi_init_cpu() argument
3813 gaudi_init_cpu_queues(struct hl_device * hdev,u32 cpu_timeout) gaudi_init_cpu_queues() argument
3886 gaudi_pre_hw_init(struct hl_device * hdev) gaudi_pre_hw_init() argument
3914 gaudi_hw_init(struct hl_device * hdev) gaudi_hw_init() argument
4002 gaudi_hw_fini(struct hl_device * hdev,bool hard_reset,bool fw_reset) gaudi_hw_fini() argument
4152 gaudi_suspend(struct hl_device * hdev) gaudi_suspend() argument
4157 gaudi_resume(struct hl_device * hdev) gaudi_resume() argument
4162 gaudi_mmap(struct hl_device * hdev,struct vm_area_struct * vma,void * cpu_addr,dma_addr_t dma_addr,size_t size) gaudi_mmap() argument
4197 gaudi_ring_doorbell(struct hl_device * hdev,u32 hw_queue_id,u32 pi) gaudi_ring_doorbell() argument
4539 gaudi_pqe_write(struct hl_device * hdev,__le64 * pqe,struct hl_bd * bd) gaudi_pqe_write() argument
4549 gaudi_dma_alloc_coherent(struct hl_device * hdev,size_t size,dma_addr_t * dma_handle,gfp_t flags) gaudi_dma_alloc_coherent() argument
4562 gaudi_dma_free_coherent(struct hl_device * hdev,size_t size,void * cpu_addr,dma_addr_t dma_handle) gaudi_dma_free_coherent() argument
4571 gaudi_scrub_device_dram(struct hl_device * hdev,u64 val) gaudi_scrub_device_dram() argument
4632 gaudi_scrub_device_mem(struct hl_device * hdev) gaudi_scrub_device_mem() argument
4674 gaudi_get_int_queue_base(struct hl_device * hdev,u32 queue_id,dma_addr_t * dma_handle,u16 * queue_len) gaudi_get_int_queue_base() argument
4694 gaudi_send_cpu_message(struct hl_device * hdev,u32 * msg,u16 len,u32 timeout,u64 * result) gaudi_send_cpu_message() argument
4712 gaudi_test_queue(struct hl_device * hdev,u32 hw_queue_id) gaudi_test_queue() argument
4785 gaudi_test_cpu_queue(struct hl_device * hdev) gaudi_test_cpu_queue() argument
4799 gaudi_test_queues(struct hl_device * hdev) gaudi_test_queues() argument
4818 gaudi_dma_pool_zalloc(struct hl_device * hdev,size_t size,gfp_t mem_flags,dma_addr_t * dma_handle) gaudi_dma_pool_zalloc() argument
4835 gaudi_dma_pool_free(struct hl_device * hdev,void * vaddr,dma_addr_t dma_addr) gaudi_dma_pool_free() argument
4844 gaudi_cpu_accessible_dma_pool_alloc(struct hl_device * hdev,size_t size,dma_addr_t * dma_handle) gaudi_cpu_accessible_dma_pool_alloc() argument
4850 gaudi_cpu_accessible_dma_pool_free(struct hl_device * hdev,size_t size,void * vaddr) gaudi_cpu_accessible_dma_pool_free() argument
4856 gaudi_get_dma_desc_list_size(struct hl_device * hdev,struct sg_table * sgt) gaudi_get_dma_desc_list_size() argument
4896 gaudi_pin_memory_before_cs(struct hl_device * hdev,struct hl_cs_parser * parser,struct packet_lin_dma * user_dma_pkt,u64 addr,enum dma_data_direction dir) gaudi_pin_memory_before_cs() argument
4942 gaudi_validate_dma_pkt_host(struct hl_device * hdev,struct hl_cs_parser * parser,struct packet_lin_dma * user_dma_pkt,bool src_in_host) gaudi_validate_dma_pkt_host() argument
4980 gaudi_validate_dma_pkt_no_mmu(struct hl_device * hdev,struct hl_cs_parser * parser,struct packet_lin_dma * user_dma_pkt) gaudi_validate_dma_pkt_no_mmu() argument
5012 gaudi_validate_load_and_exe_pkt(struct hl_device * hdev,struct hl_cs_parser * parser,struct packet_load_and_exe * user_pkt) gaudi_validate_load_and_exe_pkt() argument
5031 gaudi_validate_cb(struct hl_device * hdev,struct hl_cs_parser * parser,bool is_mmu) gaudi_validate_cb() argument
5138 gaudi_patch_dma_packet(struct hl_device * hdev,struct hl_cs_parser * parser,struct packet_lin_dma * user_dma_pkt,struct packet_lin_dma * new_dma_pkt,u32 * new_dma_pkt_size) gaudi_patch_dma_packet() argument
5257 gaudi_patch_cb(struct hl_device * hdev,struct hl_cs_parser * parser) gaudi_patch_cb() argument
5347 gaudi_parse_cb_mmu(struct hl_device * hdev,struct hl_cs_parser * parser) gaudi_parse_cb_mmu() argument
5432 gaudi_parse_cb_no_mmu(struct hl_device * hdev,struct hl_cs_parser * parser) gaudi_parse_cb_no_mmu() argument
5480 gaudi_parse_cb_no_ext_queue(struct hl_device * hdev,struct hl_cs_parser * parser) gaudi_parse_cb_no_ext_queue() argument
5525 gaudi_cs_parser(struct hl_device * hdev,struct hl_cs_parser * parser) gaudi_cs_parser() argument
5538 gaudi_add_end_of_cb_packets(struct hl_device * hdev,void * kernel_address,u32 len,u32 original_len,u64 cq_addr,u32 cq_val,u32 msi_vec,bool eb) gaudi_add_end_of_cb_packets() argument
5575 gaudi_update_eq_ci(struct hl_device * hdev,u32 val) gaudi_update_eq_ci() argument
5580 gaudi_memset_device_memory(struct hl_device * hdev,u64 addr,u32 size,u64 val) gaudi_memset_device_memory() argument
5659 gaudi_memset_registers(struct hl_device * hdev,u64 reg_base,u32 num_regs,u32 val) gaudi_memset_registers() argument
5722 gaudi_restore_sm_registers(struct hl_device * hdev) gaudi_restore_sm_registers() argument
5797 gaudi_restore_dma_registers(struct hl_device * hdev) gaudi_restore_dma_registers() argument
5824 gaudi_restore_qm_registers(struct hl_device * hdev) gaudi_restore_qm_registers() argument
5851 gaudi_restore_user_registers(struct hl_device * hdev) gaudi_restore_user_registers() argument
5865 gaudi_context_switch(struct hl_device * hdev,u32 asid) gaudi_context_switch() argument
5870 gaudi_mmu_clear_pgt_range(struct hl_device * hdev) gaudi_mmu_clear_pgt_range() argument
5883 gaudi_restore_phase_topology(struct hl_device * hdev) gaudi_restore_phase_topology() argument
5888 gaudi_dma_core_transfer(struct hl_device * hdev,int dma_id,u64 addr,u32 size_to_dma,dma_addr_t dma_addr) gaudi_dma_core_transfer() argument
5935 gaudi_debugfs_read_dma(struct hl_device * hdev,u64 addr,u32 size,void * blob_addr) gaudi_debugfs_read_dma() argument
6040 gaudi_read_pte(struct hl_device * hdev,u64 addr) gaudi_read_pte() argument
6051 gaudi_write_pte(struct hl_device * hdev,u64 addr,u64 val) gaudi_write_pte() argument
6062 gaudi_mmu_prepare_reg(struct hl_device * hdev,u64 reg,u32 asid) gaudi_mmu_prepare_reg() argument
6069 gaudi_mmu_prepare(struct hl_device * hdev,u32 asid) gaudi_mmu_prepare() argument
6360 gaudi_send_job_on_qman0(struct hl_device * hdev,struct hl_cs_job * job) gaudi_send_job_on_qman0() argument
6441 gaudi_get_razwi_initiator_dma_name(struct hl_device * hdev,u32 x_y,bool is_write,u16 * engine_id_1,u16 * engine_id_2) gaudi_get_razwi_initiator_dma_name() argument
6539 gaudi_get_razwi_initiator_name(struct hl_device * hdev,bool is_write,u16 * engine_id_1,u16 * engine_id_2) gaudi_get_razwi_initiator_name() argument
6656 gaudi_print_and_get_razwi_info(struct hl_device * hdev,u16 * engine_id_1,u16 * engine_id_2,bool * is_read,bool * is_write) gaudi_print_and_get_razwi_info() argument
6677 gaudi_print_and_get_mmu_error_info(struct hl_device * hdev,u64 * addr,u64 * event_mask) gaudi_print_and_get_mmu_error_info() argument
6727 gaudi_extract_ecc_info(struct hl_device * hdev,struct ecc_info_extract_params * params,u64 * ecc_address,u64 * ecc_syndrom,u8 * memory_wrapper_idx) gaudi_extract_ecc_info() argument
6812 gaudi_handle_sw_config_stream_data(struct hl_device * hdev,u32 stream,u64 qman_base,u64 event_mask) gaudi_handle_sw_config_stream_data() argument
6849 gaudi_handle_last_pqes_on_err(struct hl_device * hdev,u32 qid_base,u32 stream,u64 qman_base,u64 event_mask,bool pr_sw_conf) gaudi_handle_last_pqes_on_err() argument
6929 handle_qman_data_on_err(struct hl_device * hdev,u32 qid_base,u32 stream,u64 qman_base,u64 event_mask) handle_qman_data_on_err() argument
6948 gaudi_handle_qman_err_generic(struct hl_device * hdev,const char * qm_name,u64 qman_base,u32 qid_base,u64 * event_mask) gaudi_handle_qman_err_generic() argument
7015 gaudi_print_sm_sei_info(struct hl_device * hdev,u16 event_type,struct hl_eq_sm_sei_data * sei_data) gaudi_print_sm_sei_info() argument
7049 gaudi_handle_ecc_event(struct hl_device * hdev,u16 event_type,struct hl_eq_ecc_data * ecc_data) gaudi_handle_ecc_event() argument
7146 gaudi_handle_qman_err(struct hl_device * hdev,u16 event_type,u64 * event_mask) gaudi_handle_qman_err() argument
7237 gaudi_print_irq_info(struct hl_device * hdev,u16 event_type,bool check_razwi,u64 * event_mask) gaudi_print_irq_info() argument
7280 gaudi_print_out_of_sync_info(struct hl_device * hdev,struct cpucp_pkt_sync_err * sync_err) gaudi_print_out_of_sync_info() argument
7289 gaudi_print_fw_alive_info(struct hl_device * hdev,struct hl_eq_fw_alive * fw_alive) gaudi_print_fw_alive_info() argument
7300 gaudi_print_nic_axi_irq_info(struct hl_device * hdev,u16 event_type,void * data) gaudi_print_nic_axi_irq_info() argument
7342 gaudi_compute_reset_late_init(struct hl_device * hdev) gaudi_compute_reset_late_init() argument
7348 gaudi_hbm_read_interrupts(struct hl_device * hdev,int device,struct hl_eq_hbm_ecc_data * hbm_ecc_data) gaudi_hbm_read_interrupts() argument
7486 gaudi_tpc_read_interrupts(struct hl_device * hdev,u8 tpc_id,char * interrupt_name) gaudi_tpc_read_interrupts() argument
7522 gaudi_print_clk_change_info(struct hl_device * hdev,u16 event_type,u64 * event_mask) gaudi_print_clk_change_info() argument
7572 gaudi_handle_eqe(struct hl_device * hdev,struct hl_eq_entry * eq_entry) gaudi_handle_eqe() argument
7901 gaudi_get_events_stat(struct hl_device * hdev,bool aggregate,u32 * size) gaudi_get_events_stat() argument
7914 gaudi_mmu_invalidate_cache(struct hl_device * hdev,bool is_hard,u32 flags) gaudi_mmu_invalidate_cache() argument
7947 gaudi_mmu_invalidate_cache_range(struct hl_device * hdev,bool is_hard,u32 flags,u32 asid,u64 va,u64 size) gaudi_mmu_invalidate_cache_range() argument
7957 gaudi_mmu_update_asid_hop0_addr(struct hl_device * hdev,u32 asid,u64 phys_addr) gaudi_mmu_update_asid_hop0_addr() argument
7989 gaudi_send_heartbeat(struct hl_device * hdev) gaudi_send_heartbeat() argument
7999 gaudi_cpucp_info_get(struct hl_device * hdev) gaudi_cpucp_info_get() argument
8025 gaudi_is_device_idle(struct hl_device * hdev,u64 * mask_arr,u8 mask_len,struct engines_data * e) gaudi_is_device_idle() argument
8162 gaudi_hw_queues_lock(struct hl_device * hdev) gaudi_hw_queues_lock() argument
8170 gaudi_hw_queues_unlock(struct hl_device * hdev) gaudi_hw_queues_unlock() argument
8178 gaudi_get_pci_id(struct hl_device * hdev) gaudi_get_pci_id() argument
8183 gaudi_get_eeprom_data(struct hl_device * hdev,void * data,size_t max_size) gaudi_get_eeprom_data() argument
8194 gaudi_get_monitor_dump(struct hl_device * hdev,void * data) gaudi_get_monitor_dump() argument
8208 gaudi_run_tpc_kernel(struct hl_device * hdev,u64 tpc_kernel,u32 tpc_id) gaudi_run_tpc_kernel() argument
8304 gaudi_internal_cb_pool_init(struct hl_device * hdev,struct hl_ctx * ctx) gaudi_internal_cb_pool_init() argument
8384 gaudi_internal_cb_pool_fini(struct hl_device * hdev,struct hl_ctx * ctx) gaudi_internal_cb_pool_fini() argument
8437 gaudi_get_queue_id_for_cq(struct hl_device * hdev,u32 cq_idx) gaudi_get_queue_id_for_cq() argument
8442 gaudi_get_signal_cb_size(struct hl_device * hdev) gaudi_get_signal_cb_size() argument
8448 gaudi_get_wait_cb_size(struct hl_device * hdev) gaudi_get_wait_cb_size() argument
8455 gaudi_get_sob_addr(struct hl_device * hdev,u32 sob_id) gaudi_get_sob_addr() argument
8460 gaudi_gen_signal_cb(struct hl_device * hdev,void * data,u16 sob_id,u32 size,bool eb) gaudi_gen_signal_cb() argument
8508 gaudi_add_arm_monitor_pkt(struct hl_device * hdev,struct packet_msg_short * pkt,u16 sob_base,u8 sob_mask,u16 sob_val,u16 mon_id) gaudi_add_arm_monitor_pkt() argument
8578 gaudi_get_fence_addr(struct hl_device * hdev,u32 queue_id,u64 * addr) gaudi_get_fence_addr() argument
8741 gaudi_gen_wait_cb(struct hl_device * hdev,struct hl_gen_wait_properties * prop) gaudi_gen_wait_cb() argument
8763 gaudi_reset_sob(struct hl_device * hdev,void * data) gaudi_reset_sob() argument
8776 gaudi_get_device_time(struct hl_device * hdev) gaudi_get_device_time() argument
8783 gaudi_get_hw_block_id(struct hl_device * hdev,u64 block_addr,u32 * block_size,u32 * block_id) gaudi_get_hw_block_id() argument
8789 gaudi_block_mmap(struct hl_device * hdev,struct vm_area_struct * vma,u32 block_id,u32 block_size) gaudi_block_mmap() argument
8796 gaudi_enable_events_from_fw(struct hl_device * hdev) gaudi_enable_events_from_fw() argument
8808 gaudi_ack_mmu_page_fault_or_access_error(struct hl_device * hdev,u64 mmu_cap_mask) gaudi_ack_mmu_page_fault_or_access_error() argument
8856 gaudi_gen_sync_to_engine_map(struct hl_device * hdev,struct hl_sync_to_engine_map * map) gaudi_gen_sync_to_engine_map() argument
8945 gaudi_print_single_monitor(char ** buf,size_t * size,size_t * offset,struct hl_device * hdev,struct hl_mon_state_dump * mon) gaudi_print_single_monitor() argument
8984 gaudi_print_fences_single_engine(struct hl_device * hdev,u64 base_offset,u64 status_base_offset,enum hl_sync_engine_type engine_type,u32 engine_id,char ** buf,size_t * size,size_t * offset) gaudi_print_fences_single_engine() argument
9060 gaudi_state_dump_init(struct hl_device * hdev) gaudi_state_dump_init() argument
9087 gaudi_set_dram_properties(struct hl_device * hdev) gaudi_set_dram_properties() argument
9092 gaudi_set_binning_masks(struct hl_device * hdev) gaudi_set_binning_masks() argument
9097 gaudi_check_if_razwi_happened(struct hl_device * hdev) gaudi_check_if_razwi_happened() argument
9103 struct hl_device *hdev = dev_get_drvdata(dev); infineon_ver_show() local
9118 gaudi_add_device_attr(struct hl_device * hdev,struct attribute_group * dev_clk_attr_grp,struct attribute_group * dev_vrm_attr_grp) gaudi_add_device_attr() argument
9125 gaudi_send_device_activity(struct hl_device * hdev,bool open) gaudi_send_device_activity() argument
9233 gaudi_set_asic_funcs(struct hl_device * hdev) gaudi_set_asic_funcs() argument
[all...]

12345678910>>...13