Lines Matching refs:ivpu_device
69 static int wait_for_ip_bar(struct ivpu_device *vdev) in wait_for_ip_bar()
74 static void host_ss_rst_clr(struct ivpu_device *vdev) in host_ss_rst_clr()
85 static int host_ss_noc_qreqn_check_37xx(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qreqn_check_37xx()
95 static int host_ss_noc_qreqn_check_40xx(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qreqn_check_40xx()
105 static int host_ss_noc_qreqn_check(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qreqn_check()
113 static int host_ss_noc_qacceptn_check_37xx(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qacceptn_check_37xx()
123 static int host_ss_noc_qacceptn_check_40xx(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qacceptn_check_40xx()
133 static int host_ss_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qacceptn_check()
141 static int host_ss_noc_qdeny_check_37xx(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qdeny_check_37xx()
151 static int host_ss_noc_qdeny_check_40xx(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qdeny_check_40xx()
161 static int host_ss_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in host_ss_noc_qdeny_check()
169 static int top_noc_qrenqn_check_37xx(struct ivpu_device *vdev, u32 exp_val) in top_noc_qrenqn_check_37xx()
180 static int top_noc_qrenqn_check_40xx(struct ivpu_device *vdev, u32 exp_val) in top_noc_qrenqn_check_40xx()
191 static int top_noc_qreqn_check(struct ivpu_device *vdev, u32 exp_val) in top_noc_qreqn_check()
199 int ivpu_hw_ip_host_ss_configure(struct ivpu_device *vdev) in ivpu_hw_ip_host_ss_configure()
231 static void idle_gen_drive_37xx(struct ivpu_device *vdev, bool enable) in idle_gen_drive_37xx()
243 static void idle_gen_drive_40xx(struct ivpu_device *vdev, bool enable) in idle_gen_drive_40xx()
255 void ivpu_hw_ip_idle_gen_enable(struct ivpu_device *vdev) in ivpu_hw_ip_idle_gen_enable()
263 void ivpu_hw_ip_idle_gen_disable(struct ivpu_device *vdev) in ivpu_hw_ip_idle_gen_disable()
271 static void pwr_island_delay_set_50xx(struct ivpu_device *vdev) in pwr_island_delay_set_50xx()
292 static void pwr_island_trickle_drive_37xx(struct ivpu_device *vdev, bool enable) in pwr_island_trickle_drive_37xx()
304 static void pwr_island_trickle_drive_40xx(struct ivpu_device *vdev, bool enable) in pwr_island_trickle_drive_40xx()
319 static void pwr_island_drive_37xx(struct ivpu_device *vdev, bool enable) in pwr_island_drive_37xx()
334 static void pwr_island_drive_40xx(struct ivpu_device *vdev, bool enable) in pwr_island_drive_40xx()
346 static void pwr_island_enable(struct ivpu_device *vdev) in pwr_island_enable()
357 static int wait_for_pwr_island_status(struct ivpu_device *vdev, u32 exp_val) in wait_for_pwr_island_status()
370 static void pwr_island_isolation_drive_37xx(struct ivpu_device *vdev, bool enable) in pwr_island_isolation_drive_37xx()
382 static void pwr_island_isolation_drive_40xx(struct ivpu_device *vdev, bool enable) in pwr_island_isolation_drive_40xx()
394 static void pwr_island_isolation_drive(struct ivpu_device *vdev, bool enable) in pwr_island_isolation_drive()
402 static void pwr_island_isolation_disable(struct ivpu_device *vdev) in pwr_island_isolation_disable()
407 static void host_ss_clk_drive_37xx(struct ivpu_device *vdev, bool enable) in host_ss_clk_drive_37xx()
424 static void host_ss_clk_drive_40xx(struct ivpu_device *vdev, bool enable) in host_ss_clk_drive_40xx()
441 static void host_ss_clk_drive(struct ivpu_device *vdev, bool enable) in host_ss_clk_drive()
449 static void host_ss_clk_enable(struct ivpu_device *vdev) in host_ss_clk_enable()
454 static void host_ss_rst_drive_37xx(struct ivpu_device *vdev, bool enable) in host_ss_rst_drive_37xx()
471 static void host_ss_rst_drive_40xx(struct ivpu_device *vdev, bool enable) in host_ss_rst_drive_40xx()
488 static void host_ss_rst_drive(struct ivpu_device *vdev, bool enable) in host_ss_rst_drive()
496 static void host_ss_rst_enable(struct ivpu_device *vdev) in host_ss_rst_enable()
501 static void host_ss_noc_qreqn_top_socmmio_drive_37xx(struct ivpu_device *vdev, bool enable) in host_ss_noc_qreqn_top_socmmio_drive_37xx()
512 static void host_ss_noc_qreqn_top_socmmio_drive_40xx(struct ivpu_device *vdev, bool enable) in host_ss_noc_qreqn_top_socmmio_drive_40xx()
523 static void host_ss_noc_qreqn_top_socmmio_drive(struct ivpu_device *vdev, bool enable) in host_ss_noc_qreqn_top_socmmio_drive()
531 static int host_ss_axi_drive(struct ivpu_device *vdev, bool enable) in host_ss_axi_drive()
550 static void top_noc_qreqn_drive_40xx(struct ivpu_device *vdev, bool enable) in top_noc_qreqn_drive_40xx()
565 static void top_noc_qreqn_drive_37xx(struct ivpu_device *vdev, bool enable) in top_noc_qreqn_drive_37xx()
580 static void top_noc_qreqn_drive(struct ivpu_device *vdev, bool enable) in top_noc_qreqn_drive()
588 int ivpu_hw_ip_host_ss_axi_enable(struct ivpu_device *vdev) in ivpu_hw_ip_host_ss_axi_enable()
593 static int top_noc_qacceptn_check_37xx(struct ivpu_device *vdev, u32 exp_val) in top_noc_qacceptn_check_37xx()
604 static int top_noc_qacceptn_check_40xx(struct ivpu_device *vdev, u32 exp_val) in top_noc_qacceptn_check_40xx()
615 static int top_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in top_noc_qacceptn_check()
623 static int top_noc_qdeny_check_37xx(struct ivpu_device *vdev, u32 exp_val) in top_noc_qdeny_check_37xx()
634 static int top_noc_qdeny_check_40xx(struct ivpu_device *vdev, u32 exp_val) in top_noc_qdeny_check_40xx()
645 static int top_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in top_noc_qdeny_check()
653 static int top_noc_drive(struct ivpu_device *vdev, bool enable) in top_noc_drive()
672 int ivpu_hw_ip_top_noc_enable(struct ivpu_device *vdev) in ivpu_hw_ip_top_noc_enable()
677 static void dpu_active_drive_37xx(struct ivpu_device *vdev, bool enable) in dpu_active_drive_37xx()
689 int ivpu_hw_ip_pwr_domain_enable(struct ivpu_device *vdev) in ivpu_hw_ip_pwr_domain_enable()
720 u64 ivpu_hw_ip_read_perf_timer_counter(struct ivpu_device *vdev) in ivpu_hw_ip_read_perf_timer_counter()
728 static void ivpu_hw_ip_snoop_disable_37xx(struct ivpu_device *vdev) in ivpu_hw_ip_snoop_disable_37xx()
743 static void ivpu_hw_ip_snoop_disable_40xx(struct ivpu_device *vdev) in ivpu_hw_ip_snoop_disable_40xx()
758 void ivpu_hw_ip_snoop_disable(struct ivpu_device *vdev) in ivpu_hw_ip_snoop_disable()
766 static void ivpu_hw_ip_tbu_mmu_enable_37xx(struct ivpu_device *vdev) in ivpu_hw_ip_tbu_mmu_enable_37xx()
778 static void ivpu_hw_ip_tbu_mmu_enable_40xx(struct ivpu_device *vdev) in ivpu_hw_ip_tbu_mmu_enable_40xx()
792 void ivpu_hw_ip_tbu_mmu_enable(struct ivpu_device *vdev) in ivpu_hw_ip_tbu_mmu_enable()
800 static int soc_cpu_boot_37xx(struct ivpu_device *vdev) in soc_cpu_boot_37xx()
828 static int cpu_noc_qacceptn_check_40xx(struct ivpu_device *vdev, u32 exp_val) in cpu_noc_qacceptn_check_40xx()
838 static int cpu_noc_qdeny_check_40xx(struct ivpu_device *vdev, u32 exp_val) in cpu_noc_qdeny_check_40xx()
848 static void cpu_noc_top_mmio_drive_40xx(struct ivpu_device *vdev, bool enable) in cpu_noc_top_mmio_drive_40xx()
859 static int soc_cpu_drive_40xx(struct ivpu_device *vdev, bool enable) in soc_cpu_drive_40xx()
878 static int soc_cpu_enable(struct ivpu_device *vdev) in soc_cpu_enable()
883 static int soc_cpu_boot_40xx(struct ivpu_device *vdev) in soc_cpu_boot_40xx()
909 int ivpu_hw_ip_soc_cpu_boot(struct ivpu_device *vdev) in ivpu_hw_ip_soc_cpu_boot()
917 static void wdt_disable_37xx(struct ivpu_device *vdev) in wdt_disable_37xx()
935 static void wdt_disable_40xx(struct ivpu_device *vdev) in wdt_disable_40xx()
950 void ivpu_hw_ip_wdt_disable(struct ivpu_device *vdev) in ivpu_hw_ip_wdt_disable()
958 static u32 ipc_rx_count_get_37xx(struct ivpu_device *vdev) in ipc_rx_count_get_37xx()
965 static u32 ipc_rx_count_get_40xx(struct ivpu_device *vdev) in ipc_rx_count_get_40xx()
972 u32 ivpu_hw_ip_ipc_rx_count_get(struct ivpu_device *vdev) in ivpu_hw_ip_ipc_rx_count_get()
980 void ivpu_hw_ip_irq_enable(struct ivpu_device *vdev) in ivpu_hw_ip_irq_enable()
991 void ivpu_hw_ip_irq_disable(struct ivpu_device *vdev) in ivpu_hw_ip_irq_disable()
1002 static void diagnose_failure_37xx(struct ivpu_device *vdev) in diagnose_failure_37xx()
1019 static void diagnose_failure_40xx(struct ivpu_device *vdev) in diagnose_failure_40xx()
1036 void ivpu_hw_ip_diagnose_failure(struct ivpu_device *vdev) in ivpu_hw_ip_diagnose_failure()
1044 void ivpu_hw_ip_irq_clear(struct ivpu_device *vdev) in ivpu_hw_ip_irq_clear()
1052 static void irq_wdt_nce_handler(struct ivpu_device *vdev) in irq_wdt_nce_handler()
1057 static void irq_wdt_mss_handler(struct ivpu_device *vdev) in irq_wdt_mss_handler()
1063 static void irq_noc_firewall_handler(struct ivpu_device *vdev) in irq_noc_firewall_handler()
1072 bool ivpu_hw_ip_irq_handler_37xx(struct ivpu_device *vdev, int irq) in ivpu_hw_ip_irq_handler_37xx()
1106 bool ivpu_hw_ip_irq_handler_40xx(struct ivpu_device *vdev, int irq) in ivpu_hw_ip_irq_handler_40xx()
1139 static void db_set_37xx(struct ivpu_device *vdev, u32 db_id) in db_set_37xx()
1147 static void db_set_40xx(struct ivpu_device *vdev, u32 db_id) in db_set_40xx()
1155 void ivpu_hw_ip_db_set(struct ivpu_device *vdev, u32 db_id) in ivpu_hw_ip_db_set()
1163 u32 ivpu_hw_ip_ipc_rx_addr_get(struct ivpu_device *vdev) in ivpu_hw_ip_ipc_rx_addr_get()
1171 void ivpu_hw_ip_ipc_tx_set(struct ivpu_device *vdev, u32 vpu_addr) in ivpu_hw_ip_ipc_tx_set()