Lines Matching defs:number
21 * builtin/SoC GPIOs plus a number of GPIOs on expanders; the latter is
38 static inline int gpio_is_valid(int number)
40 return ((unsigned)number) < ARCH_NR_GPIOS;
67 * @base: identifies the first GPIO number handled by this chip; or, if
69 * @ngpio: the number of GPIOs handled by this controller; the last GPIO
78 * number of the gpio.
85 * Each chip controls a number of signals, identified in method calls
88 * is calculated by subtracting @base from the gpio number.
185 * @gpio: the GPIO number
215 static inline int gpio_is_valid(int number)
218 return number >= 0;