Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/hisilicon/zip/
Dzip_main.c917 debug->last_words = kcalloc(core_dfx_regs_num * zip_core_num + com_dfx_regs_num, in hisi_zip_show_last_regs_init()
919 if (!debug->last_words) in hisi_zip_show_last_regs_init()
924 debug->last_words[i] = readl_relaxed(io_base); in hisi_zip_show_last_regs_init()
931 debug->last_words[idx] = readl_relaxed( in hisi_zip_show_last_regs_init()
943 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_regs_uninit()
946 kfree(debug->last_words); in hisi_zip_show_last_regs_uninit()
947 debug->last_words = NULL; in hisi_zip_show_last_regs_uninit()
961 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hisi_zip_show_last_dfx_regs()
966 if (debug->last_words[i] != val) in hisi_zip_show_last_dfx_regs()
968 hzip_com_dfx_regs[i].name, debug->last_words[i], val); in hisi_zip_show_last_dfx_regs()
[all …]
/Linux-v6.6/drivers/crypto/hisilicon/hpre/
Dhpre_main.c1186 debug->last_words = kcalloc(cluster_dfx_regs_num * clusters_num + in hpre_show_last_regs_init()
1188 if (!debug->last_words) in hpre_show_last_regs_init()
1192 debug->last_words[i] = readl_relaxed(qm->io_base + in hpre_show_last_regs_init()
1199 debug->last_words[idx] = readl_relaxed( in hpre_show_last_regs_init()
1211 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_regs_uninit()
1214 kfree(debug->last_words); in hpre_show_last_regs_uninit()
1215 debug->last_words = NULL; in hpre_show_last_regs_uninit()
1229 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_dfx_regs()
1235 if (debug->last_words[i] != val) in hpre_show_last_dfx_regs()
1237 hpre_com_dfx_regs[i].name, debug->last_words[i], val); in hpre_show_last_dfx_regs()
[all …]
/Linux-v6.6/drivers/crypto/hisilicon/sec2/
Dsec_main.c933 debug->last_words = kcalloc(ARRAY_SIZE(sec_dfx_regs), in sec_show_last_regs_init()
935 if (!debug->last_words) in sec_show_last_regs_init()
939 debug->last_words[i] = readl_relaxed(qm->io_base + in sec_show_last_regs_init()
949 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_regs_uninit()
952 kfree(debug->last_words); in sec_show_last_regs_uninit()
953 debug->last_words = NULL; in sec_show_last_regs_uninit()
963 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_dfx_regs()
969 if (val != debug->last_words[i]) in sec_show_last_dfx_regs()
971 sec_dfx_regs[i].name, debug->last_words[i], val); in sec_show_last_dfx_regs()
/Linux-v6.6/include/linux/
Dhisi_acc_qm.h186 unsigned int *last_words; member