Searched refs:MsgLen (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/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 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 …]
|
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 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 …]
|
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 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 …]
|
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 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-4.19.296/drivers/isdn/hysdn/ |
D | hycapi.c | 521 __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()
|