Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h97 u32 byte2_location; member
618 u32 byte2_location; member
H A Dmacsec_api.c908 packed_record[5] |= (rec->byte2_location & 0x3F) << 3; in set_ingress_postclass_record()
1012 rec->byte2_location = (packed_record[5] >> 3) & 0x3F; in get_ingress_postclass_record()
1306 packed_record[20] |= (rec->byte2_location & 0x1) << 15; in set_egress_class_record()
1307 packed_record[21] = (rec->byte2_location >> 1) & 0x1F; in set_egress_class_record()
1457 rec->byte2_location = (packed_record[20] >> 15) & 0x1; in get_egress_class_record()
1458 rec->byte2_location |= (packed_record[21] & 0x1F) << 1; in get_egress_class_record()