Home
last modified time | relevance | path

Searched refs:primaryBus (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86platformBus.c122 if (primaryBus.type == BUS_PLATFORM) in xf86IsPrimaryPlatform()
123 return plat == primaryBus.id.plat; in xf86IsPrimaryPlatform()
125 if (primaryBus.type == BUS_PCI) in xf86IsPrimaryPlatform()
127 if (MATCH_PCI_DEVICES(primaryBus.id.pci, plat->pdev)) in xf86IsPrimaryPlatform()
328 primaryBus.type = BUS_PLATFORM; in xf86platformProbe()
329 primaryBus.id.plat = dev; in xf86platformProbe()
344 primaryBus.type = BUS_PLATFORM; in xf86platformProbe()
345 primaryBus.id.plat = dev; in xf86platformProbe()
746 if (primaryBus.type == BUS_NONE) { in xf86platformPrimary()
750 primaryBus.id.plat = &xf86_platform_devices[0]; in xf86platformPrimary()
[all …]
H A Dxf86Bus.c58 BusRec primaryBus = { BUS_NONE, {0} }; variable
296 if (primaryBus.type == BUS_PLATFORM && pEnt->bus.type == BUS_PCI) in xf86IsEntityPrimary()
297 return MATCH_PCI_DEVICES(pEnt->bus.id.pci, primaryBus.id.plat->pdev); in xf86IsEntityPrimary()
300 if (primaryBus.type != pEnt->bus.type) in xf86IsEntityPrimary()
305 return pEnt->bus.id.pci == primaryBus.id.pci; in xf86IsEntityPrimary()
307 return pEnt->bus.id.sbus.fbNum == primaryBus.id.sbus.fbNum; in xf86IsEntityPrimary()
309 return pEnt->bus.id.plat == primaryBus.id.plat; in xf86IsEntityPrimary()
H A Dxf86pciBus.c113 if (primaryBus.type == BUS_NONE && pci_device_is_boot_vga(info)) { in xf86PciProbe()
114 primaryBus.type = BUS_PCI; in xf86PciProbe()
115 primaryBus.id.pci = info; in xf86PciProbe()
123 if (primaryBus.type == BUS_NONE && num) { in xf86PciProbe()
132 if (primaryBus.type == BUS_NONE) { in xf86PciProbe()
133 primaryBus.type = BUS_PCI; in xf86PciProbe()
134 primaryBus.id.pci = info; in xf86PciProbe()
139 primaryBus.type ^= (BusType) (-1); in xf86PciProbe()
359 if (primaryBus.type == BUS_PCI) in xf86IsPrimaryPci()
360 return pPci == primaryBus.id.pci; in xf86IsPrimaryPci()
[all …]
H A Dxf86Bus.h66 extern BusRec primaryBus;
/OK3568_Linux_fs/external/xserver/
H A DChangeLog72814 Implement primaryBus for platform devices.