Lines Matching refs:hyst
106 unsigned int hyst;
113 retval = regmap_read(regmap, 0x21, &hyst);
117 return sprintf(buf, "%d000\n", is_min ? limit + hyst : limit - hyst);
140 int hyst;
151 hyst = limit * 1000 - val;
152 hyst = clamp_val(DIV_ROUND_CLOSEST(hyst, 1000), 0, 255);
153 retval = regmap_write(regmap, 0x21, hyst);
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);