Home
last modified time | relevance | path

Searched refs:rcvmsg (Results 1 – 5 of 5) sorted by relevance

/drivers/isdn/sc/
Dinterrupt.c30 RspMessage rcvmsg; in interrupt_handler() local
45 while (!receivemessage(card, &rcvmsg)) { in interrupt_handler()
52 &rcvmsg, sizeof(RspMessage)); in interrupt_handler()
54 channel = (unsigned int) rcvmsg.phy_link_no; in interrupt_handler()
59 if (IS_CM_MESSAGE(rcvmsg, 0, 0, Invalid)) { in interrupt_handler()
62 rcvmsg.rsp_status); in interrupt_handler()
69 if (IS_CE_MESSAGE(rcvmsg, Lnk, 1, Read)) in interrupt_handler()
73 rcvmsg.msg_data.response.msg_len, in interrupt_handler()
74 rcvmsg.msg_data.response.buff_offset); in interrupt_handler()
75 rcvpkt(card, &rcvmsg); in interrupt_handler()
[all …]
Dioctl.c23 RspMessage *rcvmsg; in sc_ioctl() local
29 rcvmsg = kmalloc(sizeof(RspMessage), GFP_KERNEL); in sc_ioctl()
30 if (!rcvmsg) in sc_ioctl()
39 kfree(rcvmsg); in sc_ioctl()
49 kfree(rcvmsg); in sc_ioctl()
57 kfree(rcvmsg); in sc_ioctl()
66 kfree(rcvmsg); in sc_ioctl()
72 0, SCIOC_SRECSIZE, srec, rcvmsg, SAR_TIMEOUT); in sc_ioctl()
73 kfree(rcvmsg); in sc_ioctl()
90 kfree(rcvmsg); in sc_ioctl()
[all …]
Dpacket.c93 void rcvpkt(int card, RspMessage *rcvmsg) in rcvpkt() argument
103 switch (rcvmsg->rsp_status) { in rcvpkt()
108 sc_adapter[card]->devicename, rcvmsg->rsp_status); in rcvpkt()
111 if (!(skb = dev_alloc_skb(rcvmsg->msg_data.response.msg_len))) { in rcvpkt()
116 skb_put(skb, rcvmsg->msg_data.response.msg_len); in rcvpkt()
119 rcvmsg->msg_data.response.buff_offset); in rcvpkt()
121 skb_put(skb, rcvmsg->msg_data.response.msg_len), in rcvpkt()
122 (char *)rcvmsg->msg_data.response.buff_offset, in rcvpkt()
123 rcvmsg->msg_data.response.msg_len); in rcvpkt()
125 rcvmsg->phy_link_no - 1, skb); in rcvpkt()
[all …]
Dinit.c444 RspMessage rcvmsg; in identify_board() local
535 memcpy_fromio(&rcvmsg, &(dpm->rsp_queue[dpm->rsp_tail]), MSG_LEN); in identify_board()
536 pr_debug("Got HWConfig response, status = 0x%x\n", rcvmsg.rsp_status); in identify_board()
537 memcpy(&hwci, &(rcvmsg.msg_data.HWCresponse), sizeof(HWConfig_pl)); in identify_board()
Dcard.h113 void rcvpkt(int card, RspMessage *rcvmsg);