Searched refs:ifh_hdr (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/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() 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() 69 ifh_encode_bitfield(ifh_hdr, 1, 42, 3); in sparx5_set_port_ifh() 81 ifh_encode_bitfield(ifh_hdr, rew_op, VSTAX + 32, 10); in sparx5_set_port_ifh_rew_op() 94 ifh_encode_bitfield(ifh_hdr, pdu_w16_offset, in sparx5_set_port_ifh_pdu_w16_offset() [all …]
|
| H A D | sparx5_main.h | 530 void sparx5_set_port_ifh_timestamp(struct sparx5 *sparx5, void *ifh_hdr, 532 void sparx5_set_port_ifh_rew_op(void *ifh_hdr, u32 rew_op); 533 void sparx5_set_port_ifh_pdu_type(struct sparx5 *sparx5, void *ifh_hdr, 535 void sparx5_set_port_ifh_pdu_w16_offset(struct sparx5 *sparx5, void *ifh_hdr, 537 void sparx5_set_port_ifh(struct sparx5 *sparx5, void *ifh_hdr, u16 portno);
|