/linux-6.1.9/net/atm/ |
D | common.c | 104 return (vcc->qos.txtp.max_sdu + in vcc_writable() 159 vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */ in vcc_create() 324 walk->vci == vci && ((walk->qos.txtp.traffic_class != in check_ci() 325 ATM_NONE && vcc->qos.txtp.traffic_class != ATM_NONE) || in check_ci() 429 error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal); in __vcc_connect() 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() [all …]
|
D | mpoa_proc.c | 269 qos.txtp.traffic_class = ATM_CBR; in parse_qos() 270 qos.txtp.max_pcr = tx_pcr; in parse_qos() 271 qos.txtp.max_sdu = tx_sdu; in parse_qos() 277 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos()
|
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 …]
|
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()
|
D | proc.c | 156 vcc->qos.txtp.min_pcr, in pvc_info() 157 class_name[vcc->qos.txtp.traffic_class]); in pvc_info()
|
D | pppoatm.c | 414 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
|
/linux-6.1.9/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()
|
/linux-6.1.9/include/uapi/linux/ |
D | atm.h | 161 struct atm_trafprm txtp; /* parameters in TX direction */ member
|