Home
last modified time | relevance | path

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

1234

/u-boot/arch/arm/lib/
A Dasm-offsets.c40 DEFINE(CCM_CCTL, offsetof(struct ccm_regs, cctl)); in main()
41 DEFINE(CCM_CGCR0, offsetof(struct ccm_regs, cgr0)); in main()
42 DEFINE(CCM_CGCR1, offsetof(struct ccm_regs, cgr1)); in main()
43 DEFINE(CCM_CGCR2, offsetof(struct ccm_regs, cgr2)); in main()
45 DEFINE(CCM_MCR, offsetof(struct ccm_regs, mcr)); in main()
53 DEFINE(MAX_MPR0, offsetof(struct max_regs, mpr0)); in main()
55 DEFINE(MAX_MPR1, offsetof(struct max_regs, mpr1)); in main()
57 DEFINE(MAX_MPR2, offsetof(struct max_regs, mpr2)); in main()
59 DEFINE(MAX_MPR3, offsetof(struct max_regs, mpr3)); in main()
95 offsetof(struct system_control_regs, gpcr)); in main()
[all …]
/u-boot/arch/x86/cpu/apollolake/
A Dfsp_bindings.c503 .offset = offsetof(struct fsp_m_config,
1172 .offset = offsetof(struct fsp_s_config,
1189 .offset = offsetof(struct fsp_s_config,
1229 .offset = offsetof(struct fsp_s_config,
1293 .offset = offsetof(struct fsp_s_config,
1300 .offset = offsetof(struct fsp_s_config,
1307 .offset = offsetof(struct fsp_s_config,
1603 .offset = offsetof(struct fsp_s_config,
1610 .offset = offsetof(struct fsp_s_config,
1617 .offset = offsetof(struct fsp_s_config,
[all …]
/u-boot/examples/standalone/
A Dstubs.c7 #define FO(x) offsetof(struct jt_funcs, x)
41 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r11");
55 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "x9");
67 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "ip");
101 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "t9");
117 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "gp");
133 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "a0");
145 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r5");
189 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "t0");
198 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "t0");
[all …]
/u-boot/lib/
A Dasm-offsets.c31 DEFINE(GD_BD, offsetof(struct global_data, bd)); in main()
33 DEFINE(GD_MALLOC_BASE, offsetof(struct global_data, malloc_base)); in main()
36 DEFINE(GD_RELOCADDR, offsetof(struct global_data, relocaddr)); in main()
38 DEFINE(GD_RELOC_OFF, offsetof(struct global_data, reloc_off)); in main()
40 DEFINE(GD_START_ADDR_SP, offsetof(struct global_data, start_addr_sp)); in main()
42 DEFINE(GD_NEW_GD, offsetof(struct global_data, new_gd)); in main()
/u-boot/arch/arm/mach-socfpga/
A Dclock_manager_arria10.c82 { "vco0-psrc", offsetof(struct mainpll_cfg, vco0_psrc) },
83 { "vco1-denom", offsetof(struct mainpll_cfg, vco1_denom) },
84 { "vco1-numer", offsetof(struct mainpll_cfg, vco1_numer) },
85 { "mpuclk-cnt", offsetof(struct mainpll_cfg, mpuclk_cnt) },
86 { "mpuclk-src", offsetof(struct mainpll_cfg, mpuclk_src) },
87 { "nocclk-cnt", offsetof(struct mainpll_cfg, nocclk_cnt) },
88 { "nocclk-src", offsetof(struct mainpll_cfg, nocclk_src) },
109 { "vco0-psrc", offsetof(struct perpll_cfg, vco0_psrc) },
110 { "vco1-denom", offsetof(struct perpll_cfg, vco1_denom) },
133 { "nocclk", offsetof(struct mainpll_cfg, nocclk) },
[all …]
/u-boot/arch/powerpc/include/asm/
A Dfsl_liodn.h20 .reg_offset[0] = offsetof(ccsr_gur_t, rio##port##liodnr) \
26 .reg_offset[0] = offsetof(ccsr_gur_t, rio##port##liodnr) \
34 .reg_offset[0] = offsetof(struct ccsr_rio, liodn) \
132 offsetof(struct ccsr_qman, liodnr) + \
138 offsetof(struct ccsr_bman, liodnr) + \
149 offsetof(struct ccsr_pman, ppa1) + \
195 offsetof(ccsr_sec_t, jrliodnr[jrNum].ls) + \
199 offsetof(ccsr_sec_t, jrliodnr[jrNum].ls) + \
207 offsetof(ccsr_sec_t, rticliodnr[0x##rtic-0xa].ls) + \
218 offsetof(ccsr_sec_t, decoliodnr[num].ls) + \
[all …]
/u-boot/cmd/
A Dethsw.c139 .cmd_func_offset = offsetof(struct ethsw_command_func,
147 .cmd_func_offset = offsetof(struct ethsw_command_func,
155 .cmd_func_offset = offsetof(struct ethsw_command_func,
171 .cmd_func_offset = offsetof(struct ethsw_command_func,
180 .cmd_func_offset = offsetof(struct ethsw_command_func,
204 .cmd_func_offset = offsetof(struct ethsw_command_func,
213 .cmd_func_offset = offsetof(struct ethsw_command_func,
222 .cmd_func_offset = offsetof(struct ethsw_command_func,
246 .cmd_func_offset = offsetof(struct ethsw_command_func,
255 .cmd_func_offset = offsetof(struct ethsw_command_func,
[all …]
/u-boot/arch/riscv/lib/
A Dasm-offsets.c17 DEFINE(GD_BOOT_HART, offsetof(gd_t, arch.boot_hart)); in main()
18 DEFINE(GD_FIRMWARE_FDT_ADDR, offsetof(gd_t, arch.firmware_fdt_addr)); in main()
20 DEFINE(GD_AVAILABLE_HARTS, offsetof(gd_t, arch.available_harts)); in main()
/u-boot/arch/x86/lib/
A Dasm-offsets.c20 DEFINE(GD_BIST, offsetof(gd_t, arch.bist)); in main()
22 DEFINE(GD_HOB_LIST, offsetof(gd_t, arch.hob_list)); in main()
24 DEFINE(GD_TABLE, offsetof(gd_t, arch.table)); in main()
/u-boot/arch/arm/include/asm/arch-ls102xa/
A Dls102xa_stream_id.h31 offsetof(ccsr_sec_t, jrliodnr[jrnum].ls) + \
35 offsetof(ccsr_sec_t, jrliodnr[jrnum].ls) + \
43 offsetof(ccsr_sec_t, rticliodnr[0x##rtic-0xa].ls) + \
48 offsetof(ccsr_sec_t, rticliodnr[0x##rtic-0xa].ls) + \
54 offsetof(ccsr_sec_t, decoliodnr[num].ls) + \
/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
A Dfsl_icid.h61 offsetof(struct ccsr_scfg, name) + CONFIG_SYS_FSL_SCFG_ADDR, \
92 offsetof(struct ccsr_qman, liodnr) + \
98 offsetof(struct ccsr_bman, liodnr) + \
109 0, offsetof(ccsr_sec_t, qilcr_ls) + \
128 offsetof(struct ccsr_gur, name) + CONFIG_SYS_FSL_GUTS_ADDR, \
176 offsetof(ccsr_sec_t, jrliodnr[jr_num].ls) + \
182 offsetof(ccsr_sec_t, decoliodnr[deco_num].ls) + \
187 offsetof(ccsr_sec_t, rticliodnr[rtic_num].ls) + \
/u-boot/arch/arm/mach-tegra/
A Divc.c206 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_check_read()
221 offset = offsetof(struct tegra_ivc_channel_header, r_count); in tegra_ivc_check_write()
271 offset = offsetof(struct tegra_ivc_channel_header, r_count); in tegra_ivc_read_advance()
279 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_read_advance()
317 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_write_advance()
325 offset = offsetof(struct tegra_ivc_channel_header, r_count); in tegra_ivc_write_advance()
359 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
392 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_notified()
479 offset = offsetof(struct tegra_ivc_channel_header, w_count); in tegra_ivc_channel_reset()
489 BUG_ON(offsetof(struct tegra_ivc_channel_header, w_count) & in check_ivc_params()
[all …]
/u-boot/drivers/usb/host/
A Dehci-mxs.c38 offsetof(struct mxs_clkctrl_regs,
50 offsetof(struct mxs_clkctrl_regs,
66 pll_offset = offsetof(struct mxs_register_32, reg_set); in ehci_mxs_toggle_clock()
67 dig_offset = offsetof(struct mxs_register_32, reg_clr); in ehci_mxs_toggle_clock()
71 pll_offset = offsetof(struct mxs_register_32, reg_clr); in ehci_mxs_toggle_clock()
72 dig_offset = offsetof(struct mxs_register_32, reg_set); in ehci_mxs_toggle_clock()
/u-boot/env/
A Deeprom.c80 off + index + offsetof(env_t, data), &c, 1); in env_eeprom_get_char()
104 off_env[i] + offsetof(env_t, crc), in env_eeprom_load()
108 off_env[i] + offsetof(env_t, flags), in env_eeprom_load()
113 off = off_env[i] + offsetof(env_t, data); in env_eeprom_load()
160 CONFIG_ENV_OFFSET + offsetof(env_t, crc), in env_eeprom_load()
165 off = offsetof(env_t, data); in env_eeprom_load()
224 off_red + offsetof(env_t, flags), in env_eeprom_save()
/u-boot/arch/arm/mach-davinci/include/mach/
A Dpll_defs.h77 #define ARM_PLLDIV (offsetof(struct dv_pll_regs, plldiv2))
78 #define DDR_PLLDIV (offsetof(struct dv_pll_regs, plldiv7))
79 #define SPI_PLLDIV (offsetof(struct dv_pll_regs, plldiv4))
/u-boot/include/linux/
A Dstddef.h16 #undef offsetof
17 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/u-boot/board/freescale/common/
A Dqixis.h109 #define QIXIS_READ(reg) qixis_read_i2c(offsetof(struct qixis, reg))
111 qixis_write_i2c(offsetof(struct qixis, reg), value)
113 #define QIXIS_READ(reg) qixis_read(offsetof(struct qixis, reg))
114 #define QIXIS_WRITE(reg, value) qixis_write(offsetof(struct qixis, reg), value)
118 #define QIXIS_READ_I2C(reg) qixis_read_i2c(offsetof(struct qixis, reg))
120 qixis_write_i2c(offsetof(struct qixis, reg), value)
/u-boot/include/
A Dfm_eth.h88 offsetof(struct ccsr_fman, memac[n-1]),\
102 offsetof(struct ccsr_fman, memac[n-1]),\
116 offsetof(struct ccsr_fman, memac[n-1+8]),\
129 offsetof(struct ccsr_fman, memac[n-1+8]),\
145 offsetof(struct ccsr_fman, memac[n-1-2]),\
160 offsetof(struct ccsr_fman, mac_1g[n-1]),\
173 offsetof(struct ccsr_fman, mac_10g[n-1]),\
/u-boot/arch/arm/mach-socfpga/include/mach/
A Dsecure_vab.h55 #define VAB_CERT_MAGIC_OFFSET offsetof \
57 #define VAB_CERT_FIT_SHA384_OFFSET offsetof \
/u-boot/fs/btrfs/
A Dctree.h169 offsetof(type, member), \
175 offsetof(type, member), \
301 offset += offsetof(struct btrfs_chunk, stripe); in btrfs_stripe_nr()
541 ptr = offsetof(struct btrfs_node, ptrs) + in btrfs_node_blockptr()
550 ptr = offsetof(struct btrfs_node, ptrs) + in btrfs_set_node_blockptr()
558 ptr = offsetof(struct btrfs_node, ptrs) + in btrfs_node_ptr_generation()
567 ptr = offsetof(struct btrfs_node, ptrs) + in btrfs_set_node_ptr_generation()
574 return offsetof(struct btrfs_node, ptrs) + in btrfs_node_key_ptr_offset()
602 return offsetof(struct btrfs_leaf, items) + in btrfs_item_nr_offset()
804 return offsetof(struct btrfs_header, fsid); in btrfs_header_fsid()
[all …]
/u-boot/board/freescale/t4rdb/
A Dcpld.h45 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg))
47 cpld_write(offsetof(struct cpld_data, reg), value)
/u-boot/board/freescale/ls1043ardb/
A Dcpld.h34 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg))
36 cpld_write(offsetof(struct cpld_data, reg), value)
/u-boot/board/freescale/t104xrdb/
A Dcpld.h41 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg))
43 cpld_write(offsetof(struct cpld_data, reg), value)
/u-boot/board/freescale/t208xrdb/
A Dcpld.h29 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg))
31 cpld_write(offsetof(struct cpld_data, reg), value)
/u-boot/board/freescale/t102xrdb/
A Dcpld.h32 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg))
34 cpld_write(offsetof(struct cpld_data, reg), value)

Completed in 32 milliseconds

1234