Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Datmsvc.h53 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \
H A Datm.h138 int max_pcr; /* maximum PCR in cells per second */ member
/openbmc/linux/net/atm/
H A Dmpoa_proc.c270 qos.txtp.max_pcr = tx_pcr; in parse_qos()
273 qos.rxtp.max_pcr = rx_pcr; in parse_qos()
277 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos()
278 qos.rxtp.max_pcr, qos.rxtp.max_sdu); in parse_qos()
H A Datm_misc.c82 if (tp->max_pcr != ATM_MAX_PCR) in atm_pcr_goal()
83 return -tp->max_pcr; in atm_pcr_goal()
H A Dcommon.c438 vcc->qos.txtp.max_pcr, in __vcc_connect()
443 vcc->qos.rxtp.max_pcr, in __vcc_connect()
484 vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_sdu, in vcc_connect()
486 vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_sdu, in vcc_connect()
716 !tp->max_pcr) in check_tp()
720 if (tp->min_pcr && tp->max_pcr && tp->max_pcr != ATM_MAX_PCR && in check_tp()
721 tp->min_pcr > tp->max_pcr) in check_tp()
H A Dmpc.c256 qos->qos.txtp.max_pcr, in atm_mpoa_disp_qos()
261 qos->qos.rxtp.max_pcr, in atm_mpoa_disp_qos()
1130 else if (eg_entry->shortcut->qos.txtp.max_pcr > 0) in check_qos_and_open_shortcut()
H A Dsvc.c273 vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp); in svc_connect()
/openbmc/linux/drivers/atm/
H A Dfore200e.c1290 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl()
1351 if (fore200e->available_cell_rate < vcc->qos.txtp.max_pcr) { in fore200e_open()
1360 fore200e->available_cell_rate -= vcc->qos.txtp.max_pcr; in fore200e_open()
1380 fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; in fore200e_open()
1394 vcc->qos.txtp.max_pcr, vcc->qos.rxtp.max_pcr, in fore200e_open()
1450 fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; in fore200e_close()
1899 qos->txtp.min_pcr, qos->txtp.max_pcr, qos->txtp.max_cdv, qos->txtp.max_sdu, in fore200e_change_qos()
1904 if ((qos->txtp.traffic_class == ATM_CBR) && (qos->txtp.max_pcr > 0)) { in fore200e_change_qos()
1907 if (fore200e->available_cell_rate + vcc->qos.txtp.max_pcr < qos->txtp.max_pcr) { in fore200e_change_qos()
1912 fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; in fore200e_change_qos()
[all …]
H A Dnicstar.c457 card->max_pcr = ATM_25_PCR; in ns_init_card()
472 card->max_pcr = ATM_OC3_PCR; in ns_init_card()
790 card->atmdev->link_rate = card->max_pcr; in ns_init_card()
794 if (card->max_pcr == ATM_OC3_PCR) in ns_init_card()
799 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()
2443 if (card->max_pcr == ATM_25_PCR && !left--) { in ns_proc_read()
H A Diphase.c474 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup()
478 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup()
1782 if (vcc->qos.txtp.max_pcr == ATM_MAX_PCR)
1784 else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0))
1786 else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0))
1787 vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr;
1837 vcc->qos.txtp.max_pcr,vc->acr);)
1881 if (vcc->qos.txtp.max_pcr > iadev->LineRate) {
H A Dnicstar.h712 unsigned long max_pcr; member
H A 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()
H A Didt77252.c2140 if ((qos->txtp.max_pcr == 0) && in idt77252_init_cbr()
/openbmc/linux/Documentation/networking/device_drivers/atm/
H A Diphase.rst155 -Pabr:max_pcr=<xxx>
167 -Pcbr:max_pcr=<xxx>