Lines Matching full:wd
424 struct ljca_match_ids_walk_data *wd = data; in ljca_match_device_ids() local
427 if (acpi_match_device_ids(adev, wd->ids)) in ljca_match_device_ids()
430 if (!wd->uid) in ljca_match_device_ids()
444 uid = strchr(uid, wd->uid[0]); in ljca_match_device_ids()
446 if (!uid || strcmp(uid, wd->uid)) in ljca_match_device_ids()
450 wd->adev = adev; in ljca_match_device_ids()
460 struct ljca_match_ids_walk_data wd = { 0 }; in ljca_auxdev_acpi_bind() local
475 wd.ids = ljca_gpio_hids; in ljca_auxdev_acpi_bind()
480 wd.uid = uid; in ljca_auxdev_acpi_bind()
481 wd.ids = ljca_i2c_hids; in ljca_auxdev_acpi_bind()
485 wd.ids = ljca_spi_hids; in ljca_auxdev_acpi_bind()
492 acpi_dev_for_each_child(parent, ljca_match_device_ids, &wd); in ljca_auxdev_acpi_bind()
493 if (wd.adev) { in ljca_auxdev_acpi_bind()
494 ACPI_COMPANION_SET(&auxdev->dev, wd.adev); in ljca_auxdev_acpi_bind()
502 acpi_dev_for_each_child(parent, ljca_match_device_ids, &wd); in ljca_auxdev_acpi_bind()
503 if (wd.adev) in ljca_auxdev_acpi_bind()
504 ACPI_COMPANION_SET(&auxdev->dev, wd.adev); in ljca_auxdev_acpi_bind()