Home
last modified time | relevance | path

Searched refs:NUM_GPIOS (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Dmena21_wdt.c21 #define NUM_GPIOS 6 macro
34 struct gpio_desc *gpios[NUM_GPIOS];
142 if (num_gpios != NUM_GPIOS) { in a21_wdt_probe()
144 num_gpios, NUM_GPIOS); in a21_wdt_probe()
/OK3568_Linux_fs/u-boot/drivers/power/pmic/
H A Das3722_gpio.c13 #define NUM_GPIOS 8 macro
44 if (gpio >= NUM_GPIOS) in as3722_gpio_set_value()
104 uc_priv->gpio_count = NUM_GPIOS; in as3722_gpio_probe()
/OK3568_Linux_fs/kernel/drivers/tty/serial/cpm_uart/
H A Dcpm_uart.h56 #define NUM_GPIOS (GPIO_RI+1) macro
85 struct gpio_desc *gpios[NUM_GPIOS];
H A Dcpm_uart_core.c1213 for (i = 0; i < NUM_GPIOS; i++) { in cpm_uart_init_port()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dfhci.h231 NUM_GPIOS, enumerator
245 int gpios[NUM_GPIOS];
246 bool alow_gpios[NUM_GPIOS];
H A Dfhci-hcd.c633 for (i = 0; i < NUM_GPIOS; i++) { in of_fhci_probe()
793 for (i = 0; i < NUM_GPIOS; i++) { in fhci_remove()
/OK3568_Linux_fs/kernel/drivers/pinctrl/actions/
H A Dpinctrl-s500.c37 #define NUM_GPIOS (_GPIOE(3) + 1) macro
38 #define _PIN(offset) (NUM_GPIOS + (offset))
1687 .ngpios = NUM_GPIOS,
H A Dpinctrl-s700.c45 #define NUM_GPIOS (_GPIOE(7) + 1) macro
46 #define _PIN(offset) (NUM_GPIOS + (offset))
1872 .ngpios = NUM_GPIOS,
H A Dpinctrl-s900.c44 #define NUM_GPIOS (_GPIOF(7) + 1) macro
45 #define _PIN(offset) (NUM_GPIOS + (offset))
1790 .ngpios = NUM_GPIOS,
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Ds5k5baf.c239 NUM_GPIOS, enumerator
287 struct s5k5baf_gpio gpios[NUM_GPIOS];
1800 for (i = 0; i < NUM_GPIOS; ++i) { in s5k5baf_configure_gpios()
1823 for (i = 0; i < NUM_GPIOS; ++i) { in s5k5baf_parse_gpios()
H A Dov9650.c245 NUM_GPIOS, enumerator
252 struct gpio_desc *gpios[NUM_GPIOS];
1409 int gpios[NUM_GPIOS]; in ov965x_configure_gpios_pdata()
/OK3568_Linux_fs/kernel/drivers/pinctrl/tegra/
H A Dpinctrl-tegra210.c178 #define NUM_GPIOS (TEGRA_PIN_QSPI_IO3_PEE5 + 1) macro
179 #define _PIN(offset) (NUM_GPIOS + (offset))
1547 .ngpios = NUM_GPIOS,
H A Dpinctrl-tegra20.c255 #define NUM_GPIOS (TEGRA_PIN_PBB7 + 1) macro
256 #define _PIN(offset) (NUM_GPIOS + (offset))
2215 .ngpios = NUM_GPIOS,
H A Dpinctrl-tegra114.c195 #define NUM_GPIOS (TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5 + 1) macro
196 #define _PIN(offset) (NUM_GPIOS + (offset))
1833 .ngpios = NUM_GPIOS,
H A Dpinctrl-tegra124.c209 #define NUM_GPIOS (TEGRA_PIN_PFF2 + 1) macro
210 #define _PIN(offset) (NUM_GPIOS + (offset))
2045 .ngpios = NUM_GPIOS,
H A Dpinctrl-tegra30.c274 #define NUM_GPIOS (TEGRA_PIN_PEE7 + 1) macro
275 #define _PIN(offset) (NUM_GPIOS + (offset))
2468 .ngpios = NUM_GPIOS,