Home
last modified time | relevance | path

Searched refs:ARCH_NR_GPIOS (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/include/asm-generic/
Dgpio.h27 #ifndef ARCH_NR_GPIOS
29 #define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO macro
31 #define ARCH_NR_GPIOS 512 macro
46 return number >= 0 && number < ARCH_NR_GPIOS; in gpio_is_valid()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dgpio.h6 #define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO macro
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dgpio.h19 #define ARCH_NR_GPIOS 512 macro
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-aggregator.c121 bitmap = bitmap_alloc(ARCH_NR_GPIOS, GFP_KERNEL); in aggr_parse()
144 error = bitmap_parselist(offsets, bitmap, ARCH_NR_GPIOS); in aggr_parse()
150 for_each_set_bit(i, bitmap, ARCH_NR_GPIOS) { in aggr_parse()
Dgpio-davinci.c217 if (WARN_ON(ARCH_NR_GPIOS < ngpio)) in davinci_gpio_probe()
218 ngpio = ARCH_NR_GPIOS; in davinci_gpio_probe()
Dgpiolib.c183 int base = ARCH_NR_GPIOS - ngpio; in gpiochip_find_base()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/
Dgpio.txt480 它也应提供一个 ARCH_NR_GPIOS 的定义值,这样可以更好地反映该平台 GPIO
/kernel/linux/linux-5.10/Documentation/driver-api/gpio/
Dlegacy.rst561 It may also provide a custom value for ARCH_NR_GPIOS, so that it better