Searched refs:ifh_hdr (Results 1 – 1 of 1) sorted by relevance
30 u8 *ifh_hdr = ifh; in __ifh_encode_bitfield() local39 ifh_hdr[byte] |= (u8)((encode & 0xFF)); in __ifh_encode_bitfield()42 ifh_hdr[byte - 1] |= (u8)((encode & 0xFF00) >> 8); in __ifh_encode_bitfield()45 ifh_hdr[byte - 2] |= (u8)((encode & 0xFF0000) >> 16); in __ifh_encode_bitfield()48 ifh_hdr[byte - 3] |= (u8)((encode & 0xFF000000) >> 24); in __ifh_encode_bitfield()51 ifh_hdr[byte - 4] |= (u8)((encode & 0xFF00000000) >> 32); in __ifh_encode_bitfield()54 ifh_hdr[byte - 5] |= (u8)((encode & 0xFF0000000000) >> 40); in __ifh_encode_bitfield()57 static void sparx5_set_port_ifh(void *ifh_hdr, u16 portno) in sparx5_set_port_ifh() argument60 ifh_encode_bitfield(ifh_hdr, 1, VSTAX + 79, 1); in sparx5_set_port_ifh()62 ifh_encode_bitfield(ifh_hdr, 1, VSTAX + 55, 1); in sparx5_set_port_ifh()[all …]