Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/hamradio/
H A D6pack.c785 static int encode_sixpack(unsigned char *tx_buf, unsigned char *tx_buf_raw, in encode_sixpack() argument
792 tx_buf_raw[raw_count++] = SIXP_PRIO_CMD_MASK | SIXP_TX_MASK; in encode_sixpack()
793 tx_buf_raw[raw_count++] = SIXP_SEOF; in encode_sixpack()
805 tx_buf_raw[raw_count++] = (buf[count] & 0x3f); in encode_sixpack()
806 tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x30); in encode_sixpack()
808 tx_buf_raw[raw_count++] |= (buf[count] & 0x0f); in encode_sixpack()
809 tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x3c); in encode_sixpack()
811 tx_buf_raw[raw_count++] |= (buf[count] & 0x03); in encode_sixpack()
812 tx_buf_raw[raw_count++] = (buf[count] >> 2); in encode_sixpack()
817 tx_buf_raw[raw_count++] = SIXP_SEOF; in encode_sixpack()