/external/u-boot/cmd/ |
D | gpio.c | 36 static void gpio_get_description(struct udevice *dev, const char *bank_name, in gpio_get_description() argument 47 if ((*flagsp & FLAG_SHOW_BANK) && bank_name) { in gpio_get_description() 52 printf("Bank %s:\n", bank_name); in gpio_get_description() 79 const char *bank_name; in do_gpio_status() local 85 bank_name = gpio_get_bank_info(dev, &num_bits); in do_gpio_status() 90 banklen = bank_name ? strlen(bank_name) : 0; in do_gpio_status() 92 if (!gpio_name || !bank_name || in do_gpio_status() 93 !strncmp(gpio_name, bank_name, banklen)) { in do_gpio_status() 100 gpio_get_description(dev, bank_name, offset, in do_gpio_status() 104 gpio_get_description(dev, bank_name, in do_gpio_status()
|
/external/u-boot/drivers/gpio/ |
D | pcf8575_gpio.c | 49 const char *bank_name; /* Name of the expander bank */ member 135 uc_priv->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in pcf8575_ofdata_platdata() 137 if (!uc_priv->bank_name) in pcf8575_ofdata_platdata() 138 uc_priv->bank_name = fdt_get_name(gd->fdt_blob, in pcf8575_ofdata_platdata() 153 uc_priv->bank_name, uc_priv->gpio_count); in pcf8575_gpio_probe()
|
D | hsdk-creg-gpio.c | 86 uc_priv->bank_name = dev_read_string(dev, "gpio-bank-name"); in hsdk_creg_gpio_probe() 87 if (!uc_priv->bank_name) in hsdk_creg_gpio_probe() 88 uc_priv->bank_name = dev_read_name(dev); in hsdk_creg_gpio_probe() 91 uc_priv->bank_name, hcg->regs, uc_priv->gpio_count); in hsdk_creg_gpio_probe()
|
D | altera_pio.c | 25 const char *bank_name; member 82 uc_priv->bank_name = plat->bank_name; in altera_pio_probe() 96 plat->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in altera_pio_ofdata_to_platdata()
|
D | pm8916_gpio.c | 194 uc_priv->bank_name = dev_read_string(dev, "gpio-bank-name"); in pm8916_gpio_ofdata_to_platdata() 195 if (uc_priv->bank_name == NULL) in pm8916_gpio_ofdata_to_platdata() 196 uc_priv->bank_name = "pm8916"; in pm8916_gpio_ofdata_to_platdata() 279 uc_priv->bank_name = dev_read_string(dev, "gpio-bank-name"); in pm8941_pwrkey_ofdata_to_platdata() 280 if (uc_priv->bank_name == NULL) in pm8941_pwrkey_ofdata_to_platdata() 281 uc_priv->bank_name = "pm8916_key"; in pm8941_pwrkey_ofdata_to_platdata()
|
D | s5p_gpio.c | 38 const char *bank_name; /* Name of port, e.g. 'gpa0" */ member 298 uc_priv->bank_name = plat->bank_name; in gpio_exynos_probe() 333 plat->bank_name = fdt_get_name(blob, node, NULL); in gpio_exynos_bind() 335 plat->bank_name, plat, -1, &dev); in gpio_exynos_bind() 347 debug("dev at %p: %s\n", bank, plat->bank_name); in gpio_exynos_bind()
|
D | msm_gpio.c | 110 uc_priv->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in msm_gpio_ofdata_to_platdata() 112 if (uc_priv->bank_name == NULL) in msm_gpio_ofdata_to_platdata() 113 uc_priv->bank_name = "soc"; in msm_gpio_ofdata_to_platdata()
|
D | sunxi_gpio.c | 27 const char *bank_name; /* Name of bank, e.g. "B" */ member 269 uc_priv->bank_name = plat->bank_name; in gpio_sunxi_probe() 305 plat->bank_name = gpio_bank_name(soc_data->start + bank); in gpio_sunxi_bind() 309 plat->bank_name, plat, -1, &dev); in gpio_sunxi_bind()
|
D | gpio-uclass.c | 74 len = uc_priv->bank_name ? strlen(uc_priv->bank_name) : 0; in dm_gpio_lookup_name() 76 if (!strncasecmp(name, uc_priv->bank_name, len)) { in dm_gpio_lookup_name() 284 uc_priv->bank_name ? uc_priv->bank_name : "", in check_reserved() 485 return priv->bank_name; in gpio_get_bank_info() 553 priv->bank_name ? priv->bank_name : "", in gpio_get_status()
|
D | intel_broadwell_gpio.c | 130 uc_priv->bank_name = plat->bank_name; in broadwell_gpio_probe() 159 plat->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in broadwell_gpio_ofdata_to_platdata()
|
D | intel_ich6_gpio.c | 113 plat->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in gpio_ich6_ofdata_to_platdata() 127 uc_priv->bank_name = plat->bank_name; in ich6_gpio_probe()
|
D | stm32f7_gpio.c | 91 uc_priv->bank_name = name; in gpio_stm32_probe() 95 uc_priv->bank_name); in gpio_stm32_probe()
|
D | hi6220_gpio.c | 78 uc_priv->bank_name = str; in hi6220_gpio_probe()
|
D | bcm6345_gpio.c | 101 uc_priv->bank_name = dev->name; in bcm6345_gpio_probe()
|
D | axp_gpio.c | 151 uc_priv->bank_name = strdup(SUNXI_GPIO_AXP0_PREFIX); in gpio_axp_probe()
|
D | mvebu_gpio.c | 95 uc_priv->bank_name = priv->name; in mvebu_gpio_probe()
|
D | vybrid_gpio.c | 99 uc_priv->bank_name = plat->port_name; in vybrid_gpio_probe()
|
D | rk_gpio.c | 110 uc_priv->bank_name = priv->name; in rockchip_gpio_probe()
|
/external/u-boot/drivers/ram/ |
D | stm32_sdram.c | 263 char *bank_name; in stm32_fmc_ofdata_to_platdata() local 295 bank_name = (char *)ofnode_get_name(bank_node); in stm32_fmc_ofdata_to_platdata() 296 strsep(&bank_name, "@"); in stm32_fmc_ofdata_to_platdata() 297 if (!bank_name) { in stm32_fmc_ofdata_to_platdata() 303 strict_strtoul(bank_name, 10, in stm32_fmc_ofdata_to_platdata() 312 debug("Find bank %s %u\n", bank_name, bank_params->target_bank); in stm32_fmc_ofdata_to_platdata()
|
/external/u-boot/drivers/pinctrl/ |
D | pinctrl-sti.c | 217 const char *bank_name; in sti_pinctrl_set_state() local 243 bank_name = fdt_getprop(blob, args.node, "st,bank-name", in sti_pinctrl_set_state() 250 pin_desc.bank = trailing_strtoln(bank_name, NULL); in sti_pinctrl_set_state()
|
/external/u-boot/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 142 priv->bank_name); in mvebu_pinctrl_set_state_all() 204 priv->bank_name = fdt_getprop(blob, node, "bank-name", NULL); in mvebu_pinctl_probe()
|
D | pinctrl-mvebu.h | 27 const char *bank_name; member
|
/external/u-boot/arch/x86/include/asm/ |
D | gpio.h | 13 const char *bank_name; member
|
/external/u-boot/arch/x86/include/asm/arch-broadwell/ |
D | gpio.h | 16 const char *bank_name; member
|
/external/u-boot/drivers/power/pmic/ |
D | as3722_gpio.c | 104 uc_priv->bank_name = "as3722_"; in as3722_gpio_probe()
|