Home
last modified time | relevance | path

Searched refs:max_pcr (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Datmsvc.h55 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
H A Datm.h79 int max_pcr; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Datmsvc.h55 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
H A Datm.h79 int max_pcr; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Datmsvc.h37 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \
H A Datm.h75 int max_pcr; member
/kernel/linux/linux-5.10/net/atm/
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 Dmpoa_proc.c245 * add 130.230.54.142 tx=max_pcr,max_sdu rx=max_pcr,max_sdu in parse_qos()
270 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 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()
724 * We allow pcr to be outside [min_pcr,max_pcr], because later in check_tp()
/kernel/linux/linux-6.6/net/atm/
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 Dmpoa_proc.c245 * add 130.230.54.142 tx=max_pcr,max_sdu rx=max_pcr,max_sdu in parse_qos()
270 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 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()
724 * We allow pcr to be outside [min_pcr,max_pcr], because later in check_tp()
/kernel/linux/linux-5.10/drivers/atm/
H A Dfore200e.c1292 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl()
1295 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; in fore200e_rate_ctrl()
1345 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open()
1347 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open()
1350 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open()
1353 if (fore200e->available_cell_rate < vcc->qos.txtp.max_pcr) { in fore200e_open()
1362 fore200e->available_cell_rate -= vcc->qos.txtp.max_pcr; in fore200e_open()
1382 fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; in fore200e_open()
1389 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open()
1396 vcc->qos.txtp.max_pcr, vc in fore200e_open()
[all...]
H A Dhorizon.c145 int max_pcr; maximum PCR in cells per second
2072 // !! max_pcr = UNSPEC (0) is equivalent to max_pcr = MAX (-1) in atm_pcr_check()
2075 if ((0) && tp->max_pcr == ATM_MAX_PCR) in atm_pcr_check()
2076 PRINTD (DBG_QOS, "luser gave max_pcr = ATM_MAX_PCR"); in atm_pcr_check()
2077 else if ((tp->max_pcr != ATM_MAX_PCR) && tp->max_pcr < 0) in atm_pcr_check()
2078 PRINTD (DBG_QOS, "luser gave negative max_pcr"); in atm_pcr_check()
2079 else if (tp->max_pcr && tp->max_pcr ! in atm_pcr_check()
[all...]
H A 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()
1280 if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0 in ns_open()
1294 card->index, vcc->qos.txtp.max_pcr); in ns_open()
1299 modl = tmpl % card->max_pcr; in ns_open()
1301 n = (int)(tmpl / card->max_pcr); in ns_open()
2437 if (card->max_pcr in ns_proc_read()
[all...]
H A Diphase.c475 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup()
479 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup()
1781 if (vcc->qos.txtp.max_pcr == ATM_MAX_PCR)
1783 else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0))
1785 else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0))
1786 vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr;
1836 vcc->qos.txtp.max_pcr,vc->acr);)
1872 IF_ABR(printk("ABR:vcc->qos.txtp.max_pcr = %d mcr = %d\n",
1880 if (vcc->qos.txtp.max_pcr > iade
[all...]
H A Dzatm.c939 (!vcc->qos.txtp.max_pcr || vcc->qos.txtp.max_pcr == ATM_MAX_PCR || in open_tx_first()
940 vcc->qos.txtp.max_pcr >= ATM_OC3_PCR); in open_tx_first()
947 vcc->qos.txtp.min_pcr,vcc->qos.txtp.max_pcr,unlimited)) in open_tx_first()
953 vcc->qos.txtp.min_pcr = vcc->qos.txtp.max_pcr = pcr; in open_tx_first()
H A Dnicstar.h712 unsigned long max_pcr; member
/kernel/linux/linux-6.6/drivers/atm/
H A Dfore200e.c1290 if (qos->txtp.max_pcr < ATM_OC3_PCR) { in fore200e_rate_ctrl()
1293 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; in fore200e_rate_ctrl()
1343 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open()
1345 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open()
1348 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open()
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()
1387 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_open()
1394 vcc->qos.txtp.max_pcr, vc in fore200e_open()
[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 in ns_proc_read()
[all...]
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);)
1873 IF_ABR(printk("ABR:vcc->qos.txtp.max_pcr = %d mcr = %d\n",
1881 if (vcc->qos.txtp.max_pcr > iade
[all...]

Completed in 41 milliseconds

12