Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/power/pmic/
H A Das3722_gpio.c12 #define NUM_GPIOS 8 macro
43 if (gpio >= NUM_GPIOS) in as3722_gpio_set_value()
104 uc_priv->gpio_count = NUM_GPIOS; in as3722_gpio_probe()
/openbmc/linux/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()
/openbmc/linux/drivers/tty/serial/
H A Dcpm_uart.h46 #define NUM_GPIOS (GPIO_RI+1) macro
75 struct gpio_desc *gpios[NUM_GPIOS];
H A Dcpm_uart.c1329 for (i = 0; i < NUM_GPIOS; i++) { in cpm_uart_init_port()
/openbmc/qemu/hw/arm/
H A Dstm32l4x5_soc.c113 } stm32l4x5_gpio_cfg[NUM_GPIOS] = {
148 for (unsigned i = 0; i < NUM_GPIOS; i++) { in stm32l4x5_soc_initfn()
216 for (unsigned i = 0; i < NUM_GPIOS; i++) { in stm32l4x5_soc_realize()
244 for (unsigned i = 0; i < NUM_GPIOS; i++) { in stm32l4x5_soc_realize()
/openbmc/qemu/include/hw/gpio/
H A Dstm32l4x5_gpio.h28 #define NUM_GPIOS 8 macro
/openbmc/qemu/include/hw/arm/
H A Dstm32l4x5_soc.h57 Stm32l4x5GpioState gpio[NUM_GPIOS];
/openbmc/qemu/hw/misc/
H A Dstm32l4x5_syscfg.c94 g_assert(gpio < NUM_GPIOS); in stm32l4x5_syscfg_set_irq()
226 GPIO_NUM_PINS * NUM_GPIOS); in stm32l4x5_syscfg_init()
/openbmc/qemu/tests/qtest/
H A Dstm32l4x5_gpio-test.c16 #define NUM_GPIOS 8 macro
49 const uint32_t moder_reset[NUM_GPIOS] = {
60 const uint32_t pupdr_reset[NUM_GPIOS] = {
71 const uint32_t idr_reset[NUM_GPIOS] = {
/openbmc/linux/drivers/usb/host/
H A Dfhci.h232 NUM_GPIOS, enumerator
246 struct gpio_desc *gpiods[NUM_GPIOS];
H A Dfhci-hcd.c633 for (i = 0; i < NUM_GPIOS; i++) { in of_fhci_probe()
/openbmc/linux/drivers/pinctrl/actions/
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-s500.c37 #define NUM_GPIOS (_GPIOE(3) + 1) macro
38 #define _PIN(offset) (NUM_GPIOS + (offset))
1687 .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,
/openbmc/linux/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))
1546 .ngpios = NUM_GPIOS,
H A Dpinctrl-tegra20.c255 #define NUM_GPIOS (TEGRA_PIN_PBB7 + 1) macro
256 #define _PIN(offset) (NUM_GPIOS + (offset))
2212 .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))
1830 .ngpios = NUM_GPIOS,
H A Dpinctrl-tegra124.c209 #define NUM_GPIOS (TEGRA_PIN_PFF2 + 1) macro
210 #define _PIN(offset) (NUM_GPIOS + (offset))
2042 .ngpios = NUM_GPIOS,
H A Dpinctrl-tegra30.c274 #define NUM_GPIOS (TEGRA_PIN_PEE7 + 1) macro
275 #define _PIN(offset) (NUM_GPIOS + (offset))
2465 .ngpios = NUM_GPIOS,
/openbmc/linux/drivers/media/i2c/
H A Ds5k5baf.c233 NUM_GPIOS, enumerator
281 struct gpio_desc *gpios[NUM_GPIOS];
1798 for (i = 0; i < NUM_GPIOS; ++i) { in s5k5baf_configure_gpios()
H A Dov9650.c243 NUM_GPIOS, enumerator
250 struct gpio_desc *gpios[NUM_GPIOS];