Searched refs:ets_cfg (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/intel/ice/ |
D | ice_dcb.c | 160 ice_parse_ieee_ets_common_tlv(u8 *buf, struct ice_dcb_ets_cfg *ets_cfg) in ice_parse_ieee_ets_common_tlv() argument 174 ets_cfg->prio_table[i * 2] = in ice_parse_ieee_ets_common_tlv() 177 ets_cfg->prio_table[i * 2 + 1] = in ice_parse_ieee_ets_common_tlv() 196 ets_cfg->tcbwtable[i] = buf[offset]; in ice_parse_ieee_ets_common_tlv() 197 ets_cfg->tsatable[i] = buf[ICE_MAX_TRAFFIC_CLASS + offset++]; in ice_parse_ieee_ets_common_tlv() 1008 ice_add_ieee_ets_common_tlv(u8 *buf, struct ice_dcb_ets_cfg *ets_cfg) in ice_add_ieee_ets_common_tlv() argument 1023 priority0 = ets_cfg->prio_table[i * 2] & 0xF; in ice_add_ieee_ets_common_tlv() 1024 priority1 = ets_cfg->prio_table[i * 2 + 1] & 0xF; in ice_add_ieee_ets_common_tlv() 1042 buf[offset] = ets_cfg->tcbwtable[i]; in ice_add_ieee_ets_common_tlv() 1043 buf[ICE_MAX_TRAFFIC_CLASS + offset] = ets_cfg->tsatable[i]; in ice_add_ieee_ets_common_tlv()
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.c | 2782 u16 ets_cfg; in igb_get_thermal_sensor_data_generic() local 2800 hw->nvm.ops.read(hw, ets_offset, 1, &ets_cfg); in igb_get_thermal_sensor_data_generic() 2801 if (((ets_cfg & NVM_ETS_TYPE_MASK) >> NVM_ETS_TYPE_SHIFT) in igb_get_thermal_sensor_data_generic() 2805 num_sensors = (ets_cfg & NVM_ETS_NUM_SENSORS_MASK); in igb_get_thermal_sensor_data_generic() 2835 u16 ets_cfg; in igb_init_thermal_sensor_thresh_generic() local 2861 hw->nvm.ops.read(hw, ets_offset, 1, &ets_cfg); in igb_init_thermal_sensor_thresh_generic() 2862 if (((ets_cfg & NVM_ETS_TYPE_MASK) >> NVM_ETS_TYPE_SHIFT) in igb_init_thermal_sensor_thresh_generic() 2866 low_thresh_delta = ((ets_cfg & NVM_ETS_LTHRES_DELTA_MASK) >> in igb_init_thermal_sensor_thresh_generic() 2868 num_sensors = (ets_cfg & NVM_ETS_NUM_SENSORS_MASK); in igb_init_thermal_sensor_thresh_generic()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 3865 static s32 ixgbe_get_ets_data(struct ixgbe_hw *hw, u16 *ets_cfg, in ixgbe_get_ets_data() argument 3877 status = hw->eeprom.ops.read(hw, *ets_offset, ets_cfg); in ixgbe_get_ets_data() 3881 if ((*ets_cfg & IXGBE_ETS_TYPE_MASK) != IXGBE_ETS_TYPE_EMC_SHIFTED) in ixgbe_get_ets_data() 3897 u16 ets_cfg; in ixgbe_get_thermal_sensor_data_generic() local 3907 status = ixgbe_get_ets_data(hw, &ets_cfg, &ets_offset); in ixgbe_get_thermal_sensor_data_generic() 3911 num_sensors = (ets_cfg & IXGBE_ETS_NUM_SENSORS_MASK); in ixgbe_get_thermal_sensor_data_generic() 3953 u16 ets_cfg; in ixgbe_init_thermal_sensor_thresh_generic() local 3967 status = ixgbe_get_ets_data(hw, &ets_cfg, &ets_offset); in ixgbe_init_thermal_sensor_thresh_generic() 3971 low_thresh_delta = ((ets_cfg & IXGBE_ETS_LTHRES_DELTA_MASK) >> in ixgbe_init_thermal_sensor_thresh_generic() 3973 num_sensors = (ets_cfg & IXGBE_ETS_NUM_SENSORS_MASK); in ixgbe_init_thermal_sensor_thresh_generic()
|