Lines Matching defs:byte
134 /* Set byte of data and its enable bits in tcam sw entry */
136 unsigned int offs, unsigned char byte,
143 pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] |= byte << pos;
147 /* Get byte of data and its enable bits from tcam sw entry */
149 unsigned int offs, unsigned char *byte,
154 *byte = (pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] >> pos) & 0xff;
626 /* Shift ethertype + 2 byte reserved + tag*/
1932 unsigned char byte[2], enable[2];
1946 mvpp2_prs_tcam_data_byte_get(&pe, 2, &byte[0], &enable[0]);
1947 mvpp2_prs_tcam_data_byte_get(&pe, 3, &byte[1], &enable[1]);
1949 rvid = ((byte[0] & 0xf) << 8) + byte[1];