Lines Matching refs:pdev
15 static bool allocate_to_prelaunched_vm(struct pci_pdev *pdev) in allocate_to_prelaunched_vm() argument
29 bdf_is_equal(dev_config->pbdf, pdev->bdf)) { in allocate_to_prelaunched_vm()
30 dev_config->pdev = pdev; in allocate_to_prelaunched_vm()
53 struct acrn_vm_pci_dev_config *init_one_dev_config(struct pci_pdev *pdev) in init_one_dev_config() argument
56 bool is_allocated_to_prelaunched_vm = allocate_to_prelaunched_vm(pdev); in init_one_dev_config()
57 bool is_allocated_to_hv = is_hv_owned_pdev(pdev->bdf); in init_one_dev_config()
65 if (is_bridge(pdev)) { in init_one_dev_config()
67 } else if (is_host_bridge(pdev)) { in init_one_dev_config()
81 && is_pci_cfg_multifunction(pdev->hdr_type) in init_one_dev_config()
82 && (pdev->bdf.bits.f == 0U)) in init_one_dev_config()
91 dev_config->vbdf.value = pdev->bdf.value; in init_one_dev_config()
92 dev_config->pbdf.value = pdev->bdf.value; in init_one_dev_config()
93 dev_config->pdev = pdev; in init_one_dev_config()