Lines Matching defs:hdev
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() local
481 struct hl_device *hdev = dev_entry->hdev; in mmu_asid_va_write() local
519 struct hl_device *hdev = dev_entry->hdev; in mmu_ack_error() local
543 struct hl_device *hdev = dev_entry->hdev; in mmu_ack_error_value_write() local
573 struct hl_device *hdev = dev_entry->hdev; in engines_show() local
609 struct hl_device *hdev = entry->hdev; in hl_memory_scrub() local
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() local
870 struct hl_device *hdev = entry->hdev; in hl_data_write32() local
896 struct hl_device *hdev = entry->hdev; in hl_data_read64() local
923 struct hl_device *hdev = entry->hdev; in hl_data_write64() local
948 struct hl_device *hdev = entry->hdev; in hl_dma_size_write() local
1005 struct hl_device *hdev = entry->hdev; in hl_monitor_dump_trigger() local
1049 struct hl_device *hdev = entry->hdev; in hl_get_power_state() local
1073 struct hl_device *hdev = entry->hdev; in hl_set_power_state() local
1103 struct hl_device *hdev = entry->hdev; in hl_i2c_data_read() local
1131 struct hl_device *hdev = entry->hdev; in hl_i2c_data_write() local
1155 struct hl_device *hdev = entry->hdev; in hl_led0_write() local
1174 struct hl_device *hdev = entry->hdev; in hl_led1_write() local
1193 struct hl_device *hdev = entry->hdev; in hl_led2_write() local
1220 struct hl_device *hdev = entry->hdev; in hl_device_write() local
1264 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_read() local
1285 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_write() local
1313 struct hl_device *hdev = entry->hdev; in hl_security_violations_read() local
1343 struct hl_device *hdev = entry->hdev; in hl_state_dump_write() local
1378 struct hl_device *hdev = entry->hdev; in hl_timeout_locked_read() local
1397 struct hl_device *hdev = entry->hdev; in hl_timeout_locked_write() local
1417 struct hl_device *hdev = entry->hdev; in hl_check_razwi_happened() local
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()