Searched refs:ifh_encode_bitfield (Results 1 – 1 of 1) sorted by relevance
| /drivers/net/ethernet/microchip/sparx5/ |
| A 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() 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() [all …]
|
Completed in 6 milliseconds