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()
52 static int hl_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, in hl_debugfs_i2c_write()
84 static void hl_debugfs_led_set(struct hl_device *hdev, u8 led, u8 state) in hl_debugfs_led_set()
423 struct hl_device *hdev = dev_entry->hdev; in mmu_show()
481 struct hl_device *hdev = dev_entry->hdev; in mmu_asid_va_write()
519 struct hl_device *hdev = dev_entry->hdev; in mmu_ack_error()
543 struct hl_device *hdev = dev_entry->hdev; in mmu_ack_error_value_write()
573 struct hl_device *hdev = dev_entry->hdev; in engines_show()
609 struct hl_device *hdev = entry->hdev; in hl_memory_scrub()
638 static bool hl_is_device_va(struct hl_device *hdev, u64 addr) in hl_is_device_va()
657 static bool hl_is_device_internal_memory_va(struct hl_device *hdev, u64 addr, in hl_is_device_internal_memory_va()
682 static int device_va_to_pa(struct hl_device *hdev, u64 virt_addr, u32 size, in device_va_to_pa()
745 static int hl_access_dev_mem_by_region(struct hl_device *hdev, u64 addr, in hl_access_dev_mem_by_region()
766 static void hl_access_host_mem(struct hl_device *hdev, u64 addr, u64 *val, in hl_access_host_mem()
791 static int hl_access_mem(struct hl_device *hdev, u64 addr, u64 *val, in hl_access_mem()
841 struct hl_device *hdev = entry->hdev; in hl_data_read32()
870 struct hl_device *hdev = entry->hdev; in hl_data_write32()
896 struct hl_device *hdev = entry->hdev; in hl_data_read64()
923 struct hl_device *hdev = entry->hdev; in hl_data_write64()
948 struct hl_device *hdev = entry->hdev; in hl_dma_size_write()
1005 struct hl_device *hdev = entry->hdev; in hl_monitor_dump_trigger()
1049 struct hl_device *hdev = entry->hdev; in hl_get_power_state()
1073 struct hl_device *hdev = entry->hdev; in hl_set_power_state()
1103 struct hl_device *hdev = entry->hdev; in hl_i2c_data_read()
1131 struct hl_device *hdev = entry->hdev; in hl_i2c_data_write()
1155 struct hl_device *hdev = entry->hdev; in hl_led0_write()
1174 struct hl_device *hdev = entry->hdev; in hl_led1_write()
1193 struct hl_device *hdev = entry->hdev; in hl_led2_write()
1220 struct hl_device *hdev = entry->hdev; in hl_device_write()
1264 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_read()
1285 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_write()
1313 struct hl_device *hdev = entry->hdev; in hl_security_violations_read()
1343 struct hl_device *hdev = entry->hdev; in hl_state_dump_write()
1378 struct hl_device *hdev = entry->hdev; in hl_timeout_locked_read()
1397 struct hl_device *hdev = entry->hdev; in hl_timeout_locked_write()
1417 struct hl_device *hdev = entry->hdev; in hl_check_razwi_happened()
1605 static void add_files_to_device(struct hl_device *hdev, struct hl_dbg_device_entry *dev_entry, in add_files_to_device()
1736 int hl_debugfs_device_init(struct hl_device *hdev) in hl_debugfs_device_init()
1768 void hl_debugfs_device_fini(struct hl_device *hdev) in hl_debugfs_device_fini()
1785 void hl_debugfs_add_device(struct hl_device *hdev) in hl_debugfs_add_device()
1851 void hl_debugfs_add_job(struct hl_device *hdev, struct hl_cs_job *job) in hl_debugfs_add_job()
1860 void hl_debugfs_remove_job(struct hl_device *hdev, struct hl_cs_job *job) in hl_debugfs_remove_job()
1869 void hl_debugfs_add_userptr(struct hl_device *hdev, struct hl_userptr *userptr) in hl_debugfs_add_userptr()
1878 void hl_debugfs_remove_userptr(struct hl_device *hdev, in hl_debugfs_remove_userptr()
1888 void hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash()
1897 void hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_remove_ctx_mem_hash()
1913 void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data, in hl_debugfs_set_state_dump()