• Home
  • Raw
  • Download

Lines Matching refs:ics

23 	isdn_ctrl ics; /* delivered setup + driver parameters */  member
69 cs->ics.command = ISDN_CMD_HANGUP; /* cancel action */ in deflect_timer_expire()
70 divert_if.ll_cmd(&cs->ics); in deflect_timer_expire()
79 cs->ics.command = ISDN_CMD_REDIR; /* protocol */ in deflect_timer_expire()
80 strlcpy(cs->ics.parm.setup.phone, cs->deflect_dest, sizeof(cs->ics.parm.setup.phone)); in deflect_timer_expire()
81 strcpy(cs->ics.parm.setup.eazmsn, "Testtext delayed"); in deflect_timer_expire()
82 divert_if.ll_cmd(&cs->ics); in deflect_timer_expire()
164 cs->ics.driver = drvid; in cf_command()
165 cs->ics.command = ISDN_CMD_PROT_IO; /* protocol specific io */ in cf_command()
166 cs->ics.arg = DSS1_CMD_INVOKE; /* invoke supplementary service */ in cf_command()
167 cs->ics.parm.dss1_io.proc = (mode == 1) ? 7 : (mode == 2) ? 11 : 8; /* operation */ in cf_command()
168 cs->ics.parm.dss1_io.timeout = 4000; /* from ETS 300 207-1 */ in cf_command()
169 cs->ics.parm.dss1_io.datalen = p - tmp; /* total len */ in cf_command()
170 cs->ics.parm.dss1_io.data = tmp; /* start of buffer */ in cf_command()
173 cs->ics.parm.dss1_io.ll_id = next_id++; /* id for callback */ in cf_command()
175 *procid = cs->ics.parm.dss1_io.ll_id; in cf_command()
179 cs->ics.parm.dss1_io.ll_id, in cf_command()
181 divert_if.drv_to_name(cs->ics.driver), in cf_command()
188 retval = divert_if.ll_cmd(&cs->ics); /* execute command */ in cf_command()
220 ic.driver = cs->ics.driver; in deflect_extern_action()
221 ic.arg = cs->ics.arg; in deflect_extern_action()
253 strlcpy(cs->ics.parm.setup.phone, to_nr, sizeof(cs->ics.parm.setup.phone)); in deflect_extern_action()
254 strcpy(cs->ics.parm.setup.eazmsn, "Testtext manual"); in deflect_extern_action()
460 cs->ics = *ic; /* copy incoming data */ in isdn_divert_icall()
461 if (!cs->ics.parm.setup.phone[0]) strcpy(cs->ics.parm.setup.phone, "0"); in isdn_divert_icall()
462 if (!cs->ics.parm.setup.eazmsn[0]) strcpy(cs->ics.parm.setup.eazmsn, "0"); in isdn_divert_icall()
463 cs->ics.parm.setup.screen = dv->rule.screen; in isdn_divert_icall()
494 divert_if.drv_to_name(cs->ics.driver), in isdn_divert_icall()
496 cs->ics.parm.setup.phone, in isdn_divert_icall()
497 cs->ics.parm.setup.eazmsn, in isdn_divert_icall()
498 cs->ics.parm.setup.si1, in isdn_divert_icall()
499 cs->ics.parm.setup.si2, in isdn_divert_icall()
500 cs->ics.parm.setup.screen, in isdn_divert_icall()
691 if (ic->driver == cs->ics.driver) { in prot_stat_callback()
692 switch (cs->ics.arg) { in prot_stat_callback()
694 if ((cs->ics.parm.dss1_io.ll_id == ic->parm.dss1_io.ll_id) && in prot_stat_callback()
695 (cs->ics.parm.dss1_io.hl_id == ic->parm.dss1_io.hl_id)) { in prot_stat_callback()
705 switch (cs->ics.parm.dss1_io.proc) { in prot_stat_callback()
720 printk(KERN_WARNING "dss1_divert: unknown proc %d\n", cs->ics.parm.dss1_io.proc); in prot_stat_callback()
741 printk(KERN_WARNING "dss1_divert unknown cmd 0x%lx\n", cs->ics.arg); in prot_stat_callback()
753 if (cs1->ics.driver == -1) { in prot_stat_callback()
782 if ((ic->driver == cs->ics.driver) && in isdn_divert_stat_callback()
783 (ic->arg == cs->ics.arg)) { in isdn_divert_stat_callback()
788 cs->ics.driver = -1; in isdn_divert_stat_callback()
798 cs->ics.driver = -1; in isdn_divert_stat_callback()
810 if (cs1->ics.driver == -1) { in isdn_divert_stat_callback()