Home
last modified time | relevance | path

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

12345

/external/u-boot/include/
Dnetdev.h32 int calxedaxgmac_initialize(u32 id, ulong base_addr);
33 int cs8900_initialize(u8 dev_num, int base_addr);
36 int designware_initialize(ulong base_addr, u32 interface);
41 int ep93xx_eth_initialize(u8 dev_num, int base_addr);
43 int ethoc_initialize(u8 dev_num, int base_addr);
51 int ks8851_mll_initialize(u8 dev_num, int base_addr);
52 int lan91c96_initialize(u8 dev_num, int base_addr);
58 int mvneta_initialize(bd_t *bis, int base_addr, int devnum, int phy_addr);
70 int smc91111_initialize(u8 dev_num, int base_addr);
71 int smc911x_initialize(u8 dev_num, int base_addr);
[all …]
/external/u-boot/arch/x86/lib/
Dmrccache.c45 ulong base_addr, end_addr; in mrccache_find_current() local
48 base_addr = entry->base + entry->offset; in mrccache_find_current()
49 end_addr = base_addr + entry->length; in mrccache_find_current()
53 for (id = 0, next = (struct mrc_data_container *)base_addr; in mrccache_find_current()
90 ulong base_addr, end_addr; in find_next_mrc_cache() local
92 base_addr = entry->base + entry->offset; in find_next_mrc_cache()
93 end_addr = base_addr + entry->length; in find_next_mrc_cache()
113 ulong base_addr; in mrccache_update() local
120 base_addr = entry->base + entry->offset; in mrccache_update()
146 cache = (struct mrc_data_container *)base_addr; in mrccache_update()
[all …]
/external/f2fs-tools/fsck/
Dxattr.c52 static struct f2fs_xattr_entry *__find_xattr(void *base_addr, int index, in __find_xattr() argument
56 list_for_each_xattr(entry, base_addr) { in __find_xattr()
120 void *base_addr; in f2fs_setxattr() local
152 base_addr = read_all_xattrs(sbi, inode); in f2fs_setxattr()
153 ASSERT(base_addr); in f2fs_setxattr()
155 here = __find_xattr(base_addr, index, len, name); in f2fs_setxattr()
180 free = MIN_OFFSET - ((char *)last - (char *)base_addr); in f2fs_setxattr()
204 new_hsize = (char *)last - (char *)base_addr; in f2fs_setxattr()
223 write_all_xattrs(sbi, inode, new_hsize, base_addr); in f2fs_setxattr()
230 free(base_addr); in f2fs_setxattr()
/external/u-boot/arch/powerpc/cpu/mpc8xxx/
Dfsl_pamu.c231 u32 base_addr = CONFIG_SYS_PAMU_ADDR; in pamu_init() local
268 regs = (struct ccsr_pamu *)base_addr; in pamu_init()
284 base_addr += PAMU_OFFSET; in pamu_init()
293 u32 base_addr = CONFIG_SYS_PAMU_ADDR; in pamu_enable() local
295 setbits_be32((void *)base_addr + PAMU_PCR_OFFSET, in pamu_enable()
298 base_addr += PAMU_OFFSET; in pamu_enable()
305 u32 base_addr = CONFIG_SYS_PAMU_ADDR; in pamu_reset() local
309 regs = (struct ccsr_pamu *)base_addr; in pamu_reset()
322 base_addr += PAMU_OFFSET; in pamu_reset()
329 u32 base_addr = CONFIG_SYS_PAMU_ADDR; in pamu_disable() local
[all …]
/external/u-boot/board/compulab/common/
Domap3_smc911x.c30 static void cl_omap3_smc911x_setup_net_chip_gmpc(int cs, u32 base_addr) in cl_omap3_smc911x_setup_net_chip_gmpc() argument
35 &gpmc_cfg->cs[cs], base_addr, GPMC_SIZE_16M); in cl_omap3_smc911x_setup_net_chip_gmpc()
74 int cl_omap3_smc911x_init(int id, int cs, u32 base_addr, in cl_omap3_smc911x_init() argument
79 cl_omap3_smc911x_setup_net_chip_gmpc(cs, base_addr); in cl_omap3_smc911x_init()
86 ret = smc911x_initialize(id, base_addr); in cl_omap3_smc911x_init()
Dcommon.h27 int cl_omap3_smc911x_init(int id, int cs, u32 base_addr,
30 static inline int cl_omap3_smc911x_init(int id, int cs, u32 base_addr, in cl_omap3_smc911x_init() argument
/external/vixl/examples/aarch32/
Ddisasm-a32.cc235 char* base_addr; in main() local
236 VIXL_CHECK((base_addr = reinterpret_cast<char*>( in main()
240 const Elf32_Ehdr* ehdr = reinterpret_cast<const Elf32_Ehdr*>(base_addr); in main()
245 munmap(base_addr, sb.st_size); in main()
251 munmap(base_addr, sb.st_size); in main()
257 reinterpret_cast<const Elf32_Shdr*>(base_addr + ehdr->e_shoff); in main()
301 base_addr + symbol.GetMemoryAddress()), in main()
306 base_addr + symbol.GetMemoryAddress()), in main()
310 munmap(base_addr, sb.st_size); in main()
/external/u-boot/arch/arm/mach-socfpga/
Dpinmux_arria10.c14 fdt_addr_t base_addr; in do_pinctr_pin() local
19 base_addr = fdtdec_get_addr_size(blob, child, "reg", &size); in do_pinctr_pin()
20 if (base_addr != FDT_ADDR_T_NONE) { in do_pinctr_pin()
30 writel(value, base_addr + offset); in do_pinctr_pin()
Dmisc_arria10.c125 fdt_addr_t base_addr = 0; in find_peripheral_uart() local
130 base_addr = fdtdec_get_addr_size(blob, child, "reg", &size); in find_peripheral_uart()
131 if (base_addr != FDT_ADDR_T_NONE) { in find_peripheral_uart()
/external/u-boot/drivers/gpio/
Dvybrid_gpio.c110 fdt_addr_t base_addr; in vybrid_gpio_odata_to_platdata() local
112 base_addr = devfdt_get_addr(dev); in vybrid_gpio_odata_to_platdata()
113 if (base_addr == FDT_ADDR_T_NONE) in vybrid_gpio_odata_to_platdata()
116 plat->base = base_addr; in vybrid_gpio_odata_to_platdata()
Dintel_ich6_gpio.c112 plat->base_addr = gpiobase + offset; in gpio_ich6_ofdata_to_platdata()
128 bank->use_sel = plat->base_addr; in ich6_gpio_probe()
129 bank->io_sel = plat->base_addr + 4; in ich6_gpio_probe()
130 bank->lvl = plat->base_addr + 8; in ich6_gpio_probe()
Domap_gpio.c308 fdt_addr_t base_addr; in omap_gpio_bind() local
313 base_addr = devfdt_get_addr(dev); in omap_gpio_bind()
314 if (base_addr == FDT_ADDR_T_NONE) in omap_gpio_bind()
331 plat->base = base_addr; in omap_gpio_bind()
/external/u-boot/drivers/mmc/
Domap_hsmmc.c75 struct hsmmc *base_addr; member
357 mmc_base = priv->base_addr; in omap_hsmmc_set_timing()
410 mmc_base = priv->base_addr; in omap_hsmmc_conf_bus_power()
437 struct hsmmc *mmc_base = priv->base_addr; in omap_hsmmc_wait_dat0()
503 struct hsmmc *mmc_base = priv->base_addr; in omap_hsmmc_set_signal_voltage()
551 mmc_base = priv->base_addr; in omap_hsmmc_set_capabilities()
576 mmc_base = priv->base_addr; in omap_hsmmc_disable_tuning()
593 mmc_base = priv->base_addr; in omap_hsmmc_set_dll()
623 mmc_base = priv->base_addr; in omap_hsmmc_execute_tuning()
690 struct hsmmc *mmc_base = priv->base_addr; in omap_hsmmc_send_init_stream()
[all …]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFCompileUnit.cpp159 uint64_t base_addr = in extractDIEsIfNeeded() local
161 if (base_addr == -1U) in extractDIEsIfNeeded()
162 base_addr = die.getAttributeValueAsUnsigned(this, DW_AT_entry_pc, 0); in extractDIEsIfNeeded()
163 setBaseAddress(base_addr); in extractDIEsIfNeeded()
/external/u-boot/arch/arm/mach-imx/mx6/
Dclock.c617 void mxs_set_lcdclk(u32 base_addr, u32 freq) in mxs_set_lcdclk() argument
637 if (base_addr == LCDIF1_BASE_ADDR) { in mxs_set_lcdclk()
709 if (base_addr == LCDIF1_BASE_ADDR) { in mxs_set_lcdclk()
713 enable_lcdif_clock(base_addr, 0); in mxs_set_lcdclk()
744 enable_lcdif_clock(base_addr, 1); in mxs_set_lcdclk()
750 enable_lcdif_clock(base_addr, 0); in mxs_set_lcdclk()
765 enable_lcdif_clock(base_addr, 1); in mxs_set_lcdclk()
769 int enable_lcdif_clock(u32 base_addr, bool enable) in enable_lcdif_clock() argument
775 if ((base_addr != LCDIF1_BASE_ADDR) && in enable_lcdif_clock()
776 (base_addr != LCDIF2_BASE_ADDR)) { in enable_lcdif_clock()
[all …]
/external/u-boot/board/samsung/common/
Dboard.c206 fdt_addr_t base_addr; in board_eth_init() local
221 base_addr = fdtdec_get_addr(gd->fdt_blob, node, "reg"); in board_eth_init()
222 if (base_addr == FDT_ADDR_T_NONE) { in board_eth_init()
247 return smc911x_initialize(0, base_addr); in board_eth_init()
/external/u-boot/drivers/mtd/
Dcfi_mtd.c139 ulong base_addr; in cfi_mtd_set_erasesize() local
167 base_addr = offset = fi->start[0]; in cfi_mtd_set_erasesize()
171 mtd->eraseregions[regions].offset = offset - base_addr; in cfi_mtd_set_erasesize()
193 mtd->eraseregions[regions].offset = offset - base_addr; in cfi_mtd_set_erasesize()
/external/strace/tests-m32/
Dxet_thread_area_x86.c125 assert(ptr->base_addr == expected_ptr->base_addr); in get_thread_area()
184 ta1->base_addr = 0; in main()
/external/u-boot/board/esd/vme8349/
Dcaddy.c41 unsigned long base_addr; in do_caddy() local
56 base_addr = simple_strtoul(argv[1], NULL, 16); in do_caddy()
57 caddy_interface = (struct caddy_interface *) base_addr; in do_caddy()
/external/strace/tests/
Dxet_thread_area_x86.c125 assert(ptr->base_addr == expected_ptr->base_addr); in get_thread_area()
184 ta1->base_addr = 0; in main()
/external/strace/tests-mx32/
Dxet_thread_area_x86.c125 assert(ptr->base_addr == expected_ptr->base_addr); in get_thread_area()
184 ta1->base_addr = 0; in main()
/external/linux-kselftest/tools/testing/selftests/x86/
Dsigreturn.c196 .base_addr = (unsigned long)int3, in setup_ldt()
209 .base_addr = (unsigned long)stack16, in setup_ldt()
222 .base_addr = (unsigned long)int3, in setup_ldt()
235 .base_addr = (unsigned long)stack16, in setup_ldt()
248 .base_addr = (unsigned long)stack16, in setup_ldt()
273 .base_addr = (unsigned long)stack16, in setup_ldt()
/external/u-boot/board/bluewater/gurnard/
Dgurnard.c120 u16 *base_addr = (u16 *)gd->video_bottom; in lcd_splash() local
122 memset(base_addr, 0xff, width * height * 2); in lcd_splash()
133 base_addr[posy * width + posx] = colour; in lcd_splash()
417 .base_addr = ATMEL_BASE_DBGU,
/external/u-boot/board/technologic/ts4800/
Dts4800.c169 static int fec_get_mac_from_register(uint32_t base_addr) in fec_get_mac_from_register() argument
175 reg_mac[0] = in_be32(base_addr + 0xE4); in fec_get_mac_from_register()
176 reg_mac[1] = in_be32(base_addr + 0xE8); in fec_get_mac_from_register()
/external/ltp/testcases/kernel/syscalls/fork/
Dfork05.c121 unsigned long int base_addr; member
147 ldt0.base_addr = (long)&a; in main()

12345