Lines Matching defs:hdev

23 static int hl_debugfs_i2c_read(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr,  in hl_debugfs_i2c_read()
55 static int hl_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, in hl_debugfs_i2c_write()
89 static void hl_debugfs_led_set(struct hl_device *hdev, u8 led, u8 state) in hl_debugfs_led_set()
433 struct hl_device *hdev = dev_entry->hdev; in mmu_show() local
494 struct hl_device *hdev = dev_entry->hdev; in mmu_asid_va_write() local
535 struct hl_device *hdev = dev_entry->hdev; in mmu_ack_error() local
562 struct hl_device *hdev = dev_entry->hdev; in mmu_ack_error_value_write() local
595 struct hl_device *hdev = dev_entry->hdev; in engines_show() local
631 struct hl_device *hdev = entry->hdev; in hl_memory_scrub() local
660 static bool hl_is_device_va(struct hl_device *hdev, u64 addr) in hl_is_device_va()
682 static bool hl_is_device_internal_memory_va(struct hl_device *hdev, u64 addr, in hl_is_device_internal_memory_va()
710 static int device_va_to_pa(struct hl_device *hdev, u64 virt_addr, u32 size, in device_va_to_pa()
773 static int hl_access_dev_mem_by_region(struct hl_device *hdev, u64 addr, in hl_access_dev_mem_by_region()
794 static void hl_access_host_mem(struct hl_device *hdev, u64 addr, u64 *val, in hl_access_host_mem()
819 static int hl_access_mem(struct hl_device *hdev, u64 addr, u64 *val, in hl_access_mem()
869 struct hl_device *hdev = entry->hdev; in hl_data_read32() local
898 struct hl_device *hdev = entry->hdev; in hl_data_write32() local
924 struct hl_device *hdev = entry->hdev; in hl_data_read64() local
951 struct hl_device *hdev = entry->hdev; in hl_data_write64() local
976 struct hl_device *hdev = entry->hdev; in hl_dma_size_write() local
1033 struct hl_device *hdev = entry->hdev; in hl_monitor_dump_trigger() local
1077 struct hl_device *hdev = entry->hdev; in hl_get_power_state() local
1101 struct hl_device *hdev = entry->hdev; in hl_set_power_state() local
1131 struct hl_device *hdev = entry->hdev; in hl_i2c_data_read() local
1159 struct hl_device *hdev = entry->hdev; in hl_i2c_data_write() local
1183 struct hl_device *hdev = entry->hdev; in hl_led0_write() local
1202 struct hl_device *hdev = entry->hdev; in hl_led1_write() local
1221 struct hl_device *hdev = entry->hdev; in hl_led2_write() local
1248 struct hl_device *hdev = entry->hdev; in hl_device_write() local
1292 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_read() local
1313 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_write() local
1341 struct hl_device *hdev = entry->hdev; in hl_security_violations_read() local
1371 struct hl_device *hdev = entry->hdev; in hl_state_dump_write() local
1406 struct hl_device *hdev = entry->hdev; in hl_timeout_locked_read() local
1425 struct hl_device *hdev = entry->hdev; in hl_timeout_locked_write() local
1445 struct hl_device *hdev = entry->hdev; in hl_check_razwi_happened() local
1633 void hl_debugfs_add_device(struct hl_device *hdev) in hl_debugfs_add_device()
1786 void hl_debugfs_remove_device(struct hl_device *hdev) in hl_debugfs_remove_device()
1858 void hl_debugfs_add_job(struct hl_device *hdev, struct hl_cs_job *job) in hl_debugfs_add_job()
1867 void hl_debugfs_remove_job(struct hl_device *hdev, struct hl_cs_job *job) in hl_debugfs_remove_job()
1876 void hl_debugfs_add_userptr(struct hl_device *hdev, struct hl_userptr *userptr) in hl_debugfs_add_userptr()
1885 void hl_debugfs_remove_userptr(struct hl_device *hdev, in hl_debugfs_remove_userptr()
1895 void hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash()
1904 void hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_remove_ctx_mem_hash()
1920 void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data, in hl_debugfs_set_state_dump()