Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/
Dhabanalabs_ioctl.c140 static int events_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in events_info()
157 static int dram_usage_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in dram_usage_info()
334 static int pci_counters_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in pci_counters_info()
353 static int clk_throttle_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in clk_throttle_info()
392 static int cs_counters_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in cs_counters_info()
443 static int sync_manager_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in sync_manager_info()
468 static int total_energy_consumption_info(struct hl_fpriv *hpriv, in total_energy_consumption_info()
489 static int pll_frequency_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in pll_frequency_info()
508 static int power_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in power_info()
527 static int open_stats_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in open_stats_info()
[all …]
Dcontext.c140 struct hl_fpriv *hpriv = ctx->hpriv; in hl_ctx_do_release()
152 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv) in hl_ctx_create()
312 struct hl_fpriv *hpriv; in hl_get_compute_ctx()
Dcommand_submission.c316 static int cs_parser(struct hl_fpriv *hpriv, struct hl_cs_job *job) in cs_parser()
1347 static int hl_cs_sanity_checks(struct hl_fpriv *hpriv, union hl_cs_args *args) in hl_cs_sanity_checks()
1489 static int cs_ioctl_default(struct hl_fpriv *hpriv, void __user *chunks, in cs_ioctl_default()
1687 static int hl_cs_ctx_switch(struct hl_fpriv *hpriv, union hl_cs_args *args, in hl_cs_ctx_switch()
2003 static int cs_ioctl_reserve_signals(struct hl_fpriv *hpriv, in cs_ioctl_reserve_signals()
2125 static int cs_ioctl_unreserve_signals(struct hl_fpriv *hpriv, u32 handle_id) in cs_ioctl_unreserve_signals()
2198 static int cs_ioctl_signal_wait(struct hl_fpriv *hpriv, enum hl_cs_type cs_type, in cs_ioctl_signal_wait()
2462 static int cs_ioctl_engine_cores(struct hl_fpriv *hpriv, u64 engine_cores, in cs_ioctl_engine_cores()
2500 static int cs_ioctl_engines(struct hl_fpriv *hpriv, u64 engines_arr_user_addr, in cs_ioctl_engines()
2542 static int cs_ioctl_flush_pci_hbw_writes(struct hl_fpriv *hpriv) in cs_ioctl_flush_pci_hbw_writes()
[all …]
Ddevice.c464 struct hl_fpriv *hpriv; in hpriv_release()
467 hpriv = container_of(ref, struct hl_fpriv, refcount); in hpriv_release()
544 void hl_hpriv_get(struct hl_fpriv *hpriv) in hl_hpriv_get()
549 int hl_hpriv_put(struct hl_fpriv *hpriv) in hl_hpriv_put()
600 struct hl_fpriv *hpriv = file_priv->driver_priv; in hl_device_release()
629 struct hl_fpriv *hpriv = filp->private_data; in hl_device_release_ctrl()
650 static int __hl_mmap(struct hl_fpriv *hpriv, struct vm_area_struct *vma) in __hl_mmap()
686 struct hl_fpriv *hpriv = file_priv->driver_priv; in hl_mmap()
1427 struct hl_fpriv *hpriv; in device_kill_open_processes()
1511 struct hl_fpriv *hpriv; in device_disable_open_processes()
[all …]
Dhabanalabs.h40 struct hl_fpriv;
1933 struct hl_fpriv *hpriv;
2332 struct hl_fpriv { struct
3632 typedef int hl_ioctl_t(struct hl_fpriv *hpriv, void *data);
3783 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv);
3802 void hl_hpriv_get(struct hl_fpriv *hpriv);
3803 int hl_hpriv_put(struct hl_fpriv *hpriv);
3822 int hl_hw_block_mmap(struct hl_fpriv *hpriv, struct vm_area_struct *vma);
4098 void hl_debugfs_add_file(struct hl_fpriv *hpriv);
4099 void hl_debugfs_remove_file(struct hl_fpriv *hpriv);
[all …]
Dhabanalabs_drv.c182 struct hl_fpriv *hpriv; in hl_device_open()
282 struct hl_fpriv *hpriv; in hl_device_open_ctrl()
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()
2178 static int allocate_timestamps_buffers(struct hl_fpriv *hpriv, struct hl_mem_in *args, u64 *handle) in allocate_timestamps_buffers()
2200 struct hl_fpriv *hpriv = file_priv->driver_priv; in hl_mem_ioctl()
Dcommand_buffer.c366 struct hl_fpriv *hpriv = file_priv->driver_priv; in hl_cb_ioctl()
Ddebugfs.c1797 void hl_debugfs_add_file(struct hl_fpriv *hpriv) in hl_debugfs_add_file()
1806 void hl_debugfs_remove_file(struct hl_fpriv *hpriv) in hl_debugfs_remove_file()