/u-boot/drivers/pinctrl/nexell/ |
A D | pinctrl-nexell.c | 19 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 D | pinctrl-nexell.h | 64 unsigned long pin_to_bank_base(struct udevice *dev, const char *pin_name,
|
/u-boot/arch/arm/mach-ipq40xx/ |
A D | pinctrl-ipq4019.c | 14 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 D | pinctrl-apq8016.c | 13 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 D | pinctrl-apq8096.c | 13 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 D | pinctrl-exynos.c | 37 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 D | pinmux.c | 46 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 D | spi-sunxi.c | 186 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 D | sandbox.c | 442 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 D | pinctrl-meson.c | 29 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 D | pinctrl_stm32.c | 43 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 D | pinctrl-stmfx.c | 349 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 D | sfi.h | 136 char pin_name[SFI_NAME_LEN]; member
|
/u-boot/drivers/net/ |
A D | sun8i_emac.c | 524 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()
|