Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dqsfp.c669 int get_qsfp_power_class(u8 power_byte) in get_qsfp_power_class() argument
671 if (QSFP_HIGH_PWR(power_byte) == QSFP_HIGH_PWR_UNUSED) in get_qsfp_power_class()
673 return (QSFP_PWR(power_byte) + 1); in get_qsfp_power_class()
680 return (QSFP_HIGH_PWR(power_byte) + 4); in get_qsfp_power_class()
799 u8 power_byte = 0; in qsfp_dump() local
810 power_byte = cache[QSFP_MOD_PWR_OFFS]; in qsfp_dump()
812 pwr_codes[get_qsfp_power_class(power_byte)]); in qsfp_dump()
Dqsfp.h227 int get_qsfp_power_class(u8 power_byte);