Searched refs:hl_fpriv (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | habanalabs_ioctl.c | 135 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 *hpriv, struct hl_info_args *args) in open_stats_info() [all …]
|
D | context.c | 139 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()
|
D | habanalabs.h | 37 struct hl_fpriv; 1868 struct hl_fpriv *hpriv; 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 *hpriv); 3960 void hl_debugfs_remove_file(struct hl_fpriv *hpriv); [all …]
|
D | command_submission.c | 298 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 *hpriv) in cs_ioctl_flush_pci_hbw_writes() [all …]
|
D | device.c | 400 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 *hpriv; in hl_notifier_event_send_all()
|
D | habanalabs_drv.c | 140 struct hl_fpriv *hpriv; in hl_device_open() 252 struct hl_fpriv *hpriv; in hl_device_open_ctrl()
|
D | memory.c | 26 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()
|
D | command_buffer.c | 364 int hl_cb_ioctl(struct hl_fpriv *hpriv, void *data) in hl_cb_ioctl()
|
D | debugfs.c | 1805 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()
|