Searched refs:vf_qm (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/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() 446 struct hisi_qm *qm = &hisi_acc_vdev->vf_qm; in vf_qm_load_data() 492 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in vf_qm_state_save() local 493 struct device *dev = &vf_qm->pdev->dev; in vf_qm_state_save() 500 if (unlikely(qm_wait_dev_not_ready(vf_qm))) { in vf_qm_state_save() 511 ret = vf_qm_cache_wb(vf_qm); in vf_qm_state_save() [all …]
|
D | hisi_acc_vfio_pci.h | 107 struct hisi_qm vf_qm; member
|
/Linux-v6.1/drivers/crypto/hisilicon/ |
D | qm.c | 3547 struct hisi_qm *qm, *vf_qm; in qm_try_frozen_vfs() local 3561 vf_qm = pci_get_drvdata(dev); in qm_try_frozen_vfs() 3562 ret = qm_frozen(vf_qm); in qm_try_frozen_vfs() 5082 struct hisi_qm *vf_qm; in qm_vf_reset_prepare() local 5086 list_for_each_entry(vf_qm, &qm_list->list, list) { in qm_vf_reset_prepare() 5087 virtfn = vf_qm->pdev; in qm_vf_reset_prepare() 5095 ret = hisi_qm_stop(vf_qm, stop_reason); in qm_vf_reset_prepare() 5269 struct hisi_qm *vf_qm; in qm_vf_reset_done() local 5273 list_for_each_entry(vf_qm, &qm_list->list, list) { in qm_vf_reset_done() 5274 virtfn = vf_qm->pdev; in qm_vf_reset_done() [all …]
|