Searched refs:hyst (Results 1 - 22 of 22) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/hwmon/
H A Demc1403.c44 /* Cache the hyst value so we don't keep re-reading it. In theory
128 int hyst; local
135 hyst = i2c_smbus_read_byte_data(client, 0x21);
136 if (hyst < 0)
138 data->cached_hyst = hyst;
151 int hyst; local
162 hyst = val - retval * 1000;
163 hyst = DIV_ROUND_CLOSEST(hyst, 1000);
164 if (hyst <
[all...]
H A Dlm75.c65 0x02, /* hyst */
78 2 = hyst */
236 int cur, conf, hyst, os; local
253 hyst = i2c_smbus_read_word_data(new_client, 2);
254 if (i2c_smbus_read_word_data(new_client, 4) != hyst
255 || i2c_smbus_read_word_data(new_client, 5) != hyst
256 || i2c_smbus_read_word_data(new_client, 6) != hyst
257 || i2c_smbus_read_word_data(new_client, 7) != hyst)
273 || i2c_smbus_read_word_data(new_client, i + 2) != hyst
H A Djc42.c276 int temp, hyst; local
282 hyst = jc42_hysteresis[(data->config >> JC42_CFG_HYST_SHIFT)
284 return sprintf(buf, "%d\n", temp - hyst);
291 int temp, hyst; local
297 hyst = jc42_hysteresis[(data->config >> JC42_CFG_HYST_SHIFT)
299 return sprintf(buf, "%d\n", temp - hyst);
336 int diff, hyst; local
344 hyst = 0;
347 hyst = 1; /* 1.5 degrees C */
349 hyst
[all...]
H A Dlm77.c248 int i, cur, conf, hyst, crit, min, max; local
269 hyst = i2c_smbus_read_word_data(new_client, 2);
275 || i2c_smbus_read_word_data(new_client, i + 2) != hyst
284 || ((hyst & 0x00f0) != 0xf0 && (hyst & 0x00f0) != 0x0)
299 hyst = i2c_smbus_read_word_data(new_client, 2);
300 if (i2c_smbus_read_word_data(new_client, 6) != hyst
301 || i2c_smbus_read_word_data(new_client, 7) != hyst)
H A Dlm85.c277 u8 hyst; /* Low limit hysteresis. (0-15) */ member in struct:lm85_zone
855 HYST_FROM_REG(data->zone[nr].hyst));
870 data->zone[nr].hyst = HYST_TO_REG(min - val);
873 (data->zone[0].hyst << 4)
874 | data->zone[1].hyst);
877 (data->zone[2].hyst << 4));
913 data->zone[nr].hyst = HYST_TO_REG(TEMP_FROM_REG(
918 (data->zone[0].hyst << 4)
919 | data->zone[1].hyst);
922 (data->zone[2].hyst <<
[all...]
H A Dlm63.c349 long hyst; local
352 hyst = TEMP8_FROM_REG(data->temp8[2]) + data->temp2_offset - val;
354 HYST_TO_REG(hyst));
H A Ddme1737.c312 int hyst = SENSORS_LIMIT((val + 500) / 1000, 0, 15); local
314 return (ix == 1) ? (reg & 0xf0) | hyst : (reg & 0x0f) | (hyst << 4);
981 /* Modify the temp hyst value */
H A Dlm93.c106 /* temp[1-4]_auto_pwm_[min|hyst] */
505 static u8 LM93_AUTO_BOOST_HYST_TO_REG(struct lm93_data *data, long hyst, argument
509 (LM93_TEMP_FROM_REG(data->boost[nr]) - hyst), mode);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/hwmon/
H A Demc1403.c44 /* Cache the hyst value so we don't keep re-reading it. In theory
128 int hyst; local
135 hyst = i2c_smbus_read_byte_data(client, 0x21);
136 if (hyst < 0)
138 data->cached_hyst = hyst;
151 int hyst; local
162 hyst = val - retval * 1000;
163 hyst = DIV_ROUND_CLOSEST(hyst, 1000);
164 if (hyst <
[all...]
H A Dlm75.c65 0x02, /* hyst */
78 2 = hyst */
236 int cur, conf, hyst, os; local
253 hyst = i2c_smbus_read_word_data(new_client, 2);
254 if (i2c_smbus_read_word_data(new_client, 4) != hyst
255 || i2c_smbus_read_word_data(new_client, 5) != hyst
256 || i2c_smbus_read_word_data(new_client, 6) != hyst
257 || i2c_smbus_read_word_data(new_client, 7) != hyst)
273 || i2c_smbus_read_word_data(new_client, i + 2) != hyst
H A Djc42.c276 int temp, hyst; local
282 hyst = jc42_hysteresis[(data->config >> JC42_CFG_HYST_SHIFT)
284 return sprintf(buf, "%d\n", temp - hyst);
291 int temp, hyst; local
297 hyst = jc42_hysteresis[(data->config >> JC42_CFG_HYST_SHIFT)
299 return sprintf(buf, "%d\n", temp - hyst);
336 int diff, hyst; local
344 hyst = 0;
347 hyst = 1; /* 1.5 degrees C */
349 hyst
[all...]
H A Dlm77.c248 int i, cur, conf, hyst, crit, min, max; local
269 hyst = i2c_smbus_read_word_data(new_client, 2);
275 || i2c_smbus_read_word_data(new_client, i + 2) != hyst
284 || ((hyst & 0x00f0) != 0xf0 && (hyst & 0x00f0) != 0x0)
299 hyst = i2c_smbus_read_word_data(new_client, 2);
300 if (i2c_smbus_read_word_data(new_client, 6) != hyst
301 || i2c_smbus_read_word_data(new_client, 7) != hyst)
H A Dlm85.c277 u8 hyst; /* Low limit hysteresis. (0-15) */ member in struct:lm85_zone
855 HYST_FROM_REG(data->zone[nr].hyst));
870 data->zone[nr].hyst = HYST_TO_REG(min - val);
873 (data->zone[0].hyst << 4)
874 | data->zone[1].hyst);
877 (data->zone[2].hyst << 4));
913 data->zone[nr].hyst = HYST_TO_REG(TEMP_FROM_REG(
918 (data->zone[0].hyst << 4)
919 | data->zone[1].hyst);
922 (data->zone[2].hyst <<
[all...]
H A Dlm63.c349 long hyst; local
352 hyst = TEMP8_FROM_REG(data->temp8[2]) + data->temp2_offset - val;
354 HYST_TO_REG(hyst));
H A Ddme1737.c312 int hyst = SENSORS_LIMIT((val + 500) / 1000, 0, 15); local
314 return (ix == 1) ? (reg & 0xf0) | hyst : (reg & 0x0f) | (hyst << 4);
981 /* Modify the temp hyst value */
H A Dlm93.c106 /* temp[1-4]_auto_pwm_[min|hyst] */
505 static u8 LM93_AUTO_BOOST_HYST_TO_REG(struct lm93_data *data, long hyst, argument
509 (LM93_TEMP_FROM_REG(data->boost[nr]) - hyst), mode);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wireless/wl12xx/
H A Dwl1271_acx.c1194 s16 thold, u8 hyst)
1220 acx->hysteresis = hyst;
1193 wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, bool enable, s16 thold, u8 hyst) argument
H A Dwl1271_acx.h1125 s16 thold, u8 hyst);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wireless/wl12xx/
H A Dwl1271_acx.c1194 s16 thold, u8 hyst)
1220 acx->hysteresis = hyst;
1193 wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, bool enable, s16 thold, u8 hyst) argument
H A Dwl1271_acx.h1125 s16 thold, u8 hyst);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/mac80211/
H A Dmlme.c1556 int hyst = bss_conf->cqm_rssi_hyst; local
1558 (last_event == 0 || sig < last_event - hyst)) {
1565 (last_event == 0 || sig > last_event + hyst)) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/mac80211/
H A Dmlme.c1556 int hyst = bss_conf->cqm_rssi_hyst; local
1558 (last_event == 0 || sig < last_event - hyst)) {
1565 (last_event == 0 || sig > last_event + hyst)) {

Completed in 285 milliseconds