Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/net/ethernet/intel/igb/
De1000_82575.c2790 u8 sensor_location; in igb_get_thermal_sensor_data_generic() local
2817 sensor_location = ((ets_sensor & NVM_ETS_DATA_LOC_MASK) >> in igb_get_thermal_sensor_data_generic()
2820 if (sensor_location != 0) in igb_get_thermal_sensor_data_generic()
2844 u8 sensor_location; in igb_init_thermal_sensor_thresh_generic() local
2878 sensor_location = ((ets_sensor & NVM_ETS_DATA_LOC_MASK) >> in igb_init_thermal_sensor_thresh_generic()
2887 if ((i < E1000_MAX_SENSORS) && (sensor_location != 0)) { in igb_init_thermal_sensor_thresh_generic()
2888 data->sensor[i].location = sensor_location; in igb_init_thermal_sensor_thresh_generic()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3929 u8 sensor_location; in ixgbe_get_thermal_sensor_data_generic() local
3938 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_get_thermal_sensor_data_generic()
3941 if (sensor_location != 0) { in ixgbe_get_thermal_sensor_data_generic()
3991 u8 sensor_location; in ixgbe_init_thermal_sensor_thresh_generic() local
4000 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic()
4008 if (sensor_location == 0) in ixgbe_init_thermal_sensor_thresh_generic()
4011 data->sensor[i].location = sensor_location; in ixgbe_init_thermal_sensor_thresh_generic()