• Home
  • Raw
  • Download

Lines Matching refs:protocol

61 static int  hfcsusb_setup_bch(struct bchannel *bch, int protocol);
235 ret = hfcsusb_setup_bch(bch, ch->protocol); in hfcusb_l2l1B()
267 phi->dch.ch.protocol = hw->protocol; in hfcsusb_ph_info()
272 phi->bch[i].protocol = hw->bch[i].ch.protocol; in hfcsusb_ph_info()
313 (hw->protocol == ISDN_P_NT_S0) ? "NT" : "TE"); in hfcusb_l2l1D()
315 if (hw->protocol == ISDN_P_NT_S0) { in hfcusb_l2l1D()
339 if (hw->protocol == ISDN_P_NT_S0) { in hfcusb_l2l1D()
433 if (rq->protocol == ISDN_P_NONE) in open_dchannel()
452 hw->protocol = rq->protocol; in open_dchannel()
453 if (rq->protocol == ISDN_P_TE_S0) { in open_dchannel()
459 ch->protocol = rq->protocol; in open_dchannel()
462 if (rq->protocol != ch->protocol) in open_dchannel()
466 if (((ch->protocol == ISDN_P_NT_S0) && (hw->dch.state == 3)) || in open_dchannel()
467 ((ch->protocol == ISDN_P_TE_S0) && (hw->dch.state == 7))) in open_dchannel()
484 if (rq->protocol == ISDN_P_NONE) in open_bchannel()
494 bch->ch.protocol = rq->protocol; in open_bchannel()
544 if ((rq->protocol == ISDN_P_TE_S0) || in hfc_dctrl()
545 (rq->protocol == ISDN_P_NT_S0)) in hfc_dctrl()
683 if (hw->protocol == ISDN_P_NT_S0) in ph_state()
685 else if (hw->protocol == ISDN_P_TE_S0) in ph_state()
693 hfcsusb_setup_bch(struct bchannel *bch, int protocol) in hfcsusb_setup_bch() argument
700 hw->name, __func__, bch->state, protocol, in hfcsusb_setup_bch()
705 if (protocol > ISDN_P_NONE) in hfcsusb_setup_bch()
708 switch (protocol) { in hfcsusb_setup_bch()
721 bch->state = protocol; in hfcsusb_setup_bch()
725 bch->state = protocol; in hfcsusb_setup_bch()
731 hw->name, __func__, protocol); in hfcsusb_setup_bch()
735 if (protocol >= ISDN_P_NONE) { in hfcsusb_setup_bch()
743 sctrl = 0x40 + ((hw->protocol == ISDN_P_TE_S0) ? 0x00 : 0x04); in hfcsusb_setup_bch()
756 if (protocol > ISDN_P_NONE) in hfcsusb_setup_bch()
1365 if ((fifon == HFCUSB_D_TX) && (hw->protocol == ISDN_P_NT_S0) in tx_iso_complete()
1533 (hw->protocol == ISDN_P_TE_S0) ? "TE" : "NT"); in setPortMode()
1535 if (hw->protocol == ISDN_P_TE_S0) { in setPortMode()
1593 (hw->protocol == ISDN_P_NT_S0) ? 0x08 : 0x09); in reset_hfcsusb()
1756 if (hw->protocol == ISDN_P_TE_S0) in release_hw()
1816 ch->protocol = ISDN_P_NONE; in hfc_bctrl()