Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/isdn/sc/
Dinterrupt.c50 RspMessage rcvmsg; in interrupt_handler() local
66 while (!receivemessage(card, &rcvmsg)) { in interrupt_handler()
72 memcpy(&(adapter[card]->async_msg), &rcvmsg, sizeof(RspMessage)); in interrupt_handler()
74 channel = (unsigned int) rcvmsg.phy_link_no; in interrupt_handler()
79 if(IS_CM_MESSAGE(rcvmsg, 0, 0, Invalid)) { in interrupt_handler()
81 adapter[card]->devicename, rcvmsg.rsp_status); in interrupt_handler()
88 if (IS_CE_MESSAGE(rcvmsg, Lnk, 1, Read)) in interrupt_handler()
92 rcvmsg.msg_data.response.msg_len, in interrupt_handler()
93 rcvmsg.msg_data.response.buff_offset); in interrupt_handler()
94 rcvpkt(card, &rcvmsg); in interrupt_handler()
[all …]
Dioctl.c44 RspMessage rcvmsg; in sc_ioctl() local
62 0, sizeof(srec), srec, &rcvmsg, SAR_TIMEOUT); in sc_ioctl()
90 RspMessage rcvmsg; in sc_ioctl() local
105 0, sizeof(char),&switchtype,&rcvmsg, SAR_TIMEOUT); in sc_ioctl()
106 if(!status && !rcvmsg.rsp_status) { in sc_ioctl()
119 RspMessage rcvmsg; in sc_ioctl() local
129 ceReqCallGetSwitchType, 0, 0, 0, &rcvmsg, SAR_TIMEOUT); in sc_ioctl()
130 if (!status && !rcvmsg.rsp_status) { in sc_ioctl()
139 switchtype = rcvmsg.msg_data.byte_array[0]; in sc_ioctl()
152 RspMessage rcvmsg; in sc_ioctl() local
[all …]
Dpacket.c100 void rcvpkt(int card, RspMessage *rcvmsg) in rcvpkt() argument
110 switch(rcvmsg->rsp_status){ in rcvpkt()
114 pr_debug("%s: error status code: 0x%x\n", adapter[card]->devicename, rcvmsg->rsp_status); in rcvpkt()
117 if (!(skb = dev_alloc_skb(rcvmsg->msg_data.response.msg_len))) { in rcvpkt()
122 skb_put(skb, rcvmsg->msg_data.response.msg_len); in rcvpkt()
124 adapter[card]->devicename,rcvmsg->msg_data.response.buff_offset); in rcvpkt()
126 skb_put(skb, rcvmsg->msg_data.response.msg_len), in rcvpkt()
127 (char *)rcvmsg->msg_data.response.buff_offset, in rcvpkt()
128 rcvmsg->msg_data.response.msg_len); in rcvpkt()
130 rcvmsg->phy_link_no-1, skb); in rcvpkt()
[all …]
Dinit.c471 RspMessage rcvmsg; in identify_board() local
565 memcpy_fromio(&rcvmsg, &(dpm->rsp_queue[dpm->rsp_tail]), MSG_LEN); in identify_board()
566 pr_debug("Got HWConfig response, status = 0x%x\n", rcvmsg.rsp_status); in identify_board()
567 memcpy(&hwci, &(rcvmsg.msg_data.HWCresponse), sizeof(HWConfig_pl)); in identify_board()