Home
last modified time | relevance | path

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

123

/external/u-boot/examples/standalone/
Dstubs.c16 gd_t *global_data;
39 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r11");
53 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "x9");
65 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "ip");
83 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "t9");
99 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "t9");
115 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "gp");
131 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "a0");
143 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r5");
161 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r1", "r2");
[all …]
/external/u-boot/board/freescale/t4rdb/
Dspl.c46 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f()
49 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f()
66 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f()
69 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
73 bd = (bd_t *)(gd + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/freescale/b4860qds/
Dspl.c59 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f()
62 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f()
77 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f()
80 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
84 bd = (bd_t *)(gd + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/freescale/t208xrdb/
Dspl.c40 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f()
43 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f()
63 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f()
66 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
70 bd = (bd_t *)(gd + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/freescale/t104xrdb/
Dspl.c62 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f()
65 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f()
85 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f()
88 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
92 bd = (bd_t *)(gd + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/freescale/t208xqds/
Dspl.c70 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f()
73 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f()
93 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f()
96 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
100 bd = (bd_t *)(gd + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/freescale/t4qds/
Dspl.c79 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f()
82 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f()
102 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f()
105 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
109 bd = (bd_t *)(gd + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/freescale/t102xrdb/
Dspl.c65 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f()
68 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f()
94 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f()
97 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
101 bd = (bd_t *)(gd + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/freescale/t102xqds/
Dspl.c84 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f()
87 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f()
107 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f()
110 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
114 bd = (bd_t *)(gd + sizeof(gd_t)); in board_init_r()
/external/u-boot/arch/arm/include/asm/
Dglobal_data.h86 static inline gd_t *get_gd(void) in get_gd()
88 gd_t *gd_ptr; in get_gd()
106 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18")
108 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")
/external/u-boot/board/freescale/c29xpcie/
Dspl.c43 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
46 gd = (gd_t *)CONFIG_SPL_GD_ADDR; in board_init_r()
49 memset(gd, 0, sizeof(gd_t)); in board_init_r()
50 bd = (bd_t *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t)); in board_init_r()
/external/u-boot/arch/nds32/include/asm/
Dglobal_data.h27 extern volatile gd_t g_gd;
28 #define DECLARE_GLOBAL_DATA_PTR static volatile gd_t *gd = &g_gd
30 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("$r10")
/external/u-boot/arch/m68k/include/asm/
Dglobal_data.h26 extern gd_t *global_data;
27 #define DECLARE_GLOBAL_DATA_PTR gd_t *gd = global_data
29 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("d7")
/external/u-boot/board/freescale/p1010rdb/
Dspl.c59 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
62 gd = (gd_t *)CONFIG_SPL_GD_ADDR; in board_init_r()
65 memset(gd, 0, sizeof(gd_t)); in board_init_r()
66 bd = (bd_t *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t)); in board_init_r()
/external/u-boot/arch/x86/lib/
Dasm-offsets.c19 DEFINE(GD_BIST, offsetof(gd_t, arch.bist)); in main()
21 DEFINE(GD_HOB_LIST, offsetof(gd_t, arch.hob_list)); in main()
23 DEFINE(GD_TABLE, offsetof(gd_t, arch.table)); in main()
/external/u-boot/board/freescale/p1_p2_rdb_pc/
Dspl.c65 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
68 gd = (gd_t *)CONFIG_SPL_GD_ADDR; in board_init_r()
71 memset(gd, 0, sizeof(gd_t)); in board_init_r()
72 bd = (bd_t *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/Arcturus/ucp1020/
Dspl.c73 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
76 gd = (gd_t *)CONFIG_SPL_GD_ADDR; in board_init_r()
79 memset(gd, 0, sizeof(gd_t)); in board_init_r()
80 bd = (bd_t *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t)); in board_init_r()
/external/u-boot/board/freescale/p1022ds/
Dspl.c73 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r()
76 gd = (gd_t *)CONFIG_SPL_GD_ADDR; in board_init_r()
79 memset(gd, 0, sizeof(gd_t)); in board_init_r()
80 bd = (bd_t *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t)); in board_init_r()
/external/u-boot/arch/arm/mach-exynos/
Dspl_boot.c276 static void setup_global_data(gd_t *gdp) in setup_global_data()
279 memzero((void *)gd, sizeof(gd_t)); in setup_global_data()
287 __aligned(8) gd_t local_gd; in board_init_f()
304 void board_init_r(gd_t *id, ulong dest_addr) in board_init_r()
/external/u-boot/arch/sh/lib/
Dboard.c18 void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) in relocate_code()
20 void (*reloc_board_init_r)(gd_t *gd, ulong dest) = board_init_r; in relocate_code()
/external/u-boot/include/
Dinit.h155 void arch_setup_gd(gd_t *gd_ptr);
158 void board_init_r(gd_t *id, ulong dest_addr) __attribute__ ((noreturn));
/external/u-boot/arch/powerpc/cpu/mpc86xx/
Dcpu_init.c34 gd = (gd_t *) (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET); in cpu_init_f()
37 memset ((void *) gd, 0, sizeof (gd_t)); in cpu_init_f()
/external/u-boot/common/
Dboard_f.c50 DECLARE_GLOBAL_DATA_PTR = (gd_t *)(CONFIG_SYS_INIT_GD_ADDR);
450 gd->start_addr_sp -= sizeof(gd_t); in reserve_global_data()
451 gd->new_gd = (gd_t *)map_sysmem(gd->start_addr_sp, sizeof(gd_t)); in reserve_global_data()
453 sizeof(gd_t), gd->start_addr_sp); in reserve_global_data()
636 memcpy(gd->new_gd, (char *)gd, sizeof(gd_t)); in setup_reloc()
959 (board_init_r + gd->reloc_off)((gd_t *)gd, gd->relocaddr); in board_init_f_r()
/external/u-boot/common/spl/
Dspl.c455 void board_init_r(gd_t *dummy1, ulong dummy2) in board_init_r()
595 gd_t *new_gd; in spl_relocate_stack_gd()
607 ptr = CONFIG_SPL_STACK_R_ADDR - roundup(sizeof(gd_t),16); in spl_relocate_stack_gd()
608 new_gd = (gd_t *)ptr; in spl_relocate_stack_gd()
609 memcpy(new_gd, (void *)gd, sizeof(gd_t)); in spl_relocate_stack_gd()
/external/u-boot/include/dm/
Ddevice-internal.h142 #define DM_ROOT_NON_CONST (((gd_t *)gd)->dm_root)
143 #define DM_UCLASS_ROOT_NON_CONST (((gd_t *)gd)->uclass_root)

123