Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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_coun in encode_sixpack()
[all...]
/kernel/linux/linux-6.6/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_coun in encode_sixpack()
[all...]

Completed in 4 milliseconds