Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A Dqsfp.c627 int get_qsfp_power_class(u8 power_byte) in get_qsfp_power_class() argument
629 if (QSFP_HIGH_PWR(power_byte) == QSFP_HIGH_PWR_UNUSED) in get_qsfp_power_class()
631 return (QSFP_PWR(power_byte) + 1); in get_qsfp_power_class()
638 return (QSFP_HIGH_PWR(power_byte) + 4); in get_qsfp_power_class()
757 u8 power_byte = 0; in qsfp_dump() local
768 power_byte = cache[QSFP_MOD_PWR_OFFS]; in qsfp_dump()
770 pwr_codes[get_qsfp_power_class(power_byte)]); in qsfp_dump()
H A Dqsfp.h185 int get_qsfp_power_class(u8 power_byte);