Searched refs:hl_fpriv (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs_ioctl.c | 135 static int events_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in events_info() 462 static int total_energy_consumption_info(struct hl_fpriv *hpriv, in total_energy_consumption_info() 502 static int power_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in power_info() 609 static int razwi_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in razwi_info() 926 static int _hl_info_ioctl(struct hl_fpriv *hpriv, void *data, in _hl_info_ioctl() 1073 static int hl_info_ioctl(struct hl_fpriv *hpriv, void *data) in hl_info_ioctl() 1078 static int hl_info_ioctl_control(struct hl_fpriv *hpriv, void *data) in hl_info_ioctl_control() 1083 static int hl_debug_ioctl(struct hl_fpriv *hpriv, void *data) in hl_debug_ioctl() 1147 struct hl_fpriv *hpriv = filep->private_data; in _hl_ioctl() 1209 struct hl_fpriv *hpriv = filep->private_data; in hl_ioctl() [all …]
|
H A 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()
|
H A D | habanalabs.h | 37 struct hl_fpriv; 1868 struct hl_fpriv *hpriv; 2268 struct hl_fpriv { struct 3685 void hl_hpriv_get(struct hl_fpriv *hpriv); 3686 int hl_hpriv_put(struct hl_fpriv *hpriv); 3959 void hl_debugfs_add_file(struct hl_fpriv *hpriv); 3960 void hl_debugfs_remove_file(struct hl_fpriv *hpriv); 4115 int hl_cb_ioctl(struct hl_fpriv *hpriv, void *data); 4116 int hl_cs_ioctl(struct hl_fpriv *hpriv, void *data); 4117 int hl_wait_ioctl(struct hl_fpriv *hpriv, void *data); [all …]
|
H A D | command_submission.c | 298 static int cs_parser(struct hl_fpriv *hpriv, struct hl_cs_job *job) in cs_parser() 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() 2447 static int cs_ioctl_engine_cores(struct hl_fpriv *hpriv, u64 engine_cores, in cs_ioctl_engine_cores() 2527 static int cs_ioctl_flush_pci_hbw_writes(struct hl_fpriv *hpriv) in cs_ioctl_flush_pci_hbw_writes() 2542 int hl_cs_ioctl(struct hl_fpriv *hpriv, void *data) in hl_cs_ioctl() 2991 static int hl_multi_cs_wait_ioctl(struct hl_fpriv *hpriv, void *data) in hl_multi_cs_wait_ioctl() 3144 static int hl_cs_wait_ioctl(struct hl_fpriv *hpriv, void *data) in hl_cs_wait_ioctl() 3566 static int hl_interrupt_wait_ioctl(struct hl_fpriv *hpriv, void *data) in hl_interrupt_wait_ioctl() [all …]
|
H A 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()
|
H A D | habanalabs_drv.c | 140 struct hl_fpriv *hpriv; in hl_device_open() 252 struct hl_fpriv *hpriv; in hl_device_open_ctrl()
|
H A 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() 2161 static int allocate_timestamps_buffers(struct hl_fpriv *hpriv, struct hl_mem_in *args, u64 *handle) in allocate_timestamps_buffers() 2181 int hl_mem_ioctl(struct hl_fpriv *hpriv, void *data) in hl_mem_ioctl()
|
H A D | command_buffer.c | 364 int hl_cb_ioctl(struct hl_fpriv *hpriv, void *data) in hl_cb_ioctl()
|
H A 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()
|