Lines Matching refs:msgbuf
524 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx()
526 cidx = CAPIMSG_CONTROLLER(card->msgbuf)-card->cardnr; in c4_handle_rx()
531 memset(card->msgbuf + MsgLen, 0, 30 - MsgLen); in c4_handle_rx()
533 CAPIMSG_SETLEN(card->msgbuf, 30); 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()
549 cidx = CAPIMSG_CONTROLLER(card->msgbuf)-card->cardnr; in c4_handle_rx()
558 memcpy(skb_put(skb, MsgLen), card->msgbuf, MsgLen); in c4_handle_rx()
633 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx()
634 card->msgbuf[MsgLen] = 0; in c4_handle_rx()
636 && (card->msgbuf[MsgLen - 1] == '\n' in c4_handle_rx()
637 || card->msgbuf[MsgLen - 1] == '\r')) { in c4_handle_rx()
638 card->msgbuf[MsgLen - 1] = 0; in c4_handle_rx()
642 card->name, ApplId, card->msgbuf); in c4_handle_rx()
646 MsgLen = _get_slice(&p, card->msgbuf); in c4_handle_rx()
647 card->msgbuf[MsgLen] = 0; in c4_handle_rx()
649 && (card->msgbuf[MsgLen - 1] == '\n' in c4_handle_rx()
650 || card->msgbuf[MsgLen - 1] == '\r')) { in c4_handle_rx()
651 card->msgbuf[MsgLen - 1] = 0; in c4_handle_rx()
654 printk(KERN_INFO "%s: DEBUG: %s\n", card->name, card->msgbuf); in c4_handle_rx()