Home
last modified time | relevance | path

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

/drivers/macintosh/
Dtherm_adt746x.c51 static const char *sensor_location[3] = { "?", "?", "?" }; variable
165 "for %s fan.\n", sensor_location[fan+1]); in write_fan_speed()
168 "for %s fan.\n", speed, sensor_location[fan+1]); in write_fan_speed()
259 sensor_location[fan_number+1]); in update_fans_speed()
379 BUILD_SHOW_FUNC_STR(sensor1_location, sensor_location[1])
380 BUILD_SHOW_FUNC_STR(sensor2_location, sensor_location[2])
489 sensor_location[i] = of_get_property(np, in probe_thermostat()
492 if (sensor_location[i] == NULL) in probe_thermostat()
493 sensor_location[i] = ""; in probe_thermostat()
495 printk(KERN_INFO "sensor %d: %s\n", i, sensor_location[i]); in probe_thermostat()
[all …]
/drivers/net/ethernet/intel/igb/
De1000_82575.c2786 u8 sensor_location; in igb_get_thermal_sensor_data_generic() local
2813 sensor_location = ((ets_sensor & NVM_ETS_DATA_LOC_MASK) >> in igb_get_thermal_sensor_data_generic()
2816 if (sensor_location != 0) in igb_get_thermal_sensor_data_generic()
2840 u8 sensor_location; in igb_init_thermal_sensor_thresh_generic() local
2874 sensor_location = ((ets_sensor & NVM_ETS_DATA_LOC_MASK) >> in igb_init_thermal_sensor_thresh_generic()
2883 if ((i < E1000_MAX_SENSORS) && (sensor_location != 0)) { in igb_init_thermal_sensor_thresh_generic()
2884 data->sensor[i].location = sensor_location; in igb_init_thermal_sensor_thresh_generic()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3917 u8 sensor_location; in ixgbe_get_thermal_sensor_data_generic() local
3926 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_get_thermal_sensor_data_generic()
3929 if (sensor_location != 0) { in ixgbe_get_thermal_sensor_data_generic()
3979 u8 sensor_location; in ixgbe_init_thermal_sensor_thresh_generic() local
3988 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic()
3996 if (sensor_location == 0) in ixgbe_init_thermal_sensor_thresh_generic()
3999 data->sensor[i].location = sensor_location; in ixgbe_init_thermal_sensor_thresh_generic()