Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/
Datmsvc.h52 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \
Datm.h137 int max_pcr; /* maximum PCR in cells per second */ member
/linux-4.4.14/net/atm/
Dmpoa_proc.c269 qos.txtp.max_pcr = tx_pcr; in parse_qos()
272 qos.rxtp.max_pcr = rx_pcr; in parse_qos()
276 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos()
277 qos.rxtp.max_pcr, qos.rxtp.max_sdu); in parse_qos()
Datm_misc.c81 if (tp->max_pcr != ATM_MAX_PCR) in atm_pcr_goal()
82 return -tp->max_pcr; in atm_pcr_goal()
Dcommon.c442 vcc->qos.txtp.max_pcr, in __vcc_connect()
447 vcc->qos.rxtp.max_pcr, in __vcc_connect()
488 vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_sdu, in vcc_connect()
490 vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_sdu, in vcc_connect()
712 !tp->max_pcr) in check_tp()
716 if (tp->min_pcr && tp->max_pcr && tp->max_pcr != ATM_MAX_PCR && in check_tp()
717 tp->min_pcr > tp->max_pcr) in check_tp()
Dmpc.c255 qos->qos.txtp.max_pcr, in atm_mpoa_disp_qos()
260 qos->qos.rxtp.max_pcr, in atm_mpoa_disp_qos()
1131 else if (eg_entry->shortcut->qos.txtp.max_pcr > 0) in check_qos_and_open_shortcut()
Dsvc.c267 vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp); in svc_connect()
/linux-4.4.14/drivers/atm/
Dfore200e.c1383 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl()
1386 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; in fore200e_rate_ctrl()
1436 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open()
1438 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open()
1441 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open()
1444 if (fore200e->available_cell_rate < vcc->qos.txtp.max_pcr) { in fore200e_open()
1453 fore200e->available_cell_rate -= vcc->qos.txtp.max_pcr; in fore200e_open()
1473 fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; in fore200e_open()
1480 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open()
1487 vcc->qos.txtp.max_pcr, vcc->qos.rxtp.max_pcr, in fore200e_open()
[all …]
Dhorizon.c2089 if ((0) && tp->max_pcr == ATM_MAX_PCR) in atm_pcr_check()
2091 else if ((tp->max_pcr != ATM_MAX_PCR) && tp->max_pcr < 0) in atm_pcr_check()
2093 else if (tp->max_pcr && tp->max_pcr != ATM_MAX_PCR && tp->max_pcr < pcr) in atm_pcr_check()
2101 pcr, tp->min_pcr, tp->pcr, tp->max_pcr); in atm_pcr_check()
Dnicstar.c455 card->max_pcr = ATM_25_PCR; in ns_init_card()
470 card->max_pcr = ATM_OC3_PCR; in ns_init_card()
788 card->atmdev->link_rate = card->max_pcr; in ns_init_card()
792 if (card->max_pcr == ATM_OC3_PCR) in ns_init_card()
797 if (card->max_pcr == ATM_25_PCR) in ns_init_card()
1276 if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0 in ns_open()
1290 card->index, vcc->qos.txtp.max_pcr); in ns_open()
1295 modl = tmpl % card->max_pcr; in ns_open()
1297 n = (int)(tmpl / card->max_pcr); in ns_open()
2431 if (card->max_pcr == ATM_25_PCR && !left--) { in ns_proc_read()
Dzatm.c936 (!vcc->qos.txtp.max_pcr || vcc->qos.txtp.max_pcr == ATM_MAX_PCR || in open_tx_first()
937 vcc->qos.txtp.max_pcr >= ATM_OC3_PCR); in open_tx_first()
944 vcc->qos.txtp.min_pcr,vcc->qos.txtp.max_pcr,unlimited)) in open_tx_first()
950 vcc->qos.txtp.min_pcr = vcc->qos.txtp.max_pcr = pcr; in open_tx_first()
Diphase.c474 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup()
478 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup()
1780 if (vcc->qos.txtp.max_pcr == ATM_MAX_PCR)
1782 else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0))
1784 else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0))
1785 vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr;
1835 vcc->qos.txtp.max_pcr,vc->acr);)
1879 if (vcc->qos.txtp.max_pcr > iadev->LineRate) {
Dnicstar.h711 unsigned long max_pcr; member
Deni.c1342 if (!error && txtp->max_pcr && txtp->max_pcr != ATM_MAX_PCR && in reserve_or_set_tx()
1343 txtp->max_pcr < rate) error = -EINVAL; in reserve_or_set_tx()
Didt77252.c2153 if ((qos->txtp.max_pcr == 0) && in idt77252_init_cbr()
/linux-4.4.14/Documentation/networking/
Diphase.txt131 -Pabr:max_pcr=<xxx>
137 -Pcbr:max_pcr=<xxx>