Lines Matching refs:cntrl
195 static int command_from_LL(isdn_ctrl *cntrl) in command_from_LL() argument
206 cntrl->driver, cntrl->command, cntrl->arg); in command_from_LL()
208 cs = gigaset_get_cs_by_id(cntrl->driver); in command_from_LL()
210 pr_err("%s: invalid driver ID (%d)\n", __func__, cntrl->driver); in command_from_LL()
213 ch = cntrl->arg & 0xff; in command_from_LL()
215 switch (cntrl->command) { in command_from_LL()
223 cntrl->parm.setup.phone, cntrl->parm.setup.eazmsn, in command_from_LL()
224 cntrl->parm.setup.si1, cntrl->parm.setup.si2); in command_from_LL()
253 l = 3 + strlen(cntrl->parm.setup.phone); in command_from_LL()
257 if (cntrl->parm.setup.phone[0] == '*' && in command_from_LL()
258 cntrl->parm.setup.phone[1] == '*') { in command_from_LL()
264 "D%s\r", cntrl->parm.setup.phone + 2); in command_from_LL()
270 "D%s\r", cntrl->parm.setup.phone); in command_from_LL()
273 l = strlen(cntrl->parm.setup.eazmsn); in command_from_LL()
280 cntrl->parm.setup.eazmsn); in command_from_LL()
283 switch (cntrl->parm.setup.si1) { in command_from_LL()
362 cntrl->parm.num); in command_from_LL()
376 switch (cntrl->arg >> 8) { in command_from_LL()
388 cntrl->arg >> 8); in command_from_LL()
400 if (cntrl->arg >> 8 != ISDN_PROTO_L3_TRANS) { in command_from_LL()
403 cntrl->arg >> 8); in command_from_LL()
411 cntrl->command); in command_from_LL()