Lines Matching refs:hl_device

21 static int hl_debugfs_i2c_read(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr,  in hl_debugfs_i2c_read()
47 static int hl_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, in hl_debugfs_i2c_write()
74 static void hl_debugfs_led_set(struct hl_device *hdev, u8 led, u8 state) in hl_debugfs_led_set()
377 struct hl_device *hdev = dev_entry->hdev; in mmu_show()
539 struct hl_device *hdev = dev_entry->hdev; in mmu_asid_va_write()
580 struct hl_device *hdev = dev_entry->hdev; in engines_show()
593 static bool hl_is_device_va(struct hl_device *hdev, u64 addr) in hl_is_device_va()
615 static int device_va_to_pa(struct hl_device *hdev, u64 virt_addr, in device_va_to_pa()
698 struct hl_device *hdev = entry->hdev; in hl_data_read32()
733 struct hl_device *hdev = entry->hdev; in hl_data_write32()
767 struct hl_device *hdev = entry->hdev; in hl_data_read64()
797 struct hl_device *hdev = entry->hdev; in hl_data_write64()
826 struct hl_device *hdev = entry->hdev; in hl_get_power_state()
850 struct hl_device *hdev = entry->hdev; in hl_set_power_state()
880 struct hl_device *hdev = entry->hdev; in hl_i2c_data_read()
908 struct hl_device *hdev = entry->hdev; in hl_i2c_data_write()
932 struct hl_device *hdev = entry->hdev; in hl_led0_write()
951 struct hl_device *hdev = entry->hdev; in hl_led1_write()
970 struct hl_device *hdev = entry->hdev; in hl_led2_write()
997 struct hl_device *hdev = entry->hdev; in hl_device_write()
1029 struct hl_device *hdev = entry->hdev; in hl_clk_gate_read()
1047 struct hl_device *hdev = entry->hdev; in hl_clk_gate_write()
1071 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_read()
1089 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_write()
1205 void hl_debugfs_add_device(struct hl_device *hdev) in hl_debugfs_add_device()
1329 void hl_debugfs_remove_device(struct hl_device *hdev) in hl_debugfs_remove_device()
1393 void hl_debugfs_add_job(struct hl_device *hdev, struct hl_cs_job *job) in hl_debugfs_add_job()
1402 void hl_debugfs_remove_job(struct hl_device *hdev, struct hl_cs_job *job) in hl_debugfs_remove_job()
1411 void hl_debugfs_add_userptr(struct hl_device *hdev, struct hl_userptr *userptr) in hl_debugfs_add_userptr()
1420 void hl_debugfs_remove_userptr(struct hl_device *hdev, in hl_debugfs_remove_userptr()
1430 void hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash()
1439 void hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_remove_ctx_mem_hash()