Searched refs:num_temp_sensors (Results 1 – 3 of 3) sorted by relevance
576 int num_temp_sensors; member790 if (channel < priv->num_temp_sensors) { in aqc_is_visible()805 priv->num_temp_sensors + priv->num_virtual_temp_sensors + in aqc_is_visible()965 for (i = 0; i < priv->num_temp_sensors; i++) { in aqc_legacy_read()1137 int num_non_calc_sensors = priv->num_temp_sensors + priv->num_virtual_temp_sensors; in aqc_read_string()1141 if (channel < priv->num_temp_sensors) { in aqc_read_string()1148 *str = priv->virtual_temp_label[channel - priv->num_temp_sensors]; in aqc_read_string()1367 for (i = 0; i < priv->num_temp_sensors; i++) { in aqc_raw_event()1419 i = priv->num_temp_sensors + priv->num_virtual_temp_sensors; in aqc_raw_event()1591 priv->num_temp_sensors = AQUAERO_NUM_SENSORS; in aqc_probe()[all …]
152 int num_temp_sensors; /* -1 = probe */ member251 res = msleep_interruptible((data->num_temp_sensors >= 0 ? in adt7470_read_temperatures()252 data->num_temp_sensors * 200 : in adt7470_read_temperatures()273 if (data->num_temp_sensors >= 0) in adt7470_read_temperatures()282 data->num_temp_sensors = i + 1; in adt7470_read_temperatures()512 return sprintf(buf, "%d\n", data->num_temp_sensors); in num_temp_sensors_show()528 data->num_temp_sensors = temp; in num_temp_sensors_store()1029 static DEVICE_ATTR_RW(num_temp_sensors);1257 data->num_temp_sensors = -1; in adt7470_probe()
761 u8 num_temp_sensors; member