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, 16, 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, SPX5_PORT_CPU, 46, 7); 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()
80 ifh_encode_bitfield(ifh_hdr, rew_op, VSTAX + 32, 10); in sparx5_set_port_ifh_rew_op()
85 ifh_encode_bitfield(ifh_hdr, pdu_type, 191, 4); in sparx5_set_port_ifh_pdu_type()
90 ifh_encode_bitfield(ifh_hdr, pdu_w16_offset, 195, 6); in sparx5_set_port_ifh_pdu_w16_offset()
95 ifh_encode_bitfield(ifh_hdr, timestamp, 232, 40); in sparx5_set_port_ifh_timestamp()