Lines Matching refs:crq
983 create_teimgr(struct manager *mgr, struct channel_req *crq) in create_teimgr() argument
994 crq->protocol, crq->adr.dev, crq->adr.channel, in create_teimgr()
995 crq->adr.sapi, crq->adr.tei); in create_teimgr()
996 if (crq->adr.tei > GROUP_TEI) in create_teimgr()
998 if (crq->adr.tei < 64) in create_teimgr()
1000 if (crq->adr.tei == 0) in create_teimgr()
1003 if (crq->protocol == ISDN_P_LAPD_TE) in create_teimgr()
1005 if ((crq->adr.tei != 0) && (crq->adr.tei != 127)) in create_teimgr()
1014 if (crq->protocol == ISDN_P_LAPD_NT) in create_teimgr()
1016 if ((crq->adr.tei >= 64) && (crq->adr.tei < GROUP_TEI)) in create_teimgr()
1019 if (crq->protocol == ISDN_P_LAPD_NT) in create_teimgr()
1021 if (crq->protocol == ISDN_P_LAPD_TE) in create_teimgr()
1024 l1rq.adr = crq->adr; in create_teimgr()
1028 if ((crq->protocol == ISDN_P_LAPD_NT) && (crq->adr.tei == 127)) { in create_teimgr()
1029 mgr->up = crq->ch; in create_teimgr()
1034 crq->ch = NULL; in create_teimgr()
1045 l2 = create_l2(crq->ch, crq->protocol, opt, in create_teimgr()
1046 crq->adr.tei, crq->adr.sapi); in create_teimgr()
1060 if (crq->protocol == ISDN_P_LAPD_TE) { in create_teimgr()
1085 crq->ch = &l2->ch; in create_teimgr()