Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/hamradio/
D6pack.c829 static int encode_sixpack(unsigned char *tx_buf, unsigned char *tx_buf_raw, in encode_sixpack() argument
836 tx_buf_raw[raw_count++] = SIXP_PRIO_CMD_MASK | SIXP_TX_MASK; in encode_sixpack()
837 tx_buf_raw[raw_count++] = SIXP_SEOF; in encode_sixpack()
849 tx_buf_raw[raw_count++] = (buf[count] & 0x3f); in encode_sixpack()
850 tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x30); in encode_sixpack()
852 tx_buf_raw[raw_count++] |= (buf[count] & 0x0f); in encode_sixpack()
853 tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x3c); in encode_sixpack()
855 tx_buf_raw[raw_count++] |= (buf[count] & 0x03); in encode_sixpack()
856 tx_buf_raw[raw_count++] = (buf[count] >> 2); in encode_sixpack()
861 tx_buf_raw[raw_count++] = SIXP_SEOF; in encode_sixpack()