Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_tm.h72 uint64_t div_exp; member
108 #define SHAPER_RATE(exponent, mantissa, div_exp) \ argument
110 / (((1ull << (div_exp)) * 256)))
H A Dotx2_tm.c27 (shaper->div_exp << 13) | (shaper->exponent << 9) | in shaper2regval()
108 uint64_t div_exp, exponent, mantissa; in shaper_rate_to_nix() local
122 div_exp = 0; in shaper_rate_to_nix()
127 div_exp += 1; in shaper_rate_to_nix()
131 ((1 << div_exp) * 256))) in shaper_rate_to_nix()
140 div_exp = 0; in shaper_rate_to_nix()
152 if (div_exp > MAX_RATE_DIV_EXP || in shaper_rate_to_nix()
157 *div_exp_p = div_exp; in shaper_rate_to_nix()
164 return SHAPER_RATE(exponent, mantissa, div_exp); in shaper_rate_to_nix()
218 &cir->div_exp); in shaper_config_to_nix()
[all …]