Lines Matching defs:child
507 struct fwnode_handle *child)
521 if (child) {
522 bdata->gpiod = devm_fwnode_gpiod_get(dev, child,
730 struct fwnode_handle *child;
752 device_for_each_child_node(dev, child) {
753 if (is_of_node(child))
755 irq_of_parse_and_map(to_of_node(child), 0);
757 if (fwnode_property_read_u32(child, "linux,code",
760 fwnode_handle_put(child);
764 fwnode_property_read_string(child, "label", &button->desc);
766 if (fwnode_property_read_u32(child, "linux,input-type",
770 fwnode_property_read_u32(child, "linux,input-value",
774 fwnode_property_read_bool(child, "wakeup-source") ||
776 fwnode_property_read_bool(child, "gpio-key,wakeup");
778 fwnode_property_read_u32(child, "wakeup-event-action",
782 fwnode_property_read_bool(child, "linux,can-disable");
784 if (fwnode_property_read_u32(child, "debounce-interval",
804 struct fwnode_handle *child = NULL;
865 child = device_get_next_child_node(dev, child);
866 if (!child) {
868 "missing child device node for entry %d\n",
875 button, i, child);
877 fwnode_handle_put(child);
885 fwnode_handle_put(child);