Lines Matching refs:ifh_encode_bitfield
17 #define ifh_encode_bitfield(ifh, value, pos, _width) \ macro
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, is_sparx5(sparx5) ? 16 : 17, 37, 5); in sparx5_set_port_ifh()
69 ifh_encode_bitfield(ifh_hdr, 1, 42, 3); in sparx5_set_port_ifh()
71 ifh_encode_bitfield(ifh_hdr, sparx5_get_pgid(sparx5, SPX5_PORT_CPU_0), in sparx5_set_port_ifh()
74 ifh_encode_bitfield(ifh_hdr, 124, is_sparx5(sparx5) ? 57 : 56, 7); in sparx5_set_port_ifh()
76 ifh_encode_bitfield(ifh_hdr, 1, is_sparx5(sparx5) ? 67 : 66, 1); in sparx5_set_port_ifh()
81 ifh_encode_bitfield(ifh_hdr, rew_op, VSTAX + 32, 10); in sparx5_set_port_ifh_rew_op()
87 ifh_encode_bitfield(ifh_hdr, pdu_type, is_sparx5(sparx5) ? 191 : 190, in sparx5_set_port_ifh_pdu_type()
94 ifh_encode_bitfield(ifh_hdr, pdu_w16_offset, in sparx5_set_port_ifh_pdu_w16_offset()
101 ifh_encode_bitfield(ifh_hdr, timestamp, 232, in sparx5_set_port_ifh_timestamp()