Lines Matching refs:hl_device

111 static int hl_get_sw_major_minor_subminor(struct hl_device *hdev, const char *fw_str)  in hl_get_sw_major_minor_subminor()
171 static int hl_get_preboot_major_minor(struct hl_device *hdev, char *preboot_ver) in hl_get_preboot_major_minor()
194 static int hl_request_fw(struct hl_device *hdev, in hl_request_fw()
258 static int hl_fw_copy_fw_to_device(struct hl_device *hdev, in hl_fw_copy_fw_to_device()
292 static int hl_fw_copy_msg_to_device(struct hl_device *hdev, in hl_fw_copy_msg_to_device()
329 int hl_fw_load_fw_to_device(struct hl_device *hdev, const char *fw_name, in hl_fw_load_fw_to_device()
345 int hl_fw_send_pci_access_msg(struct hl_device *hdev, u32 opcode, u64 value) in hl_fw_send_pci_access_msg()
355 int hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg, in hl_fw_send_cpu_message()
488 int hl_fw_unmask_irq(struct hl_device *hdev, u16 event_type) in hl_fw_unmask_irq()
509 int hl_fw_unmask_irq_arr(struct hl_device *hdev, const u32 *irq_arr, in hl_fw_unmask_irq_arr()
550 int hl_fw_test_cpu_queue(struct hl_device *hdev) in hl_fw_test_cpu_queue()
574 void *hl_fw_cpu_accessible_dma_pool_alloc(struct hl_device *hdev, size_t size, in hl_fw_cpu_accessible_dma_pool_alloc()
587 void hl_fw_cpu_accessible_dma_pool_free(struct hl_device *hdev, size_t size, in hl_fw_cpu_accessible_dma_pool_free()
594 int hl_fw_send_soft_reset(struct hl_device *hdev) in hl_fw_send_soft_reset()
608 int hl_fw_send_device_activity(struct hl_device *hdev, bool open) in hl_fw_send_device_activity()
623 int hl_fw_send_heartbeat(struct hl_device *hdev) in hl_fw_send_heartbeat()
649 static bool fw_report_boot_dev0(struct hl_device *hdev, u32 err_val, in fw_report_boot_dev0()
789 static bool fw_report_boot_dev1(struct hl_device *hdev, u32 err_val, in fw_report_boot_dev1()
820 static int fw_read_errors(struct hl_device *hdev, u32 boot_err0_reg, in fw_read_errors()
850 int hl_fw_cpucp_info_get(struct hl_device *hdev, in hl_fw_cpucp_info_get()
930 static int hl_fw_send_msi_info_msg(struct hl_device *hdev) in hl_fw_send_msi_info_msg()
984 int hl_fw_cpucp_handshake(struct hl_device *hdev, in hl_fw_cpucp_handshake()
1000 int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size) in hl_fw_get_eeprom_data()
1042 int hl_fw_get_monitor_dump(struct hl_device *hdev, void *data) in hl_fw_get_monitor_dump()
1089 int hl_fw_cpucp_pci_counters_get(struct hl_device *hdev, in hl_fw_cpucp_pci_counters_get()
1142 int hl_fw_cpucp_total_energy_get(struct hl_device *hdev, u64 *total_energy) in hl_fw_cpucp_total_energy_get()
1165 int get_used_pll_index(struct hl_device *hdev, u32 input_pll_index, in get_used_pll_index()
1211 int hl_fw_cpucp_pll_info_get(struct hl_device *hdev, u32 pll_index, in hl_fw_cpucp_pll_info_get()
1244 int hl_fw_cpucp_power_get(struct hl_device *hdev, u64 *power) in hl_fw_cpucp_power_get()
1268 int hl_fw_dram_replaced_row_get(struct hl_device *hdev, in hl_fw_dram_replaced_row_get()
1310 int hl_fw_dram_pending_row_get(struct hl_device *hdev, u32 *pend_rows_num) in hl_fw_dram_pending_row_get()
1332 int hl_fw_cpucp_engine_core_asid_set(struct hl_device *hdev, u32 asid) in hl_fw_cpucp_engine_core_asid_set()
1352 void hl_fw_ask_hard_reset_without_linux(struct hl_device *hdev) in hl_fw_ask_hard_reset_without_linux()
1369 void hl_fw_ask_halt_machine_without_linux(struct hl_device *hdev) in hl_fw_ask_halt_machine_without_linux()
1416 static void detect_cpu_boot_status(struct hl_device *hdev, u32 status) in detect_cpu_boot_status()
1469 int hl_fw_wait_preboot_ready(struct hl_device *hdev) in hl_fw_wait_preboot_ready()
1513 static int hl_fw_read_preboot_caps(struct hl_device *hdev) in hl_fw_read_preboot_caps()
1560 static int hl_fw_static_read_device_fw_version(struct hl_device *hdev, in hl_fw_static_read_device_fw_version()
1640 static void hl_fw_preboot_update_state(struct hl_device *hdev) in hl_fw_preboot_update_state()
1677 static int hl_fw_static_read_preboot_status(struct hl_device *hdev) in hl_fw_static_read_preboot_status()
1688 int hl_fw_read_preboot_status(struct hl_device *hdev) in hl_fw_read_preboot_status()
1732 static void hl_fw_dynamic_report_error_status(struct hl_device *hdev, in hl_fw_dynamic_report_error_status()
1763 static void hl_fw_dynamic_send_cmd(struct hl_device *hdev, in hl_fw_dynamic_send_cmd()
1789 static int hl_fw_dynamic_extract_fw_response(struct hl_device *hdev, in hl_fw_dynamic_extract_fw_response()
1822 static int hl_fw_dynamic_wait_for_status(struct hl_device *hdev, in hl_fw_dynamic_wait_for_status()
1879 static int hl_fw_dynamic_send_clear_cmd(struct hl_device *hdev, in hl_fw_dynamic_send_clear_cmd()
1917 int hl_fw_dynamic_send_protocol_cmd(struct hl_device *hdev, in hl_fw_dynamic_send_protocol_cmd()
1997 static int hl_fw_dynamic_validate_memory_bound(struct hl_device *hdev, in hl_fw_dynamic_validate_memory_bound()
2036 static int hl_fw_dynamic_validate_descriptor(struct hl_device *hdev, in hl_fw_dynamic_validate_descriptor()
2104 static int hl_fw_dynamic_validate_response(struct hl_device *hdev, in hl_fw_dynamic_validate_response()
2130 static void hl_fw_dynamic_read_descriptor_msg(struct hl_device *hdev, in hl_fw_dynamic_read_descriptor_msg()
2169 static int hl_fw_dynamic_read_and_validate_descriptor(struct hl_device *hdev, in hl_fw_dynamic_read_and_validate_descriptor()
2243 static int hl_fw_dynamic_request_descriptor(struct hl_device *hdev, in hl_fw_dynamic_request_descriptor()
2265 static int hl_fw_dynamic_read_device_fw_version(struct hl_device *hdev, in hl_fw_dynamic_read_device_fw_version()
2322 static int hl_fw_dynamic_copy_image(struct hl_device *hdev, in hl_fw_dynamic_copy_image()
2355 static int hl_fw_dynamic_copy_msg(struct hl_device *hdev, in hl_fw_dynamic_copy_msg()
2388 static void hl_fw_boot_fit_update_state(struct hl_device *hdev, in hl_fw_boot_fit_update_state()
2420 static void hl_fw_dynamic_update_linux_interrupt_if(struct hl_device *hdev) in hl_fw_dynamic_update_linux_interrupt_if()
2448 static int hl_fw_dynamic_load_image(struct hl_device *hdev, in hl_fw_dynamic_load_image()
2509 static int hl_fw_dynamic_wait_for_boot_fit_active(struct hl_device *hdev, in hl_fw_dynamic_wait_for_boot_fit_active()
2543 static int hl_fw_dynamic_wait_for_linux_active(struct hl_device *hdev, in hl_fw_dynamic_wait_for_linux_active()
2585 static void hl_fw_linux_update_state(struct hl_device *hdev, in hl_fw_linux_update_state()
2637 static int hl_fw_dynamic_send_msg(struct hl_device *hdev, in hl_fw_dynamic_send_msg()
2708 static int hl_fw_dynamic_init_cpu(struct hl_device *hdev, in hl_fw_dynamic_init_cpu()
2869 static int hl_fw_static_init_cpu(struct hl_device *hdev, in hl_fw_static_init_cpu()
3072 int hl_fw_init_cpu(struct hl_device *hdev) in hl_fw_init_cpu()
3082 void hl_fw_set_pll_profile(struct hl_device *hdev) in hl_fw_set_pll_profile()
3088 int hl_fw_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk) in hl_fw_get_clk_rate()
3122 long hl_fw_get_frequency(struct hl_device *hdev, u32 pll_index, bool curr) in hl_fw_get_frequency()
3154 void hl_fw_set_frequency(struct hl_device *hdev, u32 pll_index, u64 freq) in hl_fw_set_frequency()
3177 long hl_fw_get_max_power(struct hl_device *hdev) in hl_fw_get_max_power()
3197 void hl_fw_set_max_power(struct hl_device *hdev) in hl_fw_set_max_power()
3217 static int hl_fw_get_sec_attest_data(struct hl_device *hdev, u32 packet_id, void *data, u32 size, in hl_fw_get_sec_attest_data()
3255 int hl_fw_get_sec_attest_info(struct hl_device *hdev, struct cpucp_sec_attest_info *sec_attest_info, in hl_fw_get_sec_attest_info()
3263 int hl_fw_send_generic_request(struct hl_device *hdev, enum hl_passthrough_type sub_opcode, in hl_fw_send_generic_request()