Searched refs:TS_CLOCK (Results 1 – 2 of 2) sorted by relevance
17 #define TS_CLOCK 25000000 /* traffic shaper clock (cell/sec) */ macro
1260 if (TS_CLOCK/pre_div[*pre]/64 <= *pcr) break; in comp_tx()1263 *res = TS_CLOCK/div-1; in comp_tx()1270 if (TS_CLOCK/pre_div[*pre]/64 > -*pcr) break; in comp_tx()1274 *res = DIV_ROUND_UP(TS_CLOCK, div)-1; in comp_tx()1279 *pcr = TS_CLOCK/pre_div[*pre]/(*res+1); in comp_tx()