Lines Matching refs:value
56 static int aqr_hwmon_get(struct phy_device *phydev, int reg, long *value)
63 /* 16 bit value is 2's complement with LSB = 1/256th degree Celsius */
64 *value = (s16)temp * 1000 / 256;
69 static int aqr_hwmon_set(struct phy_device *phydev, int reg, long value)
73 if (value >= 128000 || value < -128000)
76 temp = value * 256 / 1000;
92 static int aqr_hwmon_status1(struct phy_device *phydev, int bit, long *value)
99 *value = val;
105 u32 attr, int channel, long *value)
122 return aqr_hwmon_get(phydev, VEND1_THERMAL_STAT1, value);
126 value);
129 value);
132 value);
135 value);
139 value);
143 value);
147 value);
151 value);
158 u32 attr, int channel, long value)
168 value);
171 value);
174 value);
177 value);