Lines Matching refs:pcr
1222 static int comp_tx(struct eni_dev *eni_dev,int *pcr,int reserved,int *pre,
1230 if (*pcr > 0) {
1234 if (TS_CLOCK/pre_div[*pre]/64 <= *pcr) break;
1235 div = pre_div[*pre]**pcr;
1242 if (!*pcr) *pcr = eni_dev->tx_bw+reserved;
1244 if (TS_CLOCK/pre_div[*pre]/64 > -*pcr) break;
1246 div = pre_div[*pre]*-*pcr;
1253 *pcr = TS_CLOCK/pre_div[*pre]/(*res+1);
1254 DPRINTK("out pcr: %d (%d:%d)\n",*pcr,*pre,*res);
1284 txtp->pcr = ATM_OC3_PCR;
1329 txtp->pcr = rate;