Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/drivers/core/
H A Droot.c83 ((u32)entry->of_match + gd->reloc_off); in fix_drivers()
85 entry->bind += gd->reloc_off; in fix_drivers()
87 entry->probe += gd->reloc_off; in fix_drivers()
89 entry->remove += gd->reloc_off; in fix_drivers()
91 entry->unbind += gd->reloc_off; in fix_drivers()
93 entry->ofdata_to_platdata += gd->reloc_off; in fix_drivers()
95 entry->child_post_bind += gd->reloc_off; in fix_drivers()
97 entry->child_pre_probe += gd->reloc_off; in fix_drivers()
99 entry->child_post_remove += gd->reloc_off; in fix_drivers()
102 entry->ops += gd->reloc_off; in fix_drivers()
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/lib/
H A Drelocate.c40 ulong dst_addr = (ulong)&__bss_start + gd->reloc_off; in clear_bss()
66 gd->reloc_off); in do_elf_reloc_fixups64()
71 *offset_ptr_ram = gd->reloc_off + in do_elf_reloc_fixups64()
106 gd->reloc_off); in do_elf_reloc_fixups32()
111 *offset_ptr_ram += gd->reloc_off; in do_elf_reloc_fixups32()
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Dinterrupts_64.c83 printf("* PC = %016lx\n", regs->elr - gd->reloc_off); in show_regs()
84 printf("* LR = %016lx\n", regs->regs[30] - gd->reloc_off); in show_regs()
91 printf("* Reloc Off = %016lx\n\n", gd->reloc_off); in show_regs()
116 printf("ELR: %lx\n", regs->elr - gd->reloc_off); in show_regs()
117 printf("LR: %lx\n", regs->regs[30] - gd->reloc_off); in show_regs()
H A Dstacktrace_64.c79 pc = (ulong)frame.pc - gd->reloc_off; in dump_core_stack()
80 lr = (ulong)regs->regs[30] - gd->reloc_off; in dump_core_stack()
93 pc = (ulong)frame.pc - gd->reloc_off; in dump_core_stack()
H A Dinterrupts.c76 pc = instruction_pointer(regs) - gd->reloc_off; in show_regs()
77 lr = regs->ARM_lr - gd->reloc_off; in show_regs()
H A Dstacktrace.c491 pc = (ulong)state->registers[PC] - gd->reloc_off; in print_stack_arm32()
492 lr = (ulong)state->registers[LR] - gd->reloc_off; in print_stack_arm32()
505 pc = (ulong)state->registers[PC] - gd->reloc_off; in print_stack_arm32()
/OK3568_Linux_fs/u-boot/drivers/net/phy/
H A Dmiiphybb.c116 BB_MII_RELOCATE(bb_miiphy_buses[i].init, gd->reloc_off); in bb_miiphy_init()
117 BB_MII_RELOCATE(bb_miiphy_buses[i].mdio_active, gd->reloc_off); in bb_miiphy_init()
118 BB_MII_RELOCATE(bb_miiphy_buses[i].mdio_tristate, gd->reloc_off); in bb_miiphy_init()
119 BB_MII_RELOCATE(bb_miiphy_buses[i].set_mdio, gd->reloc_off); in bb_miiphy_init()
120 BB_MII_RELOCATE(bb_miiphy_buses[i].get_mdio, gd->reloc_off); in bb_miiphy_init()
121 BB_MII_RELOCATE(bb_miiphy_buses[i].set_mdc, gd->reloc_off); in bb_miiphy_init()
122 BB_MII_RELOCATE(bb_miiphy_buses[i].delay, gd->reloc_off); in bb_miiphy_init()
H A Dphy.c537 drv->probe += gd->reloc_off; in phy_register()
539 drv->config += gd->reloc_off; in phy_register()
541 drv->startup += gd->reloc_off; in phy_register()
543 drv->shutdown += gd->reloc_off; in phy_register()
545 drv->readext += gd->reloc_off; in phy_register()
547 drv->writeext += gd->reloc_off; in phy_register()
549 drv->read_mmd += gd->reloc_off; in phy_register()
551 drv->write_mmd += gd->reloc_off; in phy_register()
/OK3568_Linux_fs/u-boot/net/
H A Deth-uclass.c475 ops->start += gd->reloc_off; in eth_post_probe()
477 ops->send += gd->reloc_off; in eth_post_probe()
479 ops->recv += gd->reloc_off; in eth_post_probe()
481 ops->free_pkt += gd->reloc_off; in eth_post_probe()
483 ops->stop += gd->reloc_off; in eth_post_probe()
486 ops->mcast += gd->reloc_off; in eth_post_probe()
489 ops->write_hwaddr += gd->reloc_off; in eth_post_probe()
491 ops->read_rom_hwaddr += gd->reloc_off; in eth_post_probe()
/OK3568_Linux_fs/u-boot/arch/sh/lib/
H A Dboard.c23 if (new_gd->reloc_off) { in relocate_code()
25 (void *)(new_gd->relocaddr - new_gd->reloc_off), in relocate_code()
28 reloc_board_init_r += new_gd->reloc_off; in relocate_code()
/OK3568_Linux_fs/u-boot/drivers/serial/
H A Dserial.c169 dev->start += gd->reloc_off; in serial_register()
171 dev->stop += gd->reloc_off; in serial_register()
173 dev->setbrg += gd->reloc_off; in serial_register()
175 dev->getc += gd->reloc_off; in serial_register()
177 dev->tstc += gd->reloc_off; in serial_register()
179 dev->putc += gd->reloc_off; in serial_register()
181 dev->puts += gd->reloc_off; in serial_register()
H A Dserial-uclass.c448 ops->setbrg += gd->reloc_off; in serial_post_probe()
450 ops->getc += gd->reloc_off; in serial_post_probe()
452 ops->putc += gd->reloc_off; in serial_post_probe()
454 ops->pending += gd->reloc_off; in serial_post_probe()
456 ops->clear += gd->reloc_off; in serial_post_probe()
459 ops->loop += gd->reloc_off in serial_post_probe()
/OK3568_Linux_fs/u-boot/arch/arc/lib/
H A Drelocate.c27 ulong dst_addr = (ulong)&__bss_start + gd->reloc_off; in clear_bss()
59 gd->reloc_off); in do_elf_reloc_fixups()
83 val += gd->reloc_off; in do_elf_reloc_fixups()
/OK3568_Linux_fs/u-boot/post/
H A Dpost.c425 addr = (ulong)(test->name) + gd->reloc_off; in post_reloc()
430 addr = (ulong)(test->cmd) + gd->reloc_off; in post_reloc()
435 addr = (ulong)(test->desc) + gd->reloc_off; in post_reloc()
440 addr = (ulong)(test->test) + gd->reloc_off; in post_reloc()
445 addr = (ulong)(test->init_f) + gd->reloc_off; in post_reloc()
450 addr = (ulong)(test->reloc) + gd->reloc_off; in post_reloc()
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dspi-uclass.c183 ops->claim_bus += gd->reloc_off; in spi_post_probe()
185 ops->release_bus += gd->reloc_off; in spi_post_probe()
187 ops->set_wordlen += gd->reloc_off; in spi_post_probe()
189 ops->xfer += gd->reloc_off; in spi_post_probe()
191 ops->set_speed += gd->reloc_off; in spi_post_probe()
193 ops->set_mode += gd->reloc_off; in spi_post_probe()
195 ops->cs_info += gd->reloc_off; in spi_post_probe()
/OK3568_Linux_fs/u-boot/drivers/mtd/spi/
H A Dsf-uclass.c95 ops->read += gd->reloc_off; in spi_flash_post_bind()
97 ops->write += gd->reloc_off; in spi_flash_post_bind()
99 ops->erase += gd->reloc_off; in spi_flash_post_bind()
/OK3568_Linux_fs/u-boot/common/
H A Dcommand.c446 if (gd->reloc_off == 0) in fixup_cmdtable()
452 addr = (ulong)(cmdtp->cmd) + gd->reloc_off; in fixup_cmdtable()
459 addr = (ulong)(cmdtp->name) + gd->reloc_off; in fixup_cmdtable()
462 addr = (ulong)(cmdtp->usage) + gd->reloc_off; in fixup_cmdtable()
467 addr = (ulong)(cmdtp->help) + gd->reloc_off; in fixup_cmdtable()
473 addr = (ulong)(cmdtp->complete) + gd->reloc_off; in fixup_cmdtable()
H A Dboard_f.c684 gd->reloc_off = gd->relocaddr - (unsigned long)__image_copy_start; in setup_reloc()
690 gd->reloc_off = gd->relocaddr - (CONFIG_SYS_TEXT_BASE + 0x400); in setup_reloc()
692 gd->reloc_off = gd->relocaddr - CONFIG_SYS_TEXT_BASE; in setup_reloc()
697 gd->reloc_off = 0; in setup_reloc()
702 printf("Relocation Offset: %08lx\n", gd->reloc_off); in setup_reloc()
1037 (board_init_r + gd->reloc_off)((gd_t *)gd, gd->relocaddr); in board_init_f_r()
H A Dimage.c641 return entry->lname + gd->reloc_off; in genimg_get_cat_name()
665 return entry->sname + gd->reloc_off; in genimg_get_cat_short_name()
701 return table->lname + gd->reloc_off; in get_table_entry_name()
729 return table->sname + gd->reloc_off; in genimg_get_short_name()
780 if (t->sname && strcasecmp(t->sname + gd->reloc_off, name) == 0) in get_table_entry_id()
/OK3568_Linux_fs/u-boot/fs/
H A Dfs.c262 info->name += gd->reloc_off; in fs_set_blk_dev()
263 info->probe += gd->reloc_off; in fs_set_blk_dev()
264 info->close += gd->reloc_off; in fs_set_blk_dev()
265 info->ls += gd->reloc_off; in fs_set_blk_dev()
266 info->read += gd->reloc_off; in fs_set_blk_dev()
267 info->write += gd->reloc_off; in fs_set_blk_dev()
/OK3568_Linux_fs/u-boot/arch/mips/lib/
H A Dtraps.c53 field, regs->cp0_epc - gd->reloc_off); in show_regs()
55 field, regs->regs[31] - gd->reloc_off); in show_regs()
/OK3568_Linux_fs/u-boot/env/
H A Dcallback.c72 var_entry->callback = clbkp->callback + gd->reloc_off; in env_callback_init()
113 ep->callback = clbkp->callback + gd->reloc_off; in set_callback()
/OK3568_Linux_fs/u-boot/cmd/
H A Dbdinfo.c250 print_num("reloc off", gd->reloc_off); in do_bdinfo()
295 print_num("reloc off", gd->reloc_off); in do_bdinfo()
329 print_num("reloc off", gd->reloc_off); in do_bdinfo()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/
H A Dsecure.h22 typeof(_fn) *__tmp = (__fn - gd->reloc_off); \
/OK3568_Linux_fs/u-boot/lib/
H A Dasm-offsets.c37 DEFINE(GD_RELOC_OFF, offsetof(struct global_data, reloc_off)); in main()

12