Lines Matching refs:msgbuf
465 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx()
469 memset(card->msgbuf + MsgLen, 0, 30 - MsgLen); in b1dma_handle_rx()
471 CAPIMSG_SETLEN(card->msgbuf, 30); 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()
491 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in b1dma_handle_rx()
551 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx()
552 card->msgbuf[MsgLen] = 0; in b1dma_handle_rx()
554 && (card->msgbuf[MsgLen - 1] == '\n' in b1dma_handle_rx()
555 || card->msgbuf[MsgLen - 1] == '\r')) { in b1dma_handle_rx()
556 card->msgbuf[MsgLen - 1] = 0; in b1dma_handle_rx()
560 card->name, ApplId, card->msgbuf); in b1dma_handle_rx()
564 MsgLen = _get_slice(&p, card->msgbuf); in b1dma_handle_rx()
565 card->msgbuf[MsgLen] = 0; in b1dma_handle_rx()
567 && (card->msgbuf[MsgLen - 1] == '\n' in b1dma_handle_rx()
568 || card->msgbuf[MsgLen - 1] == '\r')) { in b1dma_handle_rx()
569 card->msgbuf[MsgLen - 1] = 0; in b1dma_handle_rx()
572 printk(KERN_INFO "%s: DEBUG: %s\n", card->name, card->msgbuf); in b1dma_handle_rx()