Home
last modified time | relevance | path

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

/external/ethtool/
Dsfpdiag.c124 #define A2_OFFSET_TO_U16(offset) \ macro
133 ((__s16)A2_OFFSET_TO_U16(offset))
144 #define A2_OFFSET_TO_TEMP(offset) ((__s16)A2_OFFSET_TO_U16(offset))
148 sd->bias_cur[MCURR] = A2_OFFSET_TO_U16(SFF_A2_BIAS); in sff8472_dom_parse()
149 sd->bias_cur[HALRM] = A2_OFFSET_TO_U16(SFF_A2_BIAS_HALRM); in sff8472_dom_parse()
150 sd->bias_cur[LALRM] = A2_OFFSET_TO_U16(SFF_A2_BIAS_LALRM); in sff8472_dom_parse()
151 sd->bias_cur[HWARN] = A2_OFFSET_TO_U16(SFF_A2_BIAS_HWARN); in sff8472_dom_parse()
152 sd->bias_cur[LWARN] = A2_OFFSET_TO_U16(SFF_A2_BIAS_LWARN); in sff8472_dom_parse()
154 sd->sfp_voltage[MCURR] = A2_OFFSET_TO_U16(SFF_A2_VCC); in sff8472_dom_parse()
155 sd->sfp_voltage[HALRM] = A2_OFFSET_TO_U16(SFF_A2_VCC_HALRM); in sff8472_dom_parse()
[all …]