Lines Matching +refs:val +refs:current

114  * component of a device, checking its idleness against its current threshold,
772 * Given a pointer to a component struct, return the current power level
944 * Otherwise, it tells the current scanning thread to scan again when
1400 power_val_to_index(pm_component_t *cp, int val)
1404 ASSERT(val != PM_LEVEL_UPONLY && val != PM_LEVEL_DOWNONLY &&
1405 val != PM_LEVEL_EXACT);
1410 if (val == *ip++)
1419 power_val_to_string(pm_component_t *cp, int val)
1423 if (val == PM_LEVEL_UPONLY)
1426 if (val == PM_LEVEL_UNKNOWN ||
1427 (index = power_val_to_index(cp, val)) == -1)
1572 * value of the current node's volpmd count from the ancestors
1821 /* if we are not asked to return with hold, drop current hold */
2435 * Internal function to set current power level
2445 * Nothing to adjust if current & new levels are the same.
2651 * mark current entry as overrun
2828 * Determine if the power lock owner is blocked by current thread.
2832 * a mutex held by the current thread.
3606 * Fetches the current power level. Return DDI_SUCCESS or DDI_FAILURE.
3619 * Returns current threshold of indicated component
3668 * component's power level is only changed if it's current power level
3752 int current = PM_CURPOWER(dip, i);
3753 if (normal[i] > current) {
3756 normal[i], current))
5863 * Returns the current threshold value (in seconds) for the indicated component
6641 * c = current number of cycles
7235 /* insert before current entry */
8071 * running, it is ok to examine current power outside
8223 * scan through the pm_noinvolpm list adjusting ancestors of the current
8615 * Update the current node.
8690 * matches the current request or not. This distinction tells
8766 PMD(PMD_SET, ("%s: current level is already "
8776 PMD(PMD_SET, ("%s: current level is already "
8828 PMD(PMD_SET, ("%s: current level is already at "