Lines Matching refs:base
31 * We're storing two values per chip: the GPIO base and the number
403 int rv, base, i;
408 rv = device_property_read_u32(dev, "gpio-base", &base);
410 base = -1;
427 gc->base = base;
510 int prop = 0, base;
519 base = gpio_mockup_range_base(idx);
520 if (base >= 0)
521 properties[prop++] = PROPERTY_ENTRY_U32("gpio-base", base);
523 ngpio = base < 0 ? gpio_mockup_range_ngpio(idx)
524 : gpio_mockup_range_ngpio(idx) - base;
571 * The second value in the <base GPIO - number of GPIOS> pair must