Searched refs:ifh_hdr (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_netdev.c | 31 u8 *ifh_hdr = ifh; in __ifh_encode_bitfield() local 40 ifh_hdr[byte] |= (u8)((encode & 0xFF)); in __ifh_encode_bitfield() 43 ifh_hdr[byte - 1] |= (u8)((encode & 0xFF00) >> 8); in __ifh_encode_bitfield() 46 ifh_hdr[byte - 2] |= (u8)((encode & 0xFF0000) >> 16); in __ifh_encode_bitfield() 49 ifh_hdr[byte - 3] |= (u8)((encode & 0xFF000000) >> 24); in __ifh_encode_bitfield() 52 ifh_hdr[byte - 4] |= (u8)((encode & 0xFF00000000) >> 32); in __ifh_encode_bitfield() 55 ifh_hdr[byte - 5] |= (u8)((encode & 0xFF0000000000) >> 40); in __ifh_encode_bitfield() 58 void sparx5_set_port_ifh(void *ifh_hdr, u16 portno) in sparx5_set_port_ifh() argument 61 ifh_encode_bitfield(ifh_hdr, 1, VSTAX + 79, 1); in sparx5_set_port_ifh() 63 ifh_encode_bitfield(ifh_hdr, 1, VSTAX + 55, 1); in sparx5_set_port_ifh() [all …]
|
H A D | sparx5_main.h | 374 void sparx5_set_port_ifh_timestamp(void *ifh_hdr, u64 timestamp); 375 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op); 376 void sparx5_set_port_ifh_pdu_type(void *ifh_hdr, u32 pdu_type); 377 void sparx5_set_port_ifh_pdu_w16_offset(void *ifh_hdr, u32 pdu_w16_offset); 378 void sparx5_set_port_ifh(void *ifh_hdr, u16 portno);
|