Lines Matching refs:wd
138 struct find_child_walk_data *wd = data;
141 if (!adev->pnp.type.bus_address || acpi_device_adr(adev) != wd->address)
144 if (!wd->adev) {
150 wd->adev = adev;
151 return !(wd->check_sta || wd->check_children);
162 if (!wd->score) {
163 score = find_child_checks(wd->adev, wd->check_children);
167 wd->score = score;
174 score = find_child_checks(adev, wd->check_children);
175 if (score > wd->score) {
176 wd->adev = adev;
180 wd->score = score;
191 struct find_child_walk_data wd = {
200 acpi_dev_for_each_child(parent, check_one_child, &wd);
202 return wd.adev;