Home
last modified time | relevance | path

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

123

/third_party/uboot/u-boot-2020.01/drivers/gpio/
Dhsdk-creg-gpio.c55 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 …]
Dmt7621_gpio.c41 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()
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()
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()
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()
Dgpio-uclass.c77 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()
Dxilinx_gpio.c248 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()
Dzynq_gpio.c377 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()
Dstm32_gpio.c173 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()
Dmxs_gpio.c259 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()
Dhi6220_gpio.c78 uc_priv->bank_name = str; in hi6220_gpio_probe()
Dat91_gpio.c610 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/
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 !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/
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()
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/arch/x86/include/asm/
Dgpio.h13 const char *bank_name; member
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.h27 const char *bank_name; member
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()
/third_party/uboot/u-boot-2020.01/arch/x86/include/asm/arch-broadwell/
Dgpio.h16 const char *bank_name; member
/third_party/uboot/u-boot-2020.01/drivers/power/pmic/
Das3722_gpio.c105 uc_priv->bank_name = "as3722_"; in as3722_gpio_probe()

123