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

/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.c66 0x02, /* hyst */
79 2 = hyst */
249 int conf, hyst, os; local
295 hyst = i2c_smbus_read_byte_data(new_client, 2);
299 hyst = i2c_smbus_read_byte_data(new_client, 2);
300 if (i2c_smbus_read_byte_data(new_client, 4) != hyst
301 || i2c_smbus_read_byte_data(new_client, 5) != hyst
302 || i2c_smbus_read_byte_data(new_client, 6) != hyst
303 || i2c_smbus_read_byte_data(new_client, 7) != hyst)
316 || i2c_smbus_read_byte_data(new_client, i + 2) != hyst
[all...]
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.c283 u8 hyst; /* Low limit hysteresis. (0-15) */ member in struct:lm85_zone
878 HYST_FROM_REG(data->zone[nr].hyst));
892 data->zone[nr].hyst = HYST_TO_REG(min - val);
895 (data->zone[0].hyst << 4)
896 | data->zone[1].hyst);
899 (data->zone[2].hyst << 4));
1597 data->zone[0].hyst = i >> 4;
1598 data->zone[1].hyst = i & 0x0f;
1601 data->zone[2].hyst = i >> 4;
H A Dlm63.c493 long hyst; local
500 hyst = temp8_from_reg(data, 2) + data->temp2_offset - val;
502 HYST_TO_REG(hyst));
H A Ddme1737.c322 int hyst = SENSORS_LIMIT((val + 500) / 1000, 0, 15); local
324 return (ix == 1) ? (reg & 0xf0) | hyst : (reg & 0x0f) | (hyst << 4);
1000 /* Modify the temp hyst value */
H A Dlm93.c106 /* temp[1-4]_auto_pwm_[min|hyst] */
510 static u8 LM93_AUTO_BOOST_HYST_TO_REG(struct lm93_data *data, long hyst, argument
514 (LM93_TEMP_FROM_REG(data->boost[nr]) - hyst), mode);
/drivers/input/misc/
H A Dbma150.c253 u8 enable, u8 hyst, u8 dur, u8 thres)
257 error = bma150_set_reg_bits(bma150->client, hyst,
277 u8 enable, u8 hyst, u8 dur, u8 thres)
281 error = bma150_set_reg_bits(bma150->client, hyst,
252 bma150_set_low_g_interrupt(struct bma150_data *bma150, u8 enable, u8 hyst, u8 dur, u8 thres) argument
276 bma150_set_high_g_interrupt(struct bma150_data *bma150, u8 enable, u8 hyst, u8 dur, u8 thres) argument
/drivers/net/wireless/wl12xx/
H A Dacx.c1239 bool enable, s16 thold, u8 hyst)
1266 acx->hysteresis = hyst;
1238 wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable, s16 thold, u8 hyst) argument
H A Dacx.h1286 bool enable, s16 thold, u8 hyst);
/drivers/net/wireless/
H A Drndis_wlan.c3188 int thold, hyst, last_event; local
3197 hyst = priv->cqm_rssi_hyst;
3199 if (rssi < thold && (last_event == 0 || rssi < last_event - hyst))
3201 else if (rssi > thold && (last_event == 0 || rssi > last_event + hyst))

Completed in 256 milliseconds