• Home
  • Raw
  • Download

Lines Matching defs:hdev

19 bool hl_device_disabled_or_in_reset(struct hl_device *hdev)  in hl_device_disabled_or_in_reset()
27 enum hl_device_status hl_device_status(struct hl_device *hdev) in hl_device_status()
44 struct hl_device *hdev; in hpriv_release() local
99 struct hl_device *hdev; in hl_device_release_ctrl() local
176 static int device_init_cdev(struct hl_device *hdev, struct class *hclass, in device_init_cdev()
198 static int device_cdev_sysfs_add(struct hl_device *hdev) in device_cdev_sysfs_add()
234 static void device_cdev_sysfs_del(struct hl_device *hdev) in device_cdev_sysfs_del()
256 static int device_early_init(struct hl_device *hdev) in device_early_init()
369 static void device_early_fini(struct hl_device *hdev) in device_early_fini()
398 struct hl_device *hdev = container_of(work, struct hl_device, in set_freq_to_low_job() local
414 struct hl_device *hdev = container_of(work, struct hl_device, in hl_device_heartbeat() local
441 static int device_late_init(struct hl_device *hdev) in device_late_init()
485 static void device_late_fini(struct hl_device *hdev) in device_late_fini()
500 uint32_t hl_device_utilization(struct hl_device *hdev, uint32_t period_ms) in hl_device_utilization()
609 int hl_device_set_frequency(struct hl_device *hdev, enum hl_pll_frequency freq) in hl_device_set_frequency()
625 int hl_device_set_debug_mode(struct hl_device *hdev, bool enable) in hl_device_set_debug_mode()
675 int hl_device_suspend(struct hl_device *hdev) in hl_device_suspend()
723 int hl_device_resume(struct hl_device *hdev) in hl_device_resume()
763 static int device_kill_open_processes(struct hl_device *hdev) in device_kill_open_processes()
823 struct hl_device *hdev = device_reset_work->hdev; in device_hard_reset_pending() local
848 int hl_device_reset(struct hl_device *hdev, bool hard_reset, in hl_device_reset()
1135 int hl_device_init(struct hl_device *hdev, struct class *hclass) in hl_device_init()
1403 void hl_device_fini(struct hl_device *hdev) in hl_device_fini()
1523 inline u32 hl_rreg(struct hl_device *hdev, u32 reg) in hl_rreg()
1538 inline void hl_wreg(struct hl_device *hdev, u32 reg, u32 val) in hl_wreg()