Searched refs:txtp (Results 1 - 12 of 12) sorted by relevance

/drivers/atm/
H A Diphase.c243 if (vcc->qos.txtp.traffic_class == ATM_ABR) {
473 if (vcc->qos.txtp.max_pcr <= 0) {
477 rate = vcc->qos.txtp.max_pcr;
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
[all...]
H A Dfore200e.c1382 if (qos->txtp.max_pcr < ATM_OC3_PCR) {
1385 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR;
1434 fore200e_traffic_class[ vcc->qos.txtp.traffic_class ],
1435 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu,
1440 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) {
1443 if (fore200e->available_cell_rate < vcc->qos.txtp
[all...]
H A Dhorizon.c205 struct atm_trafprm txtp;
1603 if (atm_vcc->qos.txtp.traffic_class == ATM_NONE) {
1612 if (skb->len > atm_vcc->qos.txtp.max_sdu) {
2137 struct atm_trafprm * txtp; local
2224 txtp = &qos->txtp;
2236 if (txtp->traffic_class != ATM_NONE) {
2237 error = check_max_sdu (vcc.aal, txtp, max_tx_size);
2243 switch (txtp->traffic_class) {
2262 int pcr = atm_pcr_goal (txtp);
[all...]
H A Deni.c1284 static int reserve_or_set_tx(struct atm_vcc *vcc,struct atm_trafprm *txtp, argument
1296 rate = atm_pcr_goal(txtp);
1297 ubr = txtp->traffic_class == ATM_UBR;
1301 size = txtp->max_sdu*eni_dev->tx_mult/100;
1302 if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <=
1309 txtp->pcr = ATM_OC3_PCR;
1338 if (!error && txtp->min_pcr > rate) error = -EINVAL;
1339 if (!error && txtp->max_pcr && txtp->max_pcr != ATM_MAX_PCR &&
1340 txtp
[all...]
H A Dfirestream.c864 struct atm_trafprm * txtp; local
905 txtp = &atm_vcc->qos.txtp;
919 if (DO_DIRECTION(txtp) && test_bit (dev->channo, dev->tx_inuse))
934 ( DO_DIRECTION(txtp) && test_bit (vcc->channo, dev->tx_inuse))) {
943 if (DO_DIRECTION (txtp)) {
984 int pcr = atm_pcr_goal (txtp);
1108 struct atm_trafprm * txtp; local
1129 txtp = &atm_vcc->qos.txtp;
[all...]
H A Dzatm.c905 zatm_dev->tx_bw += vcc->qos.txtp.min_pcr;
925 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0;
935 unlimited = vcc->qos.txtp.traffic_class == ATM_UBR &&
936 (!vcc->qos.txtp.max_pcr || vcc->qos.txtp.max_pcr == ATM_MAX_PCR ||
937 vcc->qos.txtp.max_pcr >= ATM_OC3_PCR);
942 if (unlimited) vcc->qos.txtp.max_sdu = ATM_MAX_AAL5_PDU;
944 vcc->qos.txtp.min_pcr,vcc->qos.txtp.max_pcr,unlimited))
950 vcc->qos.txtp
[all...]
H A Dambassador.c1018 struct atm_trafprm * txtp; local
1056 txtp = &qos->txtp;
1057 if (txtp->traffic_class != ATM_NONE) {
1058 switch (txtp->traffic_class) {
1061 int pcr = atm_pcr_goal (txtp);
1085 pcr = atm_pcr_goal (txtp);
1152 if (txtp->traffic_class != ATM_NONE) {
1239 if (atm_vcc->qos.txtp.traffic_class != ATM_NONE) {
1335 if (skb->len > (size_t) atm_vcc->qos.txtp
[all...]
H A Dlanai.c739 (lvcc->tx.atmvcc->qos.txtp.traffic_class == ATM_CBR) ?
801 (lvcc->tx.atmvcc->qos.txtp.traffic_class != ATM_CBR ||
1529 max_sdu = qos->txtp.max_sdu;
1992 if (qos->txtp.traffic_class == ATM_CBR || qos->aal == ATM_AAL0)
2017 if (qos->txtp.traffic_class != ATM_NONE &&
2020 if (qos->txtp.traffic_class == ATM_CBR &&
2090 int x, icg, pcr = atm_pcr_goal(&qos->txtp);
2373 if (atmvcc->qos.txtp.traffic_class != ATM_NONE) {
2380 if (atmvcc->qos.txtp.traffic_class == ATM_CBR) {
H A Didt77252.c2152 if ((qos->txtp.max_pcr == 0) &&
2153 (qos->txtp.pcr == 0) && (qos->txtp.min_pcr == 0)) {
2165 tcr = atm_pcr_goal(&qos->txtp);
2229 tcr = atm_pcr_goal(&qos->txtp);
2255 switch (qos->txtp.traffic_class) {
2287 card->name, qos->txtp.traffic_class);
2450 vcc->qos.txtp.traffic_class != ATM_NONE ? "tx" : "--",
2454 if (vcc->qos.txtp.traffic_class != ATM_NONE &&
2468 if (vcc->qos.txtp
[all...]
H A Dnicstar.c1263 if (vcc->qos.txtp.traffic_class != ATM_NONE && vc->tx)
1282 if (vcc->qos.txtp.traffic_class == ATM_CBR) {
1284 if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0
1285 && vcc->qos.txtp.min_pcr == 0) {
1294 tcr = atm_pcr_goal(&(vcc->qos.txtp));
1298 card->index, vcc->qos.txtp.max_pcr);
1379 } else if (vcc->qos.txtp.traffic_class == ATM_UBR) {
1384 if (vcc->qos.txtp.traffic_class != ATM_NONE) {
1466 if (vcc->qos.txtp
[all...]
H A Dhe.c2151 if (vcc->qos.txtp.traffic_class != ATM_NONE) {
2154 pcr_goal = atm_pcr_goal(&vcc->qos.txtp);
2186 switch (vcc->qos.txtp.traffic_class) {
2381 if (vcc->qos.txtp.traffic_class != ATM_NONE) {
2414 switch (vcc->qos.txtp.traffic_class) {
2465 if (vcc->qos.txtp.traffic_class == ATM_CBR) {
H A Datmtcp.c198 if (vcc->qos.txtp.traffic_class == ATM_NONE) {

Completed in 137 milliseconds