Lines Matching defs:protocol
849 if (hc->chan[ch].protocol != ISDN_P_B_RAW)
882 if (hc->chan[ch].protocol != ISDN_P_B_RAW)
1671 if (dch->dev.D.protocol == ISDN_P_NT_S0)
1735 if (dch->dev.D.protocol == ISDN_P_NT_S0)
1782 if (dch->dev.D.protocol == ISDN_P_NT_S0)
1969 (hc->chan[ch].protocol == ISDN_P_B_RAW) &&
2204 (hc->chan[ch].protocol == ISDN_P_B_RAW) &&
2592 dch->dev.D.protocol == ISDN_P_TE_S0) {
2601 if (dch->dev.D.protocol == ISDN_P_NT_S0)
2852 * configure B-channel with the given protocol
2859 mode_hfcmulti(struct hfc_multi *hc, int ch, int protocol, int slot_tx,
2874 "%s: card %d channel %d protocol %x slot old=%d new=%d "
2876 __func__, hc->id, ch, protocol, oslot_tx, slot_tx,
2975 switch (protocol) {
3037 if (hc->chan[ch].protocol != protocol) {
3060 if (hc->chan[ch].protocol != protocol) {
3082 if (hc->chan[ch].protocol != protocol) {
3100 if (hc->chan[ch].protocol != protocol) {
3163 printk(KERN_DEBUG "%s: protocol not known %x\n",
3164 __func__, protocol);
3165 hc->chan[ch].protocol = ISDN_P_NONE;
3168 hc->chan[ch].protocol = protocol;
3183 mode_hfcmulti(hc, ch, hc->chan[ch].protocol, -1, 0, -1, 0);
3188 mode_hfcmulti(hc, ch, hc->chan[ch].protocol, slot_tx, bank_tx,
3203 mode_hfcmulti(hc, ch, hc->chan[ch].protocol, hc->chan[ch].slot_tx,
3357 if (dch->dev.D.protocol != ISDN_P_TE_S0) {
3391 if (dch->dev.D.protocol != ISDN_P_TE_S0) {
3493 ch->protocol,
3499 if (ch->protocol == ISDN_P_B_RAW && !hc->dtmf
3702 ch->protocol = ISDN_P_NONE;
3738 if (dch->dev.D.protocol == ISDN_P_TE_E1) {
3776 if (dch->dev.D.protocol == ISDN_P_TE_S0) {
3871 mode_hfcmulti(hc, dch->slot, dch->dev.D.protocol,
3912 if (dch->dev.D.protocol == ISDN_P_NT_E1) {
3978 mode_hfcmulti(hc, i, dch->dev.D.protocol, -1, 0, -1, 0);
3992 if (dch->dev.D.protocol == ISDN_P_NT_S0) {
4021 if ((dch->dev.D.protocol == ISDN_P_NT_S0) ||
4057 if (rq->protocol == ISDN_P_NONE)
4059 if ((dch->dev.D.protocol != ISDN_P_NONE) &&
4060 (dch->dev.D.protocol != rq->protocol)) {
4062 printk(KERN_DEBUG "%s: change protocol %x to %x\n",
4063 __func__, dch->dev.D.protocol, rq->protocol);
4065 if ((dch->dev.D.protocol == ISDN_P_TE_S0) &&
4066 (rq->protocol != ISDN_P_TE_S0))
4068 if (dch->dev.D.protocol != rq->protocol) {
4069 if (rq->protocol == ISDN_P_TE_S0) {
4074 dch->dev.D.protocol = rq->protocol;
4097 if (rq->protocol == ISDN_P_NONE)
4111 bch->ch.protocol = rq->protocol;
4189 switch (rq->protocol) {
4543 if (dch->dev.D.protocol == ISDN_P_TE_S0)
4937 if (dch->dev.D.protocol != ISDN_P_TE_S0) {