Home
last modified time | relevance | path

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

/external/libxml2/
Dtestapi.c1301 int mem_base; in test_UTF8ToHtml() local
1316 mem_base = xmlMemBlocks(); in test_UTF8ToHtml()
1330 if (mem_base != xmlMemBlocks()) { in test_UTF8ToHtml()
1332 xmlMemBlocks() - mem_base); in test_UTF8ToHtml()
1366 int mem_base; in test_htmlAttrAllowed() local
1378 mem_base = xmlMemBlocks(); in test_htmlAttrAllowed()
1390 if (mem_base != xmlMemBlocks()) { in test_htmlAttrAllowed()
1392 xmlMemBlocks() - mem_base); in test_htmlAttrAllowed()
1424 int mem_base; in test_htmlAutoCloseTag() local
1436 mem_base = xmlMemBlocks(); in test_htmlAutoCloseTag()
[all …]
/external/arm-trusted-firmware/plat/arm/common/
Darm_bl1_fwu.c21 uintptr_t mem_base; member
27 .mem_base = ARM_SHARED_RAM_BASE,
37 .mem_base = ARM_NS_DRAM1_BASE,
41 .mem_base = PLAT_ARM_NVM_BASE,
49 int bl1_plat_mem_check(uintptr_t mem_base, in bl1_plat_mem_check() argument
56 assert(mem_base); in bl1_plat_mem_check()
63 assert(!check_uptr_overflow(mem_base, mem_size - 1)); in bl1_plat_mem_check()
74 if ((mem_base >= mmap[index].mem_base) && in bl1_plat_mem_check()
75 ((mem_base + mem_size) in bl1_plat_mem_check()
76 <= (mmap[index].mem_base + in bl1_plat_mem_check()
/external/u-boot/drivers/bios_emulator/
Dbiosemu.c96 M.mem_base = malloc(memSize); in BE_init()
98 if (M.mem_base == NULL){ in BE_init()
150 memcpy((u8 *) M.mem_base, info->LowMem, sizeof(info->LowMem)); in BE_setVGA()
172 memcpy(info->LowMem, (u8 *) M.mem_base, sizeof(info->LowMem)); in BE_getVGA()
197 return (void *)(M.mem_base + addr); in BE_mapRealPointer()
221 return (void *)(M.mem_base + ((u32) * rseg << 4) + *roff); in BE_getVESABuf()
230 free(M.mem_base); in BE_exit()
260 ((u8 *) M.mem_base)[0x4000] = 0x9A; in BE_callRealMode()
261 ((u8 *) M.mem_base)[0x4001] = (u8) off; in BE_callRealMode()
262 ((u8 *) M.mem_base)[0x4002] = (u8) (off >> 8); in BE_callRealMode()
[all …]
Dbesys.c93 return (u8 *)M.mem_base; in BE_memaddr()
121 return (u8 *)M.mem_base; in BE_memaddr()
124 return (u8 *)(M.mem_base + addr); in BE_memaddr()
Datibios.c85 void *buffer = (void *)(M.mem_base + vbe_offset); in atibios_debug_mode()
176 void *buffer = (void *)(M.mem_base + vbe_offset); in atibios_set_vesa_mode()
/external/u-boot/arch/x86/lib/fsp/
Dfsp_support.c19 phys_addr_t mem_base = 0; in fsp_get_usable_lowmem_top() local
46 if (!mem_base) in fsp_get_usable_lowmem_top()
47 mem_base = res_mem->mem_base; in fsp_get_usable_lowmem_top()
48 if (res_mem->mem_base < mem_base) in fsp_get_usable_lowmem_top()
49 mem_base = res_mem->mem_base; in fsp_get_usable_lowmem_top()
66 top = (u32)mem_base; in fsp_get_usable_lowmem_top()
/external/u-boot/drivers/pci/
Dpci-rcar-gen2.c88 fdt_addr_t mem_base; member
197 writel(priv->mem_base | RCAR_AHBPCI_WIN_CTR_MEM, in rcar_gen2_pci_probe()
214 writel(priv->mem_base + 0x0, devad + PCI_BASE_ADDRESS_0); in rcar_gen2_pci_probe()
221 writel(priv->mem_base + 0x1000, devad + PCI_BASE_ADDRESS_0); in rcar_gen2_pci_probe()
238 priv->mem_base = devfdt_get_addr_index(dev, 1); in rcar_gen2_pci_ofdata_to_platdata()
239 if (!priv->cfg_base || !priv->mem_base) in rcar_gen2_pci_ofdata_to_platdata()
Dpci_ftpci100.c21 unsigned int mem_base; member
90 addr_mem_base = &priv->mem_base; in setup_pci_bar()
231 priv->mem_base = CONFIG_FTPCI100_MEM_BASE + CONFIG_FTPCI100_MEM_SIZE; in ftpci_preinit()
/external/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_image_desc.c102 void uniphier_init_image_descs(uintptr_t mem_base) in REGISTER_BL_IMAGE_DESCS()
107 uniphier_image_descs[i].image_info.image_base += mem_base; in REGISTER_BL_IMAGE_DESCS()
108 uniphier_image_descs[i].ep_info.pc += mem_base; in REGISTER_BL_IMAGE_DESCS()
Duniphier.h45 int uniphier_io_setup(unsigned int soc, uintptr_t mem_base);
47 void uniphier_init_image_descs(uintptr_t mem_base);
Duniphier_io_storage.c320 int uniphier_io_setup(unsigned int soc_id, uintptr_t mem_base) in uniphier_io_setup() argument
331 ret = io_setup(soc_id, mem_base + UNIPHIER_BLOCK_BUF_OFFSET); in uniphier_io_setup()
/external/mesa3d/src/broadcom/simulator/
Dv3d_simulator.c80 uint32_t mem_base; member
192 sim_bo->sim_vaddr = sim_state.mem + sim_bo->block->ofs - sim_state.mem_base; in v3d_create_simulator_bo()
604 sim_state.mem_base = in v3d_simulator_init_global()
618 memset(sim_state.mem + b->ofs - sim_state.mem_base, 0xd0, 4096); in v3d_simulator_init_global()
661 sim_state.mem_base); in v3d_simulator_init()
/external/u-boot/drivers/ddr/fsl/
Dmain.c377 current_mem_base = pinfo->mem_base; in __step_assign_addresses()
685 0xFFFFFFULL) - pinfo->mem_base; in fsl_ddr_compute()
877 info.mem_base = CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY; in fsl_ddr_sdram()
902 info.mem_base = base; in fsl_other_ddr_sdram()
925 info.mem_base = CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY; in fsl_ddr_sdram_size()
/external/arm-trusted-firmware/docs/security_advisories/
Dsecurity-advisory-tfv-1.rst143 if ((mem_base >= mmap[index].mem_base) &&
144 ((mem_base + mem_size)
145 <= (mmap[index].mem_base +
/external/mesa3d/src/broadcom/drm-shim/
Dv3d.h39 uint32_t mem_base; member
Dv3dx.c230 bo->sim_vaddr = v3d.mem + bo->offset - v3d.mem_base; in v3dX()
364 v3d.mem_base = in v3dX()
/external/arm-trusted-firmware/plat/common/
Dplat_bl1_common.c70 int bl1_plat_mem_check(uintptr_t mem_base, unsigned int mem_size, in bl1_plat_mem_check() argument
/external/u-boot/arch/x86/include/asm/
Dhob.h85 phys_addr_t mem_base; member
/external/u-boot/include/
Dfsl_ddr.h68 unsigned long long mem_base; member
/external/libdrm/tests/util/
Dpattern.c913 void *mem_base = mem; in fill_tiles_rgb16() local
931 make_pwetty(mem_base, width, height, stride, info->format); in fill_tiles_rgb16()
961 void *mem_base = mem; in fill_tiles_rgb32() local
980 make_pwetty(mem_base, width, height, stride, info->format); in fill_tiles_rgb32()
988 void *mem_base = mem; in fill_tiles_rgb16fp() local
/external/arm-trusted-firmware/include/plat/common/
Dplatform.h133 int bl1_plat_mem_check(uintptr_t mem_base, unsigned int mem_size,
/external/libchrome/base/debug/
Dactivity_tracker.cc1393 void* mem_base; in CreateTrackerForCurrentThread() local
1394 mem_base = in CreateTrackerForCurrentThread()
1397 DCHECK(mem_base); in CreateTrackerForCurrentThread()
1403 new ManagedActivityTracker(mem_reference, mem_base, stack_memory_size_); in CreateTrackerForCurrentThread()
1709 void* mem_base = tracker->mem_base_; in ReturnTrackerMemory() local
1711 DCHECK(mem_base); in ReturnTrackerMemory()
/external/u-boot/drivers/bios_emulator/include/x86emu/
Dregs.h308 u8 *mem_base; member
/external/u-boot/arch/arm/mach-bcm283x/include/mach/
Dmbox.h172 u32 mem_base; member
/external/arm-trusted-firmware/docs/getting_started/
Dporting-guide.rst1322 Argument : uintptr_t mem_base, unsigned int mem_size,
1328 region of memory identified by ``mem_base`` and ``mem_size`` is mapped in BL1, and
1333 ``mem_base`` and ``mem_size`` fits into a ``uintptr_t`` type variable and does not