Searched refs:txtp (Results 1 – 8 of 8) sorted by relevance
/drivers/atm/ |
D | iphase.c | 244 if (vcc->qos.txtp.traffic_class == ATM_ABR) { in clear_lockup() 474 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup() 478 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup() 1400 (vcc->qos.txtp.traffic_class == ATM_ABR)) 1726 if (vcc->qos.txtp.pcr >= iadev->rate_limit) { 1755 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; 1759 if (vcc->qos.txtp.traffic_class == ATM_ABR) { 1763 if (vcc->qos.txtp.traffic_class == ATM_CBR) { 1770 if (vcc->qos.txtp.max_sdu > 1773 vcc->qos.txtp.max_sdu,iadev->tx_buf_sz); [all …]
|
D | fore200e.c | 1290 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() 1342 fore200e_traffic_class[ vcc->qos.txtp.traffic_class ], in fore200e_open() 1343 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.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, vcc->qos.rxtp.max_pcr, in fore200e_open() [all …]
|
D | eni.c | 1287 static int reserve_or_set_tx(struct atm_vcc *vcc,struct atm_trafprm *txtp, in reserve_or_set_tx() argument 1299 rate = atm_pcr_goal(txtp); in reserve_or_set_tx() 1300 ubr = txtp->traffic_class == ATM_UBR; in reserve_or_set_tx() 1304 size = txtp->max_sdu*eni_dev->tx_mult/100; in reserve_or_set_tx() 1305 if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <= in reserve_or_set_tx() 1312 txtp->pcr = ATM_OC3_PCR; in reserve_or_set_tx() 1341 if (!error && txtp->min_pcr > rate) error = -EINVAL; in reserve_or_set_tx() 1342 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() 1357 txtp->pcr = rate; in reserve_or_set_tx() [all …]
|
D | nicstar.c | 1255 if (vcc->qos.txtp.traffic_class != ATM_NONE && vc->tx) in ns_open() 1274 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in ns_open() 1276 if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0 in ns_open() 1277 && vcc->qos.txtp.min_pcr == 0) { in ns_open() 1286 tcr = atm_pcr_goal(&(vcc->qos.txtp)); in ns_open() 1290 card->index, vcc->qos.txtp.max_pcr); in ns_open() 1371 } else if (vcc->qos.txtp.traffic_class == ATM_UBR) { in ns_open() 1376 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in ns_open() 1458 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in ns_close() 1462 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in ns_close() [all …]
|
D | lanai.c | 727 (lvcc->tx.atmvcc->qos.txtp.traffic_class == ATM_CBR) ? in host_vcc_start_tx() 788 (lvcc->tx.atmvcc->qos.txtp.traffic_class != ATM_CBR || in lanai_shutdown_tx_vci() 1516 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci() 1972 if (qos->txtp.traffic_class == ATM_CBR || qos->aal == ATM_AAL0) in vci0_is_ok() 1997 if (qos->txtp.traffic_class != ATM_NONE && in vci_is_ok() 2000 if (qos->txtp.traffic_class == ATM_CBR && in vci_is_ok() 2070 int x, icg, pcr = atm_pcr_goal(&qos->txtp); in pcr_to_cbricg() 2357 if (atmvcc->qos.txtp.traffic_class != ATM_NONE) { in lanai_open() 2364 if (atmvcc->qos.txtp.traffic_class == ATM_CBR) { in lanai_open()
|
D | idt77252.c | 2139 if ((qos->txtp.max_pcr == 0) && in idt77252_init_cbr() 2140 (qos->txtp.pcr == 0) && (qos->txtp.min_pcr == 0)) { in idt77252_init_cbr() 2152 tcr = atm_pcr_goal(&qos->txtp); in idt77252_init_cbr() 2220 tcr = atm_pcr_goal(&qos->txtp); in idt77252_init_ubr() 2246 switch (qos->txtp.traffic_class) { in idt77252_init_tx() 2278 card->name, qos->txtp.traffic_class); in idt77252_init_tx() 2441 vcc->qos.txtp.traffic_class != ATM_NONE ? "tx" : "--", in idt77252_open() 2445 if (vcc->qos.txtp.traffic_class != ATM_NONE && in idt77252_open() 2459 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in idt77252_open() 2524 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in idt77252_close() [all …]
|
D | he.c | 2149 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in he_open() 2152 pcr_goal = atm_pcr_goal(&vcc->qos.txtp); in he_open() 2184 switch (vcc->qos.txtp.traffic_class) { in he_open() 2379 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in he_close() 2412 switch (vcc->qos.txtp.traffic_class) { in he_close() 2463 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in he_close()
|
D | atmtcp.c | 199 if (vcc->qos.txtp.traffic_class == ATM_NONE) { in atmtcp_v_send()
|