Lines Matching refs:last_words
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()
1024 if (debug->last_words[idx] != val) in hisi_zip_show_last_dfx_regs()
1027 debug->last_words[idx], val); in hisi_zip_show_last_dfx_regs()