Home
last modified time | relevance | path

Searched refs:sensor_location (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/macintosh/
Dtherm_adt746x.c50 static const char *sensor_location[3] = { "?", "?", "?" }; variable
164 "for %s fan.\n", sensor_location[fan+1]); in write_fan_speed()
167 "for %s fan.\n", speed, sensor_location[fan+1]); in write_fan_speed()
258 sensor_location[fan_number+1]); in update_fans_speed()
378 BUILD_SHOW_FUNC_STR(sensor1_location, sensor_location[1])
379 BUILD_SHOW_FUNC_STR(sensor2_location, sensor_location[2])
488 sensor_location[i] = of_get_property(np, in probe_thermostat()
491 if (sensor_location[i] == NULL) in probe_thermostat()
492 sensor_location[i] = ""; in probe_thermostat()
494 printk(KERN_INFO "sensor %d: %s\n", i, sensor_location[i]); in probe_thermostat()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/igb/
De1000_82575.c2769 u8 sensor_location; in igb_get_thermal_sensor_data_generic() local
2796 sensor_location = ((ets_sensor & NVM_ETS_DATA_LOC_MASK) >> in igb_get_thermal_sensor_data_generic()
2799 if (sensor_location != 0) in igb_get_thermal_sensor_data_generic()
2823 u8 sensor_location; in igb_init_thermal_sensor_thresh_generic() local
2857 sensor_location = ((ets_sensor & NVM_ETS_DATA_LOC_MASK) >> in igb_init_thermal_sensor_thresh_generic()
2866 if ((i < E1000_MAX_SENSORS) && (sensor_location != 0)) { in igb_init_thermal_sensor_thresh_generic()
2867 data->sensor[i].location = sensor_location; in igb_init_thermal_sensor_thresh_generic()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3781 u8 sensor_location; in ixgbe_get_thermal_sensor_data_generic() local
3790 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_get_thermal_sensor_data_generic()
3793 if (sensor_location != 0) { in ixgbe_get_thermal_sensor_data_generic()
3843 u8 sensor_location; in ixgbe_init_thermal_sensor_thresh_generic() local
3852 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic()
3860 if (sensor_location == 0) in ixgbe_init_thermal_sensor_thresh_generic()
3863 data->sensor[i].location = sensor_location; in ixgbe_init_thermal_sensor_thresh_generic()