Home
last modified time | relevance | path

Searched refs:hl_fpriv (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c135 static int events_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in events_info()
152 static int dram_usage_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in dram_usage_info()
328 static int pci_counters_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in pci_counters_info()
347 static int clk_throttle_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in clk_throttle_info()
386 static int cs_counters_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in cs_counters_info()
437 static int sync_manager_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in sync_manager_info()
462 static int total_energy_consumption_info(struct hl_fpriv *hpriv, in total_energy_consumption_info()
483 static int pll_frequency_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in pll_frequency_info()
502 static int power_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in power_info()
521 static int open_stats_info(struct hl_fpriv *hpri
[all...]
H A Dcontext.c139 struct hl_fpriv *hpriv = ctx->hpriv; in hl_ctx_do_release()
151 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv) in hl_ctx_create()
307 struct hl_fpriv *hpriv; in hl_get_compute_ctx()
H A Dhabanalabs.h37 struct hl_fpriv;
1868 struct hl_fpriv *hpriv;
2253 * struct hl_fpriv - process information stored in FD private data.
2268 struct hl_fpriv { struct
3521 typedef int hl_ioctl_t(struct hl_fpriv *hpriv, void *data);
3666 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv);
3685 void hl_hpriv_get(struct hl_fpriv *hpriv);
3686 int hl_hpriv_put(struct hl_fpriv *hpriv);
3705 int hl_hw_block_mmap(struct hl_fpriv *hpriv, struct vm_area_struct *vma);
3959 void hl_debugfs_add_file(struct hl_fpriv *hpri
[all...]
H A Ddevice.c400 struct hl_fpriv *hpriv; in hpriv_release()
403 hpriv = container_of(ref, struct hl_fpriv, refcount); in hpriv_release()
478 void hl_hpriv_get(struct hl_fpriv *hpriv) in hl_hpriv_get()
483 int hl_hpriv_put(struct hl_fpriv *hpriv) in hl_hpriv_put()
528 struct hl_fpriv *hpriv = filp->private_data; in hl_device_release()
560 struct hl_fpriv *hpriv = filp->private_data; in hl_device_release_ctrl()
597 struct hl_fpriv *hpriv = filp->private_data; in hl_mmap()
1309 struct hl_fpriv *hpriv; in device_kill_open_processes()
1397 struct hl_fpriv *hpriv; in device_disable_open_processes()
1983 struct hl_fpriv *hpri in hl_notifier_event_send_all()
[all...]
H A Dcommand_submission.c298 static int cs_parser(struct hl_fpriv *hpriv, struct hl_cs_job *job) in cs_parser()
1326 static int hl_cs_sanity_checks(struct hl_fpriv *hpriv, union hl_cs_args *args) in hl_cs_sanity_checks()
1469 static int cs_ioctl_default(struct hl_fpriv *hpriv, void __user *chunks, in cs_ioctl_default()
1667 static int hl_cs_ctx_switch(struct hl_fpriv *hpriv, union hl_cs_args *args, in hl_cs_ctx_switch()
1988 static int cs_ioctl_reserve_signals(struct hl_fpriv *hpriv, in cs_ioctl_reserve_signals()
2110 static int cs_ioctl_unreserve_signals(struct hl_fpriv *hpriv, u32 handle_id) in cs_ioctl_unreserve_signals()
2183 static int cs_ioctl_signal_wait(struct hl_fpriv *hpriv, enum hl_cs_type cs_type, in cs_ioctl_signal_wait()
2447 static int cs_ioctl_engine_cores(struct hl_fpriv *hpriv, u64 engine_cores, in cs_ioctl_engine_cores()
2485 static int cs_ioctl_engines(struct hl_fpriv *hpriv, u64 engines_arr_user_addr, in cs_ioctl_engines()
2527 static int cs_ioctl_flush_pci_hbw_writes(struct hl_fpriv *hpri
[all...]
H A Dhabanalabs_drv.c140 struct hl_fpriv *hpriv; in hl_device_open()
252 struct hl_fpriv *hpriv; in hl_device_open_ctrl()
H A Dcommand_buffer.c364 int hl_cb_ioctl(struct hl_fpriv *hpriv, void *data) in hl_cb_ioctl()
H A Dmemory.c26 static int allocate_timestamps_buffers(struct hl_fpriv *hpriv,
1460 int hl_hw_block_mmap(struct hl_fpriv *hpriv, struct vm_area_struct *vma) in hl_hw_block_mmap()
2154 static int allocate_timestamps_buffers(struct hl_fpriv *hpriv, struct hl_mem_in *args, u64 *handle) in allocate_timestamps_buffers()
2174 int hl_mem_ioctl(struct hl_fpriv *hpriv, void *data) in hl_mem_ioctl()
H A Ddebugfs.c1805 void hl_debugfs_add_file(struct hl_fpriv *hpriv) in hl_debugfs_add_file()
1814 void hl_debugfs_remove_file(struct hl_fpriv *hpriv) in hl_debugfs_remove_file()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Dhabanalabs_ioctl.c101 static int dram_usage_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in dram_usage_info()
282 static int pci_counters_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in pci_counters_info()
301 static int clk_throttle_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in clk_throttle_info()
317 static int cs_counters_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in cs_counters_info()
338 static int sync_manager_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in sync_manager_info()
362 static int total_energy_consumption_info(struct hl_fpriv *hpriv, in total_energy_consumption_info()
383 static int _hl_info_ioctl(struct hl_fpriv *hpriv, void *data, in _hl_info_ioctl()
467 static int hl_info_ioctl(struct hl_fpriv *hpriv, void *data) in hl_info_ioctl()
472 static int hl_info_ioctl_control(struct hl_fpriv *hpriv, void *data) in hl_info_ioctl_control()
477 static int hl_debug_ioctl(struct hl_fpriv *hpri
[all...]
H A Dhabanalabs.h105 struct hl_fpriv;
882 struct hl_fpriv *hpriv;
1178 * struct hl_fpriv - process information stored in FD private data.
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 *hpri
[all...]
H A 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()
127 struct hl_fpriv *hpriv = filp->private_data; in hl_mmap()
766 struct hl_fpriv *hpriv; in device_kill_open_processes()
H A 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()
H A Dhabanalabs_drv.c91 struct hl_fpriv *hpriv; in hl_device_open()
183 struct hl_fpriv *hpriv; in hl_device_open_ctrl()
H A Dcontext.c73 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv) in hl_ctx_create()
H A 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()
H A 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()
H A Ddebugfs.c1339 void hl_debugfs_add_file(struct hl_fpriv *hpriv) in hl_debugfs_add_file()
1348 void hl_debugfs_remove_file(struct hl_fpriv *hpriv) in hl_debugfs_remove_file()

Completed in 36 milliseconds