Searched refs:num_temp_sensors (Results 1 – 3 of 3) sorted by relevance
546 int num_temp_sensors; member760 if (channel < priv->num_temp_sensors) { in aqc_is_visible()775 priv->num_temp_sensors + priv->num_virtual_temp_sensors + in aqc_is_visible()926 for (i = 0; i < priv->num_temp_sensors; i++) { in aqc_legacy_read()1084 int num_non_calc_sensors = priv->num_temp_sensors + priv->num_virtual_temp_sensors; in aqc_read_string()1088 if (channel < priv->num_temp_sensors) { in aqc_read_string()1095 *str = priv->virtual_temp_label[channel - priv->num_temp_sensors]; in aqc_read_string()1313 for (i = 0; i < priv->num_temp_sensors; i++) { in aqc_raw_event()1365 i = priv->num_temp_sensors + priv->num_virtual_temp_sensors; in aqc_raw_event()1547 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()1037 static DEVICE_ATTR_RW(num_temp_sensors);1265 data->num_temp_sensors = -1; in adt7470_probe()
761 u8 num_temp_sensors; member