Home
last modified time | relevance | path

Searched refs:_delta (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/actions/
H A Dnet_target_decrease.cpp97 netDelta = deltaFactor * _delta; in run()
101 netDelta = std::min(netDelta, deltaFactor * _delta); in run()
114 netDelta = _delta; in run()
118 netDelta = std::min(netDelta, _delta); in run()
170 _delta = jsonObj["delta"].get<uint64_t>(); in setDelta()
H A Dnet_target_increase.cpp82 _delta); in run()
93 static_cast<uint64_t>(deltaFactor * _delta); in run()
105 netDelta = std::max(netDelta, _delta); in run()
114 netDelta = std::max(netDelta, _delta); in run()
164 _delta = jsonObj["delta"].get<uint64_t>(); in setDelta()
H A Dnet_target_increase.hpp96 uint64_t _delta; member in phosphor::fan::control::json::NetTargetIncrease
H A Dnet_target_decrease.hpp96 uint64_t _delta; member in phosphor::fan::control::json::NetTargetDecrease
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dmeter.c54 s64 _cir, _delta, delta = S64_MAX; in mlx5e_flow_meter_cir_calc() local
66 _delta = cir - _cir; in mlx5e_flow_meter_cir_calc()
67 if (_delta < delta) { in mlx5e_flow_meter_cir_calc()
70 if (!_delta) in mlx5e_flow_meter_cir_calc()
72 delta = _delta; in mlx5e_flow_meter_cir_calc()
84 s64 _cbs, _delta, delta = S64_MAX; in mlx5e_flow_meter_cbs_calc() local
93 _delta = cbs - _cbs; in mlx5e_flow_meter_cbs_calc()
94 if (_delta < delta) { in mlx5e_flow_meter_cbs_calc()
97 if (!_delta) in mlx5e_flow_meter_cbs_calc()
99 delta = _delta; in mlx5e_flow_meter_cbs_calc()