Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/isdn/avmb1/
Dt1isa.c139 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()
[all …]
Db1.c448 unsigned MsgLen; in b1_handle_interrupt() local
463 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_handle_interrupt()
466 if (MsgLen < 30) { /* not CAPI 64Bit */ in b1_handle_interrupt()
467 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in b1_handle_interrupt()
468 MsgLen = 30; in b1_handle_interrupt()
471 if (!(skb = alloc_skb(DataB3Len + MsgLen, GFP_ATOMIC))) { in b1_handle_interrupt()
475 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1_handle_interrupt()
484 MsgLen = b1_get_slice(card->port, card->msgbuf); in b1_handle_interrupt()
485 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in b1_handle_interrupt()
489 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1_handle_interrupt()
[all …]
Db1dma.c461 __u32 ApplId, MsgLen, DataB3Len, NCCI, WindowSize; in b1dma_handle_rx() local
472 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx()
475 if (MsgLen < 30) { /* not CAPI 64Bit */ in b1dma_handle_rx()
476 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in b1dma_handle_rx()
477 MsgLen = 30; in b1dma_handle_rx()
480 if (!(skb = alloc_skb(DataB3Len+MsgLen, GFP_ATOMIC))) { in b1dma_handle_rx()
484 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1dma_handle_rx()
493 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx()
494 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in b1dma_handle_rx()
498 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1dma_handle_rx()
[all …]
Dc4.c518 __u32 ApplId, MsgLen, DataB3Len, NCCI, WindowSize; in c4_handle_rx() local
532 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx()
538 if (MsgLen < 30) { /* not CAPI 64Bit */ in c4_handle_rx()
539 memset(card->msgbuf+MsgLen, 0, 30-MsgLen); in c4_handle_rx()
540 MsgLen = 30; in c4_handle_rx()
543 if (!(skb = alloc_skb(DataB3Len+MsgLen, GFP_ATOMIC))) { in c4_handle_rx()
547 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in c4_handle_rx()
556 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx()
561 if (!(skb = alloc_skb(MsgLen, GFP_ATOMIC))) { in c4_handle_rx()
565 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in c4_handle_rx()
[all …]
/linux-2.4.37.9/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.c639 int len = MIN(MSGBUF_SIZE, data->MsgLen); in nsp_xfer()
1274 data->MsgLen = i = 0; in nspintr()
1289 data->MsgLen = i; in nspintr()
1310 if (data->MsgLen >= 5 && in nspintr()
1329 for (i = 0; i < data->MsgLen; i++) { in nspintr()
1337 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x len=%d", tmpSC->SCp.Message, data->MsgLen); in nspintr()
Dnsp_cs.h286 int MsgLen; member
/linux-2.4.37.9/drivers/isdn/hysdn/
Dhycapi.c529 __u16 MsgLen, info; in hycapi_rx_capipkt() local
548 MsgLen = CAPIMSG_LEN(buf); in hycapi_rx_capipkt()
552 if((CapiCmd == CAPI_DATA_B3_IND) && (MsgLen < 30)) { in hycapi_rx_capipkt()
553 len2 = len + (30 - MsgLen); in hycapi_rx_capipkt()
559 memcpy(skb_put(skb, MsgLen), buf, MsgLen); in hycapi_rx_capipkt()
561 memcpy(skb_put(skb, len - MsgLen), buf + MsgLen, in hycapi_rx_capipkt()
562 len - MsgLen); in hycapi_rx_capipkt()
/linux-2.4.37.9/drivers/scsi/
Dscsiiom.c813 pSRB->MsgInBuf[pACB->MsgLen++] = DC390_read8 (ScsiFifo); in dc390_MsgIn_0()
817 if (dc390_MsgIn_complete (pSRB->MsgInBuf, pACB->MsgLen)) in dc390_MsgIn_0()
819 DEBUG0 (printk (KERN_INFO "DC390: MsgIn:"); dc390_printMsg (pSRB->MsgInBuf, pACB->MsgLen);) in dc390_MsgIn_0()
871 pACB->MsgLen = 0; in dc390_MsgIn_0()
1191 pACB->MsgLen = 0; in dc390_Disconnect()
Dtmscsim.h232 UCHAR MsgLen; member
Dtmscsim.c2058 pACB->MsgLen = 0; in dc390_initACB()