Lines Matching refs:valid
175 /* Make sure this is a valid target state */
188 if (!device->power.states[ACPI_STATE_D3_COLD].flags.valid)
190 } else if (!device->power.states[state].flags.valid) {
488 * acpi_dev_power_up_children_with_adr - Power up childres with valid _ADR
492 * and hold valid _ADR objects to D0 in order to allow bus (e.g. PCI)
565 * NOTE: @adev need not be a run-wake or wakeup device to be a valid source of
636 return device && device->wakeup.flags.valid;
661 * Callers must ensure that @dev and @adev are valid pointers and that @adev
707 * D3cold if D3hot is not a valid state.
709 if (!adev->power.states[ret].flags.valid) {
720 wakeup = device_may_wakeup(dev) && adev->wakeup.flags.valid
738 wakeup = adev->wakeup.flags.valid;
746 * can wake the system. _S0W may be valid, too.
759 /* Fall back to D3cold if ret is not a valid state. */
760 if (!adev->power.states[ret].flags.valid)
787 * The caller must ensure that @dev is valid before using this function.
821 if (adev->power.states[d_max].flags.valid)
909 * Callers must ensure that @adev is a valid ACPI device node before executing
923 * Callers must ensure that @adev is a valid ACPI device node before executing
1097 if (!pm_runtime_suspended(dev) || !adev || (adev->wakeup.flags.valid &&
1426 * If @dev has a valid ACPI handle that has a valid struct acpi_device object
1513 * not valid to ask for the ACPI power state of the device in that time frame.