Lines Matching refs:rq
1008 open_bchannel(struct w6692_hw *card, struct channel_req *rq) in open_bchannel() argument
1012 if (rq->adr.channel == 0 || rq->adr.channel > 2) in open_bchannel()
1014 if (rq->protocol == ISDN_P_NONE) in open_bchannel()
1016 bch = &card->bc[rq->adr.channel - 1].bch; in open_bchannel()
1019 bch->ch.protocol = rq->protocol; in open_bchannel()
1020 rq->ch = &bch->ch; in open_bchannel()
1179 open_dchannel(struct w6692_hw *card, struct channel_req *rq, void *caller) in open_dchannel() argument
1183 if (rq->protocol != ISDN_P_TE_S0) in open_dchannel()
1185 if (rq->adr.channel == 1) in open_dchannel()
1188 rq->ch = &card->dch.dev.D; in open_dchannel()
1189 rq->ch->protocol = rq->protocol; in open_dchannel()
1191 _queue_data(rq->ch, PH_ACTIVATE_IND, MISDN_ID_ANY, in open_dchannel()
1202 struct channel_req *rq; in w6692_dctrl() local
1208 rq = arg; in w6692_dctrl()
1209 if (rq->protocol == ISDN_P_TE_S0) in w6692_dctrl()
1210 err = open_dchannel(card, rq, __builtin_return_address(0)); in w6692_dctrl()
1212 err = open_bchannel(card, rq); in w6692_dctrl()