Lines Matching defs:vdev
87 static void ivpu_hw_read_platform(struct ivpu_device *vdev) in ivpu_hw_read_platform()
101 static void ivpu_hw_wa_init(struct ivpu_device *vdev) in ivpu_hw_wa_init()
120 static void ivpu_hw_timeouts_init(struct ivpu_device *vdev) in ivpu_hw_timeouts_init()
135 static int ivpu_pll_wait_for_cmd_send(struct ivpu_device *vdev) in ivpu_pll_wait_for_cmd_send()
141 static int ivpu_pll_cmd_send(struct ivpu_device *vdev, u16 min_ratio, u16 max_ratio, in ivpu_pll_cmd_send()
178 static int ivpu_pll_wait_for_lock(struct ivpu_device *vdev, bool enable) in ivpu_pll_wait_for_lock()
188 static int ivpu_pll_wait_for_status_ready(struct ivpu_device *vdev) in ivpu_pll_wait_for_status_ready()
196 static void ivpu_pll_init_frequency_ratios(struct ivpu_device *vdev) in ivpu_pll_init_frequency_ratios()
214 static int ivpu_hw_37xx_wait_for_vpuip_bar(struct ivpu_device *vdev) in ivpu_hw_37xx_wait_for_vpuip_bar()
219 static int ivpu_pll_drive(struct ivpu_device *vdev, bool enable) in ivpu_pll_drive()
272 static int ivpu_pll_enable(struct ivpu_device *vdev) in ivpu_pll_enable()
277 static int ivpu_pll_disable(struct ivpu_device *vdev) in ivpu_pll_disable()
282 static void ivpu_boot_host_ss_rst_clr_assert(struct ivpu_device *vdev) in ivpu_boot_host_ss_rst_clr_assert()
293 static void ivpu_boot_host_ss_rst_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_rst_drive()
310 static void ivpu_boot_host_ss_clk_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_clk_drive()
327 static int ivpu_boot_noc_qreqn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qreqn_check()
337 static int ivpu_boot_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qacceptn_check()
347 static int ivpu_boot_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qdeny_check()
357 static int ivpu_boot_top_noc_qrenqn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qrenqn_check()
368 static int ivpu_boot_top_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qacceptn_check()
379 static int ivpu_boot_top_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_top_noc_qdeny_check()
390 static int ivpu_boot_host_ss_configure(struct ivpu_device *vdev) in ivpu_boot_host_ss_configure()
397 static void ivpu_boot_vpu_idle_gen_disable(struct ivpu_device *vdev) in ivpu_boot_vpu_idle_gen_disable()
402 static int ivpu_boot_host_ss_axi_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_axi_drive()
427 static int ivpu_boot_host_ss_axi_enable(struct ivpu_device *vdev) in ivpu_boot_host_ss_axi_enable()
432 static int ivpu_boot_host_ss_top_noc_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_host_ss_top_noc_drive()
460 static int ivpu_boot_host_ss_top_noc_enable(struct ivpu_device *vdev) in ivpu_boot_host_ss_top_noc_enable()
465 static void ivpu_boot_pwr_island_trickle_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_trickle_drive()
477 static void ivpu_boot_pwr_island_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_drive()
489 static int ivpu_boot_wait_for_pwr_island_status(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_wait_for_pwr_island_status()
499 static void ivpu_boot_pwr_island_isolation_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_pwr_island_isolation_drive()
511 static void ivpu_boot_dpu_active_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_dpu_active_drive()
523 static int ivpu_boot_pwr_domain_enable(struct ivpu_device *vdev) in ivpu_boot_pwr_domain_enable()
550 static int ivpu_boot_pwr_domain_disable(struct ivpu_device *vdev) in ivpu_boot_pwr_domain_disable()
560 static void ivpu_boot_no_snoop_enable(struct ivpu_device *vdev) in ivpu_boot_no_snoop_enable()
571 static void ivpu_boot_tbu_mmu_enable(struct ivpu_device *vdev) in ivpu_boot_tbu_mmu_enable()
583 static void ivpu_boot_soc_cpu_boot(struct ivpu_device *vdev) in ivpu_boot_soc_cpu_boot()
609 static int ivpu_boot_d0i3_drive(struct ivpu_device *vdev, bool enable) in ivpu_boot_d0i3_drive()
634 static int ivpu_hw_37xx_info_init(struct ivpu_device *vdev) in ivpu_hw_37xx_info_init()
656 static int ivpu_hw_37xx_reset(struct ivpu_device *vdev) in ivpu_hw_37xx_reset()
673 static int ivpu_hw_37xx_d0i3_enable(struct ivpu_device *vdev) in ivpu_hw_37xx_d0i3_enable()
686 static int ivpu_hw_37xx_d0i3_disable(struct ivpu_device *vdev) in ivpu_hw_37xx_d0i3_disable()
697 static int ivpu_hw_37xx_power_up(struct ivpu_device *vdev) in ivpu_hw_37xx_power_up()
743 static int ivpu_hw_37xx_boot_fw(struct ivpu_device *vdev) in ivpu_hw_37xx_boot_fw()
752 static bool ivpu_hw_37xx_is_idle(struct ivpu_device *vdev) in ivpu_hw_37xx_is_idle()
764 static int ivpu_hw_37xx_power_down(struct ivpu_device *vdev) in ivpu_hw_37xx_power_down()
784 static void ivpu_hw_37xx_wdt_disable(struct ivpu_device *vdev) in ivpu_hw_37xx_wdt_disable()
816 static u32 ivpu_hw_37xx_reg_pll_freq_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_pll_freq_get()
829 static u32 ivpu_hw_37xx_reg_telemetry_offset_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_telemetry_offset_get()
834 static u32 ivpu_hw_37xx_reg_telemetry_size_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_telemetry_size_get()
839 static u32 ivpu_hw_37xx_reg_telemetry_enable_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_telemetry_enable_get()
844 static void ivpu_hw_37xx_reg_db_set(struct ivpu_device *vdev, u32 db_id) in ivpu_hw_37xx_reg_db_set()
852 static u32 ivpu_hw_37xx_reg_ipc_rx_addr_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_ipc_rx_addr_get()
857 static u32 ivpu_hw_37xx_reg_ipc_rx_count_get(struct ivpu_device *vdev) in ivpu_hw_37xx_reg_ipc_rx_count_get()
864 static void ivpu_hw_37xx_reg_ipc_tx_set(struct ivpu_device *vdev, u32 vpu_addr) in ivpu_hw_37xx_reg_ipc_tx_set()
869 static void ivpu_hw_37xx_irq_clear(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_clear()
874 static void ivpu_hw_37xx_irq_enable(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_enable()
882 static void ivpu_hw_37xx_irq_disable(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_disable()
890 static void ivpu_hw_37xx_irq_wdt_nce_handler(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_wdt_nce_handler()
897 static void ivpu_hw_37xx_irq_wdt_mss_handler(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_wdt_mss_handler()
905 static void ivpu_hw_37xx_irq_noc_firewall_handler(struct ivpu_device *vdev) in ivpu_hw_37xx_irq_noc_firewall_handler()
913 static u32 ivpu_hw_37xx_irqv_handler(struct ivpu_device *vdev, int irq) in ivpu_hw_37xx_irqv_handler()
944 static u32 ivpu_hw_37xx_irqb_handler(struct ivpu_device *vdev, int irq) in ivpu_hw_37xx_irqb_handler()
991 struct ivpu_device *vdev = ptr; in ivpu_hw_37xx_irq_handler() local
1005 static void ivpu_hw_37xx_diagnose_failure(struct ivpu_device *vdev) in ivpu_hw_37xx_diagnose_failure()