Lines Matching refs:r
38 int r; in xen_add_device() local
105 r = HYPERVISOR_physdev_op(PHYSDEVOP_pci_device_add, add); in xen_add_device()
106 if (r != -ENOSYS) in xen_add_device()
107 return r; in xen_add_device()
112 r = -ENOSYS; in xen_add_device()
123 r = HYPERVISOR_physdev_op(PHYSDEVOP_manage_pci_add_ext, in xen_add_device()
134 r = HYPERVISOR_physdev_op(PHYSDEVOP_manage_pci_add_ext, in xen_add_device()
142 r = HYPERVISOR_physdev_op(PHYSDEVOP_manage_pci_add, in xen_add_device()
146 return r; in xen_add_device()
151 int r; in xen_remove_device() local
161 r = HYPERVISOR_physdev_op(PHYSDEVOP_pci_device_remove, in xen_remove_device()
164 r = -ENOSYS; in xen_remove_device()
171 r = HYPERVISOR_physdev_op(PHYSDEVOP_manage_pci_remove, in xen_remove_device()
175 return r; in xen_remove_device()
182 int r = 0; in xen_pci_notifier() local
186 r = xen_add_device(dev); in xen_pci_notifier()
189 r = xen_remove_device(dev); in xen_pci_notifier()
194 if (r) in xen_pci_notifier()
232 struct physdev_pci_mmcfg_reserved r; in xen_mcfg_late() local
234 r.address = cfg->address; in xen_mcfg_late()
235 r.segment = cfg->segment; in xen_mcfg_late()
236 r.start_bus = cfg->start_bus; in xen_mcfg_late()
237 r.end_bus = cfg->end_bus; in xen_mcfg_late()
238 r.flags = XEN_PCI_MMCFG_RESERVED; in xen_mcfg_late()
240 rc = HYPERVISOR_physdev_op(PHYSDEVOP_pci_mmcfg_reserved, &r); in xen_mcfg_late()