Home
last modified time | relevance | path

Searched refs:last_words (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/crypto/hisilicon/zip/
Dzip_main.c963 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()
[all …]
/linux-6.6.21/drivers/crypto/hisilicon/hpre/
Dhpre_main.c1202 debug->last_words = kcalloc(cluster_dfx_regs_num * clusters_num + in hpre_show_last_regs_init()
1204 if (!debug->last_words) in hpre_show_last_regs_init()
1208 debug->last_words[i] = readl_relaxed(qm->io_base + in hpre_show_last_regs_init()
1215 debug->last_words[idx] = readl_relaxed( in hpre_show_last_regs_init()
1227 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_regs_uninit()
1230 kfree(debug->last_words); in hpre_show_last_regs_uninit()
1231 debug->last_words = NULL; in hpre_show_last_regs_uninit()
1245 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_dfx_regs()
1251 if (debug->last_words[i] != val) in hpre_show_last_dfx_regs()
1253 hpre_com_dfx_regs[i].name, debug->last_words[i], val); in hpre_show_last_dfx_regs()
[all …]
/linux-6.6.21/drivers/crypto/hisilicon/sec2/
Dsec_main.c937 debug->last_words = kcalloc(ARRAY_SIZE(sec_dfx_regs), in sec_show_last_regs_init()
939 if (!debug->last_words) in sec_show_last_regs_init()
943 debug->last_words[i] = readl_relaxed(qm->io_base + in sec_show_last_regs_init()
953 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_regs_uninit()
956 kfree(debug->last_words); in sec_show_last_regs_uninit()
957 debug->last_words = NULL; in sec_show_last_regs_uninit()
967 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_dfx_regs()
973 if (val != debug->last_words[i]) in sec_show_last_dfx_regs()
975 sec_dfx_regs[i].name, debug->last_words[i], val); in sec_show_last_dfx_regs()
/linux-6.6.21/include/linux/
Dhisi_acc_qm.h198 unsigned int *last_words; member