Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/core/
H A Droot.c84 entry->bind += gd->reloc_off; in fix_drivers()
86 entry->probe += gd->reloc_off; in fix_drivers()
88 entry->remove += gd->reloc_off; in fix_drivers()
90 entry->unbind += gd->reloc_off; in fix_drivers()
101 entry->ops += gd->reloc_off; in fix_drivers()
114 entry->post_bind += gd->reloc_off; in fix_uclass()
118 entry->pre_probe += gd->reloc_off; in fix_uclass()
128 entry->init += gd->reloc_off; in fix_uclass()
130 entry->destroy += gd->reloc_off; in fix_uclass()
133 entry->ops += gd->reloc_off; in fix_uclass()
[all …]
/openbmc/u-boot/arch/sh/lib/
H A Dboard.c22 if (new_gd->reloc_off) { in relocate_code()
24 (void *)(new_gd->relocaddr - new_gd->reloc_off), in relocate_code()
27 reloc_board_init_r += new_gd->reloc_off; in relocate_code()
/openbmc/u-boot/drivers/watchdog/
H A Dwdt-uclass.c74 ops->start += gd->reloc_off; in wdt_post_bind()
76 ops->stop += gd->reloc_off; in wdt_post_bind()
78 ops->reset += gd->reloc_off; in wdt_post_bind()
80 ops->expire_now += gd->reloc_off; in wdt_post_bind()
/openbmc/u-boot/arch/x86/lib/
H A Drelocate.c38 ulong dst_addr = (ulong)&__bss_start + gd->reloc_off; in clear_bss()
73 gd->reloc_off); in do_elf_reloc_fixups64()
78 *offset_ptr_ram = gd->reloc_off + in do_elf_reloc_fixups64()
121 gd->reloc_off); in do_elf_reloc_fixups32()
126 *offset_ptr_ram += gd->reloc_off; in do_elf_reloc_fixups32()
/openbmc/u-boot/drivers/serial/
H A Dserial.c142 dev->start += gd->reloc_off; in serial_register()
144 dev->stop += gd->reloc_off; in serial_register()
146 dev->setbrg += gd->reloc_off; in serial_register()
148 dev->getc += gd->reloc_off; in serial_register()
150 dev->tstc += gd->reloc_off; in serial_register()
152 dev->putc += gd->reloc_off; in serial_register()
154 dev->puts += gd->reloc_off; in serial_register()
H A Dserial-uclass.c437 ops->setbrg += gd->reloc_off; in serial_post_probe()
439 ops->getc += gd->reloc_off; in serial_post_probe()
441 ops->putc += gd->reloc_off; in serial_post_probe()
443 ops->pending += gd->reloc_off; in serial_post_probe()
445 ops->clear += gd->reloc_off; in serial_post_probe()
447 ops->getconfig += gd->reloc_off; in serial_post_probe()
449 ops->setconfig += gd->reloc_off; in serial_post_probe()
452 ops->loop += gd->reloc_off; in serial_post_probe()
455 ops->getinfo += gd->reloc_off; in serial_post_probe()
/openbmc/u-boot/drivers/net/phy/
H A Dmiiphybb.c115 BB_MII_RELOCATE(bb_miiphy_buses[i].init, gd->reloc_off); in bb_miiphy_init()
116 BB_MII_RELOCATE(bb_miiphy_buses[i].mdio_active, gd->reloc_off); in bb_miiphy_init()
117 BB_MII_RELOCATE(bb_miiphy_buses[i].mdio_tristate, gd->reloc_off); in bb_miiphy_init()
118 BB_MII_RELOCATE(bb_miiphy_buses[i].set_mdio, gd->reloc_off); in bb_miiphy_init()
119 BB_MII_RELOCATE(bb_miiphy_buses[i].get_mdio, gd->reloc_off); in bb_miiphy_init()
120 BB_MII_RELOCATE(bb_miiphy_buses[i].set_mdc, gd->reloc_off); in bb_miiphy_init()
121 BB_MII_RELOCATE(bb_miiphy_buses[i].delay, gd->reloc_off); in bb_miiphy_init()
H A Dphy.c544 drv->probe += gd->reloc_off; in phy_register()
546 drv->config += gd->reloc_off; in phy_register()
548 drv->startup += gd->reloc_off; in phy_register()
550 drv->shutdown += gd->reloc_off; in phy_register()
552 drv->readext += gd->reloc_off; in phy_register()
554 drv->writeext += gd->reloc_off; in phy_register()
/openbmc/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()
485 ops->mcast += gd->reloc_off; in eth_post_probe()
487 ops->write_hwaddr += gd->reloc_off; in eth_post_probe()
489 ops->read_rom_hwaddr += gd->reloc_off; in eth_post_probe()
/openbmc/u-boot/arch/arc/lib/
H A Drelocate.c31 ulong dst_addr = (ulong)&__bss_start + gd->reloc_off; in clear_bss()
66 gd->reloc_off); in do_elf_reloc_fixups()
125 val += gd->reloc_off; in do_elf_reloc_fixups()
/openbmc/u-boot/env/
H A Denv.c22 entry->name += gd->reloc_off; in env_fix_drivers()
24 entry->load += gd->reloc_off; in env_fix_drivers()
26 entry->save += gd->reloc_off; in env_fix_drivers()
28 entry->init += gd->reloc_off; in env_fix_drivers()
H A Dcallback.c71 var_entry->callback = clbkp->callback + gd->reloc_off; in env_callback_init()
112 ep->callback = clbkp->callback + gd->reloc_off; in set_callback()
/openbmc/u-boot/post/
H A Dpost.c424 addr = (ulong)(test->name) + gd->reloc_off; in post_reloc()
429 addr = (ulong)(test->cmd) + gd->reloc_off; in post_reloc()
434 addr = (ulong)(test->desc) + gd->reloc_off; in post_reloc()
439 addr = (ulong)(test->test) + gd->reloc_off; in post_reloc()
444 addr = (ulong)(test->init_f) + gd->reloc_off; in post_reloc()
449 addr = (ulong)(test->reloc) + gd->reloc_off; in post_reloc()
/openbmc/u-boot/drivers/hwspinlock/
H A Dhwspinlock-uclass.c128 ops->lock += gd->reloc_off; in hwspinlock_post_bind()
130 ops->unlock += gd->reloc_off; in hwspinlock_post_bind()
132 ops->relax += gd->reloc_off; in hwspinlock_post_bind()
/openbmc/u-boot/drivers/mtd/spi/
H A Dsf-uclass.c104 ops->read += gd->reloc_off; in spi_flash_post_bind()
106 ops->write += gd->reloc_off; in spi_flash_post_bind()
108 ops->erase += gd->reloc_off; in spi_flash_post_bind()
/openbmc/u-boot/drivers/spi/
H A Dspi-uclass.c164 ops->claim_bus += gd->reloc_off; in spi_post_probe()
166 ops->release_bus += gd->reloc_off; in spi_post_probe()
168 ops->set_wordlen += gd->reloc_off; in spi_post_probe()
170 ops->xfer += gd->reloc_off; in spi_post_probe()
172 ops->set_speed += gd->reloc_off; in spi_post_probe()
174 ops->set_mode += gd->reloc_off; in spi_post_probe()
176 ops->cs_info += gd->reloc_off; in spi_post_probe()
/openbmc/u-boot/arch/arm/lib/
H A Dinterrupts_64.c34 regs->elr - gd->reloc_off, in show_regs()
35 regs->regs[30] - gd->reloc_off); in show_regs()
H A Dinterrupts.c102 instruction_pointer(regs) - gd->reloc_off, in show_regs()
103 regs->ARM_lr - gd->reloc_off); in show_regs()
/openbmc/u-boot/cmd/
H A Dbdinfo.c249 print_num("reloc off", gd->reloc_off); in do_bdinfo()
294 print_num("reloc off", gd->reloc_off); in do_bdinfo()
328 print_num("reloc off", gd->reloc_off); in do_bdinfo()
380 print_num("reloc off", gd->reloc_off); in do_bdinfo()
430 print_num("reloc off", gd->reloc_off); in do_bdinfo()
/openbmc/u-boot/arch/mips/lib/
H A Dtraps.c52 field, regs->cp0_epc - gd->reloc_off); in show_regs()
54 field, regs->regs[31] - gd->reloc_off); in show_regs()
/openbmc/u-boot/drivers/gpio/
H A Dgpio-uclass.c1042 ops->request += gd->reloc_off; in gpio_post_bind()
1044 ops->free += gd->reloc_off; in gpio_post_bind()
1046 ops->direction_input += gd->reloc_off; in gpio_post_bind()
1048 ops->direction_output += gd->reloc_off; in gpio_post_bind()
1050 ops->get_value += gd->reloc_off; in gpio_post_bind()
1052 ops->set_value += gd->reloc_off; in gpio_post_bind()
1054 ops->get_open_drain += gd->reloc_off; in gpio_post_bind()
1056 ops->set_open_drain += gd->reloc_off; in gpio_post_bind()
1058 ops->get_function += gd->reloc_off; in gpio_post_bind()
1060 ops->xlate += gd->reloc_off; in gpio_post_bind()
/openbmc/u-boot/common/
H A Dcommand.c487 if (gd->reloc_off == 0) in fixup_cmdtable()
493 addr = (ulong)(cmdtp->cmd) + gd->reloc_off; in fixup_cmdtable()
500 addr = (ulong)(cmdtp->name) + gd->reloc_off; in fixup_cmdtable()
503 addr = (ulong)(cmdtp->usage) + gd->reloc_off; in fixup_cmdtable()
508 addr = (ulong)(cmdtp->help) + gd->reloc_off; in fixup_cmdtable()
514 addr = (ulong)(cmdtp->complete) + gd->reloc_off; in fixup_cmdtable()
/openbmc/u-boot/fs/
H A Dfs.c318 info->name += gd->reloc_off; in fs_set_blk_dev()
319 info->probe += gd->reloc_off; in fs_set_blk_dev()
320 info->close += gd->reloc_off; in fs_set_blk_dev()
321 info->ls += gd->reloc_off; in fs_set_blk_dev()
322 info->read += gd->reloc_off; in fs_set_blk_dev()
323 info->write += gd->reloc_off; in fs_set_blk_dev()
/openbmc/u-boot/arch/arm/include/asm/
H A Dsecure.h22 typeof(_fn) *__tmp = (__fn - gd->reloc_off); \
/openbmc/u-boot/include/
H A Dinitcall.h26 reloc_ofs = gd->reloc_off; in initcall_run_list()

12