/linux/net/atm/ |
A D | common.c | 104 return (vcc->qos.txtp.max_sdu + in vcc_writable() 436 vcc->qos.txtp.traffic_class, in __vcc_connect() 437 vcc->qos.txtp.min_pcr, in __vcc_connect() 438 vcc->qos.txtp.max_pcr, in __vcc_connect() 439 vcc->qos.txtp.max_sdu); in __vcc_connect() 483 vcc->qos.txtp.traffic_class, vcc->qos.txtp.min_pcr, in vcc_connect() 484 vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_sdu, in vcc_connect() 597 if (size > vcc->qos.txtp.max_sdu) { in vcc_sendmsg() 696 qos->txtp.traffic_class != vcc->qos.txtp.traffic_class) in atm_change_qos() 698 error = adjust_tp(&qos->txtp, qos->aal); in atm_change_qos() [all …]
|
A D | mpoa_proc.c | 268 qos.txtp.traffic_class = ATM_CBR; in parse_qos() 269 qos.txtp.max_pcr = tx_pcr; in parse_qos() 270 qos.txtp.max_sdu = tx_sdu; in parse_qos() 276 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos()
|
A D | mpc.c | 256 qos->qos.txtp.max_pcr, in atm_mpoa_disp_qos() 257 qos->qos.txtp.pcr, in atm_mpoa_disp_qos() 258 qos->qos.txtp.min_pcr, in atm_mpoa_disp_qos() 259 qos->qos.txtp.max_cdv, in atm_mpoa_disp_qos() 260 qos->qos.txtp.max_sdu, in atm_mpoa_disp_qos() 1125 if (eg_entry->shortcut->qos.txtp.traffic_class & in check_qos_and_open_shortcut() 1126 msg->qos.txtp.traffic_class & in check_qos_and_open_shortcut() 1127 (qos ? qos->qos.txtp.traffic_class : ATM_UBR | ATM_CBR)) { in check_qos_and_open_shortcut() 1128 if (eg_entry->shortcut->qos.txtp.traffic_class == ATM_UBR) in check_qos_and_open_shortcut() 1130 else if (eg_entry->shortcut->qos.txtp.max_pcr > 0) in check_qos_and_open_shortcut() [all …]
|
A D | svc.c | 195 if (vcc->qos.txtp.traffic_class == ATM_ANYCLASS || in svc_connect() 200 if (!vcc->qos.txtp.traffic_class && in svc_connect() 268 vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp); in svc_connect() 269 vcc->qos.txtp.pcr = 0; in svc_connect() 270 vcc->qos.txtp.min_pcr = 0; in svc_connect()
|
A D | proc.c | 156 vcc->qos.txtp.min_pcr, in pvc_info() 157 class_name[vcc->qos.txtp.traffic_class]); in pvc_info()
|
A D | pppoatm.c | 414 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
|
/linux/drivers/atm/ |
A D | iphase.c | 476 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup() 480 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup() 1772 if (vcc->qos.txtp.max_sdu > 1786 else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0)) 1788 else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0)) 1789 vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr; 1803 if (vcc->qos.txtp.max_sdu != 0) { 1855 if (vcc->qos.txtp.icr) 1857 if (vcc->qos.txtp.tbe) 1861 if (vcc->qos.txtp.rif) [all …]
|
A D | fore200e.c | 1290 if (qos->txtp.max_pcr < 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() 1348 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { 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() 1447 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_close() 1898 fore200e_traffic_class[ qos->txtp.traffic_class ], in fore200e_change_qos() 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() [all …]
|
A D | firestream.c | 854 struct atm_trafprm * txtp; in fs_open() local 895 txtp = &atm_vcc->qos.txtp; in fs_open() 909 if (DO_DIRECTION(txtp) && test_bit (dev->channo, dev->tx_inuse)) in fs_open() 925 ( DO_DIRECTION(txtp) && test_bit (vcc->channo, dev->tx_inuse))) { in fs_open() 935 if (DO_DIRECTION (txtp)) { in fs_open() 977 int pcr = atm_pcr_goal (txtp); in fs_open() 1102 struct atm_trafprm * txtp; in fs_close() local 1123 txtp = &atm_vcc->qos.txtp; in fs_close() 1130 if (DO_DIRECTION (txtp)) { in fs_close()
|
A D | eni.c | 1297 rate = atm_pcr_goal(txtp); in reserve_or_set_tx() 1298 ubr = txtp->traffic_class == ATM_UBR; in reserve_or_set_tx() 1302 size = txtp->max_sdu*eni_dev->tx_mult/100; in reserve_or_set_tx() 1303 if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <= in reserve_or_set_tx() 1310 txtp->pcr = ATM_OC3_PCR; in reserve_or_set_tx() 1340 if (!error && txtp->max_pcr && txtp->max_pcr != ATM_MAX_PCR && in reserve_or_set_tx() 1341 txtp->max_pcr < rate) error = -EINVAL; in reserve_or_set_tx() 1355 txtp->pcr = rate; in reserve_or_set_tx() 1378 return reserve_or_set_tx(vcc,&vcc->qos.txtp,1,1); in open_tx_first() 1961 if (qos->txtp.traffic_class == ATM_NONE) return 0; in eni_change_qos() [all …]
|
A D | horizon.c | 1565 if (atm_vcc->qos.txtp.traffic_class == ATM_NONE) { in hrz_send() 1574 if (skb->len > atm_vcc->qos.txtp.max_sdu) { in hrz_send() 2099 struct atm_trafprm * txtp; in hrz_open() local 2186 txtp = &qos->txtp; in hrz_open() 2198 if (txtp->traffic_class != ATM_NONE) { in hrz_open() 2199 error = check_max_sdu (vcc.aal, txtp, max_tx_size); in hrz_open() 2205 switch (txtp->traffic_class) { in hrz_open() 2224 int pcr = atm_pcr_goal (txtp); in hrz_open() 2250 error = atm_pcr_check (txtp, vcc.tx_rate); in hrz_open() 2260 int pcr = atm_pcr_goal (txtp); in hrz_open() [all …]
|
A D | zatm.c | 908 zatm_dev->tx_bw += vcc->qos.txtp.min_pcr; in close_tx() 928 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; in open_tx_first() 938 unlimited = vcc->qos.txtp.traffic_class == ATM_UBR && in open_tx_first() 939 (!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() 945 if (unlimited) vcc->qos.txtp.max_sdu = ATM_MAX_AAL5_PDU; 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()
|
A D | ambassador.c | 1003 struct atm_trafprm * txtp; in amb_open() local 1041 txtp = &qos->txtp; in amb_open() 1042 if (txtp->traffic_class != ATM_NONE) { in amb_open() 1043 switch (txtp->traffic_class) { in amb_open() 1046 int pcr = atm_pcr_goal (txtp); in amb_open() 1070 pcr = atm_pcr_goal (txtp); in amb_open() 1137 if (txtp->traffic_class != ATM_NONE) { in amb_open() 1224 if (atm_vcc->qos.txtp.traffic_class != ATM_NONE) { in amb_close() 1320 if (skb->len > (size_t) atm_vcc->qos.txtp.max_sdu) { in amb_send()
|
A D | nicstar.c | 1280 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in ns_open() 1282 if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0 in ns_open() 1283 && vcc->qos.txtp.min_pcr == 0) { in ns_open() 1292 tcr = atm_pcr_goal(&(vcc->qos.txtp)); in ns_open() 1296 card->index, vcc->qos.txtp.max_pcr); in ns_open() 1377 } else if (vcc->qos.txtp.traffic_class == ATM_UBR) { in ns_open() 1382 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in ns_open() 1464 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in ns_close() 1468 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in ns_close() 1530 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in ns_close() [all …]
|
A 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()
|
A 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() 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() 2575 if (qos->txtp.traffic_class != ATM_NONE) { in idt77252_change_qos() [all …]
|
A D | he.c | 2152 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in he_open() 2155 pcr_goal = atm_pcr_goal(&vcc->qos.txtp); in he_open() 2187 switch (vcc->qos.txtp.traffic_class) { in he_open() 2382 if (vcc->qos.txtp.traffic_class != ATM_NONE) { in he_close() 2415 switch (vcc->qos.txtp.traffic_class) { in he_close() 2466 if (vcc->qos.txtp.traffic_class == ATM_CBR) { in he_close()
|
A D | atmtcp.c | 199 if (vcc->qos.txtp.traffic_class == ATM_NONE) { in atmtcp_v_send()
|
/linux/include/uapi/linux/ |
A D | atm.h | 161 struct atm_trafprm txtp; /* parameters in TX direction */ member
|