Home
last modified time | relevance | path

Searched refs:max_pcr (Results 1 – 8 of 8) sorted by relevance

/drivers/atm/
Dfore200e.c1382 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl()
1385 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; in fore200e_rate_ctrl()
1435 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open()
1437 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open()
1440 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open()
1443 if (fore200e->available_cell_rate < vcc->qos.txtp.max_pcr) { in fore200e_open()
1452 fore200e->available_cell_rate -= vcc->qos.txtp.max_pcr; in fore200e_open()
1472 fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; in fore200e_open()
1479 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open()
1486 vcc->qos.txtp.max_pcr, vcc->qos.rxtp.max_pcr, in fore200e_open()
[all …]
Dhorizon.c2113 if ((0) && tp->max_pcr == ATM_MAX_PCR) in atm_pcr_check()
2115 else if ((tp->max_pcr != ATM_MAX_PCR) && tp->max_pcr < 0) in atm_pcr_check()
2117 else if (tp->max_pcr && tp->max_pcr != ATM_MAX_PCR && tp->max_pcr < pcr) in atm_pcr_check()
2125 pcr, tp->min_pcr, tp->pcr, tp->max_pcr); in atm_pcr_check()
Dnicstar.c482 card->max_pcr = ATM_25_PCR; in ns_init_card()
497 card->max_pcr = ATM_OC3_PCR; in ns_init_card()
817 card->atmdev->link_rate = card->max_pcr; in ns_init_card()
821 if (card->max_pcr == ATM_OC3_PCR) in ns_init_card()
826 if (card->max_pcr == ATM_25_PCR) in ns_init_card()
1357 if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0 && in ns_open()
1371 vcc->qos.txtp.max_pcr); in ns_open()
1374 modl = tmpl % card->max_pcr; in ns_open()
1376 n = (int)(tmpl / card->max_pcr); in ns_open()
2646 if (card->max_pcr == ATM_25_PCR && !left--) in ns_proc_read()
Dzatm.c935 (!vcc->qos.txtp.max_pcr || vcc->qos.txtp.max_pcr == ATM_MAX_PCR || in open_tx_first()
936 vcc->qos.txtp.max_pcr >= ATM_OC3_PCR); in open_tx_first()
943 vcc->qos.txtp.min_pcr,vcc->qos.txtp.max_pcr,unlimited)) in open_tx_first()
949 vcc->qos.txtp.min_pcr = vcc->qos.txtp.max_pcr = pcr; in open_tx_first()
Diphase.c472 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup()
476 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup()
1759 if (vcc->qos.txtp.max_pcr == ATM_MAX_PCR)
1761 else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0))
1763 else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0))
1764 vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr;
1814 vcc->qos.txtp.max_pcr,vc->acr);)
1858 if (vcc->qos.txtp.max_pcr > iadev->LineRate) {
Dnicstar.h773 unsigned long max_pcr; member
Deni.c1339 if (!error && txtp->max_pcr && txtp->max_pcr != ATM_MAX_PCR && in reserve_or_set_tx()
1340 txtp->max_pcr < rate) error = -EINVAL; in reserve_or_set_tx()
Didt77252.c2154 if ((qos->txtp.max_pcr == 0) && in idt77252_init_cbr()