Lines Matching refs:rq
908 open_bchannel(struct fritzcard *fc, struct channel_req *rq) in open_bchannel() argument
912 if (rq->adr.channel == 0 || rq->adr.channel > 2) in open_bchannel()
914 if (rq->protocol == ISDN_P_NONE) in open_bchannel()
916 bch = &fc->bch[rq->adr.channel - 1]; in open_bchannel()
919 bch->ch.protocol = rq->protocol; in open_bchannel()
920 rq->ch = &bch->ch; in open_bchannel()
933 struct channel_req *rq; in avm_dctrl() local
939 rq = arg; in avm_dctrl()
940 if (rq->protocol == ISDN_P_TE_S0) in avm_dctrl()
941 err = fc->isac.open(&fc->isac, rq); in avm_dctrl()
943 err = open_bchannel(fc, rq); in avm_dctrl()