/u-boot/drivers/pinctrl/tegra/ |
H A D | pinmux-tegra124.c | 10 #define PIN(pin, f0, f1, f2, f3) \ macro 25 PIN(ULPI_DATA0_PO1, SPI3, HSI, UARTA, ULPI), 26 PIN(ULPI_DATA1_PO2, SPI3, HSI, UARTA, ULPI), 27 PIN(ULPI_DATA2_PO3, SPI3, HSI, UARTA, ULPI), 28 PIN(ULPI_DATA3_PO4, SPI3, HSI, UARTA, ULPI), 29 PIN(ULPI_DATA4_PO5, SPI2, HSI, UARTA, ULPI), 30 PIN(ULPI_DATA5_PO6, SPI2, HSI, UARTA, ULPI), 31 PIN(ULPI_DATA6_PO7, SPI2, HSI, UARTA, ULPI), 32 PIN(ULPI_DATA7_PO0, SPI2, HSI, UARTA, ULPI), 33 PIN(ULPI_CLK_PY [all...] |
H A D | pinmux-tegra114.c | 10 #define PIN(pin, f0, f1, f2, f3) \ macro 25 PIN(ULPI_DATA0_PO1, SPI3, HSI, UARTA, ULPI), 26 PIN(ULPI_DATA1_PO2, SPI3, HSI, UARTA, ULPI), 27 PIN(ULPI_DATA2_PO3, SPI3, HSI, UARTA, ULPI), 28 PIN(ULPI_DATA3_PO4, SPI3, HSI, UARTA, ULPI), 29 PIN(ULPI_DATA4_PO5, SPI2, HSI, UARTA, ULPI), 30 PIN(ULPI_DATA5_PO6, SPI2, HSI, UARTA, ULPI), 31 PIN(ULPI_DATA6_PO7, SPI2, HSI, UARTA, ULPI), 32 PIN(ULPI_DATA7_PO0, SPI2, HSI, UARTA, ULPI), 33 PIN(ULPI_CLK_PY [all...] |
H A D | pinmux-tegra210.c | 9 #define PIN(pin, f0, f1, f2, f3) \ macro 24 PIN(SDMMC1_CLK_PM0, SDMMC1, RSVD1, RSVD2, RSVD3), 25 PIN(SDMMC1_CMD_PM1, SDMMC1, SPI3, RSVD2, RSVD3), 26 PIN(SDMMC1_DAT3_PM2, SDMMC1, SPI3, RSVD2, RSVD3), 27 PIN(SDMMC1_DAT2_PM3, SDMMC1, SPI3, RSVD2, RSVD3), 28 PIN(SDMMC1_DAT1_PM4, SDMMC1, SPI3, RSVD2, RSVD3), 29 PIN(SDMMC1_DAT0_PM5, SDMMC1, RSVD1, RSVD2, RSVD3), 31 PIN(SDMMC3_CLK_PP0, SDMMC3, RSVD1, RSVD2, RSVD3), 32 PIN(SDMMC3_CMD_PP1, SDMMC3, RSVD1, RSVD2, RSVD3), 33 PIN(SDMMC3_DAT0_PP [all...] |
H A D | pinmux-tegra30.c | 10 #define PIN(pin, f0, f1, f2, f3) \ macro 25 PIN(ULPI_DATA0_PO1, SPI3, HSI, UARTA, ULPI), 26 PIN(ULPI_DATA1_PO2, SPI3, HSI, UARTA, ULPI), 27 PIN(ULPI_DATA2_PO3, SPI3, HSI, UARTA, ULPI), 28 PIN(ULPI_DATA3_PO4, SPI3, HSI, UARTA, ULPI), 29 PIN(ULPI_DATA4_PO5, SPI2, HSI, UARTA, ULPI), 30 PIN(ULPI_DATA5_PO6, SPI2, HSI, UARTA, ULPI), 31 PIN(ULPI_DATA6_PO7, SPI2, HSI, UARTA, ULPI), 32 PIN(ULPI_DATA7_PO0, SPI2, HSI, UARTA, ULPI), 33 PIN(ULPI_CLK_PY [all...] |
H A D | pinmux-tegra20.c | 270 #define PIN(pingrp, f0, f1, f2, f3) \ macro 279 PIN(NONE, RSVD1, RSVD2, RSVD3, RSVD4) 285 PIN(ATA, IDE, NAND, GMI, RSVD4), 286 PIN(ATB, IDE, NAND, GMI, SDIO4), 287 PIN(ATC, IDE, NAND, GMI, SDIO4), 288 PIN(ATD, IDE, NAND, GMI, SDIO4), 289 PIN(CDEV1, OSC, PLLA_OUT, PLLM_OUT1, AUDIO_SYNC), 290 PIN(CDEV2, OSC, AHB_CLK, APB_CLK, PLLP_OUT4), 291 PIN(CSUS, PLLC_OUT1, PLLP_OUT2, PLLP_OUT3, VI_SENSOR_CLK), 292 PIN(DAP [all...] |
/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson-g12a.c | 21 static const unsigned int emmc_nand_d0_pins[] = { PIN(BOOT_0, EE_OFF) }; 22 static const unsigned int emmc_nand_d1_pins[] = { PIN(BOOT_1, EE_OFF) }; 23 static const unsigned int emmc_nand_d2_pins[] = { PIN(BOOT_2, EE_OFF) }; 24 static const unsigned int emmc_nand_d3_pins[] = { PIN(BOOT_3, EE_OFF) }; 25 static const unsigned int emmc_nand_d4_pins[] = { PIN(BOOT_4, EE_OFF) }; 26 static const unsigned int emmc_nand_d5_pins[] = { PIN(BOOT_5, EE_OFF) }; 27 static const unsigned int emmc_nand_d6_pins[] = { PIN(BOOT_6, EE_OFF) }; 28 static const unsigned int emmc_nand_d7_pins[] = { PIN(BOOT_7, EE_OFF) }; 29 static const unsigned int emmc_clk_pins[] = { PIN(BOOT_8, EE_OFF) }; 30 static const unsigned int emmc_cmd_pins[] = { PIN(BOOT_1 [all...] |
H A D | pinctrl-meson-axg.c | 20 static const unsigned int emmc_nand_d0_pins[] = { PIN(BOOT_0, EE_OFF) }; 21 static const unsigned int emmc_nand_d1_pins[] = { PIN(BOOT_1, EE_OFF) }; 22 static const unsigned int emmc_nand_d2_pins[] = { PIN(BOOT_2, EE_OFF) }; 23 static const unsigned int emmc_nand_d3_pins[] = { PIN(BOOT_3, EE_OFF) }; 24 static const unsigned int emmc_nand_d4_pins[] = { PIN(BOOT_4, EE_OFF) }; 25 static const unsigned int emmc_nand_d5_pins[] = { PIN(BOOT_5, EE_OFF) }; 26 static const unsigned int emmc_nand_d6_pins[] = { PIN(BOOT_6, EE_OFF) }; 27 static const unsigned int emmc_nand_d7_pins[] = { PIN(BOOT_7, EE_OFF) }; 29 static const unsigned int emmc_clk_pins[] = { PIN(BOOT_8, EE_OFF) }; 30 static const unsigned int emmc_cmd_pins[] = { PIN(BOOT_1 [all...] |
H A D | pinctrl-meson-gxbb.c | 19 PIN(BOOT_0, EE_OFF), PIN(BOOT_1, EE_OFF), PIN(BOOT_2, EE_OFF), 20 PIN(BOOT_3, EE_OFF), PIN(BOOT_4, EE_OFF), PIN(BOOT_5, EE_OFF), 21 PIN(BOOT_6, EE_OFF), PIN(BOOT_7, EE_OFF), 23 static const unsigned int emmc_clk_pins[] = { PIN(BOOT_8, EE_OFF) }; 24 static const unsigned int emmc_cmd_pins[] = { PIN(BOOT_1 [all...] |
H A D | pinctrl-meson-gxl.c | 19 PIN(BOOT_0, EE_OFF), PIN(BOOT_1, EE_OFF), PIN(BOOT_2, EE_OFF), 20 PIN(BOOT_3, EE_OFF), PIN(BOOT_4, EE_OFF), PIN(BOOT_5, EE_OFF), 21 PIN(BOOT_6, EE_OFF), PIN(BOOT_7, EE_OFF), 23 static const unsigned int emmc_clk_pins[] = { PIN(BOOT_8, EE_OFF) }; 24 static const unsigned int emmc_cmd_pins[] = { PIN(BOOT_1 [all...] |
H A D | pinctrl-meson-gx.h | 38 .pins = (const unsigned int[]){ PIN(gpio, b) }, \
|
H A D | pinctrl-meson-axg.h | 56 .pins = (const unsigned int[]){ PIN(gpio, b) }, \
|
H A D | pinctrl-meson.h | 104 #define PIN(x, b) (b + x) macro 132 #define MESON_PIN(x, b) PINCTRL_PIN(PIN(x, b), #x)
|
/u-boot/drivers/pinctrl/ |
H A D | pinctrl-k210.c | 87 #define PIN(i) \ macro 89 PIN(0), 90 PIN(1), 91 PIN(2), 92 PIN(3), 93 PIN(4), 94 PIN(5), 95 PIN(6), 96 PIN(7), 97 PIN( 137 #undef PIN macro [all...] |
H A D | pinctrl-sandbox.c | 23 #define PIN(x) \ macro 25 PIN(0), 26 PIN(1), 27 PIN(2), 28 PIN(3), 29 PIN(4), 30 PIN(5), 31 PIN(6), 32 PIN(7), 33 PIN( 34 #undef PIN macro [all...] |
/u-boot/drivers/pinctrl/rockchip/ |
H A D | pinctrl-rockchip.h | 442 #define PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, FLAG) \ 445 .pin = PIN, \ 452 #define MR_DEFAULT(ID, PIN, FUNC, REG, VAL) \ 453 PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, ROUTE_TYPE_DEFAULT) 455 #define MR_TOPGRF(ID, PIN, FUNC, REG, VAL) \ 456 PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, ROUTE_TYPE_TOPGRF) 458 #define MR_PMUGRF(ID, PIN, FUNC, REG, VAL) \ 459 PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, ROUTE_TYPE_PMUGRF) 461 #define RK3588_PIN_BANK_FLAGS(ID, PIN, LABEL, M, P) \ 462 PIN_BANK_IOMUX_FLAGS_PULL_FLAGS(ID, PIN, LABE [all...] |
/u-boot/include/renesas/ |
H A D | rzg2l-pfc.h | 11 /* PIN capabilities */ 75 #define PIN(n) (0x0800 + 0x10 + (n)) macro
|
/u-boot/drivers/gpio/ |
H A D | rzg2l-gpio.c | 34 return !!(readb(data->base + PIN(port)) & BIT(pin));
|