Home
last modified time | relevance | path

Searched refs:hl_fpriv (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c101 static int dram_usage_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in dram_usage_info()
280 static int pci_counters_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in pci_counters_info()
299 static int clk_throttle_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in clk_throttle_info()
315 static int cs_counters_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in cs_counters_info()
336 static int sync_manager_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in sync_manager_info()
360 static int total_energy_consumption_info(struct hl_fpriv *hpriv, in total_energy_consumption_info()
381 static int _hl_info_ioctl(struct hl_fpriv *hpriv, void *data, in _hl_info_ioctl()
465 static int hl_info_ioctl(struct hl_fpriv *hpriv, void *data) in hl_info_ioctl()
470 static int hl_info_ioctl_control(struct hl_fpriv *hpriv, void *data) in hl_info_ioctl_control()
475 static int hl_debug_ioctl(struct hl_fpriv *hpriv, void *data) in hl_debug_ioctl()
[all …]
Dhabanalabs.h105 struct hl_fpriv;
882 struct hl_fpriv *hpriv;
1191 struct hl_fpriv { struct
1725 typedef int hl_ioctl_t(struct hl_fpriv *hpriv, void *data);
1830 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv);
1846 void hl_hpriv_get(struct hl_fpriv *hpriv);
1847 void hl_hpriv_put(struct hl_fpriv *hpriv);
1864 int hl_cb_mmap(struct hl_fpriv *hpriv, struct vm_area_struct *vma);
1982 void hl_debugfs_add_file(struct hl_fpriv *hpriv);
1983 void hl_debugfs_remove_file(struct hl_fpriv *hpriv);
[all …]
Ddevice.c43 struct hl_fpriv *hpriv; in hpriv_release()
46 hpriv = container_of(ref, struct hl_fpriv, refcount); in hpriv_release()
64 void hl_hpriv_get(struct hl_fpriv *hpriv) in hl_hpriv_get()
69 void hl_hpriv_put(struct hl_fpriv *hpriv) in hl_hpriv_put()
84 struct hl_fpriv *hpriv = filp->private_data; in hl_device_release()
98 struct hl_fpriv *hpriv = filp->private_data; in hl_device_release_ctrl()
125 struct hl_fpriv *hpriv = filp->private_data; in hl_mmap()
764 struct hl_fpriv *hpriv; in device_kill_open_processes()
Dcommand_submission.c146 static int cs_parser(struct hl_fpriv *hpriv, struct hl_cs_job *job) in cs_parser()
608 static int cs_ioctl_default(struct hl_fpriv *hpriv, void __user *chunks, in cs_ioctl_default()
767 static int cs_ioctl_signal_wait(struct hl_fpriv *hpriv, enum hl_cs_type cs_type, in cs_ioctl_signal_wait()
996 int hl_cs_ioctl(struct hl_fpriv *hpriv, void *data) in hl_cs_ioctl()
1207 int hl_cs_wait_ioctl(struct hl_fpriv *hpriv, void *data) in hl_cs_wait_ioctl()
Dhabanalabs_drv.c91 struct hl_fpriv *hpriv; in hl_device_open()
183 struct hl_fpriv *hpriv; in hl_device_open_ctrl()
Dcontext.c73 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv) in hl_ctx_create()
Dcommand_buffer.c379 int hl_cb_ioctl(struct hl_fpriv *hpriv, void *data) in hl_cb_ioctl()
448 int hl_cb_mmap(struct hl_fpriv *hpriv, struct vm_area_struct *vma) in hl_cb_mmap()
Dmemory.c1160 static int mem_ioctl_no_mmu(struct hl_fpriv *hpriv, union hl_mem_args *args) in mem_ioctl_no_mmu()
1218 int hl_mem_ioctl(struct hl_fpriv *hpriv, void *data) in hl_mem_ioctl()
Ddebugfs.c1337 void hl_debugfs_add_file(struct hl_fpriv *hpriv) in hl_debugfs_add_file()
1346 void hl_debugfs_remove_file(struct hl_fpriv *hpriv) in hl_debugfs_remove_file()