Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/hamradio/
H A D6pack.c795 static int encode_sixpack(unsigned char *tx_buf, unsigned char *tx_buf_raw, in encode_sixpack() argument
802 tx_buf_raw[raw_count++] = SIXP_PRIO_CMD_MASK | SIXP_TX_MASK; in encode_sixpack()
803 tx_buf_raw[raw_count++] = SIXP_SEOF; in encode_sixpack()
815 tx_buf_raw[raw_count++] = (buf[count] & 0x3f); in encode_sixpack()
816 tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x30); in encode_sixpack()
818 tx_buf_raw[raw_count++] |= (buf[count] & 0x0f); in encode_sixpack()
819 tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x3c); in encode_sixpack()
821 tx_buf_raw[raw_count++] |= (buf[count] & 0x03); in encode_sixpack()
822 tx_buf_raw[raw_count++] = (buf[count] >> 2); in encode_sixpack()
827 tx_buf_raw[raw_count++] = SIXP_SEOF; in encode_sixpack()