Home
last modified time | relevance | path

Searched refs:MsgLen (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/staging/isdn/avm/
Dt1isa.c144 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 skb_put_data(skb, 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 skb_put_data(skb, card->msgbuf, MsgLen); in t1isa_interrupt()
[all …]
Db1.c499 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 skb_put_data(skb, 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 skb_put_data(skb, card->msgbuf, MsgLen); in b1_interrupt()
[all …]
Db1dma.c454 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 skb_put_data(skb, 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 skb_put_data(skb, card->msgbuf, MsgLen); in b1dma_handle_rx()
[all …]
Dc4.c510 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 skb_put_data(skb, 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 skb_put_data(skb, card->msgbuf, MsgLen); in c4_handle_rx()
[all …]
/Linux-v5.4/drivers/scsi/pcmcia/
Dnsp_message.c49 data->MsgLen = len; in nsp_message_in()
57 int len = data->MsgLen; in nsp_message_out()
Dnsp_debug.c209 for(i=0; i < data->MsgLen; i++) { in show_message()
Dnsp_cs.c584 int len = min(MSGBUF_SIZE, data->MsgLen); in nsp_xfer()
1224 data->MsgLen = i = 0; in nspintr()
1239 data->MsgLen = i; in nspintr()
1260 if (data->MsgLen >= 5 && in nspintr()
1279 for (i = 0; i < data->MsgLen; i++) { in nspintr()
1287 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x len=%d", tmpSC->SCp.Message, data->MsgLen); in nspintr()
Dnsp_cs.h266 int MsgLen; member
/Linux-v5.4/drivers/staging/isdn/hysdn/
Dhycapi.c521 __u16 MsgLen, info; in hycapi_rx_capipkt() local
536 MsgLen = CAPIMSG_LEN(buf); in hycapi_rx_capipkt()
540 if ((CapiCmd == CAPI_DATA_B3_IND) && (MsgLen < 30)) { in hycapi_rx_capipkt()
541 len2 = len + (30 - MsgLen); in hycapi_rx_capipkt()
547 skb_put_data(skb, buf, MsgLen); in hycapi_rx_capipkt()
549 skb_put_data(skb, buf + MsgLen, len - MsgLen); in hycapi_rx_capipkt()