Searched refs:vf_qm (Results 1 – 3 of 3) sorted by relevance
/drivers/vfio/pci/hisilicon/ |
D | hisi_acc_vfio_pci.c | 357 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in vf_qm_check_match() local 359 struct device *dev = &vf_qm->pdev->dev; in vf_qm_check_match() 377 ret = qm_get_vft(vf_qm, &vf_qm->qp_base); in vf_qm_check_match() 388 vf_qm->qp_num = ret; in vf_qm_check_match() 402 ret = qm_write_regs(vf_qm, QM_VF_STATE, &vf_data->vf_qm_state, 1); in vf_qm_check_match() 447 struct hisi_qm *qm = &hisi_acc_vdev->vf_qm; in vf_qm_load_data() 493 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in vf_qm_state_save() local 494 struct device *dev = &vf_qm->pdev->dev; in vf_qm_state_save() 497 if (unlikely(qm_wait_dev_not_ready(vf_qm))) { in vf_qm_state_save() 508 ret = vf_qm_cache_wb(vf_qm); in vf_qm_state_save() [all …]
|
D | hisi_acc_vfio_pci.h | 109 struct hisi_qm vf_qm; member
|
/drivers/crypto/hisilicon/ |
D | qm.c | 2733 struct hisi_qm *qm, *vf_qm; in qm_try_frozen_vfs() local 2747 vf_qm = pci_get_drvdata(dev); in qm_try_frozen_vfs() 2748 ret = qm_frozen(vf_qm); in qm_try_frozen_vfs() 4114 struct hisi_qm *vf_qm; in qm_vf_reset_prepare() local 4118 list_for_each_entry(vf_qm, &qm_list->list, list) { in qm_vf_reset_prepare() 4119 virtfn = vf_qm->pdev; in qm_vf_reset_prepare() 4127 ret = hisi_qm_stop(vf_qm, stop_reason); in qm_vf_reset_prepare() 4304 struct hisi_qm *vf_qm; in qm_vf_reset_done() local 4308 list_for_each_entry(vf_qm, &qm_list->list, list) { in qm_vf_reset_done() 4309 virtfn = vf_qm->pdev; in qm_vf_reset_done() [all …]
|