Searched refs:last_words (Results 1 – 4 of 4) sorted by relevance
919 debug->last_words = kcalloc(core_dfx_regs_num * zip_core_num + com_dfx_regs_num, in hisi_zip_show_last_regs_init()921 if (!debug->last_words) in hisi_zip_show_last_regs_init()926 debug->last_words[i] = readl_relaxed(io_base); in hisi_zip_show_last_regs_init()933 debug->last_words[idx] = readl_relaxed( in hisi_zip_show_last_regs_init()945 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_regs_uninit()948 kfree(debug->last_words); in hisi_zip_show_last_regs_uninit()949 debug->last_words = NULL; in hisi_zip_show_last_regs_uninit()963 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_dfx_regs()968 if (debug->last_words[i] != val) in hisi_zip_show_last_dfx_regs()970 hzip_com_dfx_regs[i].name, debug->last_words[i], val); in hisi_zip_show_last_dfx_regs()[all …]
1185 debug->last_words = kcalloc(cluster_dfx_regs_num * clusters_num + in hpre_show_last_regs_init()1187 if (!debug->last_words) in hpre_show_last_regs_init()1191 debug->last_words[i] = readl_relaxed(qm->io_base + in hpre_show_last_regs_init()1198 debug->last_words[idx] = readl_relaxed( in hpre_show_last_regs_init()1210 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_regs_uninit()1213 kfree(debug->last_words); in hpre_show_last_regs_uninit()1214 debug->last_words = NULL; in hpre_show_last_regs_uninit()1228 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_dfx_regs()1234 if (debug->last_words[i] != val) in hpre_show_last_dfx_regs()1236 hpre_com_dfx_regs[i].name, debug->last_words[i], val); in hpre_show_last_dfx_regs()[all …]
936 debug->last_words = kcalloc(ARRAY_SIZE(sec_dfx_regs), in sec_show_last_regs_init()938 if (!debug->last_words) in sec_show_last_regs_init()942 debug->last_words[i] = readl_relaxed(qm->io_base + in sec_show_last_regs_init()952 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_regs_uninit()955 kfree(debug->last_words); in sec_show_last_regs_uninit()956 debug->last_words = NULL; in sec_show_last_regs_uninit()966 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_dfx_regs()972 if (val != debug->last_words[i]) in sec_show_last_dfx_regs()974 sec_dfx_regs[i].name, debug->last_words[i], val); in sec_show_last_dfx_regs()
187 unsigned int *last_words; member