Searched refs:old_stype (Results 1 – 2 of 2) sorted by relevance
150 enum power_stype new_stype, old_stype; in power_sysctl_stype() local152 old_stype = *(enum power_stype *)oidp->oid_arg1; in power_sysctl_stype()153 strlcpy(name, power_stype_to_name(old_stype), sizeof(name)); in power_sysctl_stype()163 if (new_stype != old_stype) in power_sysctl_stype()
4565 enum power_stype old_stype = power_suspend_stype; in acpi_suspend_state_sysctl() local4566 int old_sstate = acpi_stype_to_sstate(sc, old_stype); in acpi_suspend_state_sysctl()4582 if (new_stype != old_stype) in acpi_suspend_state_sysctl()4616 enum power_stype new_stype, old_stype; in acpi_stype_sysctl() local4618 old_stype = *(enum power_stype *)oidp->oid_arg1; in acpi_stype_sysctl()4619 strlcpy(name, power_stype_to_name(old_stype), sizeof(name)); in acpi_stype_sysctl()4644 if (new_stype != old_stype) in acpi_stype_sysctl()