Lines Matching refs:MsgLen

139 	unsigned MsgLen;  in t1_handle_interrupt()  local
153 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1_handle_interrupt()
156 if (MsgLen < 30) { /* not CAPI 64Bit */ in t1_handle_interrupt()
157 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in t1_handle_interrupt()
158 MsgLen = 30; in t1_handle_interrupt()
161 if (!(skb = alloc_skb(DataB3Len+MsgLen, GFP_ATOMIC))) { in t1_handle_interrupt()
165 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in t1_handle_interrupt()
174 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1_handle_interrupt()
175 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in t1_handle_interrupt()
179 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in t1_handle_interrupt()
226 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1_handle_interrupt()
227 card->msgbuf[MsgLen] = 0; in t1_handle_interrupt()
228 while ( MsgLen > 0 in t1_handle_interrupt()
229 && ( card->msgbuf[MsgLen-1] == '\n' in t1_handle_interrupt()
230 || card->msgbuf[MsgLen-1] == '\r')) { in t1_handle_interrupt()
231 card->msgbuf[MsgLen-1] = 0; in t1_handle_interrupt()
232 MsgLen--; in t1_handle_interrupt()
239 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1_handle_interrupt()
240 card->msgbuf[MsgLen] = 0; in t1_handle_interrupt()
241 while ( MsgLen > 0 in t1_handle_interrupt()
242 && ( card->msgbuf[MsgLen-1] == '\n' in t1_handle_interrupt()
243 || card->msgbuf[MsgLen-1] == '\r')) { in t1_handle_interrupt()
244 card->msgbuf[MsgLen-1] = 0; in t1_handle_interrupt()
245 MsgLen--; in t1_handle_interrupt()