Searched refs:ifh_hdr (Results 1 – 2 of 2) sorted by relevance
/openbmc/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() 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() 65 ifh_encode_bitfield(ifh_hdr, portno, 29, 8); in sparx5_set_port_ifh() 67 ifh_encode_bitfield(ifh_hdr, 16, 37, 5); in sparx5_set_port_ifh() 69 ifh_encode_bitfield(ifh_hdr, 1, 42, 3); in sparx5_set_port_ifh() 73 ifh_encode_bitfield(ifh_hdr, 124, 57, 7); in sparx5_set_port_ifh() 75 ifh_encode_bitfield(ifh_hdr, 1, 67, 1); in sparx5_set_port_ifh() [all …]
|
H A D | sparx5_main.h | 378 void sparx5_set_port_ifh_timestamp(void *ifh_hdr, u64 timestamp); 379 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op); 380 void sparx5_set_port_ifh_pdu_type(void *ifh_hdr, u32 pdu_type); 381 void sparx5_set_port_ifh_pdu_w16_offset(void *ifh_hdr, u32 pdu_w16_offset); 382 void sparx5_set_port_ifh(void *ifh_hdr, u16 portno);
|