Lines Matching refs:pcr
1250 static int comp_tx(struct eni_dev *eni_dev,int *pcr,int reserved,int *pre, in comp_tx() argument
1258 if (*pcr > 0) { in comp_tx()
1262 if (TS_CLOCK/pre_div[*pre]/64 <= *pcr) break; in comp_tx()
1263 div = pre_div[*pre]**pcr; in comp_tx()
1270 if (!*pcr) *pcr = eni_dev->tx_bw+reserved; in comp_tx()
1272 if (TS_CLOCK/pre_div[*pre]/64 > -*pcr) break; in comp_tx()
1274 div = pre_div[*pre]*-*pcr; in comp_tx()
1281 *pcr = TS_CLOCK/pre_div[*pre]/(*res+1); in comp_tx()
1282 DPRINTK("out pcr: %d (%d:%d)\n",*pcr,*pre,*res); in comp_tx()
1312 txtp->pcr = ATM_OC3_PCR; in reserve_or_set_tx()
1357 txtp->pcr = rate; in reserve_or_set_tx()