• Home
  • Raw
  • Download

Lines Matching refs:vf_qm

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()
514 ret = qm_get_regs(vf_qm, vf_data); in vf_qm_state_save()
527 ret = qm_get_sqc(vf_qm, &vf_data->sqc_dma); in vf_qm_state_save()
533 ret = qm_get_cqc(vf_qm, &vf_data->cqc_dma); in vf_qm_state_save()
555 struct hisi_qm *vfqm = &hisi_acc_vdev->vf_qm; in hisi_acc_check_int_state()
656 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in hisi_acc_vf_start_device() local
662 qm_dev_cmd_init(vf_qm); in hisi_acc_vf_start_device()
664 vf_qm_fun_reset(vf_qm); in hisi_acc_vf_start_device()
936 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in hisi_acc_vf_stop_device() local
939 ret = vf_qm_func_stop(vf_qm); in hisi_acc_vf_stop_device()
1127 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in hisi_acc_vf_qm_init() local
1149 vf_qm->io_base = in hisi_acc_vf_qm_init()
1152 if (!vf_qm->io_base) in hisi_acc_vf_qm_init()
1155 vf_qm->fun_type = QM_HW_VF; in hisi_acc_vf_qm_init()
1156 vf_qm->pdev = vf_dev; in hisi_acc_vf_qm_init()
1157 mutex_init(&vf_qm->mailbox_lock); in hisi_acc_vf_qm_init()
1333 struct hisi_qm *vf_qm = &hisi_acc_vdev->vf_qm; in hisi_acc_vfio_pci_close_device() local
1335 iounmap(vf_qm->io_base); in hisi_acc_vfio_pci_close_device()