Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/macintosh/
Dtherm_adt746x.c52 static const char *sensor_location[3] = { "?", "?", "?" }; variable
166 "for %s fan.\n", sensor_location[fan+1]); in write_fan_speed()
169 "for %s fan.\n", speed, sensor_location[fan+1]); in write_fan_speed()
260 sensor_location[fan_number+1]); in update_fans_speed()
380 BUILD_SHOW_FUNC_STR(sensor1_location, sensor_location[1])
381 BUILD_SHOW_FUNC_STR(sensor2_location, sensor_location[2])
490 sensor_location[i] = of_get_property(np, in probe_thermostat()
493 if (sensor_location[i] == NULL) in probe_thermostat()
494 sensor_location[i] = ""; in probe_thermostat()
496 printk(KERN_INFO "sensor %d: %s\n", i, sensor_location[i]); in probe_thermostat()
[all …]
/Linux-v6.6/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()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3942 u8 sensor_location; in ixgbe_get_thermal_sensor_data_generic() local
3951 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_get_thermal_sensor_data_generic()
3954 if (sensor_location != 0) { in ixgbe_get_thermal_sensor_data_generic()
4004 u8 sensor_location; in ixgbe_init_thermal_sensor_thresh_generic() local
4013 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic()
4021 if (sensor_location == 0) in ixgbe_init_thermal_sensor_thresh_generic()
4024 data->sensor[i].location = sensor_location; in ixgbe_init_thermal_sensor_thresh_generic()