Home
last modified time | relevance | path

Searched refs:ets_sensor (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/intel/igb/
De1000_82575.c2783 u16 ets_sensor; in igb_get_thermal_sensor_data_generic() local
2810 hw->nvm.ops.read(hw, (ets_offset + i), 1, &ets_sensor); in igb_get_thermal_sensor_data_generic()
2811 sensor_index = ((ets_sensor & NVM_ETS_DATA_INDEX_MASK) >> in igb_get_thermal_sensor_data_generic()
2813 sensor_location = ((ets_sensor & NVM_ETS_DATA_LOC_MASK) >> in igb_get_thermal_sensor_data_generic()
2836 u16 ets_sensor; in igb_init_thermal_sensor_thresh_generic() local
2871 hw->nvm.ops.read(hw, (ets_offset + i), 1, &ets_sensor); in igb_init_thermal_sensor_thresh_generic()
2872 sensor_index = ((ets_sensor & NVM_ETS_DATA_INDEX_MASK) >> in igb_init_thermal_sensor_thresh_generic()
2874 sensor_location = ((ets_sensor & NVM_ETS_DATA_LOC_MASK) >> in igb_init_thermal_sensor_thresh_generic()
2876 therm_limit = ets_sensor & NVM_ETS_DATA_HTHRESH_MASK; in igb_init_thermal_sensor_thresh_generic()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3909 u16 ets_sensor; in ixgbe_get_thermal_sensor_data_generic() local
3931 &ets_sensor); in ixgbe_get_thermal_sensor_data_generic()
3935 sensor_index = ((ets_sensor & IXGBE_ETS_DATA_INDEX_MASK) >> in ixgbe_get_thermal_sensor_data_generic()
3937 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_get_thermal_sensor_data_generic()
3965 u16 ets_sensor; in ixgbe_init_thermal_sensor_thresh_generic() local
3992 if (hw->eeprom.ops.read(hw, ets_offset + 1 + i, &ets_sensor)) { in ixgbe_init_thermal_sensor_thresh_generic()
3997 sensor_index = ((ets_sensor & IXGBE_ETS_DATA_INDEX_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic()
3999 sensor_location = ((ets_sensor & IXGBE_ETS_DATA_LOC_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic()
4001 therm_limit = ets_sensor & IXGBE_ETS_DATA_HTHRESH_MASK; in ixgbe_init_thermal_sensor_thresh_generic()