/third_party/uboot/u-boot-2020.01/drivers/gpio/ |
D | hsdk-creg-gpio.c | 55 pr_err("%s can't be used as input!\n", uc_priv->bank_name); in hsdk_creg_gpio_direction_input() 92 uc_priv->bank_name = dev_read_string(dev, "gpio-bank-name"); in hsdk_creg_gpio_probe() 93 if (!uc_priv->bank_name) in hsdk_creg_gpio_probe() 94 uc_priv->bank_name = dev_read_name(dev); in hsdk_creg_gpio_probe() 98 uc_priv->bank_name); in hsdk_creg_gpio_probe() 105 uc_priv->bank_name); in hsdk_creg_gpio_probe() 112 uc_priv->bank_name, gpio_count * bit_per_gpio + shift); in hsdk_creg_gpio_probe() 119 uc_priv->bank_name, GENMASK(bit_per_gpio - 1, 0)); in hsdk_creg_gpio_probe() 126 uc_priv->bank_name, GENMASK(bit_per_gpio - 1, 0)); in hsdk_creg_gpio_probe() 133 uc_priv->bank_name); in hsdk_creg_gpio_probe() [all …]
|
D | mt7621_gpio.c | 41 char bank_name[3]; /* Name of bank, e.g. "PA", "PB" etc */ member 120 uc_priv->bank_name = plat->bank_name; in gpio_mediatek_probe() 153 plat->bank_name[0] = 'P'; in gpio_mediatek_bind() 154 plat->bank_name[1] = 'A' + bank; in gpio_mediatek_bind() 155 plat->bank_name[2] = '\0'; in gpio_mediatek_bind() 160 plat->bank_name, plat, -1, &dev); in gpio_mediatek_bind()
|
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 | 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 | 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 | gpio-uclass.c | 77 len = uc_priv->bank_name ? strlen(uc_priv->bank_name) : 0; in dm_gpio_lookup_name() 79 if (!strncasecmp(name, uc_priv->bank_name, len)) { in dm_gpio_lookup_name() 410 uc_priv->bank_name ? uc_priv->bank_name : "", in check_reserved() 611 return priv->bank_name; in gpio_get_bank_info() 679 priv->bank_name ? priv->bank_name : "", in gpio_get_status()
|
D | xilinx_gpio.c | 248 uc_priv->bank_name = strdup(label_ptr); in xilinx_gpio_probe() 249 if (!uc_priv->bank_name) in xilinx_gpio_probe() 252 uc_priv->bank_name = dev->name; in xilinx_gpio_probe()
|
D | zynq_gpio.c | 377 uc_priv->bank_name = strdup(label_ptr); in zynq_gpio_probe() 378 if (!uc_priv->bank_name) in zynq_gpio_probe() 381 uc_priv->bank_name = dev->name; in zynq_gpio_probe()
|
D | stm32_gpio.c | 173 uc_priv->bank_name = name; in gpio_stm32_probe() 195 (u32 *)priv->regs, uc_priv->bank_name, uc_priv->gpio_count, in gpio_stm32_probe()
|
D | mxs_gpio.c | 259 uc_priv->bank_name = str; in mxs_gpio_probe() 261 debug("%s: %s: %d pins base: 0x%x\n", __func__, uc_priv->bank_name, in mxs_gpio_probe()
|
D | hi6220_gpio.c | 78 uc_priv->bank_name = str; in hi6220_gpio_probe()
|
D | at91_gpio.c | 610 plat->bank_name = at91_get_bank_name(plat->base_addr); in at91_gpio_probe() 613 uc_priv->bank_name = plat->bank_name; in at91_gpio_probe()
|
/third_party/uboot/u-boot-2020.01/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 !strncasecmp(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()
|
/third_party/uboot/u-boot-2020.01/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()
|
/third_party/uboot/u-boot-2020.01/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()
|
/third_party/uboot/u-boot-2020.01/arch/x86/include/asm/ |
D | gpio.h | 13 const char *bank_name; member
|
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.h | 27 const char *bank_name; member
|
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()
|
/third_party/uboot/u-boot-2020.01/arch/x86/include/asm/arch-broadwell/ |
D | gpio.h | 16 const char *bank_name; member
|
/third_party/uboot/u-boot-2020.01/drivers/power/pmic/ |
D | as3722_gpio.c | 105 uc_priv->bank_name = "as3722_"; in as3722_gpio_probe()
|