Searched refs:CREDIT_PER_NS (Results 1 – 2 of 2) sorted by relevance
103 new_credit = credit + CREDIT_PER_NS(delta, qdp->rate); in _hbm_out_cg()119 CREDIT_PER_NS(1000000000, qdp->rate) * 8); in _hbm_out_cg()
58 #define CREDIT_PER_NS(delta, rate) ((((u64)(delta)) * (rate)) >> 20) macro