Searched refs:ARCH_NR_GPIOS (Results 1 – 8 of 8) sorted by relevance
27 #ifndef ARCH_NR_GPIOS29 #define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO macro31 #define ARCH_NR_GPIOS 512 macro46 return number >= 0 && number < ARCH_NR_GPIOS; in gpio_is_valid()
6 #define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO macro
19 #define ARCH_NR_GPIOS 512 macro
121 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()
217 if (WARN_ON(ARCH_NR_GPIOS < ngpio)) in davinci_gpio_probe()218 ngpio = ARCH_NR_GPIOS; in davinci_gpio_probe()
183 int base = ARCH_NR_GPIOS - ngpio; in gpiochip_find_base()
480 它也应提供一个 ARCH_NR_GPIOS 的定义值,这样可以更好地反映该平台 GPIO
561 It may also provide a custom value for ARCH_NR_GPIOS, so that it better