Home
last modified time | relevance | path

Searched refs:pin_name (Results 1 – 14 of 14) sorted by relevance

/u-boot/drivers/pinctrl/nexell/
A Dpinctrl-nexell.c19 unsigned long pin_to_bank_base(struct udevice *dev, const char *pin_name, in pin_to_bank_base() argument
32 while (pin_name[idx] != '-') { in pin_to_bank_base()
33 bank[idx] = pin_name[idx]; in pin_to_bank_base()
37 *pin = (u32)simple_strtoul(&pin_name[++idx], NULL, 10); in pin_to_bank_base()
A Dpinctrl-nexell.h64 unsigned long pin_to_bank_base(struct udevice *dev, const char *pin_name,
/u-boot/arch/arm/mach-ipq40xx/
A Dpinctrl-ipq4019.c14 static char pin_name[MAX_PIN_NAME_LEN]; variable
39 snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector); in ipq4019_get_pin_name()
40 return pin_name; in ipq4019_get_pin_name()
/u-boot/arch/arm/mach-snapdragon/
A Dpinctrl-apq8016.c13 static char pin_name[MAX_PIN_NAME_LEN]; variable
43 snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector); in apq8016_get_pin_name()
44 return pin_name; in apq8016_get_pin_name()
A Dpinctrl-apq8096.c13 static char pin_name[MAX_PIN_NAME_LEN]; variable
38 snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector); in apq8096_get_pin_name()
39 return pin_name; in apq8096_get_pin_name()
/u-boot/drivers/pinctrl/exynos/
A Dpinctrl-exynos.c37 static unsigned long pin_to_bank_base(struct udevice *dev, const char *pin_name, in pin_to_bank_base() argument
50 while (pin_name[idx] != '-') { in pin_to_bank_base()
51 bank[idx] = pin_name[idx]; in pin_to_bank_base()
55 *pin = pin_name[++idx] - '0'; in pin_to_bank_base()
/u-boot/cmd/
A Dpinmux.c46 char pin_name[PINNAME_SIZE]; in show_pinmux() local
60 ret = pinctrl_get_pin_name(dev, i, pin_name, PINNAME_SIZE); in show_pinmux()
72 printf("%-*s: %-*s\n", PINNAME_SIZE, pin_name, in show_pinmux()
/u-boot/drivers/spi/
A Dspi-sunxi.c186 const char *pin_name; in sun4i_spi_parse_pins() local
238 pin_name = fdt_stringlist_get(fdt, offset, in sun4i_spi_parse_pins()
240 if (!pin_name) { in sun4i_spi_parse_pins()
241 pin_name = fdt_stringlist_get(fdt, offset, in sun4i_spi_parse_pins()
244 if (!pin_name) in sun4i_spi_parse_pins()
248 pin = name_to_gpio(pin_name); in sun4i_spi_parse_pins()
/u-boot/drivers/gpio/
A Dsandbox.c442 static char pin_name[PINNAME_SIZE]; in sb_pinctrl_get_pin_name() local
447 snprintf(pin_name, PINNAME_SIZE, "Error"); in sb_pinctrl_get_pin_name()
451 snprintf(pin_name, PINNAME_SIZE, "%s%d", in sb_pinctrl_get_pin_name()
456 return pin_name; in sb_pinctrl_get_pin_name()
/u-boot/drivers/pinctrl/meson/
A Dpinctrl-meson.c29 static char pin_name[PINNAME_SIZE]; variable
63 snprintf(pin_name, PINNAME_SIZE, "Error"); in meson_pinctrl_get_pin_name()
65 snprintf(pin_name, PINNAME_SIZE, "%s", in meson_pinctrl_get_pin_name()
68 return pin_name; in meson_pinctrl_get_pin_name()
/u-boot/drivers/pinctrl/
A Dpinctrl_stm32.c43 static char pin_name[PINNAME_SIZE]; variable
183 snprintf(pin_name, PINNAME_SIZE, "Error"); in stm32_pinctrl_get_pin_name()
187 snprintf(pin_name, PINNAME_SIZE, "%s%d", in stm32_pinctrl_get_pin_name()
192 return pin_name; in stm32_pinctrl_get_pin_name()
A Dpinctrl-stmfx.c349 static char pin_name[PINNAME_SIZE]; variable
354 snprintf(pin_name, PINNAME_SIZE, "gpio%u", selector); in stmfx_pinctrl_get_pin_name()
356 snprintf(pin_name, PINNAME_SIZE, "agpio%u", selector - 16); in stmfx_pinctrl_get_pin_name()
357 return pin_name; in stmfx_pinctrl_get_pin_name()
/u-boot/arch/x86/include/asm/
A Dsfi.h136 char pin_name[SFI_NAME_LEN]; member
/u-boot/drivers/net/
A Dsun8i_emac.c524 const char *pin_name; in parse_phy_pins() local
571 pin_name = fdt_stringlist_get(gd->fdt_blob, offset, in parse_phy_pins()
573 if (!pin_name) in parse_phy_pins()
576 pin = sunxi_name_to_gpio(pin_name); in parse_phy_pins()

Completed in 18 milliseconds