Searched refs:pf_qm (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/vfio/pci/hisilicon/ |
D | hisi_acc_vfio_pci.c | 358 struct hisi_qm *pf_qm = hisi_acc_vdev->pf_qm; in vf_qm_check_match() local 391 ret = qm_read_regs(pf_qm, QM_QUE_ISO_CFG_V, &que_iso_state, 1); in vf_qm_check_match() 416 struct hisi_qm *pf_qm = hisi_acc_vdev->pf_qm; in vf_qm_get_match_data() local 417 struct device *dev = &pf_qm->pdev->dev; in vf_qm_get_match_data() 426 ret = pf_qm_get_qp_num(pf_qm, vf_id, &vf_data->qp_base); in vf_qm_get_match_data() 435 ret = qm_read_regs(pf_qm, QM_QUE_ISO_CFG_V, &vf_data->que_iso_cfg, 1); in vf_qm_get_match_data() 556 struct hisi_qm *qm = hisi_acc_vdev->pf_qm; in hisi_acc_check_int_state() 1164 struct hisi_qm *pf_qm; in hisi_acc_get_pf_qm() local 1187 pf_qm = pci_iov_get_pf_drvdata(pdev, pf_driver); in hisi_acc_get_pf_qm() 1189 return !IS_ERR(pf_qm) ? pf_qm : NULL; in hisi_acc_get_pf_qm() [all …]
|
D | hisi_acc_vfio_pci.h | 108 struct hisi_qm *pf_qm; member
|
/linux-6.6.21/drivers/crypto/hisilicon/ |
D | qm.c | 579 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(pdev)); in qm_reset_prepare_ready() local 586 return qm_wait_reset_finish(pf_qm); in qm_reset_prepare_ready() 594 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(pdev)); in qm_reset_bit_clear() local 597 clear_bit(QM_RESETTING, &pf_qm->misc_ctl); in qm_reset_bit_clear() 1028 struct hisi_qm *pf_qm = pci_get_drvdata(pci_physfn(qm->pdev)); in qm_reset_function() local 1032 if (qm_check_dev_error(pf_qm)) in qm_reset_function() 2571 struct hisi_qm *pf_qm; in hisi_qm_get_isolate_state() local 2574 pf_qm = pci_get_drvdata(pci_physfn(qm->pdev)); in hisi_qm_get_isolate_state() 2576 pf_qm = qm; in hisi_qm_get_isolate_state() 2578 return pf_qm->isolate_data.is_isolate ? in hisi_qm_get_isolate_state() [all …]
|