Home
last modified time | relevance | path

Searched refs:pEnt (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Bus.c293 EntityPtr pEnt = xf86Entities[entityIndex]; in xf86IsEntityPrimary() local
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()
303 switch (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()
434 EntityPtr pEnt; in xf86AddDevToEntity() local
439 pEnt = xf86Entities[entityIndex]; in xf86AddDevToEntity()
[all …]
H A Dxf86pciBus.c551 EntityPtr pEnt = xf86Entities[k]; in xf86PciProbeDev() local
553 if (pEnt->bus.type != BUS_PCI) in xf86PciProbeDev()
555 if (pEnt->bus.id.pci == pPci) { in xf86PciProbeDev()
990 EntityPtr pEnt = xf86Entities[j]; in xf86MatchPciInstances() local
992 if (pEnt->bus.type != BUS_PCI) in xf86MatchPciInstances()
994 if (pEnt->bus.id.pci == pPci) { in xf86MatchPciInstances()
1018 xf86ConfigPciEntityInactive(EntityInfoPtr pEnt, PciChipsets * p_chip, in xf86ConfigPciEntityInactive() argument
1024 if ((pScrn = xf86FindScreenForEntity(pEnt->index))) in xf86ConfigPciEntityInactive()
1025 xf86RemoveEntityFromScreen(pScrn, pEnt->index); in xf86ConfigPciEntityInactive()
1033 EntityInfoPtr pEnt = xf86GetEntityInfo(entityIndex); in xf86ConfigPciEntity() local
[all …]
H A Dxf86Helper.c1663 xf86ConfigFbEntityInactive(EntityInfoPtr pEnt, EntityProc init, in xf86ConfigFbEntityInactive() argument
1668 if ((pScrn = xf86FindScreenForEntity(pEnt->index))) in xf86ConfigFbEntityInactive()
1669 xf86RemoveEntityFromScreen(pScrn, pEnt->index); in xf86ConfigFbEntityInactive()
1677 EntityInfoPtr pEnt = xf86GetEntityInfo(entityIndex); in xf86ConfigFbEntity() local
1682 if (!pEnt) in xf86ConfigFbEntity()
1685 if (!(pEnt->location.type == BUS_NONE)) { in xf86ConfigFbEntity()
1686 free(pEnt); in xf86ConfigFbEntity()
1690 if (!pEnt->active) { in xf86ConfigFbEntity()
1691 xf86ConfigFbEntityInactive(pEnt, init, enter, leave, private); in xf86ConfigFbEntity()
1692 free(pEnt); in xf86ConfigFbEntity()
[all …]
H A Dxf86platformBus.c459 EntityPtr pEnt = xf86Entities[nent]; in doPlatformProbe() local
461 if (pEnt->bus.type != BUS_PLATFORM) in doPlatformProbe()
463 if (pEnt->bus.id.plat == dev) { in doPlatformProbe()
H A Dxf86VGAarbiter.c127 EntityPtr pEnt; in xf86VGAarbiterScrnInit() local
132 pEnt = xf86Entities[pScrn->entityList[0]]; in xf86VGAarbiterScrnInit()
133 if (pEnt->bus.type != BUS_PCI) in xf86VGAarbiterScrnInit()
136 dev = pEnt->bus.id.pci; in xf86VGAarbiterScrnInit()
/OK3568_Linux_fs/external/recovery/minzip/
H A DHash.c80 HashEntry* pEnt; in mzHashTableClear() local
83 pEnt = pHashTable->pEntries; in mzHashTableClear()
84 for (i = 0; i < pHashTable->tableSize; i++, pEnt++) { in mzHashTableClear()
85 if (pEnt->data == HASH_TOMBSTONE) { in mzHashTableClear()
87 pEnt->data = NULL; in mzHashTableClear()
88 } else if (pEnt->data != NULL) { in mzHashTableClear()
91 (*pHashTable->freeFunc)(pEnt->data); in mzHashTableClear()
92 pEnt->data = NULL; in mzHashTableClear()
296 HashEntry* pEnt = &pHashTable->pEntries[i]; in mzHashForeach() local
298 if (pEnt->data != NULL && pEnt->data != HASH_TOMBSTONE) { in mzHashForeach()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/
H A DHash.c79 HashEntry* pEnt; in mzHashTableClear() local
82 pEnt = pHashTable->pEntries; in mzHashTableClear()
83 for (i = 0; i < pHashTable->tableSize; i++, pEnt++) { in mzHashTableClear()
84 if (pEnt->data == HASH_TOMBSTONE) { in mzHashTableClear()
86 pEnt->data = NULL; in mzHashTableClear()
87 } else if (pEnt->data != NULL) { in mzHashTableClear()
90 (*pHashTable->freeFunc)(pEnt->data); in mzHashTableClear()
91 pEnt->data = NULL; in mzHashTableClear()
297 HashEntry* pEnt = &pHashTable->pEntries[i]; in mzHashForeach() local
299 if (pEnt->data != NULL && pEnt->data != HASH_TOMBSTONE) { in mzHashForeach()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/int10/
H A Dhelper_mem.c198 EntityInfoPtr pEnt = xf86GetEntityInfo(entityIndex); in xf86HandleInt10Options() local
201 if (pEnt->device) { in xf86HandleInt10Options()
205 if (((pEnt->index < 0) || in xf86HandleInt10Options()
206 !pScrn || !(configOptions = pScrn->options)) && pEnt->device) in xf86HandleInt10Options()
207 configOptions = pEnt->device->options; in xf86HandleInt10Options()
217 free(pEnt); in xf86HandleInt10Options()
274 EntityInfoPtr pEnt = xf86GetEntityInfo(pInt->entityIndex); in xf86int10GetBiosLocationType() local
276 location_type = pEnt->location.type; in xf86int10GetBiosLocationType()
277 free(pEnt); in xf86int10GetBiosLocationType()
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Ddriver.c217 pPriv = xf86GetEntityPrivate(ms->pEnt->index, in ms_ent_priv()
795 if (ms->pEnt->location.type == BUS_PCI) in FreeRec()
799 if (!(ms->pEnt->location.type == BUS_PLATFORM && in FreeRec()
800 (ms->pEnt->location.id.plat->flags & XF86_PDEV_SERVER_FD))) in FreeRec()
902 EntityInfoPtr pEnt; in ms_get_drm_master_fd() local
909 pEnt = ms->pEnt; in ms_get_drm_master_fd()
926 if (pEnt->location.type == BUS_PLATFORM) { in ms_get_drm_master_fd()
928 if (pEnt->location.id.plat->flags & XF86_PDEV_SERVER_FD) in ms_get_drm_master_fd()
930 xf86_platform_device_odev_attributes(pEnt->location.id.plat)-> in ms_get_drm_master_fd()
936 xf86_platform_device_odev_attributes(pEnt->location.id.plat)-> in ms_get_drm_master_fd()
[all …]
H A Ddriver.h101 EntityInfoPtr pEnt; member
/OK3568_Linux_fs/external/xserver/
H A DChangeLog4420 modesetting: get pEnt after error checks
22242 In function xf86VGAarbiterScrnInit when the "pEnt->bus.type" is
29745 v2: Emil convinced me we don't need to lookup pEnt