• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/hardware/mISDN/

Lines Matching refs:protocol

62 static int  hfcsusb_setup_bch(struct bchannel *bch, int protocol);
245 ret = hfcsusb_setup_bch(bch, ch->protocol);
277 phi->dch.ch.protocol = hw->protocol;
282 phi->bch[i].protocol = hw->bch[i].ch.protocol;
322 (hw->protocol == ISDN_P_NT_S0) ? "NT" : "TE");
324 if (hw->protocol == ISDN_P_NT_S0) {
348 if (hw->protocol == ISDN_P_NT_S0) {
442 if (rq->protocol == ISDN_P_NONE)
461 hw->protocol = rq->protocol;
462 if (rq->protocol == ISDN_P_TE_S0) {
468 ch->protocol = rq->protocol;
471 if (rq->protocol != ch->protocol)
475 if (((ch->protocol == ISDN_P_NT_S0) && (hw->dch.state == 3)) ||
476 ((ch->protocol == ISDN_P_TE_S0) && (hw->dch.state == 7)))
493 if (rq->protocol == ISDN_P_NONE)
504 bch->ch.protocol = rq->protocol;
560 if ((rq->protocol == ISDN_P_TE_S0) ||
561 (rq->protocol == ISDN_P_NT_S0))
699 if (hw->protocol == ISDN_P_NT_S0)
701 else if (hw->protocol == ISDN_P_TE_S0)
709 hfcsusb_setup_bch(struct bchannel *bch, int protocol)
715 printk(KERN_DEBUG "%s: %s: protocol %x-->%x B%d\n",
716 hw->name, __func__, bch->state, protocol,
721 if (protocol > ISDN_P_NONE)
724 switch (protocol) {
737 bch->state = protocol;
741 bch->state = protocol;
747 hw->name, __func__, protocol);
751 if (protocol >= ISDN_P_NONE) {
759 sctrl = 0x40 + ((hw->protocol == ISDN_P_TE_S0) ? 0x00 : 0x04);
772 if (protocol > ISDN_P_NONE)
1391 if ((fifon == HFCUSB_D_TX) && (hw->protocol == ISDN_P_NT_S0)
1559 (hw->protocol == ISDN_P_TE_S0) ? "TE" : "NT");
1561 if (hw->protocol == ISDN_P_TE_S0) {
1619 (hw->protocol == ISDN_P_NT_S0) ? 0x08 : 0x09);
1783 if (hw->protocol == ISDN_P_TE_S0)
1844 ch->protocol = ISDN_P_NONE;