hyst               42 drivers/clk/bcm/clk-bcm21664.c 	.hyst		= HYST(0x0414, 8, 9),
hyst               82 drivers/clk/bcm/clk-kona-setup.c 	struct bcm_clk_hyst *hyst;
hyst              108 drivers/clk/bcm/clk-kona-setup.c 	hyst = &peri->hyst;
hyst              116 drivers/clk/bcm/clk-kona-setup.c 		if (hyst_exists(hyst)) {
hyst              117 drivers/clk/bcm/clk-kona-setup.c 			if (hyst->offset > limit) {
hyst              120 drivers/clk/bcm/clk-kona-setup.c 					name, hyst->offset, limit);
hyst              124 drivers/clk/bcm/clk-kona-setup.c 	} else if (hyst_exists(hyst)) {
hyst              276 drivers/clk/bcm/clk-kona-setup.c static bool hyst_valid(struct bcm_clk_hyst *hyst, const char *clock_name)
hyst              278 drivers/clk/bcm/clk-kona-setup.c 	if (!bit_posn_valid(hyst->en_bit, "hysteresis enable", clock_name))
hyst              281 drivers/clk/bcm/clk-kona-setup.c 	if (!bit_posn_valid(hyst->val_bit, "hysteresis value", clock_name))
hyst              405 drivers/clk/bcm/clk-kona-setup.c 	struct bcm_clk_hyst *hyst;
hyst              433 drivers/clk/bcm/clk-kona-setup.c 	hyst = &peri->hyst;
hyst              434 drivers/clk/bcm/clk-kona-setup.c 	if (hyst_exists(hyst) && !hyst_valid(hyst, name))
hyst              527 drivers/clk/bcm/clk-kona.c static bool hyst_init(struct ccu_data *ccu, struct bcm_clk_hyst *hyst)
hyst              533 drivers/clk/bcm/clk-kona.c 	if (!hyst_exists(hyst))
hyst              536 drivers/clk/bcm/clk-kona.c 	offset = hyst->offset;
hyst              537 drivers/clk/bcm/clk-kona.c 	mask = (u32)1 << hyst->en_bit;
hyst              538 drivers/clk/bcm/clk-kona.c 	mask |= (u32)1 << hyst->val_bit;
hyst             1212 drivers/clk/bcm/clk-kona.c 	if (!hyst_init(ccu, &peri->hyst)) {
hyst               63 drivers/clk/bcm/clk-kona.h #define hyst_exists(hyst)		((hyst)->offset != 0)
hyst              393 drivers/clk/bcm/clk-kona.h 	struct bcm_clk_hyst hyst;
hyst             1515 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	int hyst = to_sensor_dev_attr(attr)->index;
hyst             1518 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	if (hyst)
hyst             1531 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	int hyst = to_sensor_dev_attr(attr)->index;
hyst             1534 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	if (hyst)
hyst             1547 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	int hyst = to_sensor_dev_attr(attr)->index;
hyst             1550 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	if (hyst)
hyst              696 drivers/gpu/drm/radeon/radeon_pm.c 	int hyst = to_sensor_dev_attr(attr)->index;
hyst              699 drivers/gpu/drm/radeon/radeon_pm.c 	if (hyst)
hyst               69 drivers/hwmon/adt7x10.c 	u8			hyst;		/* hysteresis offset */
hyst              193 drivers/hwmon/adt7x10.c 	data->hyst = ret;
hyst              268 drivers/hwmon/adt7x10.c 	int hyst;
hyst              270 drivers/hwmon/adt7x10.c 	hyst = (data->hyst & ADT7X10_T_HYST_MASK) * 1000;
hyst              277 drivers/hwmon/adt7x10.c 		hyst = -hyst;
hyst              279 drivers/hwmon/adt7x10.c 		       ADT7X10_REG_TO_TEMP(data, data->temp[nr]) - hyst);
hyst              288 drivers/hwmon/adt7x10.c 	long hyst;
hyst              290 drivers/hwmon/adt7x10.c 	ret = kstrtol(buf, 10, &hyst);
hyst              295 drivers/hwmon/adt7x10.c 	hyst = clamp_val(hyst, ADT7X10_TEMP_MIN, ADT7X10_TEMP_MAX);
hyst              296 drivers/hwmon/adt7x10.c 	data->hyst = clamp_val(DIV_ROUND_CLOSEST(limit - hyst, 1000),
hyst              298 drivers/hwmon/adt7x10.c 	ret = adt7x10_write_byte(dev, ADT7X10_T_HYST, data->hyst);
hyst              323 drivers/hwmon/dme1737.c static inline int TEMP_HYST_TO_REG(int temp, long hyst, int ix, int reg)
hyst              325 drivers/hwmon/dme1737.c 	hyst = clamp_val(hyst, temp - 15000, temp);
hyst              326 drivers/hwmon/dme1737.c 	hyst = DIV_ROUND_CLOSEST(temp - hyst, 1000);
hyst              328 drivers/hwmon/dme1737.c 	return (ix == 1) ? (reg & 0xf0) | hyst : (reg & 0x0f) | (hyst << 4);
hyst              106 drivers/hwmon/emc1403.c 	unsigned int hyst;
hyst              113 drivers/hwmon/emc1403.c 	retval = regmap_read(regmap, 0x21, &hyst);
hyst              117 drivers/hwmon/emc1403.c 	return sprintf(buf, "%d000\n", is_min ? limit + hyst : limit - hyst);
hyst              140 drivers/hwmon/emc1403.c 	int hyst;
hyst              151 drivers/hwmon/emc1403.c 	hyst = limit * 1000 - val;
hyst              152 drivers/hwmon/emc1403.c 	hyst = clamp_val(DIV_ROUND_CLOSEST(hyst, 1000), 0, 255);
hyst              153 drivers/hwmon/emc1403.c 	retval = regmap_write(regmap, 0x21, hyst);
hyst              173 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp1_max_hyst, hyst, 0x05);
hyst              174 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RW(temp1_crit_hyst, hyst, 0x20);
hyst              185 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp2_max_hyst, hyst, 0x07);
hyst              186 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp2_crit_hyst, hyst, 0x19);
hyst              197 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp3_max_hyst, hyst, 0x15);
hyst              198 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp3_crit_hyst, hyst, 0x1A);
hyst              209 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp4_max_hyst, hyst, 0x2C);
hyst              210 drivers/hwmon/emc1403.c static SENSOR_DEVICE_ATTR_RO(temp4_crit_hyst, hyst, 0x30);
hyst              271 drivers/hwmon/jc42.c 	int temp, hyst;
hyst              291 drivers/hwmon/jc42.c 		hyst = jc42_hysteresis[(data->config & JC42_CFG_HYST_MASK)
hyst              293 drivers/hwmon/jc42.c 		*val = temp - hyst;
hyst              297 drivers/hwmon/jc42.c 		hyst = jc42_hysteresis[(data->config & JC42_CFG_HYST_MASK)
hyst              299 drivers/hwmon/jc42.c 		*val = temp - hyst;
hyst              320 drivers/hwmon/jc42.c 	int diff, hyst;
hyst              350 drivers/hwmon/jc42.c 		hyst = 0;
hyst              353 drivers/hwmon/jc42.c 				hyst = 1;	/* 1.5 degrees C */
hyst              355 drivers/hwmon/jc42.c 				hyst = 2;	/* 3.0 degrees C */
hyst              357 drivers/hwmon/jc42.c 				hyst = 3;	/* 6.0 degrees C */
hyst              360 drivers/hwmon/jc42.c 				(hyst << JC42_CFG_HYST_SHIFT);
hyst              623 drivers/hwmon/lm63.c 	long hyst;
hyst              630 drivers/hwmon/lm63.c 	hyst = temp8_from_reg(data, 2) + data->temp2_offset - val;
hyst              632 drivers/hwmon/lm63.c 				  HYST_TO_REG(hyst));
hyst              761 drivers/hwmon/lm75.c 	int conf, hyst, os;
hyst              807 drivers/hwmon/lm75.c 		hyst = i2c_smbus_read_byte_data(new_client, 2);
hyst              811 drivers/hwmon/lm75.c 		hyst = i2c_smbus_read_byte_data(new_client, 2);
hyst              812 drivers/hwmon/lm75.c 		if (i2c_smbus_read_byte_data(new_client, 4) != hyst
hyst              813 drivers/hwmon/lm75.c 		 || i2c_smbus_read_byte_data(new_client, 5) != hyst
hyst              814 drivers/hwmon/lm75.c 		 || i2c_smbus_read_byte_data(new_client, 6) != hyst
hyst              815 drivers/hwmon/lm75.c 		 || i2c_smbus_read_byte_data(new_client, 7) != hyst)
hyst              828 drivers/hwmon/lm75.c 	if (hyst == 0 && os == 0)
hyst              834 drivers/hwmon/lm75.c 		 || i2c_smbus_read_byte_data(new_client, i + 2) != hyst
hyst              243 drivers/hwmon/lm77.c 	int i, cur, conf, hyst, crit, min, max;
hyst              266 drivers/hwmon/lm77.c 	hyst = i2c_smbus_read_word_data(client, 2);
hyst              272 drivers/hwmon/lm77.c 		 || i2c_smbus_read_word_data(client, i + 2) != hyst
hyst              281 drivers/hwmon/lm77.c 	 || ((hyst & 0x00f0) != 0xf0 && (hyst & 0x00f0) != 0x0)
hyst              296 drivers/hwmon/lm77.c 	hyst = i2c_smbus_read_word_data(client, 2);
hyst              297 drivers/hwmon/lm77.c 	if (i2c_smbus_read_word_data(client, 6) != hyst
hyst              298 drivers/hwmon/lm77.c 	 || i2c_smbus_read_word_data(client, 7) != hyst)
hyst              266 drivers/hwmon/lm85.c 	u8 hyst;	/* Low limit hysteresis. (0-15) */
hyst              534 drivers/hwmon/lm85.c 			data->zone[0].hyst = i >> 4;
hyst              535 drivers/hwmon/lm85.c 			data->zone[1].hyst = i & 0x0f;
hyst              538 drivers/hwmon/lm85.c 			data->zone[2].hyst = i >> 4;
hyst             1136 drivers/hwmon/lm85.c 		HYST_FROM_REG(data->zone[nr].hyst));
hyst             1156 drivers/hwmon/lm85.c 	data->zone[nr].hyst = HYST_TO_REG(min - val);
hyst             1159 drivers/hwmon/lm85.c 			(data->zone[0].hyst << 4)
hyst             1160 drivers/hwmon/lm85.c 			| data->zone[1].hyst);
hyst             1163 drivers/hwmon/lm85.c 			(data->zone[2].hyst << 4));
hyst              522 drivers/hwmon/lm93.c static u8 LM93_AUTO_BOOST_HYST_TO_REG(struct lm93_data *data, long hyst,
hyst              526 drivers/hwmon/lm93.c 			(LM93_TEMP_FROM_REG(data->boost[nr]) - hyst), mode);
hyst               93 drivers/hwmon/stts751.c 	int hyst;
hyst              456 drivers/hwmon/stts751.c 	priv->hyst = temp - (priv->therm - priv->hyst);
hyst              472 drivers/hwmon/stts751.c 	return snprintf(buf, PAGE_SIZE, "%d\n", priv->hyst);
hyst              489 drivers/hwmon/stts751.c 	priv->hyst = temp;
hyst              736 drivers/hwmon/stts751.c 	priv->hyst = priv->therm - tmp;
hyst              747 drivers/hwmon/stts751.c static SENSOR_DEVICE_ATTR_RW(temp1_crit_hyst, hyst, 0);
hyst               96 drivers/hwmon/tmp108.c 	int err, hyst;
hyst              161 drivers/hwmon/tmp108.c 			hyst = 0;
hyst              164 drivers/hwmon/tmp108.c 			hyst = 1000;
hyst              167 drivers/hwmon/tmp108.c 			hyst = 2000;
hyst              170 drivers/hwmon/tmp108.c 			hyst = 4000;
hyst              179 drivers/hwmon/tmp108.c 			*temp += hyst;
hyst              181 drivers/hwmon/tmp108.c 			*temp -= hyst;
hyst              228 drivers/input/misc/bma150.c 					u8 enable, u8 hyst, u8 dur, u8 thres)
hyst              232 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, hyst,
hyst              252 drivers/input/misc/bma150.c 					u8 enable, u8 hyst, u8 dur, u8 thres)
hyst              256 drivers/input/misc/bma150.c 	error = bma150_set_reg_bits(bma150->client, hyst,
hyst              238 drivers/mfd/tps65218.c 	u32 hyst;
hyst              241 drivers/mfd/tps65218.c 				 "ti,under-voltage-hyst-microvolt", &hyst))
hyst              244 drivers/mfd/tps65218.c 	if (hyst != 400000 && hyst != 200000) {
hyst              252 drivers/mfd/tps65218.c 			     hyst == 400000 ? TPS65218_CONFIG2_UVLOHYS : 0,
hyst               54 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	int	hyst;
hyst               63 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		.hyst		= MLXSW_THERMAL_HYSTERESIS_TEMP,
hyst               71 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		.hyst		= MLXSW_THERMAL_HYSTERESIS_TEMP,
hyst               78 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		.hyst		= MLXSW_THERMAL_HYSTERESIS_TEMP,
hyst              377 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	*p_hyst = thermal->trips[trip].hyst;
hyst              382 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 				       int trip, int hyst)
hyst              386 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	thermal->trips[trip].hyst = hyst;
hyst              580 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	*p_hyst = tz->trips[trip].hyst;
hyst              586 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 				   int hyst)
hyst              590 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 	tz->trips[trip].hyst = hyst;
hyst              583 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	int hyst = vif->bss_conf.cqm_rssi_hyst;
hyst              657 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 				     sig < last_event - hyst)) {
hyst              667 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		   (last_event == 0 || sig > last_event + hyst)) {
hyst             3166 drivers/net/wireless/rndis_wlan.c 	int thold, hyst, last_event;
hyst             3175 drivers/net/wireless/rndis_wlan.c 	hyst = priv->cqm_rssi_hyst;
hyst             3177 drivers/net/wireless/rndis_wlan.c 	if (rssi < thold && (last_event == 0 || rssi < last_event - hyst))
hyst             3179 drivers/net/wireless/rndis_wlan.c 	else if (rssi > thold && (last_event == 0 || rssi > last_event + hyst))
hyst             1249 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	u32 hyst = common->cqm_info.rssi_hyst;
hyst             1252 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	if (rssi < thold && (last_event == 0 || rssi < (last_event - hyst)))
hyst             1255 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		 (last_event == 0 || rssi > (last_event + hyst)))
hyst             1213 drivers/net/wireless/ti/wlcore/acx.c 				bool enable, s16 thold, u8 hyst)
hyst             1240 drivers/net/wireless/ti/wlcore/acx.c 	acx->hysteresis = hyst;
hyst             1090 drivers/net/wireless/ti/wlcore/acx.h 				bool enable, s16 thold, u8 hyst);
hyst              134 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c 	unsigned long long hyst;
hyst              139 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c 	status = acpi_evaluate_integer(d->adev->handle, "GTSH", NULL, &hyst);
hyst              143 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c 		*temp = hyst * 100;
hyst              354 drivers/thermal/of-thermal.c 				    int *hyst)
hyst              361 drivers/thermal/of-thermal.c 	*hyst = data->trips[trip].hysteresis;
hyst              367 drivers/thermal/of-thermal.c 				    int hyst)
hyst              375 drivers/thermal/of-thermal.c 	data->trips[trip].hysteresis = hyst;
hyst              197 drivers/thermal/samsung/exynos_tmu.c 				 u8 temp, u8 hyst);
hyst              263 drivers/thermal/samsung/exynos_tmu.c 	int ret = 0, temp, hyst;
hyst              311 drivers/thermal/samsung/exynos_tmu.c 			ret = tzd->ops->get_trip_hyst(tzd, i, &hyst);
hyst              314 drivers/thermal/samsung/exynos_tmu.c 			hyst /= MCELSIUS;
hyst              315 drivers/thermal/samsung/exynos_tmu.c 			data->tmu_set_trip_hyst(data, i, temp, hyst);
hyst              379 drivers/thermal/samsung/exynos_tmu.c 					 int trip, u8 temp, u8 hyst)
hyst              408 drivers/thermal/samsung/exynos_tmu.c 					 int trip, u8 temp, u8 hyst)
hyst              414 drivers/thermal/samsung/exynos_tmu.c 	if (hyst)
hyst              415 drivers/thermal/samsung/exynos_tmu.c 		th |= temp_to_code(data, temp - hyst) << 8 * trip;
hyst              467 drivers/thermal/samsung/exynos_tmu.c 					 int trip, u8 temp, u8 hyst)
hyst              482 drivers/thermal/samsung/exynos_tmu.c 	th |= (temp_to_code(data, temp - hyst) << j * 8);
hyst              535 drivers/thermal/samsung/exynos_tmu.c 				      int trip, u8 temp, u8 hyst)
hyst              545 drivers/thermal/samsung/exynos_tmu.c 	th |= temp_to_code(data, temp - hyst) << (16 * bit_off);
hyst               79 include/sound/da7218.h 	bool hyst;
hyst             3749 net/mac80211/mlme.c 		int hyst = bss_conf->cqm_rssi_hyst;
hyst             3752 net/mac80211/mlme.c 		    (last_event == 0 || sig < last_event - hyst)) {
hyst             3759 net/mac80211/mlme.c 			   (last_event == 0 || sig > last_event + hyst)) {
hyst             10816 net/wireless/nl80211.c 	u32 hyst;
hyst             10848 net/wireless/nl80211.c 	hyst = wdev->cqm_config->rssi_hyst;
hyst             10860 net/wireless/nl80211.c 		low = wdev->cqm_config->rssi_thresholds[low_index] - hyst;
hyst             10866 net/wireless/nl80211.c 		high = wdev->cqm_config->rssi_thresholds[i] + hyst - 1;
hyst             2555 sound/soc/codecs/da7218.c 			hpldet_pdata->hyst = true;
hyst             2866 sound/soc/codecs/da7218.c 			if (hpldet_pdata->hyst)