Searched refs:cmsg (Results 1 – 7 of 7) sorted by relevance
/drivers/isdn/capi/ |
D | capiutil.c | 229 #define TYP (cdef[cmsg->par[cmsg->p]].typ) 230 #define OFF (((u8 *)cmsg) + cdef[cmsg->par[cmsg->p]].off) 232 static void jumpcstruct(_cmsg *cmsg) in jumpcstruct() argument 235 for (cmsg->p++, layer = 1; layer;) { in jumpcstruct() 237 cmsg->p++; in jumpcstruct() 249 static void pars_2_message(_cmsg *cmsg) in pars_2_message() argument 252 for (; TYP != _CEND; cmsg->p++) { in pars_2_message() 255 byteTLcpy(cmsg->m + cmsg->l, OFF); in pars_2_message() 256 cmsg->l++; in pars_2_message() 259 wordTLcpy(cmsg->m + cmsg->l, OFF); in pars_2_message() [all …]
|
D | capidrv.c | 504 static void send_message(capidrv_contr *card, _cmsg *cmsg) in send_message() argument 509 if (capi_cmsg2message(cmsg, cmsg->buf)) { in send_message() 513 len = CAPIMSG_LEN(cmsg->buf); in send_message() 519 memcpy(skb_put(skb, len), cmsg->buf, len); in send_message() 661 static _cmsg cmsg; variable 667 capi_fill_DISCONNECT_REQ(&cmsg, in n0() 677 send_message(card, &cmsg); in n0() 965 static void handle_controller(_cmsg *cmsg) in handle_controller() argument 967 capidrv_contr *card = findcontrbynumber(cmsg->adr.adrController & 0x7f); in handle_controller() 971 capi_cmd2str(cmsg->Command, cmsg->Subcommand), in handle_controller() [all …]
|
/drivers/isdn/gigaset/ |
D | capi.c | 1148 _cmsg *cmsg = &iif->acmsg; in do_facility_req() local 1156 if (capi_message2cmsg(cmsg, skb->data)) { in do_facility_req() 1161 dump_cmsg(DEBUG_CMD, __func__, cmsg); in do_facility_req() 1167 switch (cmsg->FacilitySelector) { in do_facility_req() 1184 pparam = cmsg->FacilityRequestParameter; in do_facility_req() 1260 capi_cmsg_answer(cmsg); in do_facility_req() 1261 cmsg->Info = info; in do_facility_req() 1262 cmsg->FacilityConfirmationParameter = confparam; in do_facility_req() 1269 if (capi_cmsg2message(cmsg, __skb_put(cskb, msgsize))) { in do_facility_req() 1274 dump_cmsg(DEBUG_CMD, __func__, cmsg); in do_facility_req() [all …]
|
/drivers/isdn/i4l/ |
D | isdn_tty.c | 779 cmd.parm.cmsg.Length = l + 18; in isdn_tty_suspend() 780 cmd.parm.cmsg.Command = CAPI_FACILITY; in isdn_tty_suspend() 781 cmd.parm.cmsg.Subcommand = CAPI_REQ; in isdn_tty_suspend() 782 cmd.parm.cmsg.adr.Controller = info->isdn_driver + 1; in isdn_tty_suspend() 783 cmd.parm.cmsg.para[0] = 3; /* 16 bit 0x0003 suplementary service */ in isdn_tty_suspend() 784 cmd.parm.cmsg.para[1] = 0; in isdn_tty_suspend() 785 cmd.parm.cmsg.para[2] = l + 3; in isdn_tty_suspend() 786 cmd.parm.cmsg.para[3] = 4; /* 16 bit 0x0004 Suspend */ in isdn_tty_suspend() 787 cmd.parm.cmsg.para[4] = 0; in isdn_tty_suspend() 788 cmd.parm.cmsg.para[5] = l; in isdn_tty_suspend() [all …]
|
D | isdn_common.c | 715 return (isdn_capi_rec_hl_msg(&c->parm.cmsg)); in isdn_status_callback()
|
/drivers/hsi/clients/ |
D | ssi_protocol.c | 880 struct hsi_msg *cmsg; in ssip_tx_data_complete() local 891 cmsg = ssip_claim_cmd(ssi); in ssip_tx_data_complete() 892 ssip_set_cmd(cmsg, SSIP_SWBREAK_CMD); in ssip_tx_data_complete() 893 cmsg->complete = ssip_swbreak_complete; in ssip_tx_data_complete() 895 hsi_async_write(cl, cmsg); in ssip_tx_data_complete()
|
/drivers/isdn/hisax/ |
D | callc.c | 1567 capi_debug(chanp, &ic->parm.cmsg); in HiSax_command() 1568 if (ic->parm.cmsg.Length < 8) in HiSax_command() 1570 switch (ic->parm.cmsg.Command) { in HiSax_command() 1572 if (ic->parm.cmsg.Subcommand == CAPI_REQ) in HiSax_command() 1573 lli_got_fac_req(chanp, &ic->parm.cmsg); in HiSax_command() 1576 if (ic->parm.cmsg.Subcommand == CAPI_REQ) in HiSax_command() 1577 lli_got_manufacturer(chanp, csta, &ic->parm.cmsg); in HiSax_command()
|