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()
50 static int hl_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, in hl_debugfs_i2c_write()
77 static void hl_debugfs_led_set(struct hl_device *hdev, u8 led, u8 state) in hl_debugfs_led_set()
398 struct hl_device *hdev = dev_entry->hdev; in mmu_show()
455 struct hl_device *hdev = dev_entry->hdev; in mmu_asid_va_write()
496 struct hl_device *hdev = dev_entry->hdev; in engines_show()
509 static bool hl_is_device_va(struct hl_device *hdev, u64 addr) in hl_is_device_va()
531 static bool hl_is_device_internal_memory_va(struct hl_device *hdev, u64 addr, in hl_is_device_internal_memory_va()
559 static int device_va_to_pa(struct hl_device *hdev, u64 virt_addr, u32 size, in device_va_to_pa()
620 struct hl_device *hdev = entry->hdev; in hl_data_read32()
657 struct hl_device *hdev = entry->hdev; in hl_data_write32()
693 struct hl_device *hdev = entry->hdev; in hl_data_read64()
730 struct hl_device *hdev = entry->hdev; in hl_data_write64()
766 struct hl_device *hdev = entry->hdev; in hl_dma_size_write()
823 struct hl_device *hdev = entry->hdev; in hl_get_power_state()
847 struct hl_device *hdev = entry->hdev; in hl_set_power_state()
875 struct hl_device *hdev = entry->hdev; in hl_i2c_data_read()
903 struct hl_device *hdev = entry->hdev; in hl_i2c_data_write()
927 struct hl_device *hdev = entry->hdev; in hl_led0_write()
946 struct hl_device *hdev = entry->hdev; in hl_led1_write()
965 struct hl_device *hdev = entry->hdev; in hl_led2_write()
992 struct hl_device *hdev = entry->hdev; in hl_device_write()
1024 struct hl_device *hdev = entry->hdev; in hl_clk_gate_read()
1042 struct hl_device *hdev = entry->hdev; in hl_clk_gate_write()
1066 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_read()
1084 struct hl_device *hdev = entry->hdev; in hl_stop_on_err_write()
1109 struct hl_device *hdev = entry->hdev; in hl_security_violations_read()
1139 struct hl_device *hdev = entry->hdev; in hl_state_dump_write()
1174 struct hl_device *hdev = entry->hdev; in hl_timeout_locked_read()
1193 struct hl_device *hdev = entry->hdev; in hl_timeout_locked_write()
1327 void hl_debugfs_add_device(struct hl_device *hdev) in hl_debugfs_add_device()
1486 void hl_debugfs_remove_device(struct hl_device *hdev) in hl_debugfs_remove_device()
1557 void hl_debugfs_add_job(struct hl_device *hdev, struct hl_cs_job *job) in hl_debugfs_add_job()
1566 void hl_debugfs_remove_job(struct hl_device *hdev, struct hl_cs_job *job) in hl_debugfs_remove_job()
1575 void hl_debugfs_add_userptr(struct hl_device *hdev, struct hl_userptr *userptr) in hl_debugfs_add_userptr()
1584 void hl_debugfs_remove_userptr(struct hl_device *hdev, in hl_debugfs_remove_userptr()
1594 void hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash()
1603 void hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_remove_ctx_mem_hash()
1619 void hl_debugfs_set_state_dump(struct hl_device *hdev, char *data, in hl_debugfs_set_state_dump()