Home
last modified time | relevance | path

Searched refs:bank_name (Results 1 – 25 of 45) sorted by relevance

12

/external/u-boot/cmd/
Dgpio.c36 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/
Dpcf8575_gpio.c49 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()
Dhsdk-creg-gpio.c86 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()
Daltera_pio.c25 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()
Dpm8916_gpio.c194 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()
Ds5p_gpio.c38 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()
Dmsm_gpio.c110 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()
Dsunxi_gpio.c27 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()
Dgpio-uclass.c74 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()
Dintel_broadwell_gpio.c130 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()
Dintel_ich6_gpio.c113 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()
Dstm32f7_gpio.c91 uc_priv->bank_name = name; in gpio_stm32_probe()
95 uc_priv->bank_name); in gpio_stm32_probe()
Dhi6220_gpio.c78 uc_priv->bank_name = str; in hi6220_gpio_probe()
Dbcm6345_gpio.c101 uc_priv->bank_name = dev->name; in bcm6345_gpio_probe()
Daxp_gpio.c151 uc_priv->bank_name = strdup(SUNXI_GPIO_AXP0_PREFIX); in gpio_axp_probe()
Dmvebu_gpio.c95 uc_priv->bank_name = priv->name; in mvebu_gpio_probe()
Dvybrid_gpio.c99 uc_priv->bank_name = plat->port_name; in vybrid_gpio_probe()
Drk_gpio.c110 uc_priv->bank_name = priv->name; in rockchip_gpio_probe()
/external/u-boot/drivers/ram/
Dstm32_sdram.c263 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/
Dpinctrl-sti.c217 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/
Dpinctrl-mvebu.c142 priv->bank_name); in mvebu_pinctrl_set_state_all()
204 priv->bank_name = fdt_getprop(blob, node, "bank-name", NULL); in mvebu_pinctl_probe()
Dpinctrl-mvebu.h27 const char *bank_name; member
/external/u-boot/arch/x86/include/asm/
Dgpio.h13 const char *bank_name; member
/external/u-boot/arch/x86/include/asm/arch-broadwell/
Dgpio.h16 const char *bank_name; member
/external/u-boot/drivers/power/pmic/
Das3722_gpio.c104 uc_priv->bank_name = "as3722_"; in as3722_gpio_probe()

12