Searched refs:oct_vdpa (Results 1 – 1 of 1) sorted by relevance
40 struct octep_vdpa *oct_vdpa; in vdpa_to_octep_hw() local42 oct_vdpa = container_of(vdpa_dev, struct octep_vdpa, vdpa); in vdpa_to_octep_hw()44 return oct_vdpa->oct_hw; in vdpa_to_octep_hw()471 struct octep_vdpa *oct_vdpa; in octep_vdpa_dev_add() local475 oct_vdpa = vdpa_alloc_device(struct octep_vdpa, vdpa, &pdev->dev, &octep_vdpa_ops, 1, 1, in octep_vdpa_dev_add()477 if (IS_ERR(oct_vdpa)) { in octep_vdpa_dev_add()479 return PTR_ERR(oct_vdpa); in octep_vdpa_dev_add()482 oct_vdpa->pdev = pdev; in octep_vdpa_dev_add()483 oct_vdpa->vdpa.dma_dev = &pdev->dev; in octep_vdpa_dev_add()484 oct_vdpa->vdpa.mdev = mdev; in octep_vdpa_dev_add()[all …]