Lines Matching refs:last_words
963 debug->last_words = kcalloc(core_dfx_regs_num * zip_core_num + com_dfx_regs_num, in hisi_zip_show_last_regs_init()
965 if (!debug->last_words) in hisi_zip_show_last_regs_init()
970 debug->last_words[i] = readl_relaxed(io_base); in hisi_zip_show_last_regs_init()
977 debug->last_words[idx] = readl_relaxed( in hisi_zip_show_last_regs_init()
989 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_regs_uninit()
992 kfree(debug->last_words); in hisi_zip_show_last_regs_uninit()
993 debug->last_words = NULL; in hisi_zip_show_last_regs_uninit()
1007 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_dfx_regs()
1012 if (debug->last_words[i] != val) in hisi_zip_show_last_dfx_regs()
1014 hzip_com_dfx_regs[i].name, debug->last_words[i], val); in hisi_zip_show_last_dfx_regs()
1033 if (debug->last_words[idx] != val) in hisi_zip_show_last_dfx_regs()
1036 debug->last_words[idx], val); in hisi_zip_show_last_dfx_regs()