Searched refs:power_val (Results 1 – 2 of 2) sorted by relevance
477 def set_display_power(power_val): argument486 if (not isinstance(power_val, int)487 or power_val < DISPLAY_POWER_ALL_ON488 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)
968 uint16_t power_val; in lldp_private_tia_print() local1113 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()