Home
last modified time | relevance | path

Searched refs:fun_type (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/crypto/hisilicon/zip/
H A Dzip_main.c862 if (qm->fun_type == QM_HW_PF && hzip_regs) in hisi_zip_dfx_debug_init()
905 if (qm->fun_type == QM_HW_PF) { in hisi_zip_debugfs_init()
946 if (qm->fun_type == QM_HW_PF) { in hisi_zip_debugfs_exit()
989 if (qm->fun_type == QM_HW_VF || !debug->last_words) 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()
1231 qm->fun_type = (pdev->device == PCI_DEVICE_ID_HUAWEI_ZIP_PF) ? in hisi_zip_qm_init()
1233 if (qm->fun_type == QM_HW_PF) { in hisi_zip_qm_init()
1241 } else if (qm->fun_type == QM_HW_VF && qm->ver == QM_HW_V1) { in hisi_zip_qm_init()
1288 if (qm->fun_type == QM_HW_PF) { in hisi_zip_probe_init()
1307 if (qm->fun_type == QM_HW_VF) in hisi_zip_probe_uninit()
[all …]
/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_main.c859 if (qm->fun_type == QM_HW_PF && sec_regs) in sec_core_debug_init()
953 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_regs_uninit()
967 if (qm->fun_type == QM_HW_VF || !debug->last_words) in sec_show_last_dfx_regs()
1136 qm->fun_type = (pdev->device == PCI_DEVICE_ID_HUAWEI_SEC_PF) ? in sec_qm_init()
1138 if (qm->fun_type == QM_HW_PF) { in sec_qm_init()
1146 } else if (qm->fun_type == QM_HW_VF && qm->ver == QM_HW_V1) { in sec_qm_init()
1192 if (qm->fun_type == QM_HW_PF) { in sec_probe_init()
1208 if (qm->fun_type == QM_HW_VF) in sec_probe_uninit()
1289 if (qm->fun_type == QM_HW_PF && vfs_num) { in sec_probe()
1321 if (qm->fun_type == QM_HW_PF && qm->vfs_num) in sec_remove()
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_main.c1058 if (qm->fun_type == QM_HW_PF && hpre_regs) in hpre_dfx_debug_init()
1149 qm->fun_type = (pdev->device == PCI_DEVICE_ID_HUAWEI_HPRE_PF) ? in hpre_qm_init()
1151 if (qm->fun_type == QM_HW_PF) { in hpre_qm_init()
1220 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_regs_uninit()
1238 if (qm->fun_type == QM_HW_VF || !debug->last_words) in hpre_show_last_dfx_regs()
1385 if (qm->fun_type == QM_HW_PF) { in hpre_probe_init()
1401 if (qm->fun_type == QM_HW_VF) in hpre_probe_uninit()
1456 if (qm->fun_type == QM_HW_PF && vfs_num) { in hpre_probe()
1489 if (qm->fun_type == QM_HW_PF && qm->vfs_num) in hpre_remove()
/openbmc/linux/drivers/crypto/hisilicon/
H A Ddebugfs.c583 if (qm->fun_type == QM_HW_PF) { in qm_regs_show()
878 if (qm->fun_type == QM_HW_VF || !debug->qm_last_words) in qm_last_regs_uninit()
891 if (qm->fun_type == QM_HW_VF) in qm_last_regs_init()
928 if (qm->fun_type != QM_HW_PF) in hisi_qm_regs_debugfs_init()
954 if (!qm || qm->fun_type != QM_HW_PF) in hisi_qm_regs_debugfs_uninit()
1008 if (qm->fun_type == QM_HW_VF || !debug->qm_last_words) in hisi_qm_show_last_dfx_regs()
1100 if (qm->fun_type == QM_HW_PF) { in hisi_qm_debug_init()
H A Dqm.c548 if (qm->fun_type == QM_HW_VF) in qm_check_dev_error()
837 if (qm->fun_type == QM_HW_PF) in qm_get_irq_num()
1533 if (qm->fun_type == QM_HW_PF) in qm_clear_cmd_interrupt()
2767 ((qm->fun_type == QM_HW_PF) && in hisi_qm_wait_task_finish()
2906 if (qm->ver > QM_HW_V2 && qm->fun_type == QM_HW_VF) in hisi_qm_set_state()
3118 if (qm->fun_type == QM_HW_PF) { in __hisi_qm_start()
3286 if (qm->fun_type == QM_HW_PF) { in hisi_qm_stop()
3342 if (qm->fun_type == QM_HW_VF) in hisi_qm_dev_err_init()
3363 if (qm->fun_type == QM_HW_VF) in hisi_qm_dev_err_uninit()
3702 if (qm->fun_type == QM_HW_PF) { in qm_algqos_read()
[all …]
/openbmc/linux/include/linux/
H A Dhisi_acc_qm.h319 enum qm_fun_type fun_type; member
/openbmc/linux/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c1155 vf_qm->fun_type = QM_HW_VF; in hisi_acc_vf_qm_init()