Home
last modified time | relevance | path

Searched refs:qm_last_words (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/crypto/hisilicon/
H A Ddebugfs.c901 if (qm->fun_type == QM_HW_VF || !debug->qm_last_words) in qm_last_regs_uninit()
904 kfree(debug->qm_last_words); in qm_last_regs_uninit()
905 debug->qm_last_words = NULL; in qm_last_regs_uninit()
917 debug->qm_last_words = kcalloc(dfx_regs_num, sizeof(unsigned int), GFP_KERNEL); in qm_last_regs_init()
918 if (!debug->qm_last_words) in qm_last_regs_init()
922 debug->qm_last_words[i] = readl_relaxed(qm->io_base + in qm_last_regs_init()
1031 if (qm->fun_type == QM_HW_VF || !debug->qm_last_words) in hisi_qm_show_last_dfx_regs()
1036 if (debug->qm_last_words[i] != val) in hisi_qm_show_last_dfx_regs()
1038 qm_dfx_regs[i].name, debug->qm_last_words[i], val); in hisi_qm_show_last_dfx_regs()
/linux/include/linux/
H A Dhisi_acc_qm.h200 unsigned int *qm_last_words; member