Lines Matching refs:ivpu_device
85 static void ivpu_hw_read_platform(struct ivpu_device *vdev) in ivpu_hw_read_platform()
99 static void ivpu_hw_wa_init(struct ivpu_device *vdev) in ivpu_hw_wa_init()
109 static void ivpu_hw_timeouts_init(struct ivpu_device *vdev) in ivpu_hw_timeouts_init()
124 static int ivpu_pll_wait_for_cmd_send(struct ivpu_device *vdev) in ivpu_pll_wait_for_cmd_send()
130 static int ivpu_pll_cmd_send(struct ivpu_device *vdev, u16 min_ratio, u16 max_ratio, in ivpu_pll_cmd_send()
167 static int ivpu_pll_wait_for_lock(struct ivpu_device *vdev, bool enable) in ivpu_pll_wait_for_lock()
177 static int ivpu_pll_wait_for_status_ready(struct ivpu_device *vdev) in ivpu_pll_wait_for_status_ready()
185 static void ivpu_pll_init_frequency_ratios(struct ivpu_device *vdev) in ivpu_pll_init_frequency_ratios()
203 static int ivpu_hw_37xx_wait_for_vpuip_bar(struct ivpu_device *vdev) in ivpu_hw_37xx_wait_for_vpuip_bar()
208 static int ivpu_pll_drive(struct ivpu_device *vdev, bool enable) in ivpu_pll_drive()
261 static int ivpu_pll_enable(struct ivpu_device *vdev) in ivpu_pll_enable()
266 static int ivpu_pll_disable(struct ivpu_device *vdev) in ivpu_pll_disable()
271 static void ivpu_boot_host_ss_rst_clr_assert(struct ivpu_device *vdev) in ivpu_boot_host_ss_rst_clr_assert()
282 static void ivpu_boot_host_ss_rst_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_rst_drive()
299 static void ivpu_boot_host_ss_clk_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_clk_drive()
316 static int ivpu_boot_noc_qreqn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qreqn_check()
326 static int ivpu_boot_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qacceptn_check()
336 static int ivpu_boot_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qdeny_check()
346 static int ivpu_boot_top_noc_qrenqn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qrenqn_check()
357 static int ivpu_boot_top_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qacceptn_check()
368 static int ivpu_boot_top_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qdeny_check()
379 static int ivpu_boot_host_ss_configure(struct ivpu_device *vdev) in ivpu_boot_host_ss_configure()
386 static void ivpu_boot_vpu_idle_gen_disable(struct ivpu_device *vdev) in ivpu_boot_vpu_idle_gen_disable()
391 static int ivpu_boot_host_ss_axi_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_axi_drive()
416 static int ivpu_boot_host_ss_axi_enable(struct ivpu_device *vdev) in ivpu_boot_host_ss_axi_enable()
421 static int ivpu_boot_host_ss_top_noc_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_top_noc_drive()
449 static int ivpu_boot_host_ss_top_noc_enable(struct ivpu_device *vdev) in ivpu_boot_host_ss_top_noc_enable()
454 static void ivpu_boot_pwr_island_trickle_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_trickle_drive()
466 static void ivpu_boot_pwr_island_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_drive()
478 static int ivpu_boot_wait_for_pwr_island_status(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_wait_for_pwr_island_status()
488 static void ivpu_boot_pwr_island_isolation_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_isolation_drive()
500 static void ivpu_boot_dpu_active_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_dpu_active_drive()
512 static int ivpu_boot_pwr_domain_enable(struct ivpu_device *vdev) in ivpu_boot_pwr_domain_enable()
539 static void ivpu_boot_no_snoop_enable(struct ivpu_device *vdev) in ivpu_boot_no_snoop_enable()
550 static void ivpu_boot_tbu_mmu_enable(struct ivpu_device *vdev) in ivpu_boot_tbu_mmu_enable()
562 static void ivpu_boot_soc_cpu_boot(struct ivpu_device *vdev) in ivpu_boot_soc_cpu_boot()
588 static int ivpu_boot_d0i3_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_d0i3_drive()
613 static int ivpu_hw_37xx_info_init(struct ivpu_device *vdev) in ivpu_hw_37xx_info_init()
631 static int ivpu_hw_37xx_reset(struct ivpu_device *vdev) in ivpu_hw_37xx_reset()
656 static int ivpu_hw_37xx_d0i3_enable(struct ivpu_device *vdev) in ivpu_hw_37xx_d0i3_enable()
669 static int ivpu_hw_37xx_d0i3_disable(struct ivpu_device *vdev) in ivpu_hw_37xx_d0i3_disable()
680 static int ivpu_hw_37xx_power_up(struct ivpu_device *vdev) in ivpu_hw_37xx_power_up()
734 static int ivpu_hw_37xx_boot_fw(struct ivpu_device *vdev) in ivpu_hw_37xx_boot_fw()
743 static bool ivpu_hw_37xx_is_idle(struct ivpu_device *vdev) in ivpu_hw_37xx_is_idle()
755 static int ivpu_hw_37xx_power_down(struct ivpu_device *vdev) in ivpu_hw_37xx_power_down()
775 static void ivpu_hw_37xx_wdt_disable(struct ivpu_device *vdev) in ivpu_hw_37xx_wdt_disable()
807 static u32 ivpu_hw_37xx_reg_pll_freq_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_pll_freq_get()
820 static u32 ivpu_hw_37xx_reg_telemetry_offset_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_telemetry_offset_get()
825 static u32 ivpu_hw_37xx_reg_telemetry_size_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_telemetry_size_get()
830 static u32 ivpu_hw_37xx_reg_telemetry_enable_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_telemetry_enable_get()
835 static void ivpu_hw_37xx_reg_db_set(struct ivpu_device *vdev, u32 db_id) in ivpu_hw_37xx_reg_db_set()
843 static u32 ivpu_hw_37xx_reg_ipc_rx_addr_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_ipc_rx_addr_get()
848 static u32 ivpu_hw_37xx_reg_ipc_rx_count_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_ipc_rx_count_get()
855 static void ivpu_hw_37xx_reg_ipc_tx_set(struct ivpu_device *vdev, u32 vpu_addr) in ivpu_hw_37xx_reg_ipc_tx_set()
860 static void ivpu_hw_37xx_irq_clear(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_clear()
865 static void ivpu_hw_37xx_irq_enable(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_enable()
873 static void ivpu_hw_37xx_irq_disable(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_disable()
881 static void ivpu_hw_37xx_irq_wdt_nce_handler(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_wdt_nce_handler()
888 static void ivpu_hw_37xx_irq_wdt_mss_handler(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_wdt_mss_handler()
896 static void ivpu_hw_37xx_irq_noc_firewall_handler(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_noc_firewall_handler()
904 static u32 ivpu_hw_37xx_irqv_handler(struct ivpu_device *vdev, int irq) in ivpu_hw_37xx_irqv_handler()
935 static u32 ivpu_hw_37xx_irqb_handler(struct ivpu_device *vdev, int irq) in ivpu_hw_37xx_irqb_handler()
982 struct ivpu_device *vdev = ptr; in ivpu_hw_37xx_irq_handler()
996 static void ivpu_hw_37xx_diagnose_failure(struct ivpu_device *vdev) in ivpu_hw_37xx_diagnose_failure()