Lines Matching refs:hisi_qm
347 struct hisi_qm *qm = s->private; in hzip_diff_regs_show()
406 bool hisi_zip_alg_support(struct hisi_qm *qm, u32 alg) in hisi_zip_alg_support()
417 static int hisi_zip_set_qm_algs(struct hisi_qm *qm) in hisi_zip_set_qm_algs()
446 static void hisi_zip_open_sva_prefetch(struct hisi_qm *qm) in hisi_zip_open_sva_prefetch()
466 static void hisi_zip_close_sva_prefetch(struct hisi_qm *qm) in hisi_zip_close_sva_prefetch()
485 static void hisi_zip_enable_clock_gate(struct hisi_qm *qm) in hisi_zip_enable_clock_gate()
501 static int hisi_zip_set_user_domain_and_cache(struct hisi_qm *qm) in hisi_zip_set_user_domain_and_cache()
558 static void hisi_zip_master_ooo_ctrl(struct hisi_qm *qm, bool enable) in hisi_zip_master_ooo_ctrl()
578 static void hisi_zip_hw_error_enable(struct hisi_qm *qm) in hisi_zip_hw_error_enable()
606 static void hisi_zip_hw_error_disable(struct hisi_qm *qm) in hisi_zip_hw_error_disable()
618 static inline struct hisi_qm *file_to_qm(struct ctrl_debug_file *file) in file_to_qm()
625 static u32 clear_enable_read(struct hisi_qm *qm) in clear_enable_read()
631 static int clear_enable_write(struct hisi_qm *qm, u32 val) in clear_enable_write()
649 struct hisi_qm *qm = file_to_qm(file); in hisi_zip_ctrl_debug_read()
683 struct hisi_qm *qm = file_to_qm(file); in hisi_zip_ctrl_debug_write()
763 static int hisi_zip_core_debug_init(struct hisi_qm *qm) in hisi_zip_core_debug_init()
800 static void hisi_zip_dfx_debug_init(struct hisi_qm *qm) in hisi_zip_dfx_debug_init()
822 static int hisi_zip_ctrl_debug_init(struct hisi_qm *qm) in hisi_zip_ctrl_debug_init()
841 static int hisi_zip_debugfs_init(struct hisi_qm *qm) in hisi_zip_debugfs_init()
879 static void hisi_zip_debug_regs_clear(struct hisi_qm *qm) in hisi_zip_debug_regs_clear()
896 static void hisi_zip_debugfs_exit(struct hisi_qm *qm) in hisi_zip_debugfs_exit()
908 static int hisi_zip_show_last_regs_init(struct hisi_qm *qm) in hisi_zip_show_last_regs_init()
941 static void hisi_zip_show_last_regs_uninit(struct hisi_qm *qm) in hisi_zip_show_last_regs_uninit()
952 static void hisi_zip_show_last_dfx_regs(struct hisi_qm *qm) in hisi_zip_show_last_dfx_regs()
997 static void hisi_zip_log_hw_error(struct hisi_qm *qm, u32 err_sts) in hisi_zip_log_hw_error()
1020 static u32 hisi_zip_get_hw_err_status(struct hisi_qm *qm) in hisi_zip_get_hw_err_status()
1025 static void hisi_zip_clear_hw_err_status(struct hisi_qm *qm, u32 err_sts) in hisi_zip_clear_hw_err_status()
1034 static void hisi_zip_open_axi_master_ooo(struct hisi_qm *qm) in hisi_zip_open_axi_master_ooo()
1047 static void hisi_zip_close_axi_master_ooo(struct hisi_qm *qm) in hisi_zip_close_axi_master_ooo()
1061 static void hisi_zip_err_info_init(struct hisi_qm *qm) in hisi_zip_err_info_init()
1099 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_pf_probe_init()
1127 static int hisi_zip_qm_init(struct hisi_qm *qm, struct pci_dev *pdev) in hisi_zip_qm_init()
1171 static void hisi_zip_qm_uninit(struct hisi_qm *qm) in hisi_zip_qm_uninit()
1179 struct hisi_qm *qm = &hisi_zip->qm; in hisi_zip_probe_init()
1202 struct hisi_qm *qm; in hisi_zip_probe()
1274 struct hisi_qm *qm = pci_get_drvdata(pdev); in hisi_zip_remove()