Searched refs:gpio_cells (Results 1 – 2 of 2) sorted by relevance
39 const u32 *gpio_cells; in of_get_gpio_flags() local56 gpio_cells = of_get_property(gc, "#gpio-cells", &size); in of_get_gpio_flags()57 if (!gpio_cells || size != sizeof(*gpio_cells) || in of_get_gpio_flags()58 *gpio_cells != of_gc->gpio_cells) { in of_get_gpio_flags()138 if (of_gc->gpio_cells < 2) { in of_gpio_simple_xlate()
194 ofchip->gpio_cells = 2; in xgpio_of_probe()