Searched refs:last_words (Results 1 – 4 of 4) sorted by relevance
954 debug->last_words = kcalloc(core_dfx_regs_num * zip_core_num + com_dfx_regs_num, in hisi_zip_show_last_regs_init()956 if (!debug->last_words) in hisi_zip_show_last_regs_init()961 debug->last_words[i] = readl_relaxed(io_base); in hisi_zip_show_last_regs_init()968 debug->last_words[idx] = readl_relaxed( in hisi_zip_show_last_regs_init()980 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_regs_uninit()983 kfree(debug->last_words); in hisi_zip_show_last_regs_uninit()984 debug->last_words = NULL; in hisi_zip_show_last_regs_uninit()998 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_dfx_regs()1003 if (debug->last_words[i] != val) in hisi_zip_show_last_dfx_regs()1005 hzip_com_dfx_regs[i].name, debug->last_words[i], val); in hisi_zip_show_last_dfx_regs()[all …]
1195 debug->last_words = kcalloc(cluster_dfx_regs_num * clusters_num + in hpre_show_last_regs_init()1197 if (!debug->last_words) in hpre_show_last_regs_init()1201 debug->last_words[i] = readl_relaxed(qm->io_base + in hpre_show_last_regs_init()1208 debug->last_words[idx] = readl_relaxed( in hpre_show_last_regs_init()1220 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_regs_uninit()1223 kfree(debug->last_words); in hpre_show_last_regs_uninit()1224 debug->last_words = NULL; in hpre_show_last_regs_uninit()1238 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_dfx_regs()1244 if (debug->last_words[i] != val) in hpre_show_last_dfx_regs()1246 hpre_com_dfx_regs[i].name, debug->last_words[i], val); in hpre_show_last_dfx_regs()[all …]
941 debug->last_words = kcalloc(ARRAY_SIZE(sec_dfx_regs), in sec_show_last_regs_init()943 if (!debug->last_words) in sec_show_last_regs_init()947 debug->last_words[i] = readl_relaxed(qm->io_base + in sec_show_last_regs_init()957 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_regs_uninit()960 kfree(debug->last_words); in sec_show_last_regs_uninit()961 debug->last_words = NULL; in sec_show_last_regs_uninit()971 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_dfx_regs()977 if (val != debug->last_words[i]) in sec_show_last_dfx_regs()979 sec_dfx_regs[i].name, debug->last_words[i], val); in sec_show_last_dfx_regs()
202 unsigned int *last_words; member