Lines Matching refs:hisi_qm
359 bool hpre_check_alg_support(struct hisi_qm *qm, u32 alg) in hpre_check_alg_support()
372 struct hisi_qm *qm = s->private; in hpre_diff_regs_show()
459 static void hpre_config_pasid(struct hisi_qm *qm) in hpre_config_pasid()
479 static int hpre_cfg_by_dsm(struct hisi_qm *qm) in hpre_cfg_by_dsm()
503 static int hpre_set_cluster(struct hisi_qm *qm) in hpre_set_cluster()
542 static void disable_flr_of_bme(struct hisi_qm *qm) in disable_flr_of_bme()
553 static void hpre_open_sva_prefetch(struct hisi_qm *qm) in hpre_open_sva_prefetch()
574 static void hpre_close_sva_prefetch(struct hisi_qm *qm) in hpre_close_sva_prefetch()
594 static void hpre_enable_clock_gate(struct hisi_qm *qm) in hpre_enable_clock_gate()
618 static void hpre_disable_clock_gate(struct hisi_qm *qm) in hpre_disable_clock_gate()
642 static int hpre_set_user_domain_and_cache(struct hisi_qm *qm) in hpre_set_user_domain_and_cache()
699 static void hpre_cnt_regs_clear(struct hisi_qm *qm) in hpre_cnt_regs_clear()
718 static void hpre_master_ooo_ctrl(struct hisi_qm *qm, bool enable) in hpre_master_ooo_ctrl()
738 static void hpre_hw_error_disable(struct hisi_qm *qm) in hpre_hw_error_disable()
751 static void hpre_hw_error_enable(struct hisi_qm *qm) in hpre_hw_error_enable()
774 static inline struct hisi_qm *hpre_file_to_qm(struct hpre_debugfs_file *file) in hpre_file_to_qm()
783 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_clear_enable_read()
791 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_clear_enable_write()
806 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_cluster_inqry_read()
816 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_cluster_inqry_write()
828 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_ctrl_debug_read()
864 struct hisi_qm *qm = hpre_file_to_qm(file); in hpre_ctrl_debug_write()
947 static int hpre_create_debugfs_file(struct hisi_qm *qm, struct dentry *dir, in hpre_create_debugfs_file()
972 static int hpre_pf_comm_regs_debugfs_init(struct hisi_qm *qm) in hpre_pf_comm_regs_debugfs_init()
992 static int hpre_cluster_debugfs_init(struct hisi_qm *qm) in hpre_cluster_debugfs_init()
1028 static int hpre_ctrl_debug_init(struct hisi_qm *qm) in hpre_ctrl_debug_init()
1044 static void hpre_dfx_debug_init(struct hisi_qm *qm) in hpre_dfx_debug_init()
1064 static int hpre_debugfs_init(struct hisi_qm *qm) in hpre_debugfs_init()
1098 static void hpre_debugfs_exit(struct hisi_qm *qm) in hpre_debugfs_exit()
1105 static int hpre_pre_store_cap_reg(struct hisi_qm *qm) in hpre_pre_store_cap_reg()
1133 static int hpre_qm_init(struct hisi_qm *qm, struct pci_dev *pdev) in hpre_qm_init()
1185 static int hpre_show_last_regs_init(struct hisi_qm *qm) in hpre_show_last_regs_init()
1216 static void hpre_show_last_regs_uninit(struct hisi_qm *qm) in hpre_show_last_regs_uninit()
1227 static void hpre_show_last_dfx_regs(struct hisi_qm *qm) in hpre_show_last_dfx_regs()
1263 static void hpre_log_hw_error(struct hisi_qm *qm, u32 err_sts) in hpre_log_hw_error()
1276 static u32 hpre_get_hw_err_status(struct hisi_qm *qm) in hpre_get_hw_err_status()
1281 static void hpre_clear_hw_err_status(struct hisi_qm *qm, u32 err_sts) in hpre_clear_hw_err_status()
1290 static void hpre_open_axi_master_ooo(struct hisi_qm *qm) in hpre_open_axi_master_ooo()
1301 static void hpre_err_info_init(struct hisi_qm *qm) in hpre_err_info_init()
1337 struct hisi_qm *qm = &hpre->qm; in hpre_pf_probe_init()
1357 struct hisi_qm *qm = &hpre->qm; in hpre_probe_init()
1374 static void hpre_probe_uninit(struct hisi_qm *qm) in hpre_probe_uninit()
1388 struct hisi_qm *qm; in hpre_probe()
1461 struct hisi_qm *qm = pci_get_drvdata(pdev); in hpre_remove()