Lines Matching refs:child
148 struct fwnode_handle *child; in gpio_keys_polled_get_devtree_pdata() local
170 device_for_each_child_node(dev, child) { in gpio_keys_polled_get_devtree_pdata()
171 if (fwnode_property_read_u32(child, "linux,code", in gpio_keys_polled_get_devtree_pdata()
174 fwnode_handle_put(child); in gpio_keys_polled_get_devtree_pdata()
178 fwnode_property_read_string(child, "label", &button->desc); in gpio_keys_polled_get_devtree_pdata()
180 if (fwnode_property_read_u32(child, "linux,input-type", in gpio_keys_polled_get_devtree_pdata()
184 if (fwnode_property_read_u32(child, "linux,input-value", in gpio_keys_polled_get_devtree_pdata()
189 fwnode_property_read_bool(child, "wakeup-source") || in gpio_keys_polled_get_devtree_pdata()
191 fwnode_property_read_bool(child, "gpio-key,wakeup"); in gpio_keys_polled_get_devtree_pdata()
193 if (fwnode_property_read_u32(child, "debounce-interval", in gpio_keys_polled_get_devtree_pdata()
232 struct fwnode_handle *child = NULL; in gpio_keys_polled_probe() local
291 fwnode_handle_put(child); in gpio_keys_polled_probe()
297 child = device_get_next_child_node(dev, child); in gpio_keys_polled_probe()
298 if (!child) { in gpio_keys_polled_probe()
304 NULL, child, in gpio_keys_polled_probe()
313 fwnode_handle_put(child); in gpio_keys_polled_probe()
354 fwnode_handle_put(child); in gpio_keys_polled_probe()