Home
last modified time | relevance | path

Searched refs:xnfcalloc (Results 1 – 25 of 29) sorted by relevance

12

/OK3568_Linux_fs/external/xserver/hw/xwayland/
H A Dxwayland-glamor-xv.c203 pFormat = xnfcalloc(totFormat, sizeof(XvFormatRec)); in xwl_glamor_xv_add_formats()
246 pPorts = xnfcalloc(NUM_PORTS, sizeof(XvPortRec)); in xwl_glamor_xv_add_ports()
249 xwlXvScreen->port_privates = xnfcalloc(NUM_PORTS, in xwl_glamor_xv_add_ports()
280 pa->pAttributes = xnfcalloc(glamor_xv_num_attributes, sizeof(XvAttributeRec)); in xwl_glamor_xv_add_attributes()
293 pa->pImages = xnfcalloc(glamor_xv_num_images, sizeof(XvImageRec)); in xwl_glamor_xv_add_images()
307 pe = xnfcalloc(1, sizeof(XvEncodingRec)); in xwl_glamor_xv_add_encodings()
337 pa = xnfcalloc(1, sizeof(XvAdaptorRec)); in xwl_glamor_xv_add_adaptors()
/OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/
H A Dephyr_glamor_xv.c126 adaptor = xnfcalloc(1, sizeof(*adaptor)); in ephyr_glamor_xv_init()
138 port_privates = xnfcalloc(adaptor->nPorts, in ephyr_glamor_xv_init()
140 adaptor->pPortPrivates = xnfcalloc(adaptor->nPorts, in ephyr_glamor_xv_init()
/OK3568_Linux_fs/external/xserver/hw/xfree86/ramdac/
H A Dxf86RamDac.c112 xnfcalloc(sizeof(RamDacHWRec), 1); in RamDacGetRec()
114 xnfcalloc(sizeof(RamDacScreenRec), 1); in RamDacGetRec()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Config.c184 dir_elem = xnfcalloc(1, strlen(path_elem) + 1); in xf86ValidateFontPath()
334 xf86configptr->conf_modules = xnfcalloc(1, sizeof(XF86ConfModuleRec)); in xf86ModulelistFromConfig()
1323 indp = xnfcalloc((count + 1), sizeof(InputInfoPtr)); in configInputDevices()
1407 slp = xnfcalloc((count + 1), sizeof(screenLayoutRec)); in configLayout()
1417 slp[count].screen = xnfcalloc(1, sizeof(confScreenRec)); in configLayout()
1471 slp[0].screen = xnfcalloc(1, sizeof(confScreenRec)); in configLayout()
1599 slp = xnfcalloc(1, 2 * sizeof(screenLayoutRec)); in configImpliedLayout()
1600 slp[0].screen = xnfcalloc(1, sizeof(confScreenRec)); in configImpliedLayout()
1608 servlayoutp->inactives = xnfcalloc(1, sizeof(GDevRec)); in configImpliedLayout()
1693 screenp->monitor = xnfcalloc(1, sizeof(MonRec)); in configScreen()
[all …]
H A Dxf86Bus.c284 xf86Entities[xf86NumEntities - 1] = xnfcalloc(1, sizeof(EntityRec)); in xf86AllocateEntity()
286 xnfcalloc(xf86EntityPrivateCount, sizeof(DevUnion)); in xf86AllocateEntity()
484 pEnt = xnfcalloc(1, sizeof(EntityInfoRec)); in xf86GetEntityInfo()
H A Dxf86sbusBus.c73 xf86SbusInfo[xf86nSbusInfo - 1] = psdp = xnfcalloc(sizeof(sbusDevice), 1); in CheckSbusDevice()
592 mode = xnfcalloc(sizeof(DisplayModeRec), 1); in xf86SbusUseBuiltinMode()
701 cmap = xnfcalloc(1, sizeof(sbusCmapRec)); in xf86SbusHandleColormaps()
H A Dxf86Configure.c705 dev2screen = xnfcalloc(nDevToConfig, sizeof(int)); in DoConfigure()
708 Bool *driverProbed = xnfcalloc(xf86NumDrivers, sizeof(Bool)); in DoConfigure()
H A Dxf86AutoConfig.c402 xf86ConfigLayout.screens = xnfcalloc(num_screens + md.nmatches, in autoConfigDevice()
H A Dxf86Helper.c170 xf86GPUScreens[i] = xnfcalloc(sizeof(ScrnInfoRec), 1); in xf86AllocateScreen()
181 xf86Screens[i] = xnfcalloc(sizeof(ScrnInfoRec), 1); in xf86AllocateScreen()
188 pScrn->privates = xnfcalloc(sizeof(DevUnion), xf86ScrnInfoPrivateCount); in xf86AllocateScreen()
H A Dxf86Mode.c1635 new = xnfcalloc(1, sizeof(DisplayModeRec)); in xf86ValidateModes()
1703 p = xnfcalloc(1, sizeof(DisplayModeRec)); in xf86ValidateModes()
/OK3568_Linux_fs/external/xserver/hw/xfree86/int10/
H A Dgeneric.c135 pInt = (xf86Int10InfoPtr) xnfcalloc(1, sizeof(xf86Int10InfoRec)); in xf86ExtendedInitInt10()
140 pInt->private = (void *) xnfcalloc(1, sizeof(genericInt10Priv)); in xf86ExtendedInitInt10()
141 INTPriv(pInt)->alloc = (void *) xnfcalloc(1, ALLOC_ENTRIES(getpagesize())); in xf86ExtendedInitInt10()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/int10/
H A Dlinux.c161 pInt = (xf86Int10InfoPtr) xnfcalloc(1, sizeof(xf86Int10InfoRec)); in xf86ExtendedInitInt10()
170 pInt->private = (void *) xnfcalloc(1, sizeof(linuxInt10Priv)); in xf86ExtendedInitInt10()
172 (void *) xnfcalloc(1, ALLOC_ENTRIES(pagesize)); in xf86ExtendedInitInt10()
/OK3568_Linux_fs/external/xserver/config/
H A Dconfig.c136 xnfcalloc(1, sizeof (struct OdevAttributes)); in config_odev_allocate_attributes()
/OK3568_Linux_fs/external/xserver/hw/xfree86/vbe/
H A DvbeModes.c243 pMode = xnfcalloc(sizeof(DisplayModeRec), 1); in CheckMode()
252 data = xnfcalloc(sizeof(VbeModeInfoData), 1); in CheckMode()
H A Dvbe.c889 m = xnfcalloc(sizeof(vbeModeInfoRec), 1);
/OK3568_Linux_fs/external/xserver/hw/xfree86/modes/
H A Dxf86gtf.c103 DisplayModeRec *mode = xnfcalloc(1, sizeof(DisplayModeRec)); in xf86GTFMode()
H A Dxf86cvt.c66 DisplayModeRec *Mode = xnfcalloc(1, sizeof(DisplayModeRec)); in xf86CVTMode()
H A Dxf86Crtc.c62 config = xnfcalloc(1, sizeof(xf86CrtcConfigRec)); in xf86CrtcConfigInit()
2275 preferred = xnfcalloc(config->num_output, sizeof(DisplayModePtr)); in xf86TargetPreferred()
2276 preferred_match = xnfcalloc(config->num_output, sizeof(DisplayModePtr)); in xf86TargetPreferred()
2385 aspects = xnfcalloc(config->num_output, sizeof(float)); in xf86TargetAspect()
2532 crtcs = xnfcalloc(config->num_output, sizeof(xf86CrtcPtr)); in xf86InitialConfiguration()
2533 modes = xnfcalloc(config->num_output, sizeof(DisplayModePtr)); in xf86InitialConfiguration()
2534 enabled = xnfcalloc(config->num_output, sizeof(Bool)); in xf86InitialConfiguration()
H A Dxf86Modes.c324 char *flags = xnfcalloc(1, 1); in xf86PrintModeline()
/OK3568_Linux_fs/external/xserver/include/
H A Dos.h81 #define xnfcalloc(_num, _size) XNFcallocarray((_num), (_size)) macro
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bus/
H A DSbus.c430 devicePtrs[fbNum] = psdp = xnfcalloc(sizeof(sbusDevice), 1); in sparcPromAssignNodes()
/OK3568_Linux_fs/external/xserver/hw/xfree86/ddc/
H A Dinterpret_edid.c174 if (!(m = xnfcalloc(sizeof(xf86Monitor), 1))) in xf86InterpretEDID()
/OK3568_Linux_fs/external/xserver/hw/xfree86/vgahw/
H A DvgaHW.c1634 hwp = VGAHWPTRLVAL(scrp) = xnfcalloc(sizeof(vgaHWRec), 1); in vgaHWGetHWRec()
1928 hwp->ddc = xnfcalloc(sizeof(struct _vgaDdcSave), 1); in vgaHWddc1SetSpeed()
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Ddriver.c404 pPriv->ptr = xnfcalloc(sizeof(modesettingEntRec), 1); in ms_setup_entity()
526 pScrn->driverPrivate = xnfcalloc(sizeof(modesettingRec), 1); in GetRec()
/OK3568_Linux_fs/external/xserver/hw/xfree86/fbdevhw/
H A Dfbdevhw.c96 FBDEVHWPTRLVAL(pScrn) = xnfcalloc(sizeof(fbdevHWRec), 1); in fbdevHWGetRec()

12