Home
last modified time | relevance | path

Searched refs:power_val (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/cros/power/
Dpower_utils.py627 def set_display_power(power_val): argument
636 if (not isinstance(power_val, int)
637 or power_val < DISPLAY_POWER_ALL_ON
638 or power_val >= DISPLAY_POWER_MAX):
639 raise DisplayException('Invalid display power setting: %d' % power_val)
644 args='int32:%d' % power_val)
/external/tcpdump/
Dprint-lldp.c972 uint16_t power_val; in lldp_private_tia_print() local
1117 power_val = EXTRACT_16BITS(tptr+5); in lldp_private_tia_print()
1118 if (power_val < LLDP_TIA_POWER_VAL_MAX) { in lldp_private_tia_print()
1119 ND_PRINT((ndo, ", Power %.1f Watts", ((float)power_val) / 10)); in lldp_private_tia_print()
1121 ND_PRINT((ndo, ", Power %u (Reserved)", power_val)); in lldp_private_tia_print()