Lines Matching refs:txtp
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()
1447 if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { in fore200e_close()
1450 fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; in fore200e_close()
1503 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_send()
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()
1912 fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; in fore200e_change_qos()
1913 fore200e->available_cell_rate -= qos->txtp.max_pcr; in fore200e_change_qos()