• Home
  • Raw
  • Download

Lines Matching refs:qos

696 	if (lvcc->rx.atmvcc->qos.aal == ATM_AAL5) {  in host_vcc_start_rx()
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()
1499 struct lanai_vcc *lvcc, const struct atm_qos *qos) in lanai_setup_rx_vci_aal5() argument
1502 qos->rxtp.max_sdu, AAL5_RX_MULTIPLIER, "RX"); in lanai_setup_rx_vci_aal5()
1507 const struct atm_qos *qos) in lanai_setup_tx_vci() argument
1510 if (qos->aal == ATM_AAL0) { in lanai_setup_tx_vci()
1516 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci()
1652 if (unlikely(lvcc->rx.atmvcc->qos.aal != ATM_AAL5)) { in handle_service()
1970 const struct atm_qos *qos) in vci0_is_ok() argument
1972 if (qos->txtp.traffic_class == ATM_CBR || qos->aal == ATM_AAL0) in vci0_is_ok()
1974 if (qos->rxtp.traffic_class != ATM_NONE) { in vci0_is_ok()
1989 const struct atm_qos *qos = &atmvcc->qos; in vci_is_ok() local
1991 if (vci == 0 && !vci0_is_ok(lanai, qos)) in vci_is_ok()
1994 if (qos->rxtp.traffic_class != ATM_NONE && in vci_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()
2004 if (qos->aal == ATM_AAL0 && lanai->naal0 == 0 && in vci_is_ok()
2005 qos->rxtp.traffic_class != ATM_NONE) { in vci_is_ok()
2067 static int pcr_to_cbricg(const struct atm_qos *qos) in pcr_to_cbricg() argument
2070 int x, icg, pcr = atm_pcr_goal(&qos->txtp); in pcr_to_cbricg()
2091 reg_write(lanai, pcr_to_cbricg(&lanai->cbrvcc->qos), CBR_ICG_Reg); in lanai_cbr_setup()
2283 if (atmvcc->qos.aal == ATM_AAL0) { in lanai_close()
2325 if (atmvcc->qos.aal != ATM_AAL0 && atmvcc->qos.aal != ATM_AAL5) in lanai_open()
2337 if (atmvcc->qos.rxtp.traffic_class != ATM_NONE) { in lanai_open()
2340 if (atmvcc->qos.aal == ATM_AAL0) { in lanai_open()
2345 lanai, lvcc, &atmvcc->qos); in lanai_open()
2354 if (atmvcc->qos.aal == ATM_AAL0) in lanai_open()
2357 if (atmvcc->qos.txtp.traffic_class != ATM_NONE) { in lanai_open()
2360 result = lanai_setup_tx_vci(lanai, lvcc, &atmvcc->qos); in lanai_open()
2364 if (atmvcc->qos.txtp.traffic_class == ATM_CBR) { in lanai_open()
2410 switch (atmvcc->qos.aal) { in lanai_send()
2426 DPRINTK("lanai_send: bad aal=%d on vci=%d\n", (int) atmvcc->qos.aal, in lanai_send()
2434 /*const*/ struct atm_qos *qos, int flags) in lanai_change_qos() argument
2510 lvcc->rx.atmvcc->qos.aal == ATM_AAL5 ? 5 : 0); in lanai_proc_read()
2511 if (lvcc->rx.atmvcc->qos.aal == ATM_AAL5) in lanai_proc_read()
2524 lvcc->tx.atmvcc->qos.aal == ATM_AAL5 ? 5 : 0, in lanai_proc_read()