Lines Matching refs:cp
540 unsigned char *cp; in do_rxpacket() local
553 cp = skb_put(skb, pktlen); in do_rxpacket()
554 *cp++ = 0; /* KISS kludge */ in do_rxpacket()
555 memcpy(cp, bc->hdlcrx.buf, pktlen - 1); in do_rxpacket()
567 unsigned char *cp; in receive() local
582 cp = tmp; in receive()
583 for (; cnt2 > 0; cnt2--, cp++) { in receive()
585 bitstream |= (*cp) << 8; in receive()
587 bitbuf |= (*cp) << 8; in receive()
970 const char *cp; in baycom_setmode() local
984 if ((cp = strstr(modestr,"fclk="))) { in baycom_setmode()
985 bc->cfg.fclk = simple_strtoul(cp+5, NULL, 0); in baycom_setmode()
991 if ((cp = strstr(modestr,"bps="))) { in baycom_setmode()
992 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); in baycom_setmode()
1018 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_ioctl()
1019 hi.data.cp.tx_tail = bc->ch_params.tx_tail; in baycom_ioctl()
1020 hi.data.cp.slottime = bc->ch_params.slottime; in baycom_ioctl()
1021 hi.data.cp.ppersist = bc->ch_params.ppersist; in baycom_ioctl()
1022 hi.data.cp.fulldup = bc->ch_params.fulldup; in baycom_ioctl()
1028 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_ioctl()
1029 bc->ch_params.tx_tail = hi.data.cp.tx_tail; in baycom_ioctl()
1030 bc->ch_params.slottime = hi.data.cp.slottime; in baycom_ioctl()
1031 bc->ch_params.ppersist = hi.data.cp.ppersist; in baycom_ioctl()
1032 bc->ch_params.fulldup = hi.data.cp.fulldup; in baycom_ioctl()