Searched refs:sensor_location (Results 1 – 3 of 3) sorted by relevance
/drivers/macintosh/ |
D | therm_adt746x.c | 51 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/ |
D | e1000_82575.c | 2786 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/ |
D | ixgbe_common.c | 3917 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()
|