Lines Matching refs:ivpu_device
110 static void ivpu_hw_read_platform(struct ivpu_device *vdev) in ivpu_hw_read_platform()
121 static void ivpu_hw_wa_init(struct ivpu_device *vdev) in ivpu_hw_wa_init()
130 static void ivpu_hw_timeouts_init(struct ivpu_device *vdev) in ivpu_hw_timeouts_init()
150 static int ivpu_pll_wait_for_cmd_send(struct ivpu_device *vdev) in ivpu_pll_wait_for_cmd_send()
155 static int ivpu_pll_cmd_send(struct ivpu_device *vdev, u16 min_ratio, u16 max_ratio, in ivpu_pll_cmd_send()
193 static int ivpu_pll_wait_for_status_ready(struct ivpu_device *vdev) in ivpu_pll_wait_for_status_ready()
198 static int ivpu_wait_for_clock_own_resource_ack(struct ivpu_device *vdev) in ivpu_wait_for_clock_own_resource_ack()
206 static void ivpu_pll_init_frequency_ratios(struct ivpu_device *vdev) in ivpu_pll_init_frequency_ratios()
224 static int ivpu_pll_drive(struct ivpu_device *vdev, bool enable) in ivpu_pll_drive()
254 static int ivpu_pll_enable(struct ivpu_device *vdev) in ivpu_pll_enable()
259 static int ivpu_pll_disable(struct ivpu_device *vdev) in ivpu_pll_disable()
264 static void ivpu_boot_host_ss_rst_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_rst_drive()
281 static void ivpu_boot_host_ss_clk_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_clk_drive()
298 static int ivpu_boot_noc_qreqn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qreqn_check()
308 static int ivpu_boot_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qacceptn_check()
318 static int ivpu_boot_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qdeny_check()
328 static int ivpu_boot_top_noc_qrenqn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qrenqn_check()
339 static int ivpu_boot_top_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qacceptn_check()
350 static int ivpu_boot_top_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qdeny_check()
361 static void ivpu_boot_idle_gen_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_idle_gen_drive()
373 static int ivpu_boot_host_ss_check(struct ivpu_device *vdev) in ivpu_boot_host_ss_check()
396 static int ivpu_boot_host_ss_axi_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_axi_drive()
428 static int ivpu_boot_host_ss_axi_enable(struct ivpu_device *vdev) in ivpu_boot_host_ss_axi_enable()
433 static int ivpu_boot_host_ss_top_noc_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_top_noc_drive()
461 static int ivpu_boot_host_ss_top_noc_enable(struct ivpu_device *vdev) in ivpu_boot_host_ss_top_noc_enable()
466 static void ivpu_boot_pwr_island_trickle_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_trickle_drive()
481 static void ivpu_boot_pwr_island_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_drive()
496 static int ivpu_boot_wait_for_pwr_island_status(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_wait_for_pwr_island_status()
505 static void ivpu_boot_pwr_island_isolation_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_isolation_drive()
517 static void ivpu_boot_no_snoop_enable(struct ivpu_device *vdev) in ivpu_boot_no_snoop_enable()
528 static void ivpu_boot_tbu_mmu_enable(struct ivpu_device *vdev) in ivpu_boot_tbu_mmu_enable()
542 static int ivpu_boot_cpu_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_cpu_noc_qacceptn_check()
552 static int ivpu_boot_cpu_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_cpu_noc_qdeny_check()
562 static int ivpu_boot_pwr_domain_enable(struct ivpu_device *vdev) in ivpu_boot_pwr_domain_enable()
594 static int ivpu_boot_soc_cpu_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_soc_cpu_drive()
619 static int ivpu_boot_soc_cpu_enable(struct ivpu_device *vdev) in ivpu_boot_soc_cpu_enable()
624 static int ivpu_boot_soc_cpu_boot(struct ivpu_device *vdev) in ivpu_boot_soc_cpu_boot()
650 static int ivpu_boot_d0i3_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_d0i3_drive()
692 static int ivpu_hw_40xx_info_init(struct ivpu_device *vdev) in ivpu_hw_40xx_info_init()
734 static int ivpu_hw_40xx_reset(struct ivpu_device *vdev) in ivpu_hw_40xx_reset()
756 static int ivpu_hw_40xx_d0i3_enable(struct ivpu_device *vdev) in ivpu_hw_40xx_d0i3_enable()
772 static int ivpu_hw_40xx_d0i3_disable(struct ivpu_device *vdev) in ivpu_hw_40xx_d0i3_disable()
786 static void ivpu_hw_40xx_profiling_freq_reg_set(struct ivpu_device *vdev) in ivpu_hw_40xx_profiling_freq_reg_set()
798 static void ivpu_hw_40xx_ats_print(struct ivpu_device *vdev) in ivpu_hw_40xx_ats_print()
804 static void ivpu_hw_40xx_clock_relinquish_disable(struct ivpu_device *vdev) in ivpu_hw_40xx_clock_relinquish_disable()
812 static int ivpu_hw_40xx_power_up(struct ivpu_device *vdev) in ivpu_hw_40xx_power_up()
868 static int ivpu_hw_40xx_boot_fw(struct ivpu_device *vdev) in ivpu_hw_40xx_boot_fw()
882 static bool ivpu_hw_40xx_is_idle(struct ivpu_device *vdev) in ivpu_hw_40xx_is_idle()
894 static int ivpu_hw_40xx_power_down(struct ivpu_device *vdev) in ivpu_hw_40xx_power_down()
914 static void ivpu_hw_40xx_wdt_disable(struct ivpu_device *vdev) in ivpu_hw_40xx_wdt_disable()
930 static u32 ivpu_hw_40xx_reg_pll_freq_get(struct ivpu_device *vdev) in ivpu_hw_40xx_reg_pll_freq_get()
940 static u32 ivpu_hw_40xx_reg_telemetry_offset_get(struct ivpu_device *vdev) in ivpu_hw_40xx_reg_telemetry_offset_get()
945 static u32 ivpu_hw_40xx_reg_telemetry_size_get(struct ivpu_device *vdev) in ivpu_hw_40xx_reg_telemetry_size_get()
950 static u32 ivpu_hw_40xx_reg_telemetry_enable_get(struct ivpu_device *vdev) in ivpu_hw_40xx_reg_telemetry_enable_get()
955 static void ivpu_hw_40xx_reg_db_set(struct ivpu_device *vdev, u32 db_id) in ivpu_hw_40xx_reg_db_set()
963 static u32 ivpu_hw_40xx_reg_ipc_rx_addr_get(struct ivpu_device *vdev) in ivpu_hw_40xx_reg_ipc_rx_addr_get()
968 static u32 ivpu_hw_40xx_reg_ipc_rx_count_get(struct ivpu_device *vdev) in ivpu_hw_40xx_reg_ipc_rx_count_get()
975 static void ivpu_hw_40xx_reg_ipc_tx_set(struct ivpu_device *vdev, u32 vpu_addr) in ivpu_hw_40xx_reg_ipc_tx_set()
980 static void ivpu_hw_40xx_irq_clear(struct ivpu_device *vdev) in ivpu_hw_40xx_irq_clear()
985 static void ivpu_hw_40xx_irq_enable(struct ivpu_device *vdev) in ivpu_hw_40xx_irq_enable()
993 static void ivpu_hw_40xx_irq_disable(struct ivpu_device *vdev) in ivpu_hw_40xx_irq_disable()
1001 static void ivpu_hw_40xx_irq_wdt_nce_handler(struct ivpu_device *vdev) in ivpu_hw_40xx_irq_wdt_nce_handler()
1007 static void ivpu_hw_40xx_irq_wdt_mss_handler(struct ivpu_device *vdev) in ivpu_hw_40xx_irq_wdt_mss_handler()
1013 static void ivpu_hw_40xx_irq_noc_firewall_handler(struct ivpu_device *vdev) in ivpu_hw_40xx_irq_noc_firewall_handler()
1019 static irqreturn_t ivpu_hw_40xx_irqv_handler(struct ivpu_device *vdev, int irq) in ivpu_hw_40xx_irqv_handler()
1054 static irqreturn_t ivpu_hw_40xx_irqb_handler(struct ivpu_device *vdev, int irq) in ivpu_hw_40xx_irqb_handler()
1117 struct ivpu_device *vdev = ptr; in ivpu_hw_40xx_irq_handler()
1134 static void ivpu_hw_40xx_diagnose_failure(struct ivpu_device *vdev) in ivpu_hw_40xx_diagnose_failure()