Home
last modified time | relevance | path

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

/external/autotest/client/cros/
Dpower_utils.py477 def set_display_power(power_val): argument
486 if (not isinstance(power_val, int)
487 or power_val < DISPLAY_POWER_ALL_ON
488 or power_val >= DISPLAY_POWER_MAX):
489 raise DisplayException('Invalid display power setting: %d' % power_val)
490 call_chrome_dbus_method('SetDisplayPower', 'int32:%d' % power_val)
/external/tcpdump/
Dprint-lldp.c968 uint16_t power_val; in lldp_private_tia_print() local
1113 power_val = EXTRACT_16BITS(tptr+5); in lldp_private_tia_print()
1114 if (power_val < LLDP_TIA_POWER_VAL_MAX) { in lldp_private_tia_print()
1115 ND_PRINT((ndo, ", Power %.1f Watts", ((float)power_val) / 10)); in lldp_private_tia_print()
1117 ND_PRINT((ndo, ", Power %u (Reserved)", power_val)); in lldp_private_tia_print()