Lines Matching full:hyst
106 unsigned int hyst; in show_hyst_common() local
113 retval = regmap_read(regmap, 0x21, &hyst); in show_hyst_common()
117 return sprintf(buf, "%d000\n", is_min ? limit + hyst : limit - hyst); in show_hyst_common()
140 int hyst; in hyst_store() local
151 hyst = limit * 1000 - val; in hyst_store()
152 hyst = clamp_val(DIV_ROUND_CLOSEST(hyst, 1000), 0, 255); in hyst_store()
153 retval = regmap_write(regmap, 0x21, hyst); in hyst_store()
173 static SENSOR_DEVICE_ATTR_RO(temp1_max_hyst, hyst, 0x05);
174 static SENSOR_DEVICE_ATTR_RW(temp1_crit_hyst, hyst, 0x20);
185 static SENSOR_DEVICE_ATTR_RO(temp2_max_hyst, hyst, 0x07);
186 static SENSOR_DEVICE_ATTR_RO(temp2_crit_hyst, hyst, 0x19);
197 static SENSOR_DEVICE_ATTR_RO(temp3_max_hyst, hyst, 0x15);
198 static SENSOR_DEVICE_ATTR_RO(temp3_crit_hyst, hyst, 0x1A);
209 static SENSOR_DEVICE_ATTR_RO(temp4_max_hyst, hyst, 0x2C);
210 static SENSOR_DEVICE_ATTR_RO(temp4_crit_hyst, hyst, 0x30);