Lines Matching defs:child
778 struct fwnode_handle *child;
780 fwnode_for_each_child_node(fwnode, child) {
781 if (is_acpi_data_node(child)) {
782 if (acpi_data_node_match(child, childname))
783 return child;
787 if (!strncmp(acpi_device_bid(to_acpi_device_node(child)),
789 return child;
1192 * acpi_get_next_subnode - Return the next child node handle for a fwnode
1193 * @fwnode: Firmware node to find the next child node for.
1194 * @child: Handle to one of the device's child nodes or a null handle.
1197 struct fwnode_handle *child)
1201 if ((!child || is_acpi_device_node(child)) && adev) {
1202 struct acpi_device *child_adev = to_acpi_device_node(child);
1208 child = NULL;
1211 if (!child || is_acpi_data_node(child)) {
1235 if (child) {
1236 dn = to_acpi_data_node(child);
1353 * acpi_graph_get_child_prop_value - Return a child with a given property value
1359 * the child node on success, NULL otherwise.
1365 struct fwnode_handle *child;
1367 fwnode_for_each_child_node(fwnode, child) {
1370 if (fwnode_property_read_u32(child, prop_name, &nr))
1374 return child;