Searched refs:ifh_encode_bitfield (Results 1 – 1 of 1) sorted by relevance
/linux-6.14.4/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_netdev.c | 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() [all …]
|