Lines Matching refs:child
560 * Install/uninstall ACPI system event handler for child objects of hdl.
569 ACPI_HANDLE child = NULL;
574 /* Walk all child objects. */
576 while (ACPI_SUCCESS(AcpiGetNextObject(ACPI_TYPE_ANY, hdl, child,
577 &child))) {
579 if (ACPI_FAILURE(AcpiGetType(child, &type)) ||
586 dhdl = acpidev_data_get_handle(child);
589 "associated with %p, skip.", child);
594 if (ACPI_FAILURE(AcpiGetObjectInfo(child, &infop))) {
597 child);
602 rc = acpinex_event_install_handler(child, sp, infop,
606 "install handler for child %p of %s.",
607 child, sp->ans_path);
619 * events from child objects should be handled by
624 ACPI_FAILURE(acpica_get_devinfo(child, &dip))) {
625 rc = acpinex_event_walk(B_TRUE, sp, child);
637 if (ACPI_FAILURE(acpica_get_devinfo(child, &dip))) {
638 rc = acpinex_event_walk(B_FALSE, sp, child);
641 rc = acpinex_event_uninstall_handler(child,
676 /* Lock current device node and walk all child device nodes of it. */
683 "configure child objects of %s.", sp->ans_path);
687 "unconfigure child objects of %s.", sp->ans_path);