Searched refs:last_words (Results 1 – 4 of 4) sorted by relevance
1069 debug->last_words = kcalloc(core_dfx_regs_num * zip_core_num + com_dfx_regs_num, in hisi_zip_show_last_regs_init()1071 if (!debug->last_words) in hisi_zip_show_last_regs_init()1076 debug->last_words[i] = readl_relaxed(io_base); in hisi_zip_show_last_regs_init()1083 debug->last_words[idx] = readl_relaxed( in hisi_zip_show_last_regs_init()1095 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_regs_uninit()1098 kfree(debug->last_words); in hisi_zip_show_last_regs_uninit()1099 debug->last_words = NULL; in hisi_zip_show_last_regs_uninit()1114 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_dfx_regs()1119 if (debug->last_words[i] != val) in hisi_zip_show_last_dfx_regs()1121 hzip_com_dfx_regs[i].name, debug->last_words[i], val); in hisi_zip_show_last_dfx_regs()[all …]
1301 debug->last_words = kcalloc(cluster_dfx_regs_num * clusters_num + in hpre_show_last_regs_init()1303 if (!debug->last_words) in hpre_show_last_regs_init()1307 debug->last_words[i] = readl_relaxed(qm->io_base + in hpre_show_last_regs_init()1314 debug->last_words[idx] = readl_relaxed( in hpre_show_last_regs_init()1326 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_regs_uninit()1329 kfree(debug->last_words); in hpre_show_last_regs_uninit()1330 debug->last_words = NULL; in hpre_show_last_regs_uninit()1345 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_dfx_regs()1351 if (debug->last_words[i] != val) in hpre_show_last_dfx_regs()1353 hpre_com_dfx_regs[i].name, debug->last_words[i], val); in hpre_show_last_dfx_regs()[all …]
1044 debug->last_words = kcalloc(ARRAY_SIZE(sec_dfx_regs), in sec_show_last_regs_init()1046 if (!debug->last_words) in sec_show_last_regs_init()1050 debug->last_words[i] = readl_relaxed(qm->io_base + in sec_show_last_regs_init()1060 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_regs_uninit()1063 kfree(debug->last_words); in sec_show_last_regs_uninit()1064 debug->last_words = NULL; in sec_show_last_regs_uninit()1074 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_dfx_regs()1080 if (val != debug->last_words[i]) in sec_show_last_dfx_regs()1082 sec_dfx_regs[i].name, debug->last_words[i], val); in sec_show_last_dfx_regs()
212 unsigned int *last_words; member