Lines Matching defs:protocol
818 if (hc->chan[ch].protocol != ISDN_P_B_RAW)
851 if (hc->chan[ch].protocol != ISDN_P_B_RAW)
1640 if (dch->dev.D.protocol == ISDN_P_NT_S0)
1704 if (dch->dev.D.protocol == ISDN_P_NT_S0)
1751 if (dch->dev.D.protocol == ISDN_P_NT_S0)
1938 (hc->chan[ch].protocol == ISDN_P_B_RAW) &&
2173 (hc->chan[ch].protocol == ISDN_P_B_RAW) &&
2561 dch->dev.D.protocol == ISDN_P_TE_S0) {
2570 if (dch->dev.D.protocol == ISDN_P_NT_S0)
2819 * configure B-channel with the given protocol
2826 mode_hfcmulti(struct hfc_multi *hc, int ch, int protocol, int slot_tx,
2841 "%s: card %d channel %d protocol %x slot old=%d new=%d "
2843 __func__, hc->id, ch, protocol, oslot_tx, slot_tx,
2942 switch (protocol) {
3004 if (hc->chan[ch].protocol != protocol) {
3027 if (hc->chan[ch].protocol != protocol) {
3049 if (hc->chan[ch].protocol != protocol) {
3067 if (hc->chan[ch].protocol != protocol) {
3130 printk(KERN_DEBUG "%s: protocol not known %x\n",
3131 __func__, protocol);
3132 hc->chan[ch].protocol = ISDN_P_NONE;
3135 hc->chan[ch].protocol = protocol;
3150 mode_hfcmulti(hc, ch, hc->chan[ch].protocol, -1, 0, -1, 0);
3155 mode_hfcmulti(hc, ch, hc->chan[ch].protocol, slot_tx, bank_tx,
3170 mode_hfcmulti(hc, ch, hc->chan[ch].protocol, hc->chan[ch].slot_tx,
3324 if (dch->dev.D.protocol != ISDN_P_TE_S0) {
3358 if (dch->dev.D.protocol != ISDN_P_TE_S0) {
3460 ch->protocol,
3466 if (ch->protocol == ISDN_P_B_RAW && !hc->dtmf
3669 ch->protocol = ISDN_P_NONE;
3705 if (dch->dev.D.protocol == ISDN_P_TE_E1) {
3743 if (dch->dev.D.protocol == ISDN_P_TE_S0) {
3838 mode_hfcmulti(hc, dch->slot, dch->dev.D.protocol,
3879 if (dch->dev.D.protocol == ISDN_P_NT_E1) {
3945 mode_hfcmulti(hc, i, dch->dev.D.protocol, -1, 0, -1, 0);
3959 if (dch->dev.D.protocol == ISDN_P_NT_S0) {
3988 if ((dch->dev.D.protocol == ISDN_P_NT_S0) ||
4024 if (rq->protocol == ISDN_P_NONE)
4026 if ((dch->dev.D.protocol != ISDN_P_NONE) &&
4027 (dch->dev.D.protocol != rq->protocol)) {
4029 printk(KERN_DEBUG "%s: change protocol %x to %x\n",
4030 __func__, dch->dev.D.protocol, rq->protocol);
4032 if ((dch->dev.D.protocol == ISDN_P_TE_S0) &&
4033 (rq->protocol != ISDN_P_TE_S0))
4035 if (dch->dev.D.protocol != rq->protocol) {
4036 if (rq->protocol == ISDN_P_TE_S0) {
4041 dch->dev.D.protocol = rq->protocol;
4064 if (rq->protocol == ISDN_P_NONE)
4078 bch->ch.protocol = rq->protocol;
4156 switch (rq->protocol) {
4510 if (dch->dev.D.protocol == ISDN_P_TE_S0)
4904 if (dch->dev.D.protocol != ISDN_P_TE_S0) {