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