Searched refs:hdev (Results 76 - 100 of 390) sorted by relevance

1234567891011>>

/linux-master/drivers/accel/habanalabs/common/
H A Dhabanalabs.h148 #define hl_asic_dma_alloc_coherent(hdev, size, dma_handle, flags) \
149 hl_asic_dma_alloc_coherent_caller(hdev, size, dma_handle, flags, __func__)
151 #define hl_asic_dma_pool_zalloc(hdev, size, mem_flags, dma_handle) \
152 hl_asic_dma_pool_zalloc_caller(hdev, size, mem_flags, dma_handle, __func__)
154 #define hl_asic_dma_free_coherent(hdev, size, cpu_addr, dma_handle) \
155 hl_asic_dma_free_coherent_caller(hdev, size, cpu_addr, dma_handle, __func__)
157 #define hl_asic_dma_pool_free(hdev, vaddr, dma_addr) \
158 hl_asic_dma_pool_free_caller(hdev, vaddr, dma_addr, __func__)
160 #define hl_dma_map_sgtable(hdev, sgt, dir) \
161 hl_dma_map_sgtable_caller(hdev, sg
424 struct hl_device *hdev; member in struct:hl_hw_sob
864 struct hl_device *hdev; member in struct:hl_cs_compl
966 struct hl_device *hdev; member in struct:hl_cb
1099 struct hl_device *hdev; member in struct:hl_cq
1145 struct hl_device *hdev; member in struct:hl_user_interrupt
1183 struct hl_device *hdev; member in struct:timestamp_reg_work_obj
1240 struct hl_device *hdev; member in struct:hl_eq
1256 struct hl_device *hdev; member in struct:hl_dec
1914 struct hl_device *hdev; member in struct:hl_ctx
2313 struct hl_device *hdev; member in struct:hl_fpriv
2389 struct hl_device *hdev; member in struct:hl_dbg_device_entry
2769 struct hl_device *hdev; member in struct:hl_device_reset_work
3551 struct hl_device *hdev; member in struct:hl_cs_encaps_sig_handle
3599 hl_is_fw_sw_ver_below(struct hl_device *hdev, u32 fw_sw_major, u32 fw_sw_minor) argument
3610 hl_is_fw_sw_ver_equal_or_greater(struct hl_device *hdev, u32 fw_sw_major, u32 fw_sw_minor) argument
4086 hl_debugfs_device_init(struct hl_device *hdev) argument
4091 hl_debugfs_device_fini(struct hl_device *hdev) argument
4095 hl_debugfs_add_device(struct hl_device *hdev) argument
4123 hl_debugfs_add_job(struct hl_device *hdev, struct hl_cs_job *job) argument
4128 hl_debugfs_remove_job(struct hl_device *hdev, struct hl_cs_job *job) argument
4133 hl_debugfs_add_userptr(struct hl_device *hdev, struct hl_userptr *userptr) argument
4138 hl_debugfs_remove_userptr(struct hl_device *hdev, struct hl_userptr *userptr) argument
4143 hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) argument
4148 hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) argument
4153 hl_debugfs_set_state_dump(struct hl_device *hdev, char *data, unsigned long length) argument
[all...]
H A Ddebugfs.c21 static int hl_debugfs_i2c_read(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, argument
27 if (!hl_device_operational(hdev, NULL))
31 dev_err(hdev->dev, "I2C transaction length %u, exceeds maximum of %u\n",
45 rc = hdev->asic_funcs->send_cpu_message(hdev, (u32 *) &pkt, sizeof(pkt),
48 dev_err(hdev->dev, "Failed to read from I2C, error %d\n", rc);
53 static int hl_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, argument
59 if (!hl_device_operational(hdev, NULL))
63 dev_err(hdev->dev, "I2C transaction length %u, exceeds maximum of %u\n",
78 rc = hdev
87 hl_debugfs_led_set(struct hl_device *hdev, u8 led, u8 state) argument
428 struct hl_device *hdev = dev_entry->hdev; local
486 struct hl_device *hdev = dev_entry->hdev; local
524 struct hl_device *hdev = dev_entry->hdev; local
548 struct hl_device *hdev = dev_entry->hdev; local
578 struct hl_device *hdev = dev_entry->hdev; local
614 struct hl_device *hdev = entry->hdev; local
643 hl_is_device_va(struct hl_device *hdev, u64 addr) argument
662 hl_is_device_internal_memory_va(struct hl_device *hdev, u64 addr, u32 size) argument
687 device_va_to_pa(struct hl_device *hdev, u64 virt_addr, u32 size, u64 *phys_addr) argument
750 hl_access_dev_mem_by_region(struct hl_device *hdev, u64 addr, u64 *val, enum debugfs_access_type acc_type, bool *found) argument
771 hl_access_host_mem(struct hl_device *hdev, u64 addr, u64 *val, enum debugfs_access_type acc_type) argument
796 hl_access_mem(struct hl_device *hdev, u64 addr, u64 *val, enum debugfs_access_type acc_type) argument
846 struct hl_device *hdev = entry->hdev; local
875 struct hl_device *hdev = entry->hdev; local
901 struct hl_device *hdev = entry->hdev; local
928 struct hl_device *hdev = entry->hdev; local
953 struct hl_device *hdev = entry->hdev; local
1010 struct hl_device *hdev = entry->hdev; local
1054 struct hl_device *hdev = entry->hdev; local
1078 struct hl_device *hdev = entry->hdev; local
1108 struct hl_device *hdev = entry->hdev; local
1136 struct hl_device *hdev = entry->hdev; local
1160 struct hl_device *hdev = entry->hdev; local
1179 struct hl_device *hdev = entry->hdev; local
1198 struct hl_device *hdev = entry->hdev; local
1225 struct hl_device *hdev = entry->hdev; local
1269 struct hl_device *hdev = entry->hdev; local
1290 struct hl_device *hdev = entry->hdev; local
1318 struct hl_device *hdev = entry->hdev; local
1348 struct hl_device *hdev = entry->hdev; local
1383 struct hl_device *hdev = entry->hdev; local
1402 struct hl_device *hdev = entry->hdev; local
1422 struct hl_device *hdev = entry->hdev; local
1610 add_files_to_device(struct hl_device *hdev, struct hl_dbg_device_entry *dev_entry, struct dentry *root) argument
1736 hl_debugfs_device_init(struct hl_device *hdev) argument
1768 hl_debugfs_device_fini(struct hl_device *hdev) argument
1785 hl_debugfs_add_device(struct hl_device *hdev) argument
1851 hl_debugfs_add_job(struct hl_device *hdev, struct hl_cs_job *job) argument
1860 hl_debugfs_remove_job(struct hl_device *hdev, struct hl_cs_job *job) argument
1869 hl_debugfs_add_userptr(struct hl_device *hdev, struct hl_userptr *userptr) argument
1878 hl_debugfs_remove_userptr(struct hl_device *hdev, struct hl_userptr *userptr) argument
1888 hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) argument
1897 hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) argument
1913 hl_debugfs_set_state_dump(struct hl_device *hdev, char *data, unsigned long length) argument
[all...]
H A Dhabanalabs_ioctl.c36 static int device_status_info(struct hl_device *hdev, struct hl_info_args *args) argument
45 dev_stat.status = hl_device_status(hdev);
51 static int hw_ip_info(struct hl_device *hdev, struct hl_info_args *args) argument
56 struct asic_fixed_properties *prop = &hdev->asic_prop;
67 hw_ip.device_id = hdev->asic_funcs->get_pci_id(hdev);
112 hw_ip.revision_id = hdev->pdev->revision;
121 static int hw_events_info(struct hl_device *hdev, bool aggregate, argument
131 arr = hdev->asic_funcs->get_events_stat(hdev, aggregat
159 struct hl_device *hdev = hpriv->hdev; local
181 hw_idle(struct hl_device *hdev, struct hl_info_args *args) argument
200 debug_coresight(struct hl_device *hdev, struct hl_ctx *ctx, struct hl_debug_args *args) argument
265 device_utilization(struct hl_device *hdev, struct hl_info_args *args) argument
283 get_clk_rate(struct hl_device *hdev, struct hl_info_args *args) argument
301 get_reset_count(struct hl_device *hdev, struct hl_info_args *args) argument
317 time_sync_info(struct hl_device *hdev, struct hl_info_args *args) argument
336 struct hl_device *hdev = hpriv->hdev; local
356 struct hl_device *hdev = hpriv->hdev; local
396 struct hl_device *hdev = hpriv->hdev; local
445 struct hl_device *hdev = hpriv->hdev; local
471 struct hl_device *hdev = hpriv->hdev; local
491 struct hl_device *hdev = hpriv->hdev; local
510 struct hl_device *hdev = hpriv->hdev; local
529 struct hl_device *hdev = hpriv->hdev; local
549 struct hl_device *hdev = hpriv->hdev; local
568 struct hl_device *hdev = hpriv->hdev; local
587 struct hl_device *hdev = hpriv->hdev; local
602 struct hl_device *hdev = hpriv->hdev; local
618 struct hl_device *hdev = hpriv->hdev; local
635 struct hl_device *hdev = hpriv->hdev; local
659 struct hl_device *hdev = hpriv->hdev; local
813 struct hl_device *hdev = hpriv->hdev; local
848 struct hl_device *hdev = hpriv->hdev; local
867 struct hl_device *hdev = hpriv->hdev; local
890 struct hl_device *hdev = hpriv->hdev; local
912 struct hl_device *hdev = hpriv->hdev; local
934 struct hl_device *hdev = hpriv->hdev; local
953 send_fw_generic_request(struct hl_device *hdev, struct hl_info_args *info_args) argument
1006 struct hl_device *hdev = hpriv->hdev; local
1180 struct hl_device *hdev = hpriv->hdev; local
1299 struct hl_device *hdev = hpriv->hdev; local
[all...]
H A Dcontext.c60 static void hl_encaps_sig_mgr_fini(struct hl_device *hdev, struct hl_encaps_signals_mgr *mgr) argument
72 dev_warn(hdev->dev,
83 struct hl_device *hdev = ctx->hdev; local
99 for (i = 0 ; i < hdev->asic_prop.max_pending_cs ; i++)
105 dev_dbg(hdev->dev, "closing user context, asid=%u\n", ctx->asid);
111 if (hdev->in_debug)
112 hl_device_set_debug_mode(hdev, ctx, false);
114 hdev->asic_funcs->ctx_fini(ctx);
120 hl_asid_free(hdev, ct
152 hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv) argument
200 hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx) argument
309 hl_get_compute_ctx(struct hl_device *hdev) argument
437 hl_ctx_mgr_fini(struct hl_device *hdev, struct hl_ctx_mgr *ctx_mgr) argument
[all...]
/linux-master/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c16 * @hdev: habanalabs device structure.
22 static struct hl_mmu_funcs *hl_mmu_get_funcs(struct hl_device *hdev, int pgt_residency, argument
25 return &hdev->mmu_func[pgt_residency];
28 bool hl_is_dram_va(struct hl_device *hdev, u64 virt_addr) argument
30 struct asic_fixed_properties *prop = &hdev->asic_prop;
39 * @hdev: habanalabs device structure.
43 int hl_mmu_init(struct hl_device *hdev) argument
47 if (hdev->mmu_disable)
50 mutex_init(&hdev->mmu_lock);
52 if (hdev
83 hl_mmu_fini(struct hl_device *hdev) argument
107 struct hl_device *hdev = ctx->hdev; local
146 struct hl_device *hdev = ctx->hdev; local
174 hl_mmu_get_real_page_size(struct hl_device *hdev, struct hl_mmu_properties *mmu_prop, u32 page_size, u32 *real_page_size, bool is_dram_addr) argument
192 hl_mmu_get_prop(struct hl_device *hdev, u32 page_size, bool is_dram_addr) argument
228 struct hl_device *hdev = ctx->hdev; local
296 struct hl_device *hdev = ctx->hdev; local
384 struct hl_device *hdev = ctx->hdev; local
444 struct hl_device *hdev = ctx->hdev; local
550 struct hl_device *hdev = ctx->hdev; local
586 hl_mmu_if_set_funcs(struct hl_device *hdev) argument
622 hl_mmu_scramble_addr(struct hl_device *hdev, u64 addr) argument
635 hl_mmu_descramble_addr(struct hl_device *hdev, u64 addr) argument
640 hl_mmu_invalidate_cache(struct hl_device *hdev, bool is_hard, u32 flags) argument
653 hl_mmu_invalidate_cache_range(struct hl_device *hdev, bool is_hard, u32 flags, u32 asid, u64 va, u64 size) argument
672 struct hl_device *hdev = ctx->hdev; local
752 struct hl_device *hdev = data; local
775 hl_mmu_hr_pool_destroy(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size) argument
820 hl_mmu_hr_init(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size, u64 pgt_size) argument
906 hl_mmu_hr_fini(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size) argument
1064 struct hl_device *hdev = ctx->hdev; local
1156 struct hl_device *hdev = ctx->hdev; local
1236 struct hl_device *hdev = ctx->hdev; local
1319 struct hl_device *hdev = ctx->hdev; local
1376 hl_mmu_dr_init(struct hl_device *hdev) argument
1415 hl_mmu_dr_fini(struct hl_device *hdev) argument
[all...]
/linux-master/drivers/bluetooth/
H A Dbtmtk.c56 static void btmtk_coredump(struct hci_dev *hdev) argument
60 err = __hci_cmd_send(hdev, 0xfd5b, 0, NULL);
62 bt_dev_err(hdev, "Coredump failed (%d)", err);
65 static void btmtk_coredump_hdr(struct hci_dev *hdev, struct sk_buff *skb) argument
67 struct btmediatek_data *data = hci_get_priv(hdev);
86 static void btmtk_coredump_notify(struct hci_dev *hdev, int state) argument
88 struct btmediatek_data *data = hci_get_priv(hdev);
101 btmtk_reset_sync(hdev);
106 int btmtk_setup_firmware_79xx(struct hci_dev *hdev, const char *fwname, argument
121 err = request_firmware(&fw, fwname, &hdev
227 btmtk_setup_firmware(struct hci_dev *hdev, const char *fwname, wmt_cmd_sync_func_t wmt_cmd_sync) argument
320 btmtk_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) argument
338 btmtk_reset_sync(struct hci_dev *hdev) argument
353 btmtk_register_coredump(struct hci_dev *hdev, const char *name, u32 fw_version) argument
370 btmtk_process_coredump(struct hci_dev *hdev, struct sk_buff *skb) argument
[all...]
H A Dbtrtl.h124 #define btrealtek_set_flag(hdev, nr) \
126 struct btrealtek_data *realtek = hci_get_priv((hdev)); \
130 #define btrealtek_get_flag(hdev) \
131 (((struct btrealtek_data *)hci_get_priv(hdev))->flags)
133 #define btrealtek_test_flag(hdev, nr) test_bit((nr), btrealtek_get_flag(hdev))
137 struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev,
140 int btrtl_download_firmware(struct hci_dev *hdev,
142 void btrtl_set_quirks(struct hci_dev *hdev,
144 int btrtl_setup_realtek(struct hci_dev *hdev);
154 btrtl_initialize(struct hci_dev *hdev, const char *postfix) argument
164 btrtl_download_firmware(struct hci_dev *hdev, struct btrtl_device_info *btrtl_dev) argument
170 btrtl_set_quirks(struct hci_dev *hdev, struct btrtl_device_info *btrtl_dev) argument
175 btrtl_setup_realtek(struct hci_dev *hdev) argument
180 btrtl_shutdown_realtek(struct hci_dev *hdev) argument
185 btrtl_get_uart_settings(struct hci_dev *hdev, struct btrtl_device_info *btrtl_dev, unsigned int *controller_baudrate, u32 *device_baudrate, bool *flow_control) argument
194 btrtl_set_driver_name(struct hci_dev *hdev, const char *driver_name) argument
[all...]
H A Dhci_ag6xx.c108 ag6xx->rx_skb = h4_recv_buf(hu->hdev, ag6xx->rx_skb, data, count,
113 bt_dev_err(hu->hdev, "Frame reassembly failed (%d)", err);
121 static int intel_mem_write(struct hci_dev *hdev, u32 addr, u32 plen, argument
137 skb = __hci_cmd_sync(hdev, 0xfc8e, fragment_len + 6, cmd_param,
153 struct hci_dev *hdev = hu->hdev; local
162 hu->hdev->set_diag = btintel_set_diag;
163 hu->hdev->set_bdaddr = btintel_set_bdaddr;
165 err = btintel_enter_mfg(hdev);
169 err = btintel_read_version(hdev,
[all...]
/linux-master/drivers/accel/habanalabs/goya/
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) argument
362 struct asic_fixed_properties *prop = &hdev->asic_prop;
411 if (hdev->pldm)
502 * @hdev: pointer to hl_device structure
508 static int goya_pci_bars_map(struct hl_device *hdev) argument
514 rc = hl_pci_bars_map(hdev, nam
524 goya_set_ddr_bar_base(struct hl_device *hdev, u64 addr) argument
558 goya_init_iatu(struct hl_device *hdev) argument
592 goya_get_hw_state(struct hl_device *hdev) argument
608 goya_early_init(struct hl_device *hdev) argument
709 goya_early_fini(struct hl_device *hdev) argument
717 goya_mmu_prepare_reg(struct hl_device *hdev, u64 reg, u32 asid) argument
724 goya_qman0_set_security(struct hl_device *hdev, bool secure) argument
745 goya_fetch_psoc_frequency(struct hl_device *hdev) argument
814 goya_set_frequency(struct hl_device *hdev, enum hl_pll_frequency freq) argument
837 struct hl_device *hdev = goya_work->hdev; local
850 goya_late_init(struct hl_device *hdev) argument
922 goya_late_fini(struct hl_device *hdev) argument
931 goya_set_pci_memory_regions(struct hl_device *hdev) argument
970 goya_sw_init(struct hl_device *hdev) argument
1067 goya_sw_fini(struct hl_device *hdev) argument
1084 goya_init_dma_qman(struct hl_device *hdev, int dma_id, dma_addr_t bus_address) argument
1136 goya_init_dma_ch(struct hl_device *hdev, int dma_id) argument
1170 goya_init_dma_qmans(struct hl_device *hdev) argument
1196 goya_disable_external_queues(struct hl_device *hdev) argument
1210 goya_stop_queue(struct hl_device *hdev, u32 cfg_reg, u32 cp_sts_reg, u32 glbl_sts0_reg) argument
1260 goya_stop_external_queues(struct hl_device *hdev) argument
1330 goya_init_cpu_queues(struct hl_device *hdev) argument
1397 goya_set_pll_refclk(struct hl_device *hdev) argument
1435 goya_disable_clk_rlx(struct hl_device *hdev) argument
1441 _goya_tpc_mbist_workaround(struct hl_device *hdev, u8 tpc_id) argument
1506 goya_tpc_mbist_workaround(struct hl_device *hdev) argument
1533 goya_init_golden_registers(struct hl_device *hdev) argument
1828 goya_init_mme_qman(struct hl_device *hdev) argument
1878 goya_init_mme_cmdq(struct hl_device *hdev) argument
1914 goya_init_mme_qmans(struct hl_device *hdev) argument
1934 goya_init_tpc_qman(struct hl_device *hdev, u32 base_off, int tpc_id) argument
1984 goya_init_tpc_cmdq(struct hl_device *hdev, int tpc_id) argument
2021 goya_init_tpc_qmans(struct hl_device *hdev) argument
2063 goya_disable_internal_queues(struct hl_device *hdev) argument
2110 goya_stop_internal_queues(struct hl_device *hdev) argument
2311 goya_dma_stall(struct hl_device *hdev) argument
2325 goya_tpc_stall(struct hl_device *hdev) argument
2342 goya_mme_stall(struct hl_device *hdev) argument
2352 goya_enable_msix(struct hl_device *hdev) argument
2402 goya_sync_irqs(struct hl_device *hdev) argument
2417 goya_disable_msix(struct hl_device *hdev) argument
2440 goya_enable_timestamp(struct hl_device *hdev) argument
2453 goya_disable_timestamp(struct hl_device *hdev) argument
2459 goya_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
2500 goya_load_firmware_to_device(struct hl_device *hdev) argument
2517 goya_load_boot_fit_to_device(struct hl_device *hdev) argument
2526 goya_init_dynamic_firmware_loader(struct hl_device *hdev) argument
2549 goya_init_static_firmware_loader(struct hl_device *hdev) argument
2569 goya_init_firmware_preload_params(struct hl_device *hdev) argument
2581 goya_init_firmware_loader(struct hl_device *hdev) argument
2602 goya_init_cpu(struct hl_device *hdev) argument
2633 goya_mmu_update_asid_hop0_addr(struct hl_device *hdev, u32 asid, u64 phys_addr) argument
2665 goya_mmu_init(struct hl_device *hdev) argument
2719 goya_hw_init(struct hl_device *hdev) argument
2787 goya_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
2865 goya_suspend(struct hl_device *hdev) argument
2876 goya_resume(struct hl_device *hdev) argument
2881 goya_mmap(struct hl_device *hdev, struct vm_area_struct *vma, void *cpu_addr, dma_addr_t dma_addr, size_t size) argument
2897 goya_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi) argument
2982 goya_pqe_write(struct hl_device *hdev, __le64 *pqe, struct hl_bd *bd) argument
2988 goya_dma_alloc_coherent(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle, gfp_t flags) argument
3001 goya_dma_free_coherent(struct hl_device *hdev, size_t size, void *cpu_addr, dma_addr_t dma_handle) argument
3010 goya_scrub_device_mem(struct hl_device *hdev) argument
3015 goya_get_int_queue_base(struct hl_device *hdev, u32 queue_id, dma_addr_t *dma_handle, u16 *queue_len) argument
3073 goya_send_job_on_qman0(struct hl_device *hdev, struct hl_cs_job *job) argument
3140 goya_send_cpu_message(struct hl_device *hdev, u32 *msg, u16 len, u32 timeout, u64 *result) argument
3158 goya_test_queue(struct hl_device *hdev, u32 hw_queue_id) argument
3225 goya_test_cpu_queue(struct hl_device *hdev) argument
3239 goya_test_queues(struct hl_device *hdev) argument
3252 goya_dma_pool_zalloc(struct hl_device *hdev, size_t size, gfp_t mem_flags, dma_addr_t *dma_handle) argument
3269 goya_dma_pool_free(struct hl_device *hdev, void *vaddr, dma_addr_t dma_addr) argument
3278 goya_cpu_accessible_dma_pool_alloc(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle) argument
3290 goya_cpu_accessible_dma_pool_free(struct hl_device *hdev, size_t size, void *vaddr) argument
3296 goya_get_dma_desc_list_size(struct hl_device *hdev, struct sg_table *sgt) argument
3336 goya_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) argument
3382 goya_validate_dma_pkt_host(struct hl_device *hdev, struct hl_cs_parser *parser, struct packet_lin_dma *user_dma_pkt) argument
3485 goya_validate_dma_pkt_no_host(struct hl_device *hdev, struct hl_cs_parser *parser, struct packet_lin_dma *user_dma_pkt) argument
3530 goya_validate_dma_pkt_no_mmu(struct hl_device *hdev, struct hl_cs_parser *parser, struct packet_lin_dma *user_dma_pkt) argument
3567 goya_validate_dma_pkt_mmu(struct hl_device *hdev, struct hl_cs_parser *parser, struct packet_lin_dma *user_dma_pkt) argument
3604 goya_validate_wreg32(struct hl_device *hdev, struct hl_cs_parser *parser, struct packet_wreg32 *wreg_pkt) argument
3648 goya_validate_cb(struct hl_device *hdev, struct hl_cs_parser *parser, bool is_mmu) argument
3755 goya_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) argument
3885 goya_patch_cb(struct hl_device *hdev, struct hl_cs_parser *parser) argument
3983 goya_parse_cb_mmu(struct hl_device *hdev, struct hl_cs_parser *parser) argument
4058 goya_parse_cb_no_mmu(struct hl_device *hdev, struct hl_cs_parser *parser) argument
4106 goya_parse_cb_no_ext_queue(struct hl_device *hdev, struct hl_cs_parser *parser) argument
4137 goya_cs_parser(struct hl_device *hdev, struct hl_cs_parser *parser) argument
4150 goya_add_end_of_cb_packets(struct hl_device *hdev, void *kernel_address, u32 len, u32 original_len, u64 cq_addr, u32 cq_val, u32 msix_vec, bool eb) argument
4175 goya_update_eq_ci(struct hl_device *hdev, u32 val) argument
4180 goya_restore_phase_topology(struct hl_device *hdev) argument
4185 goya_clear_sm_regs(struct hl_device *hdev) argument
4205 goya_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size, void *blob_addr) argument
4211 goya_read_pte(struct hl_device *hdev, u64 addr) argument
4222 goya_write_pte(struct hl_device *hdev, u64 addr, u64 val) argument
4431 goya_print_razwi_info(struct hl_device *hdev) argument
4454 goya_print_mmu_error_info(struct hl_device *hdev) argument
4476 goya_print_out_of_sync_info(struct hl_device *hdev, struct cpucp_pkt_sync_err *sync_err) argument
4485 goya_print_irq_info(struct hl_device *hdev, u16 event_type, bool razwi) argument
4500 goya_unmask_irq_arr(struct hl_device *hdev, u32 *irq_arr, size_t irq_arr_size) argument
4551 goya_compute_reset_late_init(struct hl_device *hdev) argument
4561 goya_unmask_irq(struct hl_device *hdev, u16 event_type) argument
4582 goya_print_clk_change_info(struct hl_device *hdev, u16 event_type) argument
4630 goya_handle_eqe(struct hl_device *hdev, struct hl_eq_entry *eq_entry) argument
4750 goya_get_events_stat(struct hl_device *hdev, bool aggregate, u32 *size) argument
4763 goya_memset_device_memory(struct hl_device *hdev, u64 addr, u64 size, u64 val, bool is_dram) argument
4835 goya_context_switch(struct hl_device *hdev, u32 asid) argument
4869 goya_mmu_clear_pgt_range(struct hl_device *hdev) argument
4883 goya_mmu_set_dram_default_page(struct hl_device *hdev) argument
4896 goya_mmu_add_mappings_for_device_cpu(struct hl_device *hdev) argument
4977 goya_mmu_remove_device_cpu_mappings(struct hl_device *hdev) argument
5020 goya_mmu_prepare(struct hl_device *hdev, u32 asid) argument
5038 goya_mmu_invalidate_cache(struct hl_device *hdev, bool is_hard, u32 flags) argument
5072 goya_mmu_invalidate_cache_range(struct hl_device *hdev, bool is_hard, u32 flags, u32 asid, u64 va, u64 size) argument
5082 goya_send_heartbeat(struct hl_device *hdev) argument
5092 goya_cpucp_info_get(struct hl_device *hdev) argument
5129 goya_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
5224 goya_get_pci_id(struct hl_device *hdev) argument
5229 goya_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size) argument
5240 goya_cpu_init_scrambler_dram(struct hl_device *hdev) argument
5258 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx) argument
5263 goya_get_signal_cb_size(struct hl_device *hdev) argument
5268 goya_get_wait_cb_size(struct hl_device *hdev) argument
5273 goya_gen_signal_cb(struct hl_device *hdev, void *data, u16 sob_id, u32 size, bool eb) argument
5279 goya_gen_wait_cb(struct hl_device *hdev, struct hl_gen_wait_properties *prop) argument
5285 goya_reset_sob(struct hl_device *hdev, void *data) argument
5290 goya_reset_sob_group(struct hl_device *hdev, u16 sob_group) argument
5295 goya_get_device_time(struct hl_device *hdev) argument
5307 goya_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) argument
5319 goya_get_hw_block_id(struct hl_device *hdev, u64 block_addr, u32 *block_size, u32 *block_id) argument
5325 goya_block_mmap(struct hl_device *hdev, struct vm_area_struct *vma, u32 block_id, u32 block_size) argument
5331 goya_enable_events_from_fw(struct hl_device *hdev) argument
5337 goya_ack_mmu_page_fault_or_access_error(struct hl_device *hdev, u64 mmu_cap_mask) argument
5356 goya_gen_sync_to_engine_map(struct hl_device *hdev, struct hl_sync_to_engine_map *map) argument
5369 goya_print_single_monitor(char **buf, size_t *size, size_t *offset, struct hl_device *hdev, struct hl_mon_state_dump *mon) argument
5378 goya_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) argument
5395 goya_state_dump_init(struct hl_device *hdev) argument
5402 goya_get_sob_addr(struct hl_device *hdev, u32 sob_id) argument
5412 goya_get_monitor_dump(struct hl_device *hdev, void *data) argument
5417 goya_check_if_razwi_happened(struct hl_device *hdev) argument
5421 goya_scrub_device_dram(struct hl_device *hdev, u64 val) argument
5426 goya_set_dram_properties(struct hl_device *hdev) argument
5431 goya_set_binning_masks(struct hl_device *hdev) argument
5436 goya_send_device_activity(struct hl_device *hdev, bool open) argument
5544 goya_set_asic_funcs(struct hl_device *hdev) argument
[all...]
/linux-master/net/bluetooth/
H A Dhci_conn.c70 /* This function requires the caller holds hdev->lock */
74 struct hci_dev *hdev = conn->hdev; local
83 irk = hci_get_irk(hdev, bdaddr, bdaddr_type);
89 params = hci_pend_le_action_lookup(&hdev->pend_le_conns, bdaddr,
110 mgmt_connect_failed(hdev, &conn->dst, conn->type,
124 hci_conn_params_del(hdev, bdaddr, bdaddr_type);
129 hci_pend_le_list_add(params, &hdev->pend_le_conns);
132 hci_pend_le_list_add(params, &hdev->pend_le_reports);
138 hci_update_passive_scan(hdev);
143 struct hci_dev *hdev = conn->hdev; local
192 struct hci_dev *hdev = conn->hdev; local
205 struct hci_dev *hdev = conn->hdev; local
238 configure_datapath_sync(struct hci_dev *hdev, struct bt_codec *codec) argument
284 hci_enhanced_setup_sync(struct hci_dev *hdev, void *data) argument
408 struct hci_dev *hdev = conn->hdev; local
485 struct hci_dev *hdev = conn->hdev; local
521 struct hci_dev *hdev = conn->hdev; local
586 struct hci_dev *hdev = conn->hdev; local
625 le_disable_advertising(struct hci_dev *hdev) argument
646 struct hci_dev *hdev = conn->hdev; local
703 terminate_big_sync(struct hci_dev *hdev, void *data) argument
720 terminate_big_destroy(struct hci_dev *hdev, void *data, int err) argument
725 hci_le_terminate_big(struct hci_dev *hdev, struct hci_conn *conn) argument
749 big_terminate_sync(struct hci_dev *hdev, void *data) argument
776 hci_le_big_terminate(struct hci_dev *hdev, u8 big, struct hci_conn *conn) argument
825 struct hci_dev *hdev = conn->hdev; local
848 remove_cig_sync(struct hci_dev *hdev, void *data) argument
855 hci_le_remove_cig(struct hci_dev *hdev, u8 handle) argument
880 struct hci_dev *hdev = conn->hdev; local
901 hci_conn_hash_alloc_unset(struct hci_dev *hdev) argument
907 hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst, u8 role, u16 handle) argument
1005 hci_conn_add_unset(struct hci_dev *hdev, int type, bdaddr_t *dst, u8 role) argument
1045 struct hci_dev *hdev = conn->hdev; local
1087 struct hci_dev *hdev = conn->hdev; local
1135 struct hci_dev *hdev = NULL, *d; local
1196 struct hci_dev *hdev = conn->hdev; local
1209 struct hci_dev *hdev = conn->hdev; local
1237 struct hci_dev *hdev = conn->hdev; local
1264 hci_connect_le(struct hci_dev *hdev, bdaddr_t *dst, u8 dst_type, bool dst_resolved, u8 sec_level, u16 conn_timeout, u8 role, u8 phy, u8 sec_phy) argument
1341 is_connected(struct hci_dev *hdev, bdaddr_t *addr, u8 type) argument
1356 hci_explicit_conn_params_set(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) argument
1393 qos_set_big(struct hci_dev *hdev, struct bt_iso_qos *qos) argument
1417 qos_set_bis(struct hci_dev *hdev, struct bt_iso_qos *qos) argument
1458 hci_add_bis(struct hci_dev *hdev, bdaddr_t *dst, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) argument
1507 hci_connect_le_scan(struct hci_dev *hdev, bdaddr_t *dst, u8 dst_type, u8 sec_level, u16 conn_timeout, enum conn_reasons conn_reason) argument
1564 hci_connect_acl(struct hci_dev *hdev, bdaddr_t *dst, u8 sec_level, u8 auth_type, enum conn_reasons conn_reason, u16 timeout) argument
1617 struct hci_dev *hdev = parent->hdev; local
1642 hci_connect_sco(struct hci_dev *hdev, int type, bdaddr_t *dst, __u16 setting, struct bt_codec *codec, u16 timeout) argument
1693 struct hci_dev *hdev = conn->hdev; local
1723 set_cig_params_sync(struct hci_dev *hdev, void *data) argument
1784 struct hci_dev *hdev = conn->hdev; local
1841 hci_bind_cis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos) argument
1909 struct hci_dev *hdev = conn->hdev; local
1951 hci_create_cis_sync(struct hci_dev *hdev, void *data) argument
1956 hci_le_create_cis_pending(struct hci_dev *hdev) argument
1982 hci_iso_qos_setup(struct hci_dev *hdev, struct hci_conn *conn, struct bt_iso_io_qos *qos, __u8 phy) argument
2009 create_big_sync(struct hci_dev *hdev, void *data) argument
2035 create_pa_complete(struct hci_dev *hdev, void *data, int err) argument
2047 create_pa_sync(struct hci_dev *hdev, void *data) argument
2062 hci_pa_create_sync(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, __u8 sid, struct bt_iso_qos *qos) argument
2108 hci_le_big_create_sync(struct hci_dev *hdev, struct hci_conn *hcon, struct bt_iso_qos *qos, __u16 sync_handle, __u8 num_bis, __u8 bis[]) argument
2142 create_big_complete(struct hci_dev *hdev, void *data, int err) argument
2155 hci_bind_bis(struct hci_dev *hdev, bdaddr_t *dst, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) argument
2231 hci_connect_bis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos, __u8 base_len, __u8 *base) argument
2267 hci_connect_cis(struct hci_dev *hdev, bdaddr_t *dst, __u8 dst_type, struct bt_iso_qos *qos) argument
2530 struct hci_dev *hdev = conn->hdev; local
2553 hci_conn_hash_flush(struct hci_dev *hdev) argument
2600 struct hci_dev *hdev; local
2648 hci_get_conn_info(struct hci_dev *hdev, void __user *arg) argument
2676 hci_get_auth_info(struct hci_dev *hdev, void __user *arg) argument
2698 struct hci_dev *hdev = conn->hdev; local
2724 struct hci_dev *hdev = conn->hdev; local
2764 hci_chan_lookup_handle(struct hci_dev *hdev, __u16 handle) argument
2886 abort_conn_sync(struct hci_dev *hdev, void *data) argument
2898 struct hci_dev *hdev = conn->hdev; local
[all...]
/linux-master/net/nfc/hci/
H A Dcommand.c19 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, argument
29 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd,
55 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, argument
71 hcp_ew.exec_result = nfc_hci_hcp_message_tx(hdev, pipe,
91 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, argument
98 pipe = hdev->gate2pipe[gate];
102 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_EVENT, event,
112 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, argument
117 pipe = hdev->gate2pipe[gate];
121 return nfc_hci_execute_cmd(hdev, pip
125 nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, const u8 *param, size_t param_len, data_exchange_cb_t cb, void *cb_context) argument
140 nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, const u8 *param, size_t param_len) argument
172 nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, struct sk_buff **skb) argument
182 nfc_hci_open_pipe(struct nfc_hci_dev *hdev, u8 pipe) argument
202 nfc_hci_close_pipe(struct nfc_hci_dev *hdev, u8 pipe) argument
208 nfc_hci_create_pipe(struct nfc_hci_dev *hdev, u8 dest_host, u8 dest_gate, int *result) argument
237 nfc_hci_delete_pipe(struct nfc_hci_dev *hdev, u8 pipe) argument
243 nfc_hci_clear_all_pipes(struct nfc_hci_dev *hdev) argument
259 nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate) argument
283 nfc_hci_disconnect_all_gates(struct nfc_hci_dev *hdev) argument
297 nfc_hci_connect_gate(struct nfc_hci_dev *hdev, u8 dest_host, u8 dest_gate, u8 pipe) argument
[all...]
H A Dhcp.c21 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, argument
27 struct nfc_dev *ndev = hdev->ndev;
51 hdev->max_data_link_payload)
54 data_link_len = hdev->max_data_link_payload -
91 mutex_lock(&hdev->msg_tx_mutex);
93 if (hdev->shutting_down) {
95 mutex_unlock(&hdev->msg_tx_mutex);
99 list_add_tail(&cmd->msg_l, &hdev->msg_tx_queue);
100 mutex_unlock(&hdev->msg_tx_mutex);
102 schedule_work(&hdev
117 nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, struct sk_buff *skb) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-pxrc.c45 static __u8 *pxrc_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument
48 hid_info(hdev, "fixing up PXRC report descriptor\n");
53 static int pxrc_raw_event(struct hid_device *hdev, struct hid_report *report, argument
56 struct pxrc_priv *priv = hid_get_drvdata(hdev);
70 static int pxrc_probe(struct hid_device *hdev, const struct hid_device_id *id) argument
75 priv = devm_kzalloc(&hdev->dev, sizeof(*priv), GFP_KERNEL);
78 hid_set_drvdata(hdev, priv);
80 ret = hid_parse(hdev);
82 hid_err(hdev, "parse failed\n");
86 ret = hid_hw_start(hdev, HID_CONNECT_DEFAUL
[all...]
H A Dhid-plantronics.c50 static int plantronics_input_mapping(struct hid_device *hdev, argument
57 struct plt_drv_data *drv_data = hid_get_drvdata(hdev);
109 hid_dbg(hdev, "usage: %08x (appl: %08x) - defaulted\n",
115 hid_dbg(hdev, "usage: %08x (appl: %08x) - mapped to key %d\n",
120 static int plantronics_event(struct hid_device *hdev, struct hid_field *field, argument
123 struct plt_drv_data *drv_data = hid_get_drvdata(hdev);
144 static unsigned long plantronics_device_type(struct hid_device *hdev) argument
147 unsigned long plt_type = hdev->product;
154 for (i = 0; i < hdev->maxcollection; i++) {
155 col_page = hdev
169 plantronics_probe(struct hid_device *hdev, const struct hid_device_id *id) argument
[all...]
H A Dhid-belkin.c26 static int belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
30 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev);
46 static int belkin_probe(struct hid_device *hdev, const struct hid_device_id *id) argument
51 hid_set_drvdata(hdev, (void *)quirks);
53 ret = hid_parse(hdev);
55 hid_err(hdev, "parse failed\n");
59 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT |
62 hid_err(hdev, "hw start failed\n");
H A Dhid-retrode.c19 static int retrode_input_configured(struct hid_device *hdev, argument
42 hid_err(hdev, "Got unhandled report id %d\n", field->report->id);
47 name = devm_kasprintf(&hdev->dev, GFP_KERNEL,
51 name = devm_kasprintf(&hdev->dev, GFP_KERNEL,
62 static int retrode_probe(struct hid_device *hdev, argument
69 hdev->quirks |= HID_QUIRK_MULTI_INPUT;
71 ret = hid_parse(hdev);
75 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
H A Dhid-vrc2.c41 static __u8 *vrc2_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument
44 hid_info(hdev, "fixing up VRC-2 report descriptor\n");
49 static int vrc2_probe(struct hid_device *hdev, const struct hid_device_id *id) argument
57 if (hdev->dev_rsize == 23)
60 ret = hid_parse(hdev);
62 hid_err(hdev, "parse failed\n");
66 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
68 hid_err(hdev, "hw start failed\n");
H A Dhid-vivaldi.c17 static int vivaldi_probe(struct hid_device *hdev, argument
23 drvdata = devm_kzalloc(&hdev->dev, sizeof(*drvdata), GFP_KERNEL);
27 hid_set_drvdata(hdev, drvdata);
29 ret = hid_parse(hdev);
33 return hid_hw_start(hdev, HID_CONNECT_DEFAULT);
H A Dhid-elan.c51 static int is_not_elan_touchpad(struct hid_device *hdev) argument
53 if (hid_is_usb(hdev)) {
54 struct usb_interface *intf = to_usb_interface(hdev->dev.parent);
63 static int elan_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
67 if (is_not_elan_touchpad(hdev))
79 static int elan_get_device_param(struct hid_device *hdev, argument
90 ret = hid_hw_raw_request(hdev, ELAN_FEATURE_REPORT, dmabuf,
94 hid_err(hdev, "Set report error for parm %d: %d\n", param, ret);
98 ret = hid_hw_raw_request(hdev, ELAN_FEATURE_REPORT, dmabuf,
102 hid_err(hdev, "Ge
118 elan_get_device_params(struct hid_device *hdev) argument
152 elan_input_configured(struct hid_device *hdev, struct hid_input *hi) argument
359 elan_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *data, int size) argument
384 elan_start_multitouch(struct hid_device *hdev) argument
417 struct hid_device *hdev = to_hid_device(dev); local
446 elan_init_mute_led(struct hid_device *hdev) argument
461 elan_probe(struct hid_device *hdev, const struct hid_device_id *id) argument
[all...]
H A Dhid-cypress.c32 static __u8 *cp_rdesc_fixup(struct hid_device *hdev, __u8 *rdesc, argument
49 static __u8 *va_logical_boundary_fixup(struct hid_device *hdev, __u8 *rdesc, argument
62 hid_info(hdev,
70 static __u8 *cp_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument
73 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev);
76 rdesc = cp_rdesc_fixup(hdev, rdesc, rsize);
78 rdesc = va_logical_boundary_fixup(hdev, rdesc, rsize);
83 static int cp_input_mapped(struct hid_device *hdev, struct hid_input *hi, argument
87 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev);
100 static int cp_event(struct hid_device *hdev, struc argument
128 cp_probe(struct hid_device *hdev, const struct hid_device_id *id) argument
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c46 static int hclge_set_mac_mtu(struct hclge_dev *hdev, int new_mps);
47 static int hclge_init_vlan_config(struct hclge_dev *hdev);
48 static void hclge_sync_vlan_filter(struct hclge_dev *hdev);
51 static void hclge_rfs_filter_expire(struct hclge_dev *hdev);
52 static int hclge_clear_arfs_rules(struct hclge_dev *hdev);
55 static int hclge_set_default_loopback(struct hclge_dev *hdev);
57 static void hclge_sync_mac_table(struct hclge_dev *hdev);
58 static void hclge_restore_hw_table(struct hclge_dev *hdev);
59 static void hclge_sync_promisc_mode(struct hclge_dev *hdev);
60 static void hclge_sync_fd_table(struct hclge_dev *hdev);
394 hclge_mac_update_stats_defective(struct hclge_dev *hdev) argument
430 hclge_mac_update_stats_complete(struct hclge_dev *hdev) argument
477 hclge_mac_query_reg_num(struct hclge_dev *hdev, u32 *reg_num) argument
511 hclge_mac_update_stats(struct hclge_dev *hdev) argument
520 hclge_comm_get_count(struct hclge_dev *hdev, const struct hclge_comm_stats_str strs[], u32 size) argument
534 hclge_comm_get_stats(struct hclge_dev *hdev, const struct hclge_comm_stats_str strs[], int size, u64 *data) argument
552 hclge_comm_get_strings(struct hclge_dev *hdev, u32 stringset, const struct hclge_comm_stats_str strs[], int size, u8 *data) argument
573 hclge_update_stats_for_all(struct hclge_dev *hdev) argument
599 struct hclge_dev *hdev = vport->back; local
629 struct hclge_dev *hdev = vport->back; local
678 struct hclge_dev *hdev = vport->back; local
720 struct hclge_dev *hdev = vport->back; local
732 struct hclge_dev *hdev = vport->back; local
740 hclge_parse_func_status(struct hclge_dev *hdev, struct hclge_func_status_cmd *status) argument
758 hclge_query_function_status(struct hclge_dev *hdev) argument
787 hclge_query_pf_resource(struct hclge_dev *hdev) argument
911 struct hclge_dev *hdev = vport->back; local
1083 hclge_parse_fiber_link_mode(struct hclge_dev *hdev, u16 speed_ability) argument
1105 hclge_parse_backplane_link_mode(struct hclge_dev *hdev, u16 speed_ability) argument
1121 hclge_parse_copper_link_mode(struct hclge_dev *hdev, u16 speed_ability) argument
1155 hclge_parse_link_mode(struct hclge_dev *hdev, u16 speed_ability) argument
1294 hclge_get_cfg(struct hclge_dev *hdev, struct hclge_cfg *hcfg) argument
1326 hclge_set_default_dev_specs(struct hclge_dev *hdev) argument
1343 hclge_parse_dev_specs(struct hclge_dev *hdev, struct hclge_desc *desc) argument
1368 hclge_check_dev_specs(struct hclge_dev *hdev) argument
1390 hclge_query_mac_stats_num(struct hclge_dev *hdev) argument
1403 hclge_query_dev_specs(struct hclge_dev *hdev) argument
1438 hclge_get_cap(struct hclge_dev *hdev) argument
1453 hclge_init_kdump_kernel_config(struct hclge_dev *hdev) argument
1470 hclge_init_tc_config(struct hclge_dev *hdev) argument
1498 hclge_configure(struct hclge_dev *hdev) argument
1551 hclge_config_tso(struct hclge_dev *hdev, u16 tso_mss_min, u16 tso_mss_max) argument
1566 hclge_config_gro(struct hclge_dev *hdev) argument
1588 hclge_alloc_tqps(struct hclge_dev *hdev) argument
1638 hclge_map_tqps_to_func(struct hclge_dev *hdev, u16 func_id, u16 tqp_pid, u16 tqp_vid, bool is_pf) argument
1665 struct hclge_dev *hdev = vport->back; local
1697 struct hclge_dev *hdev = vport->back; local
1718 hclge_map_tqp_to_vport(struct hclge_dev *hdev, struct hclge_vport *vport) argument
1742 hclge_map_tqp(struct hclge_dev *hdev) argument
1764 struct hclge_dev *hdev = vport->back; local
1780 hclge_alloc_vport(struct hclge_dev *hdev) argument
1844 hclge_cmd_alloc_tx_buff(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
1874 hclge_tx_buffer_alloc(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
1885 hclge_get_tc_num(struct hclge_dev *hdev) argument
1897 hclge_get_pfc_priv_num(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
1915 hclge_get_no_pfc_priv_num(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
1957 hclge_is_rx_buf_ok(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc, u32 rx_all) argument
2023 hclge_tx_buffer_calc(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2049 hclge_rx_buf_calc_all(struct hclge_dev *hdev, bool max, struct hclge_pkt_buf_alloc *buf_alloc) argument
2085 hclge_drop_nopfc_buf_till_fit(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2115 hclge_drop_pfc_buf_till_fit(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2145 hclge_only_alloc_priv_buff(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2198 hclge_rx_buffer_calc(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2231 hclge_rx_priv_buf_alloc(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2264 hclge_rx_priv_wl_config(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2308 hclge_common_thrd_config(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2351 hclge_common_wl_config(struct hclge_dev *hdev, struct hclge_pkt_buf_alloc *buf_alloc) argument
2376 hclge_buffer_alloc(struct hclge_dev *hdev) argument
2446 struct hclge_dev *hdev = vport->back; local
2466 hclge_init_msi(struct hclge_dev *hdev) argument
2543 hclge_cfg_mac_speed_dup_hw(struct hclge_dev *hdev, int speed, u8 duplex, u8 lane_num) argument
2580 hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex, u8 lane_num) argument
2606 struct hclge_dev *hdev = vport->back; local
2611 hclge_set_autoneg_en(struct hclge_dev *hdev, bool enable) argument
2636 struct hclge_dev *hdev = vport->back; local
2654 struct hclge_dev *hdev = vport->back; local
2666 struct hclge_dev *hdev = vport->back; local
2680 struct hclge_dev *hdev = vport->back; local
2688 hclge_parse_fec_stats_lanes(struct hclge_dev *hdev, struct hclge_desc *desc, u32 desc_len) argument
2711 hclge_parse_fec_stats(struct hclge_dev *hdev, struct hclge_desc *desc, u32 desc_len) argument
2733 hclge_update_fec_stats_hw(struct hclge_dev *hdev) argument
2755 hclge_update_fec_stats(struct hclge_dev *hdev) argument
2772 hclge_get_fec_stats_total(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) argument
2780 hclge_get_fec_stats_lanes(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) argument
2801 hclge_comm_get_fec_stats(struct hclge_dev *hdev, struct ethtool_fec_stats *fec_stats) argument
2826 struct hclge_dev *hdev = vport->back; local
2839 hclge_set_fec_hw(struct hclge_dev *hdev, u32 fec_mode) argument
2870 struct hclge_dev *hdev = vport->back; local
2891 struct hclge_dev *hdev = vport->back; local
2900 hclge_mac_init(struct hclge_dev *hdev) argument
2947 hclge_mbx_task_schedule(struct hclge_dev *hdev) argument
2956 hclge_reset_task_schedule(struct hclge_dev *hdev) argument
2966 hclge_errhand_task_schedule(struct hclge_dev *hdev) argument
2973 hclge_task_schedule(struct hclge_dev *hdev, unsigned long delay_time) argument
2980 hclge_get_mac_link_status(struct hclge_dev *hdev, int *link_status) argument
3001 hclge_get_mac_phy_link(struct hclge_dev *hdev, int *link_status) argument
3016 hclge_push_link_status(struct hclge_dev *hdev) argument
3038 hclge_update_link_status(struct hclge_dev *hdev) argument
3117 hclge_update_pause_advertising(struct hclge_dev *hdev) argument
3144 hclge_update_advertising(struct hclge_dev *hdev) argument
3154 hclge_update_port_capability(struct hclge_dev *hdev, struct hclge_mac *mac) argument
3179 hclge_get_sfp_speed(struct hclge_dev *hdev, u32 *speed) argument
3202 hclge_get_sfp_info(struct hclge_dev *hdev, struct hclge_mac *mac) argument
3260 struct hclge_dev *hdev = vport->back; local
3310 struct hclge_dev *hdev = vport->back; local
3353 hclge_update_tp_port_info(struct hclge_dev *hdev) argument
3373 hclge_tp_port_init(struct hclge_dev *hdev) argument
3388 hclge_update_port_info(struct hclge_dev *hdev) argument
3438 struct hclge_dev *hdev = vport->back; local
3445 hclge_get_vf_vport(struct hclge_dev *hdev, int vf) argument
3469 struct hclge_dev *hdev = vport->back; local
3493 struct hclge_dev *hdev = vport->back; local
3520 hclge_check_event_cause(struct hclge_dev *hdev, u32 *clearval) argument
3582 hclge_clear_event_cause(struct hclge_dev *hdev, u32 event_type, u32 regclr) argument
3603 hclge_clear_all_event_cause(struct hclge_dev *hdev) argument
3619 struct hclge_dev *hdev = data; local
3669 hclge_free_vector(struct hclge_dev *hdev, int vector_id) argument
3682 hclge_get_misc_vector(struct hclge_dev *hdev) argument
3695 hclge_misc_irq_init(struct hclge_dev *hdev) argument
3715 hclge_misc_irq_uninit(struct hclge_dev *hdev) argument
3721 hclge_notify_client(struct hclge_dev *hdev, enum hnae3_reset_notify_type type) argument
3742 hclge_notify_roce_client(struct hclge_dev *hdev, enum hnae3_reset_notify_type type) argument
3763 hclge_reset_wait(struct hclge_dev *hdev) argument
3807 hclge_set_vf_rst(struct hclge_dev *hdev, int func_id, bool reset) argument
3822 hclge_set_all_vf_rst(struct hclge_dev *hdev, bool reset) argument
3866 hclge_mailbox_service_task(struct hclge_dev *hdev) argument
3885 hclge_func_reset_sync_vf(struct hclge_dev *hdev) argument
3920 hclge_report_hw_error(struct hclge_dev *hdev, enum hnae3_hw_error_type type) argument
3932 hclge_handle_imp_error(struct hclge_dev *hdev) argument
3950 hclge_func_reset_cmd(struct hclge_dev *hdev, int func_id) argument
3968 hclge_do_reset(struct hclge_dev *hdev) argument
4012 struct hclge_dev *hdev = ae_dev->priv; local
4039 hclge_clear_reset_cause(struct hclge_dev *hdev) argument
4067 hclge_reset_handshake(struct hclge_dev *hdev, bool enable) argument
4080 hclge_func_reset_notify_vf(struct hclge_dev *hdev) argument
4093 hclge_reset_prepare_wait(struct hclge_dev *hdev) argument
4142 hclge_show_rst_info(struct hclge_dev *hdev) argument
4157 hclge_reset_err_handle(struct hclge_dev *hdev) argument
4194 hclge_update_reset_level(struct hclge_dev *hdev) argument
4215 hclge_set_rst_done(struct hclge_dev *hdev) argument
4243 hclge_reset_prepare_up(struct hclge_dev *hdev) argument
4266 hclge_reset_stack(struct hclge_dev *hdev) argument
4281 hclge_reset_prepare(struct hclge_dev *hdev) argument
4300 hclge_reset_rebuild(struct hclge_dev *hdev) argument
4350 hclge_reset(struct hclge_dev *hdev) argument
4371 struct hclge_dev *hdev = ae_dev->priv; local
4416 struct hclge_dev *hdev = ae_dev->priv; local
4423 struct hclge_dev *hdev = from_timer(hdev, t, reset_timer); local
4436 hclge_reset_subtask(struct hclge_dev *hdev) argument
4462 hclge_handle_err_reset_request(struct hclge_dev *hdev) argument
4480 hclge_handle_err_recovery(struct hclge_dev *hdev) argument
4495 hclge_misc_err_recovery(struct hclge_dev *hdev) argument
4514 hclge_errhand_service_task(struct hclge_dev *hdev) argument
4525 hclge_reset_service_task(struct hclge_dev *hdev) argument
4546 hclge_update_vport_alive(struct hclge_dev *hdev) argument
4570 hclge_periodic_service_task(struct hclge_dev *hdev) argument
4617 hclge_ptp_service_task(struct hclge_dev *hdev) argument
4640 struct hclge_dev *hdev = local
4669 hclge_get_vector_info(struct hclge_dev *hdev, u16 idx, struct hnae3_vector_info *vector_info) argument
4698 struct hclge_dev *hdev = vport->back; local
4723 hclge_get_vector_index(struct hclge_dev *hdev, int vector) argument
4737 struct hclge_dev *hdev = vport->back; local
4772 struct hclge_dev *hdev = vport->back; local
4795 struct hclge_dev *hdev = vport->back; local
4831 struct hclge_dev *hdev = vport->back; local
4836 hclge_init_rss_tc_mode(struct hclge_dev *hdev) argument
4880 hclge_rss_init_hw(struct hclge_dev *hdev) argument
4907 struct hclge_dev *hdev = vport->back; local
4985 struct hclge_dev *hdev = vport->back; local
5002 struct hclge_dev *hdev = vport->back; local
5024 hclge_cmd_set_promisc_mode(struct hclge_dev *hdev, u8 vf_id, bool en_uc, bool en_mc, bool en_bc) argument
5080 struct hclge_dev *hdev = vport->back; local
5101 hclge_sync_fd_state(struct hclge_dev *hdev) argument
5107 hclge_fd_inc_rule_cnt(struct hclge_dev *hdev, u16 location) argument
5115 hclge_fd_dec_rule_cnt(struct hclge_dev *hdev, u16 location) argument
5123 hclge_fd_free_node(struct hclge_dev *hdev, struct hclge_fd_rule *rule) argument
5131 hclge_update_fd_rule_node(struct hclge_dev *hdev, struct hclge_fd_rule *old_rule, struct hclge_fd_rule *new_rule, enum HCLGE_FD_NODE_STATE state) argument
5213 hclge_fd_set_user_def_cmd(struct hclge_dev *hdev, struct hclge_fd_user_def_cfg *cfg) argument
5249 hclge_sync_fd_user_def_cfg(struct hclge_dev *hdev, bool locked) argument
5267 hclge_fd_check_user_def_refcnt(struct hclge_dev *hdev, struct hclge_fd_rule *rule) argument
5303 hclge_fd_inc_user_def_refcnt(struct hclge_dev *hdev, struct hclge_fd_rule *rule) argument
5320 hclge_fd_dec_user_def_refcnt(struct hclge_dev *hdev, struct hclge_fd_rule *rule) argument
5340 hclge_update_fd_list(struct hclge_dev *hdev, enum HCLGE_FD_NODE_STATE state, u16 location, struct hclge_fd_rule *new_rule) argument
5380 hclge_get_fd_mode(struct hclge_dev *hdev, u8 *fd_mode) argument
5401 hclge_get_fd_allocation(struct hclge_dev *hdev, u32 *stage1_entry_num, u32 *stage2_entry_num, u16 *stage1_counter_num, u16 *stage2_counter_num) argument
5430 hclge_set_fd_key_config(struct hclge_dev *hdev, enum HCLGE_FD_STAGE stage_num) argument
5458 hclge_fd_disable_user_def(struct hclge_dev *hdev) argument
5469 hclge_init_fd_config(struct hclge_dev *hdev) argument
5532 hclge_fd_tcam_config(struct hclge_dev *hdev, u8 stage, bool sel_x, int loc, u8 *key, bool is_add) argument
5574 hclge_fd_ad_config(struct hclge_dev *hdev, u8 stage, int loc, struct hclge_fd_ad_data *action) argument
5743 hclge_config_key(struct hclge_dev *hdev, u8 stage, struct hclge_fd_rule *rule) argument
5800 hclge_config_action(struct hclge_dev *hdev, u8 stage, struct hclge_fd_rule *rule) argument
5973 hclge_fd_check_ext_tuple(struct hclge_dev *hdev, struct ethtool_rx_flow_spec *fs, u32 *unused_tuple) argument
6046 hclge_fd_parse_user_def_field(struct hclge_dev *hdev, struct ethtool_rx_flow_spec *fs, u32 *unused_tuple, struct hclge_fd_user_def_info *info) argument
6102 hclge_fd_check_spec(struct hclge_dev *hdev, struct ethtool_rx_flow_spec *fs, u32 *unused_tuple, struct hclge_fd_user_def_info *info) argument
6364 hclge_fd_config_rule(struct hclge_dev *hdev, struct hclge_fd_rule *rule) argument
6376 hclge_add_fd_entry_common(struct hclge_dev *hdev, struct hclge_fd_rule *rule) argument
6417 struct hclge_dev *hdev = vport->back; local
6422 hclge_fd_parse_ring_cookie(struct hclge_dev *hdev, u64 ring_cookie, u16 *vport_id, u8 *action, u16 *queue_id) argument
6465 struct hclge_dev *hdev = vport->back; local
6526 struct hclge_dev *hdev = vport->back; local
6559 hclge_clear_fd_rules_in_list(struct hclge_dev *hdev, bool clear_list) argument
6588 hclge_del_all_fd_entries(struct hclge_dev *hdev) argument
6600 struct hclge_dev *hdev = vport->back; local
6630 struct hclge_dev *hdev = vport->back; local
6811 hclge_get_fd_rule(struct hclge_dev *hdev, u16 location) argument
6847 struct hclge_dev *hdev = vport->back; local
6908 struct hclge_dev *hdev = vport->back; local
6965 hclge_fd_search_flow_keys(struct hclge_dev *hdev, const struct hclge_fd_rule_tuples *tuples) argument
7009 struct hclge_dev *hdev = vport->back; local
7063 hclge_rfs_filter_expire(struct hclge_dev *hdev) argument
7089 hclge_clear_arfs_rules(struct hclge_dev *hdev) argument
7239 hclge_parse_cls_flower(struct hclge_dev *hdev, struct flow_cls_offload *cls_flower, struct hclge_fd_rule *rule) argument
7268 hclge_check_cls_flower(struct hclge_dev *hdev, struct flow_cls_offload *cls_flower, int tc) argument
7298 struct hclge_dev *hdev = vport->back; local
7339 hclge_find_cls_flower(struct hclge_dev *hdev, unsigned long cookie) argument
7357 struct hclge_dev *hdev = vport->back; local
7391 hclge_sync_fd_list(struct hclge_dev *hdev, struct hlist_head *hlist) argument
7430 hclge_sync_fd_table(struct hclge_dev *hdev) argument
7449 struct hclge_dev *hdev = vport->back; local
7458 struct hclge_dev *hdev = vport->back; local
7466 struct hclge_dev *hdev = vport->back; local
7474 struct hclge_dev *hdev = vport->back; local
7482 struct hclge_dev *hdev = vport->back; local
7494 hclge_cfg_mac_mode(struct hclge_dev *hdev, bool enable) argument
7533 hclge_config_switch_param(struct hclge_dev *hdev, int vfid, u8 switch_param, u8 param_mask) argument
7569 hclge_phy_link_status_wait(struct hclge_dev *hdev, int link_ret) argument
7593 hclge_mac_link_status_wait(struct hclge_dev *hdev, int link_ret, int wait_cnt) argument
7612 hclge_mac_phy_link_status_wait(struct hclge_dev *hdev, bool en, bool is_phy) argument
7628 hclge_set_app_loopback(struct hclge_dev *hdev, bool en) argument
7662 hclge_cfg_common_loopback_cmd_send(struct hclge_dev *hdev, bool en, enum hnae3_loop loop_mode) argument
7702 hclge_cfg_common_loopback_wait(struct hclge_dev *hdev) argument
7739 hclge_cfg_common_loopback(struct hclge_dev *hdev, bool en, enum hnae3_loop loop_mode) argument
7751 hclge_set_common_loopback(struct hclge_dev *hdev, bool en, enum hnae3_loop loop_mode) argument
7770 hclge_enable_phy_loopback(struct hclge_dev *hdev, struct phy_device *phydev) argument
7788 hclge_disable_phy_loopback(struct hclge_dev *hdev, struct phy_device *phydev) argument
7800 hclge_set_phy_loopback(struct hclge_dev *hdev, bool en) argument
7832 hclge_tqp_enable_cmd_send(struct hclge_dev *hdev, u16 tqp_id, u16 stream_id, bool enable) argument
7851 struct hclge_dev *hdev = vport->back; local
7867 struct hclge_dev *hdev = vport->back; local
7915 hclge_set_default_loopback(struct hclge_dev *hdev) argument
7931 hclge_flush_link_update(struct hclge_dev *hdev) argument
7947 struct hclge_dev *hdev = vport->back; local
7964 struct hclge_dev *hdev = vport->back; local
7982 struct hclge_dev *hdev = vport->back; local
8019 struct hclge_dev *hdev = vport->back; local
8066 struct hclge_dev *hdev = vport->back; local
8184 struct hclge_dev *hdev = vport->back; local
8213 struct hclge_dev *hdev = vport->back; local
8255 struct hclge_dev *hdev = vport->back; local
8304 hclge_set_umv_space(struct hclge_dev *hdev, u16 space_size, u16 *allocated_size) argument
8328 hclge_init_umv_space(struct hclge_dev *hdev) argument
8353 hclge_reset_umv_space(struct hclge_dev *hdev) argument
8373 struct hclge_dev *hdev = vport->back; local
8390 struct hclge_dev *hdev = vport->back; local
8453 struct hclge_dev *hdev = vport->back; local
8514 struct hclge_dev *hdev = vport->back; local
8585 struct hclge_dev *hdev = vport->back; local
8626 struct hclge_dev *hdev = vport->back; local
8690 struct hclge_dev *hdev = vport->back; local
8926 struct hclge_dev *hdev = vport->back; local
8937 hclge_sync_mac_table(struct hclge_dev *hdev) argument
9007 struct hclge_dev *hdev = vport->back; local
9043 struct hclge_dev *hdev = vport->back; local
9082 hclge_uninit_mac_table(struct hclge_dev *hdev) argument
9094 hclge_get_mac_ethertype_cmd_status(struct hclge_dev *hdev, u16 cmdq_resp, u8 resp_code) argument
9141 struct hclge_dev *hdev = vport->back; local
9175 hclge_add_mgr_tbl(struct hclge_dev *hdev, const struct hclge_mac_mgr_tbl_entry_cmd *req) argument
9200 init_mgr_tbl(struct hclge_dev *hdev) argument
9221 struct hclge_dev *hdev = vport->back; local
9276 struct hclge_dev *hdev = vport->back; local
9327 hclge_mii_ioctl(struct hclge_dev *hdev, struct ifreq *ifr, int cmd) argument
9354 struct hclge_dev *hdev = vport->back; local
9369 hclge_set_port_vlan_filter_bypass(struct hclge_dev *hdev, u8 vf_id, bool bypass_en) argument
9391 hclge_set_vlan_filter_ctrl(struct hclge_dev *hdev, u8 vlan_type, u8 fe_type, bool filter_en, u8 vf_id) argument
9426 struct hclge_dev *hdev = vport->back; local
9460 struct hclge_dev *hdev = vport->back; local
9489 struct hclge_dev *hdev = vport->back; local
9523 hclge_set_vf_vlan_filter_cmd(struct hclge_dev *hdev, u16 vfid, bool is_kill, u16 vlan, struct hclge_desc *desc) argument
9565 hclge_check_vf_vlan_cmd_status(struct hclge_dev *hdev, u16 vfid, bool is_kill, struct hclge_desc *desc) argument
9608 hclge_set_vf_vlan_common(struct hclge_dev *hdev, u16 vfid, bool is_kill, u16 vlan) argument
9636 hclge_set_port_vlan_filter(struct hclge_dev *hdev, __be16 proto, u16 vlan_id, bool is_kill) argument
9665 hclge_need_update_port_vlan(struct hclge_dev *hdev, u16 vport_id, u16 vlan_id, bool is_kill) argument
9691 hclge_set_vlan_filter_hw(struct hclge_dev *hdev, __be16 proto, u16 vport_id, u16 vlan_id, bool is_kill) argument
9729 struct hclge_dev *hdev = vport->back; local
9774 struct hclge_dev *hdev = vport->back; local
9865 hclge_set_vlan_protocol_type(struct hclge_dev *hdev) argument
9906 hclge_init_vlan_filter(struct hclge_dev *hdev) argument
9932 hclge_init_vlan_type(struct hclge_dev *hdev) argument
9944 hclge_init_vport_vlan_offload(struct hclge_dev *hdev) argument
9964 hclge_init_vlan_config(struct hclge_dev *hdev) argument
9988 struct hclge_dev *hdev = vport->back; local
10015 struct hclge_dev *hdev = vport->back; local
10046 struct hclge_dev *hdev = vport->back; local
10067 struct hclge_dev *hdev = vport->back; local
10089 hclge_uninit_vport_vlan_table(struct hclge_dev *hdev) argument
10108 hclge_restore_vport_port_base_vlan_config(struct hclge_dev *hdev) argument
10142 struct hclge_dev *hdev = vport->back; local
10192 hclge_restore_hw_table(struct hclge_dev *hdev) argument
10228 struct hclge_dev *hdev = vport->back; local
10239 struct hclge_dev *hdev = vport->back; local
10287 struct hclge_dev *hdev = vport->back; local
10381 struct hclge_dev *hdev = vport->back; local
10436 hclge_clear_vf_vlan(struct hclge_dev *hdev) argument
10462 struct hclge_dev *hdev = vport->back; local
10517 hclge_sync_vlan_fltr_state(struct hclge_dev *hdev) argument
10542 hclge_sync_vlan_filter(struct hclge_dev *hdev) argument
10584 hclge_set_mac_mtu(struct hclge_dev *hdev, int new_mps) argument
10607 struct hclge_dev *hdev = vport->back; local
10661 hclge_reset_tqp_cmd_send(struct hclge_dev *hdev, u16 queue_id, bool enable) argument
10685 hclge_get_reset_status(struct hclge_dev *hdev, u16 queue_id, u8 *reset_status) argument
10723 struct hclge_dev *hdev = vport->back; local
10777 struct hclge_dev *hdev = vport->back; local
10818 struct hclge_dev *hdev = vport->back; local
10837 struct hclge_dev *hdev = vport->back; local
10842 hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) argument
10852 hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) argument
10867 hclge_cfg_flowctrl(struct hclge_dev *hdev) argument
10906 struct hclge_dev *hdev = vport->back; local
10933 hclge_record_user_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) argument
10952 struct hclge_dev *hdev = vport->back; local
10988 struct hclge_dev *hdev = vport->back; local
11004 struct hclge_dev *hdev = vport->back; local
11023 struct hclge_dev *hdev = vport->back; local
11069 hclge_info_show(struct hclge_dev *hdev) argument
11101 struct hclge_dev *hdev = ae_dev->priv; local
11144 struct hclge_dev *hdev = ae_dev->priv; local
11195 struct hclge_dev *hdev = ae_dev->priv; local
11242 struct hclge_dev *hdev = ae_dev->priv; local
11267 hclge_dev_mem_map(struct hclge_dev *hdev) argument
11288 hclge_pci_init(struct hclge_dev *hdev) argument
11344 hclge_pci_uninit(struct hclge_dev *hdev) argument
11357 hclge_state_init(struct hclge_dev *hdev) argument
11368 hclge_state_uninit(struct hclge_dev *hdev) argument
11385 struct hclge_dev *hdev = ae_dev->priv; local
11415 struct hclge_dev *hdev = ae_dev->priv; local
11429 hclge_clear_resetting_state(struct hclge_dev *hdev) argument
11446 hclge_clear_hw_resource(struct hclge_dev *hdev) argument
11468 hclge_init_rxd_adv_layout(struct hclge_dev *hdev) argument
11474 hclge_uninit_rxd_adv_layout(struct hclge_dev *hdev) argument
11487 hclge_get_wol_supported_mode(struct hclge_dev *hdev, u32 *wol_supported) argument
11510 hclge_set_wol_cfg(struct hclge_dev *hdev, struct hclge_wol_info *wol_info) argument
11531 hclge_update_wol(struct hclge_dev *hdev) argument
11541 hclge_init_wol(struct hclge_dev *hdev) argument
11601 struct hclge_dev *hdev; local
11834 hclge_stats_clear(struct hclge_dev *hdev) argument
11840 hclge_set_mac_spoofchk(struct hclge_dev *hdev, int vf, bool enable) argument
11846 hclge_set_vlan_spoofchk(struct hclge_dev *hdev, int vf, bool enable) argument
11853 hclge_set_vf_spoofchk_hw(struct hclge_dev *hdev, int vf, bool enable) argument
11878 struct hclge_dev *hdev = vport->back; local
11909 hclge_reset_vport_spoofchk(struct hclge_dev *hdev) argument
11934 struct hclge_dev *hdev = vport->back; local
11951 hclge_reset_vf_rate(struct hclge_dev *hdev) argument
11969 hclge_vf_rate_param_check(struct hclge_dev *hdev, int min_tx_rate, int max_tx_rate) argument
11987 struct hclge_dev *hdev = vport->back; local
12010 hclge_resume_vf_rate(struct hclge_dev *hdev) argument
12042 hclge_reset_vport_state(struct hclge_dev *hdev) argument
12055 struct hclge_dev *hdev = ae_dev->priv; local
12197 struct hclge_dev *hdev = ae_dev->priv; local
12232 struct hclge_dev *hdev = vport->back; local
12250 struct hclge_dev *hdev = vport->back; local
12260 struct hclge_dev *hdev = vport->back; local
12290 struct hclge_dev *hdev = vport->back; local
12339 hclge_set_led_status(struct hclge_dev *hdev, u8 locate_led_status) argument
12369 struct hclge_dev *hdev = vport->back; local
12387 struct hclge_dev *hdev = vport->back; local
12399 struct hclge_dev *hdev = vport->back; local
12414 struct hclge_dev *hdev = vport->back; local
12464 hclge_sync_promisc_mode(struct hclge_dev *hdev) argument
12479 hclge_module_existed(struct hclge_dev *hdev) argument
12501 hclge_get_sfp_eeprom_info(struct hclge_dev *hdev, u32 offset, u32 len, u8 *data) argument
12556 struct hclge_dev *hdev = vport->back; local
12584 struct hclge_dev *hdev = vport->back; local
12608 struct hclge_dev *hdev = vport->back; local
12646 struct hclge_dev *hdev = ae_dev->priv; local
[all...]
H A Dhclge_mdio.c46 struct hclge_dev *hdev = bus->priv; local
50 if (test_bit(HCLGE_COMM_STATE_CMD_DISABLE, &hdev->hw.hw.comm_state))
70 ret = hclge_cmd_send(&hdev->hw, &desc, 1);
72 dev_err(&hdev->pdev->dev,
84 struct hclge_dev *hdev = bus->priv; local
88 if (test_bit(HCLGE_COMM_STATE_CMD_DISABLE, &hdev->hw.hw.comm_state))
107 ret = hclge_cmd_send(&hdev->hw, &desc, 1);
109 dev_err(&hdev->pdev->dev,
116 dev_err(&hdev->pdev->dev, "mdio read data error\n");
123 int hclge_mac_mdio_config(struct hclge_dev *hdev) argument
179 struct hclge_dev *hdev = vport->back; local
202 struct hclge_dev *hdev = vport->back; local
242 struct hclge_dev *hdev = vport->back; local
251 hclge_mac_start_phy(struct hclge_dev *hdev) argument
263 hclge_mac_stop_phy(struct hclge_dev *hdev) argument
274 hclge_read_phy_reg(struct hclge_dev *hdev, u16 reg_addr) argument
293 hclge_write_phy_reg(struct hclge_dev *hdev, u16 reg_addr, u16 val) argument
[all...]
/linux-master/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c2203 static int gaudi2_memset_device_memory(struct hl_device *hdev, u64 addr, u64 size, u64 val);
2204 static bool gaudi2_is_queue_enabled(struct hl_device *hdev, u32 hw_queue_id);
2205 static bool gaudi2_is_arc_enabled(struct hl_device *hdev, u64 arc_id);
2206 static void gaudi2_clr_arc_id_cap(struct hl_device *hdev, u64 arc_id);
2207 static void gaudi2_set_arc_id_cap(struct hl_device *hdev, u64 arc_id);
2208 static void gaudi2_memset_device_lbw(struct hl_device *hdev, u32 addr, u32 size, u32 val);
2209 static int gaudi2_send_job_to_kdma(struct hl_device *hdev, u64 src_addr, u64 dst_addr, u32 size,
2211 static bool gaudi2_get_tpc_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len,
2213 static bool gaudi2_get_mme_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len,
2215 static bool gaudi2_get_edma_idle_status(struct hl_device *hdev, u6
2220 gaudi2_init_scrambler_hbm(struct hl_device *hdev) argument
2225 gaudi2_get_signal_cb_size(struct hl_device *hdev) argument
2230 gaudi2_get_wait_cb_size(struct hl_device *hdev) argument
2235 gaudi2_iterate_tpcs(struct hl_device *hdev, struct iterate_module_ctx *ctx) argument
2280 set_number_of_functional_hbms(struct hl_device *hdev) argument
2327 gaudi2_set_dram_properties(struct hl_device *hdev) argument
2409 gaudi2_set_fixed_properties(struct hl_device *hdev) argument
2611 gaudi2_pci_bars_map(struct hl_device *hdev) argument
2626 gaudi2_set_hbm_bar_base(struct hl_device *hdev, u64 addr) argument
2655 gaudi2_init_iatu(struct hl_device *hdev) argument
2719 gaudi2_get_hw_state(struct hl_device *hdev) argument
2724 gaudi2_tpc_binning_init_prop(struct hl_device *hdev) argument
2745 gaudi2_set_tpc_binning_masks(struct hl_device *hdev) argument
2803 gaudi2_set_dec_binning_masks(struct hl_device *hdev) argument
2830 gaudi2_set_dram_binning_masks(struct hl_device *hdev) argument
2847 gaudi2_set_edma_binning_masks(struct hl_device *hdev) argument
2889 gaudi2_set_xbar_edge_enable_mask(struct hl_device *hdev, u32 xbar_edge_iso_mask) argument
2925 gaudi2_set_cluster_binning_masks_common(struct hl_device *hdev, u8 xbar_edge_iso_mask) argument
2953 gaudi2_set_cluster_binning_masks(struct hl_device *hdev) argument
2972 gaudi2_set_binning_masks(struct hl_device *hdev) argument
2991 gaudi2_cpucp_info_get(struct hl_device *hdev) argument
3064 gaudi2_fetch_psoc_frequency(struct hl_device *hdev) argument
3082 gaudi2_mmu_clear_pgt_range(struct hl_device *hdev) argument
3101 gaudi2_early_init(struct hl_device *hdev) argument
3174 gaudi2_early_fini(struct hl_device *hdev) argument
3202 gaudi2_init_arcs(struct hl_device *hdev) argument
3240 gaudi2_scrub_arc_dccm(struct hl_device *hdev, u32 cpu_id) argument
3289 gaudi2_scrub_arcs_dccm(struct hl_device *hdev) argument
3306 gaudi2_late_init(struct hl_device *hdev) argument
3350 gaudi2_late_fini(struct hl_device *hdev) argument
3371 gaudi2_user_mapped_blocks_init(struct hl_device *hdev) argument
3443 gaudi2_alloc_cpu_accessible_dma_mem(struct hl_device *hdev) argument
3485 gaudi2_set_pci_memory_regions(struct hl_device *hdev) argument
3518 gaudi2_user_interrupt_setup(struct hl_device *hdev) argument
3563 gaudi2_special_blocks_free(struct hl_device *hdev) argument
3574 gaudi2_special_blocks_iterator_free(struct hl_device *hdev) argument
3579 gaudi2_special_block_skip(struct hl_device *hdev, struct hl_special_blocks_cfg *special_blocks_cfg, u32 blk_idx, u32 major, u32 minor, u32 sub_minor) argument
3586 gaudi2_special_blocks_config(struct hl_device *hdev) argument
3651 gaudi2_special_blocks_iterator_config(struct hl_device *hdev) argument
3656 gaudi2_test_queues_msgs_free(struct hl_device *hdev) argument
3672 gaudi2_test_queues_msgs_alloc(struct hl_device *hdev) argument
3698 gaudi2_sw_init(struct hl_device *hdev) argument
3819 gaudi2_sw_fini(struct hl_device *hdev) argument
3842 gaudi2_stop_qman_common(struct hl_device *hdev, u32 reg_base) argument
3852 gaudi2_flush_qman_common(struct hl_device *hdev, u32 reg_base) argument
3859 gaudi2_flush_qman_arc_common(struct hl_device *hdev, u32 reg_base) argument
3873 gaudi2_clear_qm_fence_counters_common(struct hl_device *hdev, u32 queue_id, bool skip_fence) argument
3894 gaudi2_qman_manual_flush_common(struct hl_device *hdev, u32 queue_id) argument
3903 gaudi2_stop_dma_qmans(struct hl_device *hdev) argument
3936 gaudi2_stop_mme_qmans(struct hl_device *hdev) argument
3951 gaudi2_stop_tpc_qmans(struct hl_device *hdev) argument
3969 gaudi2_stop_rot_qmans(struct hl_device *hdev) argument
3987 gaudi2_stop_nic_qmans(struct hl_device *hdev) argument
4007 gaudi2_stall_dma_common(struct hl_device *hdev, u32 reg_base) argument
4015 gaudi2_dma_stall(struct hl_device *hdev) argument
4047 gaudi2_mme_stall(struct hl_device *hdev) argument
4059 gaudi2_tpc_stall(struct hl_device *hdev) argument
4077 gaudi2_rotator_stall(struct hl_device *hdev) argument
4098 gaudi2_disable_qman_common(struct hl_device *hdev, u32 reg_base) argument
4103 gaudi2_disable_dma_qmans(struct hl_device *hdev) argument
4135 gaudi2_disable_mme_qmans(struct hl_device *hdev) argument
4147 gaudi2_disable_tpc_qmans(struct hl_device *hdev) argument
4165 gaudi2_disable_rot_qmans(struct hl_device *hdev) argument
4183 gaudi2_disable_nic_qmans(struct hl_device *hdev) argument
4203 gaudi2_enable_timestamp(struct hl_device *hdev) argument
4216 gaudi2_disable_timestamp(struct hl_device *hdev) argument
4244 gaudi2_dec_disable_msix(struct hl_device *hdev, u32 max_irq_num) argument
4265 gaudi2_dec_enable_msix(struct hl_device *hdev) argument
4306 gaudi2_enable_msix(struct hl_device *hdev) argument
4422 gaudi2_sync_irqs(struct hl_device *hdev) argument
4452 gaudi2_disable_msix(struct hl_device *hdev) argument
4495 gaudi2_stop_dcore_dec(struct hl_device *hdev, int dcore_id) argument
4535 gaudi2_stop_pcie_dec(struct hl_device *hdev) argument
4575 gaudi2_stop_dec(struct hl_device *hdev) argument
4589 gaudi2_set_arc_running_mode(struct hl_device *hdev, u32 cpu_id, u32 run_mode) argument
4602 gaudi2_halt_arcs(struct hl_device *hdev) argument
4612 gaudi2_verify_arc_running_mode(struct hl_device *hdev, u32 cpu_id, u32 run_mode) argument
4639 gaudi2_reset_arcs(struct hl_device *hdev) argument
4652 gaudi2_nic_qmans_manual_flush(struct hl_device *hdev) argument
4671 gaudi2_set_engine_cores(struct hl_device *hdev, u32 *core_ids, u32 num_cores, u32 core_command) argument
4697 gaudi2_set_tpc_engine_mode(struct hl_device *hdev, u32 engine_id, u32 engine_command) argument
4724 gaudi2_set_mme_engine_mode(struct hl_device *hdev, u32 engine_id, u32 engine_command) argument
4742 gaudi2_set_edma_engine_mode(struct hl_device *hdev, u32 engine_id, u32 engine_command) argument
4769 gaudi2_set_engine_modes(struct hl_device *hdev, u32 *engine_ids, u32 num_engines, u32 engine_command) argument
4812 gaudi2_set_engines(struct hl_device *hdev, u32 *engine_ids, u32 num_engines, u32 engine_command) argument
4830 gaudi2_halt_engines(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
4882 gaudi2_init_firmware_preload_params(struct hl_device *hdev) argument
4896 gaudi2_init_firmware_loader(struct hl_device *hdev) argument
4925 gaudi2_init_cpu(struct hl_device *hdev) argument
4945 gaudi2_init_cpu_queues(struct hl_device *hdev, u32 cpu_timeout) argument
5014 gaudi2_init_qman_pq(struct hl_device *hdev, u32 reg_base, u32 queue_id_base) argument
5041 gaudi2_init_qman_cp(struct hl_device *hdev, u32 reg_base) argument
5063 gaudi2_init_qman_pqc(struct hl_device *hdev, u32 reg_base, u32 queue_id_base) argument
5093 gaudi2_get_dyn_sp_reg(struct hl_device *hdev, u32 queue_id_base) argument
5142 gaudi2_init_qman_common(struct hl_device *hdev, u32 reg_base, u32 queue_id_base) argument
5178 gaudi2_init_qman(struct hl_device *hdev, u32 reg_base, u32 queue_id_base) argument
5192 gaudi2_init_dma_core(struct hl_device *hdev, u32 reg_base, u32 dma_core_id, bool is_secure) argument
5222 gaudi2_init_kdma(struct hl_device *hdev) argument
5237 gaudi2_init_pdma(struct hl_device *hdev) argument
5260 gaudi2_init_edma_instance(struct hl_device *hdev, u8 seq) argument
5274 gaudi2_init_edma(struct hl_device *hdev) argument
5312 gaudi2_arm_monitors_for_virt_msix_db(struct hl_device *hdev, u32 sob_id, u32 first_mon_id, u32 interrupt_id) argument
5378 gaudi2_prepare_sm_for_virt_msix_db(struct hl_device *hdev) argument
5400 gaudi2_init_sm(struct hl_device *hdev) argument
5443 gaudi2_init_mme_acc(struct hl_device *hdev, u32 reg_base) argument
5465 gaudi2_init_dcore_mme(struct hl_device *hdev, int dcore_id, bool config_qman_only) argument
5497 gaudi2_init_mme(struct hl_device *hdev) argument
5512 gaudi2_init_tpc_cfg(struct hl_device *hdev, u32 reg_base) argument
5526 gaudi2_init_tpc_config(struct hl_device *hdev, int dcore, int inst, u32 offset, struct iterate_module_ctx *ctx) argument
5548 gaudi2_init_tpc(struct hl_device *hdev) argument
5569 gaudi2_init_rotator(struct hl_device *hdev) argument
5584 gaudi2_init_vdec_brdg_ctrl(struct hl_device *hdev, u64 base_addr, u32 decoder_id) argument
5601 gaudi2_init_dec(struct hl_device *hdev) argument
5644 gaudi2_mmu_update_asid_hop0_addr(struct hl_device *hdev, u32 stlb_base, u32 asid, u64 phys_addr) argument
5676 gaudi2_mmu_send_invalidate_cache_cmd(struct hl_device *hdev, u32 stlb_base, u32 start_offset, u32 inv_start_val, u32 flags) argument
5690 gaudi2_mmu_invalidate_cache_status_poll(struct hl_device *hdev, u32 stlb_base, struct gaudi2_cache_invld_params *inv_params) argument
5736 gaudi2_is_hmmu_enabled(struct hl_device *hdev, int dcore_id, int hmmu_id) argument
5758 gaudi2_mmu_invalidate_cache_trigger(struct hl_device *hdev, u32 stlb_base, struct gaudi2_cache_invld_params *inv_params) argument
5793 gaudi2_hmmu_invalidate_cache_trigger(struct hl_device *hdev, int dcore_id, int hmmu_id, struct gaudi2_cache_invld_params *inv_params) argument
5802 gaudi2_hmmu_invalidate_cache_status_poll(struct hl_device *hdev, int dcore_id, int hmmu_id, struct gaudi2_cache_invld_params *inv_params) argument
5811 gaudi2_hmmus_invalidate_cache(struct hl_device *hdev, struct gaudi2_cache_invld_params *inv_params) argument
5844 gaudi2_mmu_invalidate_cache(struct hl_device *hdev, bool is_hard, u32 flags) argument
5869 gaudi2_mmu_invalidate_cache_range(struct hl_device *hdev, bool is_hard, u32 flags, u32 asid, u64 va, u64 size) argument
5921 gaudi2_mmu_update_hop0_addr(struct hl_device *hdev, u32 stlb_base, bool host_resident_pgt) argument
5949 gaudi2_mmu_init_common(struct hl_device *hdev, u32 mmu_base, u32 stlb_base, bool host_resident_pgt) argument
5995 gaudi2_pci_mmu_init(struct hl_device *hdev) argument
6046 gaudi2_dcore_hmmu_init(struct hl_device *hdev, int dcore_id, int hmmu_id) argument
6098 gaudi2_hbm_mmu_init(struct hl_device *hdev) argument
6112 gaudi2_mmu_init(struct hl_device *hdev) argument
6127 gaudi2_hw_init(struct hl_device *hdev) argument
6225 gaudi2_send_hard_reset_cmd(struct hl_device *hdev) argument
6299 gaudi2_execute_hard_reset(struct hl_device *hdev) argument
6317 gaudi2_get_soft_rst_done_indication(struct hl_device *hdev, u32 poll_timeout_us) argument
6346 gaudi2_execute_soft_reset(struct hl_device *hdev, bool driver_performs_reset, u32 poll_timeout_us) argument
6382 gaudi2_poll_btm_indication(struct hl_device *hdev, u32 poll_timeout_us) argument
6403 gaudi2_hw_fini(struct hl_device *hdev, bool hard_reset, bool fw_reset) argument
6503 gaudi2_suspend(struct hl_device *hdev) argument
6514 gaudi2_resume(struct hl_device *hdev) argument
6519 gaudi2_mmap(struct hl_device *hdev, struct vm_area_struct *vma, void *cpu_addr, dma_addr_t dma_addr, size_t size) argument
6546 gaudi2_is_queue_enabled(struct hl_device *hdev, u32 hw_queue_id) argument
6652 gaudi2_is_arc_enabled(struct hl_device *hdev, u64 arc_id) argument
6672 gaudi2_clr_arc_id_cap(struct hl_device *hdev, u64 arc_id) argument
6695 gaudi2_set_arc_id_cap(struct hl_device *hdev, u64 arc_id) argument
6718 gaudi2_ring_doorbell(struct hl_device *hdev, u32 hw_queue_id, u32 pi) argument
6749 gaudi2_pqe_write(struct hl_device *hdev, __le64 *pqe, struct hl_bd *bd) argument
6758 gaudi2_dma_alloc_coherent(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle, gfp_t flags) argument
6764 gaudi2_dma_free_coherent(struct hl_device *hdev, size_t size, void *cpu_addr, dma_addr_t dma_handle) argument
6770 gaudi2_send_cpu_message(struct hl_device *hdev, u32 *msg, u16 len, u32 timeout, u64 *result) argument
6787 gaudi2_dma_pool_zalloc(struct hl_device *hdev, size_t size, gfp_t mem_flags, dma_addr_t *dma_handle) argument
6796 gaudi2_dma_pool_free(struct hl_device *hdev, void *vaddr, dma_addr_t dma_addr) argument
6801 gaudi2_cpu_accessible_dma_pool_alloc(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle) argument
6807 gaudi2_cpu_accessible_dma_pool_free(struct hl_device *hdev, size_t size, void *vaddr) argument
6812 gaudi2_validate_cb_address(struct hl_device *hdev, struct hl_cs_parser *parser) argument
6869 gaudi2_cs_parser(struct hl_device *hdev, struct hl_cs_parser *parser) argument
6884 gaudi2_send_heartbeat(struct hl_device *hdev) argument
6897 gaudi2_kdma_set_mmbp_asid(struct hl_device *hdev, bool mmu_bypass, u32 asid) argument
6912 gaudi2_arm_cq_monitor(struct hl_device *hdev, u32 sob_id, u32 mon_id, u32 cq_id, u32 mon_payload, u32 sync_value) argument
6942 gaudi2_send_job_to_kdma(struct hl_device *hdev, u64 src_addr, u64 dst_addr, u32 size, bool is_memset) argument
7013 gaudi2_memset_device_lbw(struct hl_device *hdev, u32 addr, u32 size, u32 val) argument
7021 gaudi2_qman_set_test_mode(struct hl_device *hdev, u32 hw_queue_id, bool enable) argument
7034 gaudi2_test_queue_hw_queue_id_to_sob_id(struct hl_device *hdev, u32 hw_queue_id) argument
7040 gaudi2_test_queue_clear(struct hl_device *hdev, u32 hw_queue_id) argument
7049 gaudi2_test_queue_send_msg_short(struct hl_device *hdev, u32 hw_queue_id, u32 sob_val, struct gaudi2_queues_test_info *msg_info) argument
7075 gaudi2_test_queue_wait_completion(struct hl_device *hdev, u32 hw_queue_id, u32 sob_val) argument
7104 gaudi2_test_cpu_queue(struct hl_device *hdev) argument
7118 gaudi2_test_queues(struct hl_device *hdev) argument
7160 gaudi2_compute_reset_late_init(struct hl_device *hdev) argument
7181 gaudi2_get_edma_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
7231 gaudi2_get_pdma_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
7271 gaudi2_get_nic_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
7317 gaudi2_get_mme_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
7360 gaudi2_is_tpc_engine_idle(struct hl_device *hdev, int dcore, int inst, u32 offset, struct iterate_module_ctx *ctx) argument
7393 gaudi2_get_tpc_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
7421 gaudi2_get_decoder_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
7490 gaudi2_get_rotator_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
7528 gaudi2_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, struct engines_data *e) argument
7560 gaudi2_get_pci_id(struct hl_device *hdev) argument
7565 gaudi2_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size) argument
7575 gaudi2_update_eq_ci(struct hl_device *hdev, u32 val) argument
7580 gaudi2_get_events_stat(struct hl_device *hdev, bool aggregate, u32 *size) argument
7593 gaudi2_mmu_vdec_dcore_prepare(struct hl_device *hdev, int dcore_id, int dcore_vdec_id, u32 rw_asid, u32 rw_mmu_bp) argument
7615 gaudi2_mmu_dcore_prepare(struct hl_device *hdev, int dcore_id, u32 asid) argument
7684 gudi2_mmu_vdec_shared_prepare(struct hl_device *hdev, int shared_vdec_id, u32 rw_asid, u32 rw_mmu_bp) argument
7705 gudi2_mmu_arc_farm_arc_dup_eng_prepare(struct hl_device *hdev, int arc_farm_id, u32 rw_asid, u32 rw_mmu_bp) argument
7714 gaudi2_arc_mmu_prepare(struct hl_device *hdev, u32 cpu_id, u32 asid) argument
7758 gaudi2_arc_mmu_prepare_all(struct hl_device *hdev, u32 asid) argument
7778 gaudi2_mmu_shared_prepare(struct hl_device *hdev, u32 asid) argument
7825 gaudi2_tpc_mmu_prepare(struct hl_device *hdev, int dcore, int inst, u32 offset, struct iterate_module_ctx *ctx) argument
7837 gaudi2_mmu_prepare(struct hl_device *hdev, u32 asid) argument
7887 gaudi2_print_event(struct hl_device *hdev, u16 event_type, bool ratelimited, const char *fmt, ...) argument
7909 gaudi2_handle_ecc_event(struct hl_device *hdev, u16 event_type, struct hl_eq_ecc_data *ecc_data) argument
7939 handle_lower_qman_data_on_err(struct hl_device *hdev, u64 qman_base, u32 engine_id) argument
7980 gaudi2_handle_qman_err_generic(struct hl_device *hdev, u16 event_type, u64 qman_base, u32 qid_base, u64 *event_mask) argument
8042 gaudi2_razwi_rr_hbw_shared_printf_info(struct hl_device *hdev, u64 rtr_mstr_if_base_addr, bool is_write, char *name, enum gaudi2_engine_id id, u64 *event_mask) argument
8070 gaudi2_razwi_rr_lbw_shared_printf_info(struct hl_device *hdev, u64 rtr_mstr_if_base_addr, bool is_write, char *name, enum gaudi2_engine_id id, u64 *event_mask) argument
8096 gaudi2_razwi_calc_engine_id(struct hl_device *hdev, enum razwi_event_sources module, u8 module_idx) argument
8147 gaudi2_ack_module_razwi_event_handler(struct hl_device *hdev, enum razwi_event_sources module, u8 module_idx, u8 module_sub_idx, u64 *event_mask) argument
8308 gaudi2_check_if_razwi_happened(struct hl_device *hdev) argument
8378 gaudi2_handle_psoc_razwi_happened(struct hl_device *hdev, u32 razwi_reg, u64 *event_mask) argument
8467 gaudi2_ack_psoc_razwi_event_handler(struct hl_device *hdev, u64 *event_mask) argument
8501 _gaudi2_handle_qm_sei_err(struct hl_device *hdev, u64 qman_base, u16 event_type) argument
8521 gaudi2_handle_qm_sei_err(struct hl_device *hdev, u16 event_type, bool extended_err_check, u64 *event_mask) argument
8584 gaudi2_handle_qman_err(struct hl_device *hdev, u16 event_type, u64 *event_mask) argument
8705 gaudi2_handle_arc_farm_sei_err(struct hl_device *hdev, u16 event_type, u64 *event_mask) argument
8733 gaudi2_handle_cpu_sei_err(struct hl_device *hdev, u16 event_type) argument
8755 gaudi2_handle_rot_err(struct hl_device *hdev, u8 rot_index, u16 event_type, struct hl_eq_razwi_with_intr_cause *razwi_with_intr_cause, u64 *event_mask) argument
8777 gaudi2_tpc_ack_interrupts(struct hl_device *hdev, u8 tpc_index, u16 event_type, struct hl_eq_razwi_with_intr_cause *razwi_with_intr_cause, u64 *event_mask) argument
8799 gaudi2_handle_dec_err(struct hl_device *hdev, u8 dec_index, u16 event_type, u64 *event_mask) argument
8836 gaudi2_handle_mme_err(struct hl_device *hdev, u8 mme_index, u16 event_type, u64 *event_mask) argument
8867 gaudi2_handle_mme_sbte_err(struct hl_device *hdev, u16 event_type) argument
8879 gaudi2_handle_mme_wap_err(struct hl_device *hdev, u8 mme_index, u16 event_type, u64 *event_mask) argument
8909 gaudi2_handle_kdma_core_event(struct hl_device *hdev, u16 event_type, u64 intr_cause_data) argument
8932 gaudi2_handle_dma_core_event(struct hl_device *hdev, u16 event_type, u64 intr_cause) argument
8949 gaudi2_print_pcie_mstr_rr_mstr_if_razwi_info(struct hl_device *hdev, u64 *event_mask) argument
8982 gaudi2_print_pcie_addr_dec_info(struct hl_device *hdev, u16 event_type, u64 intr_cause_data, u64 *event_mask) argument
9009 gaudi2_handle_pif_fatal(struct hl_device *hdev, u16 event_type, u64 intr_cause_data) argument
9027 gaudi2_handle_hif_fatal(struct hl_device *hdev, u16 event_type, u64 intr_cause_data) argument
9043 gaudi2_handle_page_error(struct hl_device *hdev, u64 mmu_base, bool is_pmmu, u64 *event_mask) argument
9073 gaudi2_handle_access_error(struct hl_device *hdev, u64 mmu_base, bool is_pmmu) argument
9096 gaudi2_handle_mmu_spi_sei_generic(struct hl_device *hdev, u16 event_type, u64 mmu_base, bool is_pmmu, u64 *event_mask) argument
9130 gaudi2_handle_sm_err(struct hl_device *hdev, u16 event_type, u8 sm_index) argument
9277 gaudi2_handle_mmu_spi_sei_err(struct hl_device *hdev, u16 event_type, u64 *event_mask) argument
9310 gaudi2_hbm_sei_handle_read_err(struct hl_device *hdev, struct hl_eq_hbm_sei_read_err_intr_info *rd_err_data, u32 err_cnt) argument
9372 gaudi2_hbm_sei_print_wr_par_info(struct hl_device *hdev, struct hl_eq_hbm_sei_wr_par_intr_info *wr_par_err_data, u32 err_cnt) argument
9397 gaudi2_hbm_sei_print_ca_par_info(struct hl_device *hdev, struct hl_eq_hbm_sei_ca_par_intr_info *ca_par_err_data, u32 err_cnt) argument
9414 gaudi2_handle_hbm_mc_sei_err(struct hl_device *hdev, u16 event_type, struct hl_eq_hbm_sei_data *sei_data) argument
9479 gaudi2_handle_hbm_cattrip(struct hl_device *hdev, u16 event_type, u64 intr_cause_data) argument
9491 gaudi2_handle_hbm_mc_spi(struct hl_device *hdev, u64 intr_cause_data) argument
9505 gaudi2_print_clk_change_info(struct hl_device *hdev, u16 event_type, u64 *event_mask) argument
9550 gaudi2_print_out_of_sync_info(struct hl_device *hdev, u16 event_type, struct cpucp_pkt_sync_err *sync_err) argument
9561 gaudi2_handle_pcie_p2p_msix(struct hl_device *hdev, u16 event_type) argument
9589 gaudi2_handle_pcie_drain(struct hl_device *hdev, struct hl_eq_pcie_drain_ind_data *drain_data) argument
9609 gaudi2_handle_psoc_drain(struct hl_device *hdev, u64 intr_cause_data) argument
9627 gaudi2_print_cpu_pkt_failure_info(struct hl_device *hdev, u16 event_type, struct cpucp_pkt_sync_err *sync_err) argument
9637 hl_arc_event_handle(struct hl_device *hdev, u16 event_type, struct hl_eq_engine_arc_intr_data *data) argument
9662 event_id_to_engine_id(struct hl_device *hdev, u16 event_type) argument
9827 hl_eq_heartbeat_event_handle(struct hl_device *hdev) argument
9832 gaudi2_handle_eqe(struct hl_device *hdev, struct hl_eq_entry *eq_entry) argument
10319 gaudi2_memset_memory_chunk_using_edma_qm(struct hl_device *hdev, struct packet_lin_dma *lin_dma_pkt, u64 phys_addr, u32 hw_queue_id, u32 size, u64 addr, u32 val) argument
10357 gaudi2_memset_device_memory(struct hl_device *hdev, u64 addr, u64 size, u64 val) argument
10497 gaudi2_scrub_device_dram(struct hl_device *hdev, u64 val) argument
10511 gaudi2_scrub_device_mem(struct hl_device *hdev) argument
10541 gaudi2_restore_user_sm_registers(struct hl_device *hdev) argument
10633 gaudi2_restore_user_qm_registers(struct hl_device *hdev) argument
10652 gaudi2_restore_nic_qm_registers(struct hl_device *hdev) argument
10671 gaudi2_context_switch(struct hl_device *hdev, u32 asid) argument
10676 gaudi2_restore_phase_topology(struct hl_device *hdev) argument
10680 gaudi2_init_block_instances(struct hl_device *hdev, u32 block_idx, struct dup_block_ctx *cfg_ctx) argument
10699 gaudi2_init_blocks_with_mask(struct hl_device *hdev, struct dup_block_ctx *cfg_ctx, u64 mask) argument
10710 gaudi2_init_blocks(struct hl_device *hdev, struct dup_block_ctx *cfg_ctx) argument
10715 gaudi2_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size, void *blob_addr) argument
10815 gaudi2_internal_cb_pool_init(struct hl_device *hdev, struct hl_ctx *ctx) argument
10886 gaudi2_internal_cb_pool_fini(struct hl_device *hdev, struct hl_ctx *ctx) argument
10905 gaudi2_restore_user_registers(struct hl_device *hdev) argument
10913 struct hl_device *hdev = ctx->hdev; local
10929 struct hl_device *hdev = ctx->hdev; local
10982 struct hl_device *hdev = cs->ctx->hdev; local
11007 gaudi2_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx) argument
11012 gaudi2_gen_signal_cb(struct hl_device *hdev, void *data, u16 sob_id, u32 size, bool eb) argument
11055 gaudi2_add_arm_monitor_pkt(struct hl_device *hdev, struct packet_msg_short *pkt, u16 sob_base, u8 sob_mask, u16 sob_val, u16 addr) argument
11105 gaudi2_gen_wait_cb(struct hl_device *hdev, struct hl_gen_wait_properties *prop) argument
11157 gaudi2_reset_sob(struct hl_device *hdev, void *data) argument
11168 gaudi2_reset_sob_group(struct hl_device *hdev, u16 sob_group) argument
11172 gaudi2_get_device_time(struct hl_device *hdev) argument
11184 gaudi2_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) argument
11209 gaudi2_mmu_scramble_addr(struct hl_device *hdev, u64 raw_addr) argument
11229 gaudi2_mmu_descramble_addr(struct hl_device *hdev, u64 scrambled_addr) argument
11250 gaudi2_get_dec_base_addr(struct hl_device *hdev, u32 core_id) argument
11273 gaudi2_get_hw_block_id(struct hl_device *hdev, u64 block_addr, u32 *block_size, u32 *block_id) argument
11293 gaudi2_block_mmap(struct hl_device *hdev, struct vm_area_struct *vma, u32 block_id, u32 block_size) argument
11327 gaudi2_enable_events_from_fw(struct hl_device *hdev) argument
11339 gaudi2_get_mmu_base(struct hl_device *hdev, u64 mmu_id, u32 *mmu_base) argument
11400 gaudi2_ack_mmu_error(struct hl_device *hdev, u64 mmu_id) argument
11416 gaudi2_ack_mmu_page_fault_or_access_error(struct hl_device *hdev, u64 mmu_cap_mask) argument
11460 gaudi2_gen_sync_to_engine_map(struct hl_device *hdev, struct hl_sync_to_engine_map *map) argument
11472 gaudi2_print_single_monitor(char **buf, size_t *size, size_t *offset, struct hl_device *hdev, struct hl_mon_state_dump *mon) argument
11480 gaudi2_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) argument
11496 gaudi2_state_dump_init(struct hl_device *hdev) argument
11503 gaudi2_get_sob_addr(struct hl_device *hdev, u32 sob_id) argument
11513 gaudi2_add_device_attr(struct hl_device *hdev, struct attribute_group *dev_clk_attr_grp, struct attribute_group *dev_vrm_attr_grp) argument
11520 gaudi2_mmu_get_real_page_size(struct hl_device *hdev, struct hl_mmu_properties *mmu_prop, u32 page_size, u32 *real_page_size, bool is_dram_addr) argument
11555 gaudi2_get_monitor_dump(struct hl_device *hdev, void *data) argument
11560 gaudi2_send_device_activity(struct hl_device *hdev, bool open) argument
11570 gaudi2_read_pte(struct hl_device *hdev, u64 addr) argument
11583 gaudi2_write_pte(struct hl_device *hdev, u64 addr, u64 val) argument
11693 gaudi2_set_asic_funcs(struct hl_device *hdev) argument
[all...]
/linux-master/drivers/nfc/pn544/
H A Dpn544.h22 struct nfc_hci_dev **hdev);
23 void pn544_hci_remove(struct nfc_hci_dev *hdev);
/linux-master/drivers/hwmon/
H A Dnzxt-kraken2.c103 static int kraken2_raw_event(struct hid_device *hdev, argument
111 priv = hid_get_drvdata(hdev);
132 static int kraken2_probe(struct hid_device *hdev, argument
138 priv = devm_kzalloc(&hdev->dev, sizeof(*priv), GFP_KERNEL);
142 priv->hid_dev = hdev;
143 hid_set_drvdata(hdev, priv);
152 ret = hid_parse(hdev);
154 hid_err(hdev, "hid parse failed with %d\n", ret);
161 ret = hid_hw_start(hdev, HID_CONNECT_HIDRAW);
163 hid_err(hdev, "hi
191 kraken2_remove(struct hid_device *hdev) argument
[all...]

Completed in 280 milliseconds

1234567891011>>