Searched refs:power_val (Results 1 – 2 of 2) sorted by relevance
627 def set_display_power(power_val): argument636 if (not isinstance(power_val, int)637 or power_val < DISPLAY_POWER_ALL_ON638 or power_val >= DISPLAY_POWER_MAX):639 raise DisplayException('Invalid display power setting: %d' % power_val)644 args='int32:%d' % power_val)
972 uint16_t power_val; in lldp_private_tia_print() local1117 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()