/openbmc/u-boot/drivers/power/pmic/ |
H A D | as3722_gpio.c | 12 #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 D | mena21_wdt.c | 21 #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 D | cpm_uart.h | 46 #define NUM_GPIOS (GPIO_RI+1) macro 75 struct gpio_desc *gpios[NUM_GPIOS];
|
H A D | cpm_uart.c | 1329 for (i = 0; i < NUM_GPIOS; i++) { in cpm_uart_init_port()
|
/openbmc/qemu/hw/arm/ |
H A D | stm32l4x5_soc.c | 113 } 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 D | stm32l4x5_gpio.h | 28 #define NUM_GPIOS 8 macro
|
/openbmc/qemu/include/hw/arm/ |
H A D | stm32l4x5_soc.h | 57 Stm32l4x5GpioState gpio[NUM_GPIOS];
|
/openbmc/qemu/hw/misc/ |
H A D | stm32l4x5_syscfg.c | 94 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 D | stm32l4x5_gpio-test.c | 16 #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 D | fhci.h | 232 NUM_GPIOS, enumerator 246 struct gpio_desc *gpiods[NUM_GPIOS];
|
H A D | fhci-hcd.c | 633 for (i = 0; i < NUM_GPIOS; i++) { in of_fhci_probe()
|
/openbmc/linux/drivers/pinctrl/actions/ |
H A D | pinctrl-s700.c | 45 #define NUM_GPIOS (_GPIOE(7) + 1) macro 46 #define _PIN(offset) (NUM_GPIOS + (offset)) 1872 .ngpios = NUM_GPIOS,
|
H A D | pinctrl-s500.c | 37 #define NUM_GPIOS (_GPIOE(3) + 1) macro 38 #define _PIN(offset) (NUM_GPIOS + (offset)) 1687 .ngpios = NUM_GPIOS,
|
H A D | pinctrl-s900.c | 44 #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 D | pinctrl-tegra210.c | 178 #define NUM_GPIOS (TEGRA_PIN_QSPI_IO3_PEE5 + 1) macro 179 #define _PIN(offset) (NUM_GPIOS + (offset)) 1546 .ngpios = NUM_GPIOS,
|
H A D | pinctrl-tegra20.c | 255 #define NUM_GPIOS (TEGRA_PIN_PBB7 + 1) macro 256 #define _PIN(offset) (NUM_GPIOS + (offset)) 2212 .ngpios = NUM_GPIOS,
|
H A D | pinctrl-tegra114.c | 195 #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 D | pinctrl-tegra124.c | 209 #define NUM_GPIOS (TEGRA_PIN_PFF2 + 1) macro 210 #define _PIN(offset) (NUM_GPIOS + (offset)) 2042 .ngpios = NUM_GPIOS,
|
H A D | pinctrl-tegra30.c | 274 #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 D | s5k5baf.c | 233 NUM_GPIOS, enumerator 281 struct gpio_desc *gpios[NUM_GPIOS]; 1798 for (i = 0; i < NUM_GPIOS; ++i) { in s5k5baf_configure_gpios()
|
H A D | ov9650.c | 243 NUM_GPIOS, enumerator 250 struct gpio_desc *gpios[NUM_GPIOS];
|