Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/hamradio/
D6pack.c794 static int encode_sixpack(unsigned char *tx_buf, unsigned char *tx_buf_raw, in encode_sixpack() argument
801 tx_buf_raw[raw_count++] = SIXP_PRIO_CMD_MASK | SIXP_TX_MASK; in encode_sixpack()
802 tx_buf_raw[raw_count++] = SIXP_SEOF; in encode_sixpack()
814 tx_buf_raw[raw_count++] = (buf[count] & 0x3f); in encode_sixpack()
815 tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x30); in encode_sixpack()
817 tx_buf_raw[raw_count++] |= (buf[count] & 0x0f); in encode_sixpack()
818 tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x3c); in encode_sixpack()
820 tx_buf_raw[raw_count++] |= (buf[count] & 0x03); in encode_sixpack()
821 tx_buf_raw[raw_count++] = (buf[count] >> 2); in encode_sixpack()
826 tx_buf_raw[raw_count++] = SIXP_SEOF; in encode_sixpack()