Lines Matching refs:of_node
33 return chip->gpiodev->dev.of_node == gpiospec->np && in of_gpiochip_match_node_and_xlate()
170 struct device_node *np = dev->of_node; in of_find_spi_gpio()
205 struct device_node *np = dev->of_node; in of_find_regulator_gpio()
241 desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx, in of_find_gpio()
314 chip_np = chip->of_node; in of_parse_own_gpio()
381 for_each_available_child_of_node(chip->of_node, np) { in of_gpiochip_scan_gpios()
479 mm_gc->gc.of_node = np; in of_mm_gpiochip_add_data()
517 struct device_node *np = chip->of_node; in of_gpiochip_init_valid_mask()
538 struct device_node *np = chip->of_node; in of_gpiochip_add_pin_range()
625 if (!chip->of_node) in of_gpiochip_add()
645 of_fwnode_handle(chip->of_node)); in of_gpiochip_add()
647 of_node_get(chip->of_node); in of_gpiochip_add()
655 of_node_put(chip->of_node); in of_gpiochip_remove()