Lines Matching refs:protocol

110 	unsigned char		protocol;
185 if (hc->hw.protocol == ISDN_P_NT_S0) {
1050 if (hc->hw.protocol == ISDN_P_NT_S0) {
1194 if (hc->hw.protocol == ISDN_P_NT_S0) {
1252 mode_hfcpci(struct bchannel *bch, int bc, int protocol)
1260 "HFCPCI bchannel protocol %x-->%x ch %x-->%x\n",
1261 bch->state, protocol, bch->nr, bc);
1273 } else if (test_bit(HFC_CFG_PCM, &hc->cfg) && (protocol > ISDN_P_NONE))
1281 if (protocol != ISDN_P_NONE) {
1294 switch (protocol) {
1329 bch->state = protocol;
1364 bch->state = protocol;
1393 printk(KERN_DEBUG "prot not known %x\n", protocol);
1397 if ((protocol == ISDN_P_NONE) ||
1398 (protocol == -1)) { /* init case */
1444 set_hfcpci_rxtest(struct bchannel *bch, int protocol, int chan)
1450 "HFCPCI bchannel test rx protocol %x-->%x ch %x-->%x\n",
1451 bch->state, protocol, bch->nr, chan);
1458 switch (protocol) {
1460 bch->state = protocol;
1485 bch->state = protocol;
1504 printk(KERN_DEBUG "prot not known %x\n", protocol);
1586 ch->protocol = ISDN_P_NONE;
1630 if (hc->hw.protocol == ISDN_P_NT_S0) {
1651 if (hc->hw.protocol == ISDN_P_NT_S0) {
1715 ret = mode_hfcpci(bch, bch->nr, ch->protocol);
1917 if (rq->protocol == ISDN_P_NONE)
1924 if (rq->protocol == ISDN_P_TE_S0) {
1929 hc->hw.protocol = rq->protocol;
1930 ch->protocol = rq->protocol;
1935 if (rq->protocol != ch->protocol) {
1936 if (hc->hw.protocol == ISDN_P_TE_S0)
1938 if (rq->protocol == ISDN_P_TE_S0) {
1943 hc->hw.protocol = rq->protocol;
1944 ch->protocol = rq->protocol;
1949 if (((ch->protocol == ISDN_P_NT_S0) && (hc->dch.state == 3)) ||
1950 ((ch->protocol == ISDN_P_TE_S0) && (hc->dch.state == 7))) {
1967 if (rq->protocol == ISDN_P_NONE)
1973 bch->ch.protocol = rq->protocol;
1998 if ((rq->protocol == ISDN_P_TE_S0) ||
1999 (rq->protocol == ISDN_P_NT_S0))
2090 if (hc->hw.protocol == ISDN_P_TE_S0)