Searched refs:power_val (Results 1 – 2 of 2) sorted by relevance
618 def set_display_power(power_val): argument627 if (not isinstance(power_val, int)628 or power_val < DISPLAY_POWER_ALL_ON629 or power_val >= DISPLAY_POWER_MAX):630 raise DisplayException('Invalid display power setting: %d' % power_val)635 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()