Lines Matching refs:hisi_qm
42 int (*dump_fn)(struct hisi_qm *qm, char *cmd, char *info_name);
103 static struct hisi_qm *file_to_qm(struct debugfs_file *file) in file_to_qm()
107 return container_of(debug, struct hisi_qm, debug); in file_to_qm()
122 static void dump_show(struct hisi_qm *qm, void *info, in dump_show()
137 static int qm_sqc_dump(struct hisi_qm *qm, char *s, char *name) in qm_sqc_dump()
178 static int qm_cqc_dump(struct hisi_qm *qm, char *s, char *name) in qm_cqc_dump()
219 static int qm_eqc_aeqc_dump(struct hisi_qm *qm, char *s, char *name) in qm_eqc_aeqc_dump()
256 static int q_dump_param_parse(struct hisi_qm *qm, char *s, in q_dump_param_parse()
296 static int qm_sq_dump(struct hisi_qm *qm, char *s, char *name) in qm_sq_dump()
325 static int qm_cq_dump(struct hisi_qm *qm, char *s, char *name) in qm_cq_dump()
343 static int qm_eq_aeq_dump(struct hisi_qm *qm, char *s, char *name) in qm_eq_aeq_dump()
390 static int qm_dbg_help(struct hisi_qm *qm, char *s) in qm_dbg_help()
448 static int qm_cmd_write_dump(struct hisi_qm *qm, const char *cmd_buf) in qm_cmd_write_dump()
493 struct hisi_qm *qm = filp->private_data; in qm_cmd_write()
559 struct hisi_qm *qm = pci_get_drvdata(pdev); in hisi_qm_regs_dump()
580 struct hisi_qm *qm = s->private; in qm_regs_show()
601 static u32 current_q_read(struct hisi_qm *qm) in current_q_read()
606 static int current_q_write(struct hisi_qm *qm, u32 val) in current_q_write()
624 static u32 clear_enable_read(struct hisi_qm *qm) in clear_enable_read()
630 static int clear_enable_write(struct hisi_qm *qm, u32 rd_clr_ctrl) in clear_enable_write()
640 static u32 current_qm_read(struct hisi_qm *qm) in current_qm_read()
645 static int qm_get_vf_qp_num(struct hisi_qm *qm, u32 fun_num) in qm_get_vf_qp_num()
665 static int current_qm_write(struct hisi_qm *qm, u32 val) in current_qm_write()
697 struct hisi_qm *qm = file_to_qm(file); in qm_debug_read()
737 struct hisi_qm *qm = file_to_qm(file); in qm_debug_write()
792 static void dfx_regs_uninit(struct hisi_qm *qm, in dfx_regs_uninit()
811 static struct dfx_diff_registers *dfx_regs_init(struct hisi_qm *qm, in dfx_regs_init()
851 static int qm_diff_regs_init(struct hisi_qm *qm, in qm_diff_regs_init()
874 static void qm_last_regs_uninit(struct hisi_qm *qm) in qm_last_regs_uninit()
885 static int qm_last_regs_init(struct hisi_qm *qm) in qm_last_regs_init()
906 static void qm_diff_regs_uninit(struct hisi_qm *qm, u32 reg_len) in qm_diff_regs_uninit()
920 int hisi_qm_regs_debugfs_init(struct hisi_qm *qm, in hisi_qm_regs_debugfs_init()
952 void hisi_qm_regs_debugfs_uninit(struct hisi_qm *qm, u32 reg_len) in hisi_qm_regs_debugfs_uninit()
969 void hisi_qm_acc_diff_regs_dump(struct hisi_qm *qm, struct seq_file *s, in hisi_qm_acc_diff_regs_dump()
1001 void hisi_qm_show_last_dfx_regs(struct hisi_qm *qm) in hisi_qm_show_last_dfx_regs()
1021 struct hisi_qm *qm = s->private; in qm_diff_regs_show()
1033 struct hisi_qm *qm = filp->private_data; in qm_status_read()
1049 static void qm_create_debugfs_file(struct hisi_qm *qm, struct dentry *dir, in qm_create_debugfs_file()
1088 void hisi_qm_debug_init(struct hisi_qm *qm) in hisi_qm_debug_init()
1134 void hisi_qm_debug_regs_clear(struct hisi_qm *qm) in hisi_qm_debug_regs_clear()