/u-boot/arch/arm/include/asm/mach-imx/ |
A D | regs-common.h | 38 #define __mxs_reg_8(name) \ argument 39 uint8_t name[4]; \ 40 uint8_t name##_set[4]; \ 41 uint8_t name##_clr[4]; \ 42 uint8_t name##_tog[4]; \ 44 #define __mxs_reg_32(name) \ argument 45 uint32_t name; \ 46 uint32_t name##_set; \ 47 uint32_t name##_clr; \ 48 uint32_t name##_tog; [all …]
|
/u-boot/drivers/clk/imx/ |
A D | clk.h | 67 return clk_register_gate2(NULL, name, parent, in imx_clk_gate4() 76 return clk_register_gate2(NULL, name, parent, in imx_clk_gate4_flags() 84 return clk_register_fixed_factor(NULL, name, parent, in imx_clk_fixed_factor() 106 return clk_register_divider(NULL, name, parent, in imx_clk_divider2() 123 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux_flags() 133 return clk_register_mux(NULL, name, parents, num_parents, in imx_clk_mux2_flags() 183 return clk_register_gate(NULL, name, parent, in imx_clk_gate3() 188 struct clk *imx8m_clk_composite_flags(const char *name, 193 imx8m_clk_composite_flags(name, parent_names, \ 197 #define imx8m_clk_composite(name, parent_names, reg) \ argument [all …]
|
/u-boot/common/ |
A D | image-sig.c | 26 .name = "sha1", 36 .name = "sha256", 47 .name = "sha384", 97 .name = "pss", 124 name = checksum_algos[i].name; in image_get_checksum_algo() 126 if (!strncmp(name, full_name, strlen(name)) && in image_get_checksum_algo() 155 if (!name) in image_get_crypto_algo() 157 name += 1; in image_get_crypto_algo() 160 if (!strcmp(crypto_algos[i].name, name)) in image_get_crypto_algo() 171 if (!name) in image_get_padding_algo() [all …]
|
/u-boot/board/LaCie/common/ |
A D | common.c | 20 void mv_phy_88e1116_init(const char *name, u16 phyaddr) in mv_phy_88e1116_init() argument 24 if (miiphy_set_current_dev(name)) in mv_phy_88e1116_init() 31 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 2); in mv_phy_88e1116_init() 35 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 0); in mv_phy_88e1116_init() 37 if (miiphy_reset(name, phyaddr) == 0) in mv_phy_88e1116_init() 38 printf("88E1116 Initialized on %s\n", name); in mv_phy_88e1116_init() 45 if (miiphy_set_current_dev(name)) in mv_phy_88e1318_init() 52 miiphy_read(name, phyaddr, 16, ®); in mv_phy_88e1318_init() 54 miiphy_write(name, phyaddr, 16, reg); in mv_phy_88e1318_init() 66 if (miiphy_reset(name, phyaddr) == 0) in mv_phy_88e1318_init() [all …]
|
/u-boot/include/linux/ |
A D | linkage.h | 49 #define LENTRY(name) \ argument 51 SYMBOL_NAME_LABEL(name) 53 #define ENTRY(name) \ argument 55 LENTRY(name) 57 #define WEAK(name) \ argument 59 LENTRY(name) 62 #define END(name) \ argument 63 .size name, .-name 67 #define ENDPROC(name) \ argument 68 .type name STT_FUNC ASM_NL \ [all …]
|
/u-boot/include/ |
A D | memalign.h | 75 type *name = (type *)ALIGN((uintptr_t)__##name, align) 76 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument 77 ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, 1) 78 #define ALLOC_CACHE_ALIGN_BUFFER_PAD(type, name, size, pad) \ argument 80 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ argument 81 ALLOC_ALIGN_BUFFER(type, name, size, ARCH_DMA_MINALIGN) 88 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument 89 static char __##name[ALIGN(size * sizeof(type), align)] \ 92 static type *name = (type *)__##name 93 #define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \ argument [all …]
|
A D | env.h | 34 const char *name; /* Callback name */ member 48 #define U_BOOT_ENV_CALLBACK(name, callback) \ argument 49 static inline __maybe_unused void _u_boot_env_noop_##name(void) \ 54 #define U_BOOT_ENV_CALLBACK(name, callback) \ argument 55 ll_entry_declare(struct env_clbk_tbl, name, env_clbk) = \ 56 {#name, callback} 102 int env_match(unsigned char *name, int index); 136 int env_get_f(const char *name, char *buf, unsigned int len); 234 int eth_env_get_enetaddr(const char *name, uint8_t *enetaddr); 294 int env_select(const char *name); [all …]
|
A D | sandbox-clk.h | 31 struct clk *sandbox_clk_pllv3(enum sandbox_pllv3_type type, const char *name, 35 static inline struct clk *sandbox_clk_fixed_factor(const char *name, in sandbox_clk_fixed_factor() argument 40 return clk_register_fixed_factor(NULL, name, parent, in sandbox_clk_fixed_factor() 44 static inline struct clk *sandbox_clk_divider(const char *name, in sandbox_clk_divider() argument 49 return clk_register_divider(NULL, name, parent, CLK_SET_RATE_PARENT, in sandbox_clk_divider() 57 return clk_register_gate(NULL, name, parent, CLK_SET_RATE_PARENT, in sandbox_clk_gate() 61 struct clk *sandbox_clk_register_gate2(struct device *dev, const char *name, 67 static inline struct clk *sandbox_clk_gate2(const char *name, in sandbox_clk_gate2() argument 71 return sandbox_clk_register_gate2(NULL, name, parent, in sandbox_clk_gate2() 76 static inline struct clk *sandbox_clk_mux(const char *name, void __iomem *reg, in sandbox_clk_mux() argument [all …]
|
/u-boot/scripts/dtc/libfdt/ |
A D | libfdt.h | 216 #define fdt_set_hdr_(name) \ argument 220 fdth->name = cpu_to_fdt32(val); \ 625 const char *name, 658 const char *name, int *lenp); 660 const char *name, in fdt_get_property_w() argument 718 const char *name, int namelen, in fdt_getprop_namelen_w() argument 755 const char *name, int *lenp); 757 const char *name, int *lenp) in fdt_getprop_w() argument 787 const char *name, int namelen); 1188 const char *name, int namelen, [all …]
|
/u-boot/board/zyxel/nsa310s/ |
A D | nsa310s.c | 89 char *name = "egiga0"; in reset_phy() local 91 if (miiphy_set_current_dev(name)) in reset_phy() 95 if (miiphy_read(name, 0xee, 0xee, (u16 *) &phyaddr)) { in reset_phy() 105 miiphy_write(name, phyaddr, MV88E1318_PGADR_REG, 0); in reset_phy() 108 if (miiphy_reset(name, phyaddr)) in reset_phy() 119 miiphy_read(name, phyaddr, MV88E1318_LED_POL_REG, ®); in reset_phy() 126 miiphy_write(name, phyaddr, MV88E1318_PGADR_REG, 0); in reset_phy() 129 miiphy_write(name, phyaddr, 0x4, 0x1e1); in reset_phy() 130 miiphy_write(name, phyaddr, 0x9, 0x300); in reset_phy() 132 miiphy_write(name, phyaddr, 0x10, 0x3860); in reset_phy() [all …]
|
/u-boot/drivers/usb/gadget/ |
A D | gadget_chips.h | 18 #define gadget_is_net2280(g) (!strcmp("net2280", (g)->name)) 30 #define gadget_is_dummy(g) (!strcmp("dummy_udc", (g)->name)) 36 #define gadget_is_pxa(g) (!strcmp("pxa2xx_udc", (g)->name)) 42 #define gadget_is_goku(g) (!strcmp("goku_udc", (g)->name)) 49 #define gadget_is_sh(g) (!strcmp("sh_udc", (g)->name)) 56 #define gadget_is_sa1100(g) (!strcmp("sa1100_udc", (g)->name)) 63 #define gadget_is_mq11xx(g) (!strcmp("mq11xx_udc", (g)->name)) 69 #define gadget_is_omap(g) (!strcmp("omap_udc", (g)->name)) 76 #define gadget_is_n9604(g) (!strcmp("n9604_udc", (g)->name)) 95 #define gadget_is_at91(g) (!strcmp("at91_udc", (g)->name)) [all …]
|
/u-boot/env/ |
A D | embedded.c | 37 # define __UBOOT_ENV_SECTION__(name) /*XXX DO_NOT_DEL_THIS_COMMENT*/ argument 41 # define __UBOOT_ENV_SECTION__(name) __attribute__ ((section(".text."#name))) argument 48 # define GEN_SET_VALUE(name, value) \ argument 49 asm(".set " GEN_SYMNAME(name) ", " GEN_VALUE(value)) 51 # define GEN_SET_VALUE(name, value) \ argument 52 asm(GEN_SYMNAME(name) " = " GEN_VALUE(value)) 56 #define GEN_ABS(name, value) \ argument 57 asm(".globl " GEN_SYMNAME(name)); \ 58 GEN_SET_VALUE(name, value)
|
/u-boot/arch/arm/dts/ |
A D | axp803.dtsi | 51 regulator-name = "aldo1"; 55 regulator-name = "aldo2"; 59 regulator-name = "aldo3"; 63 regulator-name = "dc1sw"; 67 regulator-name = "dcdc1"; 71 regulator-name = "dcdc2"; 75 regulator-name = "dcdc3"; 79 regulator-name = "dcdc4"; 83 regulator-name = "dcdc5"; 87 regulator-name = "dcdc6"; [all …]
|
A D | exynos4412-odroid.dts | 59 regulator-name = "VDD_ALIVE_1.0V"; 71 regulator-name = "VCC_1.8V_AP"; 77 regulator-name = "VDDQ_MMC2_2.8V"; 89 regulator-name = "VMPLL_1.0V"; 95 regulator-name = "VPLL_1.1V"; 113 regulator-name = "VDD_ABB1_1.8V"; 119 regulator-name = "VDD_UOTG_3.0V"; 125 regulator-name = "VDD_C2C_1.8V"; 163 regulator-name = "TFLASH_2.8V"; 186 regulator-name = "VDD_MIF_1.0V"; [all …]
|
A D | exynos5422-odroidxu3.dts | 45 regulator-name = "vdd_ldo1"; 53 regulator-name = "vddq_mmc0"; 60 regulator-name = "vdd_adc"; 67 regulator-name = "vdd_ldo5"; 75 regulator-name = "vdd_ldo6"; 83 regulator-name = "vdd_ldo7"; 91 regulator-name = "vdd_ldo8"; 99 regulator-name = "vdd_ldo9"; 169 regulator-name = "vdd_sd"; 176 regulator-name = "tsp_io"; [all …]
|
/u-boot/arch/arc/lib/ |
A D | cpu.c | 57 snprintf(name, name_len, "ARC 700 %s", arc_ver); in arc_700_version() 59 return name; in arc_700_version() 66 const char name[8]; member 91 arc_name = em_versions[i].name; in arc_em_version() 115 return name; in arc_em_version() 123 const char name[8]; member 152 arc_name = hs_versions[i].name; in arc_hs_version() 179 return name; in arc_hs_version() 187 char *name = malloc(MAX_CPU_NAME_LEN); in decode_identity() local 190 return arc_hs_version(arcver, name, MAX_CPU_NAME_LEN); in decode_identity() [all …]
|
/u-boot/drivers/remoteproc/ |
A D | rproc-uclass.c | 71 if (!uc_pdata->name || !check_name) in _rproc_name_is_unique() 147 if (pdata->name) in rproc_pre_probe() 148 uc_pdata->name = pdata->name; in rproc_pre_probe() 154 if (!uc_pdata->name) in rproc_pre_probe() 155 uc_pdata->name = dev->name; in rproc_pre_probe() 156 if (!uc_pdata->name) { in rproc_pre_probe() 162 debug("%s duplicate name '%s'\n", dev->name, uc_pdata->name); in rproc_pre_probe() 210 .name = "remoteproc", 318 uc_pdata->name, addr, size); in rproc_load() 323 dev->name); in rproc_load() [all …]
|
/u-boot/drivers/gpio/ |
A D | sunxi_gpio.c | 104 if (*name == 'P' || *name == 'p') in sunxi_name_to_gpio() 105 name++; in sunxi_name_to_gpio() 107 group = *name - (*name > 'a' ? 'a' : 'A'); in sunxi_name_to_gpio() 109 name++; in sunxi_name_to_gpio() 125 if (*name == 'P' || *name == 'p') in sunxi_name_to_gpio_bank() 126 name++; in sunxi_name_to_gpio_bank() 128 group = *name - (*name > 'a' ? 'a' : 'A'); in sunxi_name_to_gpio_bank() 147 name = lookup; in sunxi_name_to_gpio() 249 char *name; in gpio_bank_name() local 252 if (name) { in gpio_bank_name() [all …]
|
/u-boot/tools/ |
A D | imagetool.h | 92 char *name; member 274 #define INIT_SECTION(name) do { \ argument 275 unsigned long name ## _len; \ 277 #name, &__cat(name, _len)); \ 278 char *__cat(pstop_, name) = __cat(pstart_, name) + \ 279 __cat(name, _len); \ 280 __cat(__start_, name) = (void *)__cat(pstart_, name); \ 281 __cat(__stop_, name) = (void *)__cat(pstop_, name); \ 283 #define SECTION(name) __attribute__((section("__DATA, " #name))) argument 288 #define SECTION(name) __attribute__((section(#name))) argument [all …]
|
/u-boot/scripts/kconfig/ |
A D | preprocess.c | 36 char *name; member 46 e->name = xstrdup(name); in env_add() 66 if (!*name) in env_expand() 70 if (!strcmp(name, e->name)) in env_expand() 206 if (strcmp(f->name, name)) in function_expand() 211 name); in function_expand() 215 name); in function_expand() 229 char *name; member 241 if (!strcmp(name, v->name)) in variable_lookup() 259 name); in variable_expand() [all …]
|
/u-boot/include/xen/arm/ |
A D | interface.h | 17 #define __DEFINE_GUEST_HANDLE(name, type) \ argument 19 __guest_handle_ ## name 21 #define DEFINE_GUEST_HANDLE_STRUCT(name) \ argument 22 __DEFINE_GUEST_HANDLE(name, struct name) 23 #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name) argument 24 #define GUEST_HANDLE(name) __guest_handle_ ## name argument
|
/u-boot/board/cloudengines/pogo_e02/ |
A D | pogo_e02.c | 81 char *name = "egiga0"; in reset_phy() local 83 if (miiphy_set_current_dev(name)) in reset_phy() 87 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy() 96 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 97 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 99 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 100 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 103 miiphy_reset(name, devadr); in reset_phy() 105 debug("88E1116 Initialized on %s\n", name); in reset_phy()
|
/u-boot/arch/arm/include/asm/arch-mx6/ |
A D | mx6-pins.h | 10 #define MX6_PAD_DECLARE(prefix, name, pco, mc, mm, sio, si, pc) \ argument 11 prefix##name = IOMUX_PAD(pco, mc, mm, sio, si, pc) 15 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 16 MX6_PAD_DECLARE(MX6Q_PAD_,name, pco, mc, mm, sio, si, pc), 19 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 20 MX6_PAD_DECLARE(MX6DL_PAD_,name, pco, mc, mm, sio, si, pc), 25 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 26 MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc), 31 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 32 MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc),
|
/u-boot/drivers/power/domain/ |
A D | imx8-power-domain-legacy.c | 138 dev->name, ret); in imx8_power_domain_on() 144 debug("%s is powered on\n", dev->name); in imx8_power_domain_on() 188 dev->name, ret); in imx8_power_domain_off_node() 234 child->name, in imx8_power_domain_off_parentnodes() 248 parent->name, ret); in imx8_power_domain_off_parentnodes() 273 power_domain->dev->name, ret); in imx8_power_domain_off() 281 power_domain->dev->name, ret); in imx8_power_domain_off() 301 const char *name; in imx8_power_domain_bind() local 319 dev->driver->name); in imx8_power_domain_bind() 323 dev->driver->name, ret); in imx8_power_domain_bind() [all …]
|
/u-boot/board/Seagate/nas220/ |
A D | nas220.c | 95 char *name = "egiga0"; in reset_phy() local 97 if (miiphy_set_current_dev(name)) in reset_phy() 101 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in reset_phy() 110 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 111 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 113 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 114 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 117 miiphy_reset(name, devadr); in reset_phy() 119 printf("88E1116 Initialized on %s\n", name); in reset_phy()
|