Lines Matching +full:0 +full:x007fffff
51 LN2_CURR = 0,
72 u64 man = data & 0x007FFFFF; in float_to_long()
73 int exp = ((data & 0x7F800000) >> 23) - 127 - 23; in float_to_long()
74 bool negative = data & 0x80000000; in float_to_long()
81 else if (exp < 0) in float_to_long()
99 if (ret < 0) in do_measurement()
103 if (ret < 0) in do_measurement()
108 if (ret < 0) in do_measurement()
114 if (ret < 0) in do_measurement()
119 if (ret < 0) in do_measurement()
134 if (ret < 0) in do_measurement()
137 return regmap_write(regmap, LOCHNAGAR2_IMON_CTRL3, 0); in do_measurement()
148 if (ret < 0) in request_data()
154 if (ret < 0) in request_data()
158 if (ret < 0) in request_data()
164 if (ret < 0) in request_data()
169 return regmap_write(regmap, LOCHNAGAR2_IMON_CTRL4, 0); in request_data()
184 if (ret < 0) { in read_sensor()
190 if (ret < 0) { in read_sensor()
214 if (ret < 0) in read_power()
221 if (ret < 0) in read_power()
232 return 0; in read_power()
242 return 0; in lochnagar_is_visible()
275 return 0; in lochnagar_read()
293 return 0; in lochnagar_read_string()
312 return 0; in lochnagar_write()
389 for (i = 0; i < ARRAY_SIZE(priv->power_nsamples); i++) in lochnagar_hwmon_probe()