/drivers/isdn/hardware/avm/ |
D | t1isa.c | 144 unsigned MsgLen; in t1isa_interrupt() local 161 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1isa_interrupt() 165 if (MsgLen < 30) { /* not CAPI 64Bit */ in t1isa_interrupt() 166 memset(card->msgbuf + MsgLen, 0, 30 - MsgLen); in t1isa_interrupt() 167 MsgLen = 30; in t1isa_interrupt() 170 if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { in t1isa_interrupt() 174 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in t1isa_interrupt() 183 MsgLen = t1_get_slice(card->port, card->msgbuf); in t1isa_interrupt() 184 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in t1isa_interrupt() 189 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in t1isa_interrupt() [all …]
|
D | b1.c | 499 unsigned MsgLen; in b1_interrupt() local 519 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_interrupt() 523 if (MsgLen < 30) { /* not CAPI 64Bit */ in b1_interrupt() 524 memset(card->msgbuf + MsgLen, 0, 30-MsgLen); in b1_interrupt() 525 MsgLen = 30; in b1_interrupt() 528 if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { in b1_interrupt() 532 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1_interrupt() 541 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_interrupt() 542 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in b1_interrupt() 547 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1_interrupt() [all …]
|
D | b1dma.c | 454 u32 ApplId, MsgLen, DataB3Len, NCCI, WindowSize; in b1dma_handle_rx() local 465 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx() 468 if (MsgLen < 30) { /* not CAPI 64Bit */ in b1dma_handle_rx() 469 memset(card->msgbuf + MsgLen, 0, 30 - MsgLen); in b1dma_handle_rx() 470 MsgLen = 30; in b1dma_handle_rx() 473 if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { in b1dma_handle_rx() 477 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1dma_handle_rx() 486 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx() 487 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in b1dma_handle_rx() 491 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1dma_handle_rx() [all …]
|
D | c4.c | 510 u32 ApplId, MsgLen, DataB3Len, NCCI, WindowSize; in c4_handle_rx() local 524 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx() 530 if (MsgLen < 30) { /* not CAPI 64Bit */ in c4_handle_rx() 531 memset(card->msgbuf + MsgLen, 0, 30 - MsgLen); in c4_handle_rx() 532 MsgLen = 30; in c4_handle_rx() 535 if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { in c4_handle_rx() 539 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in c4_handle_rx() 548 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx() 554 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in c4_handle_rx() 558 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in c4_handle_rx() [all …]
|
/drivers/isdn/hysdn/ |
D | hycapi.c | 534 __u16 MsgLen, info; in hycapi_rx_capipkt() local 549 MsgLen = CAPIMSG_LEN(buf); in hycapi_rx_capipkt() 553 if ((CapiCmd == CAPI_DATA_B3_IND) && (MsgLen < 30)) { in hycapi_rx_capipkt() 554 len2 = len + (30 - MsgLen); in hycapi_rx_capipkt() 560 memcpy(skb_put(skb, MsgLen), buf, MsgLen); in hycapi_rx_capipkt() 562 memcpy(skb_put(skb, len - MsgLen), buf + MsgLen, in hycapi_rx_capipkt() 563 len - MsgLen); in hycapi_rx_capipkt()
|
/drivers/scsi/pcmcia/ |
D | nsp_message.c | 49 data->MsgLen = len; in nsp_message_in() 57 int len = data->MsgLen; in nsp_message_out()
|
D | nsp_cs.c | 584 int len = min(MSGBUF_SIZE, data->MsgLen); in nsp_xfer() 1223 data->MsgLen = i = 0; in nspintr() 1238 data->MsgLen = i; in nspintr() 1259 if (data->MsgLen >= 5 && in nspintr() 1278 for (i = 0; i < data->MsgLen; i++) { in nspintr() 1286 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x len=%d", tmpSC->SCp.Message, data->MsgLen); in nspintr()
|
D | nsp_debug.c | 209 for(i=0; i < data->MsgLen; i++) { in show_message()
|
D | nsp_cs.h | 266 int MsgLen; member
|