Lines Matching refs:feat
329 if (priv->feat->adc) in tsens_hw_to_mC()
351 if (priv->feat->adc) in tsens_mC_to_hw()
360 return priv->feat->ver_major; in tsens_version()
462 if (priv->feat->crit_int) { in tsens_threshold_violated()
560 if (priv->feat->has_watchdog) { in tsens_critical_irq_thread()
694 cl_high = clamp_val(high, priv->feat->trip_min_temp, priv->feat->trip_max_temp); in tsens_set_trips()
695 cl_low = clamp_val(low, priv->feat->trip_min_temp, priv->feat->trip_max_temp); in tsens_set_trips()
804 priv->feat->max_sensors, priv->num_sensors); in dbg_sensors_show()
834 seq_printf(s, "0.%d.0\n", priv->feat->ver_major); in dbg_version_show()
997 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common()
1010 if (priv->feat->crit_int || tsens_version(priv) < VER_0_1) { in init_common()
1013 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common()
1030 priv->feat->has_watchdog = 1; in init_common()
1210 if (priv->feat->combo_int) { in tsens_register()
1218 if (priv->feat->crit_int) in tsens_register()
1274 priv->feat = data->feat; in tsens_probe()