Home
last modified time | relevance | path

Searched refs:entityIndex (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Bus.c291 xf86IsEntityPrimary(int entityIndex) in xf86IsEntityPrimary() argument
293 EntityPtr pEnt = xf86Entities[entityIndex]; in xf86IsEntityPrimary()
328 xf86AddEntityToScreen(ScrnInfoPtr pScrn, int entityIndex) in xf86AddEntityToScreen() argument
330 if (entityIndex == -1) in xf86AddEntityToScreen()
332 if (xf86Entities[entityIndex]->inUse && in xf86AddEntityToScreen()
333 !(xf86Entities[entityIndex]->entityProp & IS_SHARED_ACCEL)) { in xf86AddEntityToScreen()
341 pScrn->entityList[pScrn->numEntities - 1] = entityIndex; in xf86AddEntityToScreen()
342 xf86Entities[entityIndex]->inUse = TRUE; in xf86AddEntityToScreen()
350 xf86SetEntityInstanceForScreen(ScrnInfoPtr pScrn, int entityIndex, int instance) in xf86SetEntityInstanceForScreen() argument
354 if (entityIndex == -1 || entityIndex >= xf86NumEntities) in xf86SetEntityInstanceForScreen()
[all …]
H A Dxf86.h115 extern _X_EXPORT struct pci_device *xf86GetPciInfoForEntity(int entityIndex);
122 int scrnFlag, int entityIndex,
146 extern _X_EXPORT void xf86AddEntityToScreen(ScrnInfoPtr pScrn, int entityIndex);
148 int entityIndex,
150 extern _X_EXPORT int xf86GetNumEntityInstances(int entityIndex);
151 extern _X_EXPORT GDevPtr xf86GetDevFromEntity(int entityIndex, int instance);
153 int entityIndex);
154 extern _X_EXPORT EntityInfoPtr xf86GetEntityInfo(int entityIndex);
155 extern _X_EXPORT Bool xf86IsEntityPrimary(int entityIndex);
156 extern _X_EXPORT ScrnInfoPtr xf86FindScreenForEntity(int entityIndex);
[all …]
H A Dxf86pciBus.c374 xf86GetPciInfoForEntity(int entityIndex) in xf86GetPciInfoForEntity() argument
378 if (entityIndex >= xf86NumEntities) in xf86GetPciInfoForEntity()
381 p = xf86Entities[entityIndex]; in xf86GetPciInfoForEntity()
1029 xf86ConfigPciEntity(ScrnInfoPtr pScrn, int scrnFlag, int entityIndex, in xf86ConfigPciEntity() argument
1033 EntityInfoPtr pEnt = xf86GetEntityInfo(entityIndex); in xf86ConfigPciEntity()
1042 || !xf86GetPciInfoForEntity(entityIndex)) { in xf86ConfigPciEntity()
1054 if (xf86IsEntitySharable(entityIndex)) { in xf86ConfigPciEntity()
1055 xf86SetEntityShared(entityIndex); in xf86ConfigPciEntity()
1057 xf86AddEntityToScreen(pScrn, entityIndex); in xf86ConfigPciEntity()
1058 if (xf86IsEntityShared(entityIndex)) { in xf86ConfigPciEntity()
H A Dxf86Priv.h115 extern _X_EXPORT void xf86AddDevToEntity(int entityIndex, GDevPtr dev);
116 extern _X_EXPORT void xf86RemoveDevFromEntity(int entityIndex, GDevPtr dev);
H A Dxf86sbusBus.h75 extern _X_EXPORT sbusDevicePtr xf86GetSbusInfoForEntity(int entityIndex);
H A Dxf86sbusBus.c555 xf86GetSbusInfoForEntity(int entityIndex) in xf86GetSbusInfoForEntity() argument
558 EntityPtr p = xf86Entities[entityIndex]; in xf86GetSbusInfoForEntity()
560 if (entityIndex >= xf86NumEntities || p->bus.type != BUS_SBUS) in xf86GetSbusInfoForEntity()
H A Dxf86platformBus.h46 void xf86MergeOutputClassOptions(int entityIndex, void **options);
H A Dxf86platformBus.c353 xf86MergeOutputClassOptions(int entityIndex, void **options) in xf86MergeOutputClassOptions() argument
355 const EntityPtr entity = xf86Entities[entityIndex]; in xf86MergeOutputClassOptions()
H A Dxf86Helper.c1673 xf86ConfigFbEntity(ScrnInfoPtr pScrn, int scrnFlag, int entityIndex, in xf86ConfigFbEntity() argument
1677 EntityInfoPtr pEnt = xf86GetEntityInfo(entityIndex); in xf86ConfigFbEntity()
1698 xf86AddEntityToScreen(pScrn, entityIndex); in xf86ConfigFbEntity()
H A Dxf86str.h482 typedef void (*EntityProc) (int entityIndex, void *private);
/OK3568_Linux_fs/external/xserver/hw/xfree86/int10/
H A Dgeneric.c117 xf86ExtendedInitInt10(int entityIndex, int Flags) in xf86ExtendedInitInt10() argument
126 pScrn = xf86FindScreenForEntity(entityIndex); in xf86ExtendedInitInt10()
128 options = xf86HandleInt10Options(pScrn, entityIndex); in xf86ExtendedInitInt10()
136 pInt->entityIndex = entityIndex; in xf86ExtendedInitInt10()
148 pInt->dev = xf86GetPciInfoForEntity(entityIndex); in xf86ExtendedInitInt10()
173 if (xf86IsEntityPrimary(entityIndex) && !(initPrimary(options))) { in xf86ExtendedInitInt10()
196 xf86GetPciInfoForEntity(pInt->entityIndex); in xf86ExtendedInitInt10()
247 if (xf86IsEntityPrimary(entityIndex)) { in xf86ExtendedInitInt10()
257 xf86GetPciInfoForEntity(pInt->entityIndex); in xf86ExtendedInitInt10()
H A Dstub.c17 xf86InitInt10(int entityIndex) in xf86InitInt10() argument
19 return xf86ExtendedInitInt10(entityIndex, 0); in xf86InitInt10()
23 xf86ExtendedInitInt10(int entityIndex, int Flags) in xf86ExtendedInitInt10() argument
H A Dxf86int10.h23 int entityIndex; member
64 extern _X_EXPORT xf86Int10InfoPtr xf86InitInt10(int entityIndex);
65 extern _X_EXPORT xf86Int10InfoPtr xf86ExtendedInitInt10(int entityIndex,
177 int entityIndex);
H A Dhelper_mem.c196 xf86HandleInt10Options(ScrnInfoPtr pScrn, int entityIndex) in xf86HandleInt10Options() argument
198 EntityInfoPtr pEnt = xf86GetEntityInfo(entityIndex); in xf86HandleInt10Options()
274 EntityInfoPtr pEnt = xf86GetEntityInfo(pInt->entityIndex); in xf86int10GetBiosLocationType()
H A Dhelper_exec.c735 if (!xf86IsEntityPrimary(pInt->entityIndex) in xf86Int10SaveRestoreBIOSVars()
763 xf86InitInt10(int entityIndex) in xf86InitInt10() argument
765 return xf86ExtendedInitInt10(entityIndex, 0); in xf86InitInt10()
H A Dxf86int10.c689 struct pci_device *const pvp = xf86GetPciInfoForEntity(pInt->entityIndex); in int1A_handler()
876 if ((pvp = xf86GetPciInfoForEntity(pInt->entityIndex))) in intE6_handler()
H A DINT10.HOWTO21 xf86Int10InfoPtr xf86InitInt10(int entityIndex);
135 1. xf86Int10InfoPtr xf86InitInt10(int entityIndex);
146 a. int entityIndex - index of the entity whose BIOS is to be
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/int10/
H A Dlinux.c88 xf86ExtendedInitInt10(int entityIndex, int Flags) in xf86ExtendedInitInt10() argument
111 pScrn = xf86FindScreenForEntity(entityIndex); in xf86ExtendedInitInt10()
114 options = xf86HandleInt10Options(pScrn, entityIndex); in xf86ExtendedInitInt10()
163 pInt->entityIndex = entityIndex; in xf86ExtendedInitInt10()
164 pInt->dev = xf86GetPciInfoForEntity(entityIndex); in xf86ExtendedInitInt10()
174 if (!xf86IsEntityPrimary(entityIndex)) { in xf86ExtendedInitInt10()
261 if (xf86IsEntityPrimary(entityIndex) && !(initPrimary(options))) { in xf86ExtendedInitInt10()
280 xf86GetPciInfoForEntity(pInt->entityIndex); in xf86ExtendedInitInt10()
/OK3568_Linux_fs/external/xserver/hw/xfree86/vbe/
H A Dvbe.h39 extern _X_EXPORT vbeInfoPtr VBEInit(xf86Int10InfoPtr pInt, int entityIndex);
41 int entityIndex, int Flags);
H A Dvbe.c44 VBEInit(xf86Int10InfoPtr pInt, int entityIndex) in VBEInit() argument
46 return VBEExtendedInit(pInt, entityIndex, 0); in VBEInit()
50 VBEExtendedInit(xf86Int10InfoPtr pInt, int entityIndex, int Flags) in VBEExtendedInit() argument
54 ScrnInfoPtr pScrn = xf86FindScreenForEntity(entityIndex); in VBEExtendedInit()
69 pInt = xf86ExtendedInitInt10(entityIndex, Flags); in VBEExtendedInit()