Searched refs:txtp (Results 1 – 12 of 12) sorted by relevance
/drivers/atm/ |
D | iphase.c | 243 if (vcc->qos.txtp.traffic_class == ATM_ABR) { in clear_lockup() 473 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup() 477 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup() 1397 (vcc->qos.txtp.traffic_class == ATM_ABR)) 1723 if (vcc->qos.txtp.pcr >= iadev->rate_limit) { 1752 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; 1756 if (vcc->qos.txtp.traffic_class == ATM_ABR) { 1760 if (vcc->qos.txtp.traffic_class == ATM_CBR) { 1767 if (vcc->qos.txtp.max_sdu > 1770 vcc->qos.txtp.max_sdu,iadev->tx_buf_sz); [all …]
|
D | fore200e.c | 1382 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() 1434 fore200e_traffic_class[ vcc->qos.txtp.traffic_class ], in fore200e_open() 1435 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.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 …]
|
D | firestream.c | 864 struct atm_trafprm * txtp; in fs_open() local 905 txtp = &atm_vcc->qos.txtp; in fs_open() 919 if (DO_DIRECTION(txtp) && test_bit (dev->channo, dev->tx_inuse)) in fs_open() 934 ( DO_DIRECTION(txtp) && test_bit (vcc->channo, dev->tx_inuse))) { in fs_open() 943 if (DO_DIRECTION (txtp)) { in fs_open() 984 int pcr = atm_pcr_goal (txtp); in fs_open() 1108 struct atm_trafprm * txtp; in fs_close() local 1129 txtp = &atm_vcc->qos.txtp; in fs_close() 1136 if (DO_DIRECTION (txtp)) { in fs_close()
|
D | eni.c | 1284 static int reserve_or_set_tx(struct atm_vcc *vcc,struct atm_trafprm *txtp, in reserve_or_set_tx() argument 1296 rate = atm_pcr_goal(txtp); in reserve_or_set_tx() 1297 ubr = txtp->traffic_class == ATM_UBR; in reserve_or_set_tx() 1301 size = txtp->max_sdu*eni_dev->tx_mult/100; in reserve_or_set_tx() 1302 if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <= in reserve_or_set_tx() 1309 txtp->pcr = ATM_OC3_PCR; in reserve_or_set_tx() 1338 if (!error && txtp->min_pcr > rate) error = -EINVAL; in reserve_or_set_tx() 1339 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() 1354 txtp->pcr = rate; in reserve_or_set_tx() [all …]
|
D | horizon.c | 1603 if (atm_vcc->qos.txtp.traffic_class == ATM_NONE) { in hrz_send() 1612 if (skb->len > atm_vcc->qos.txtp.max_sdu) { in hrz_send() 2137 struct atm_trafprm * txtp; in hrz_open() local 2224 txtp = &qos->txtp; in hrz_open() 2236 if (txtp->traffic_class != ATM_NONE) { in hrz_open() 2237 error = check_max_sdu (vcc.aal, txtp, max_tx_size); in hrz_open() 2243 switch (txtp->traffic_class) { in hrz_open() 2262 int pcr = atm_pcr_goal (txtp); in hrz_open() 2288 error = atm_pcr_check (txtp, vcc.tx_rate); in hrz_open() 2298 int pcr = atm_pcr_goal (txtp); in hrz_open() [all …]
|
D | zatm.c | 905 zatm_dev->tx_bw += vcc->qos.txtp.min_pcr; in close_tx() 925 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; in open_tx_first() 935 unlimited = vcc->qos.txtp.traffic_class == ATM_UBR && in open_tx_first() 936 (!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() 942 if (unlimited) vcc->qos.txtp.max_sdu = ATM_MAX_AAL5_PDU; 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()
|
D | ambassador.c | 1018 struct atm_trafprm * txtp; in amb_open() local 1056 txtp = &qos->txtp; in amb_open() 1057 if (txtp->traffic_class != ATM_NONE) { in amb_open() 1058 switch (txtp->traffic_class) { in amb_open() 1061 int pcr = atm_pcr_goal (txtp); in amb_open() 1085 pcr = atm_pcr_goal (txtp); in amb_open() 1152 if (txtp->traffic_class != ATM_NONE) { in amb_open() 1239 if (atm_vcc->qos.txtp.traffic_class != ATM_NONE) { in amb_close() 1335 if (skb->len > (size_t) atm_vcc->qos.txtp.max_sdu) { in amb_send()
|
D | nicstar.c | 1264 if (vcc->qos.txtp.traffic_class != ATM_NONE && vc->tx) in ns_open() 1283 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in ns_open() 1285 if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0 in ns_open() 1286 && vcc->qos.txtp.min_pcr == 0) { in ns_open() 1295 tcr = atm_pcr_goal(&(vcc->qos.txtp)); in ns_open() 1299 card->index, vcc->qos.txtp.max_pcr); in ns_open() 1380 } else if (vcc->qos.txtp.traffic_class == ATM_UBR) { in ns_open() 1385 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in ns_open() 1467 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in ns_close() 1471 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in ns_close() [all …]
|
D | lanai.c | 739 (lvcc->tx.atmvcc->qos.txtp.traffic_class == ATM_CBR) ? in host_vcc_start_tx() 801 (lvcc->tx.atmvcc->qos.txtp.traffic_class != ATM_CBR || in lanai_shutdown_tx_vci() 1529 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci() 1992 if (qos->txtp.traffic_class == ATM_CBR || qos->aal == ATM_AAL0) in vci0_is_ok() 2017 if (qos->txtp.traffic_class != ATM_NONE && in vci_is_ok() 2020 if (qos->txtp.traffic_class == ATM_CBR && in vci_is_ok() 2090 int x, icg, pcr = atm_pcr_goal(&qos->txtp); in pcr_to_cbricg() 2373 if (atmvcc->qos.txtp.traffic_class != ATM_NONE) { in lanai_open() 2380 if (atmvcc->qos.txtp.traffic_class == ATM_CBR) { in lanai_open()
|
D | idt77252.c | 2155 if ((qos->txtp.max_pcr == 0) && in idt77252_init_cbr() 2156 (qos->txtp.pcr == 0) && (qos->txtp.min_pcr == 0)) { in idt77252_init_cbr() 2168 tcr = atm_pcr_goal(&qos->txtp); in idt77252_init_cbr() 2232 tcr = atm_pcr_goal(&qos->txtp); in idt77252_init_ubr() 2258 switch (qos->txtp.traffic_class) { in idt77252_init_tx() 2290 card->name, qos->txtp.traffic_class); in idt77252_init_tx() 2453 vcc->qos.txtp.traffic_class != ATM_NONE ? "tx" : "--", in idt77252_open() 2457 if (vcc->qos.txtp.traffic_class != ATM_NONE && in idt77252_open() 2471 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in idt77252_open() 2536 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in idt77252_close() [all …]
|
D | he.c | 2160 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in he_open() 2163 pcr_goal = atm_pcr_goal(&vcc->qos.txtp); in he_open() 2195 switch (vcc->qos.txtp.traffic_class) { in he_open() 2390 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in he_close() 2423 switch (vcc->qos.txtp.traffic_class) { in he_close() 2474 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in he_close()
|
D | atmtcp.c | 198 if (vcc->qos.txtp.traffic_class == ATM_NONE) { in atmtcp_v_send()
|