Lines Matching refs:eth_proto

553 	u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap);  in ptys2ethtool_update_supported_port()  local
555 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys2ethtool_update_supported_port()
559 } else if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys2ethtool_update_supported_port()
566 } else if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4) in ptys2ethtool_update_supported_port()
578 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port() local
580 if (!eth_proto) /* link down */ in ptys_get_active_port()
581 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port()
583 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys_get_active_port()
589 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_SR) in ptys_get_active_port()
596 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys_get_active_port()
602 if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4) in ptys_get_active_port()
699 u32 eth_proto, in ptys2ethtool_update_link_modes() argument
704 if (eth_proto & MLX4_PROT_MASK(i)) in ptys2ethtool_update_link_modes()
748 u32 eth_proto; in ethtool_get_ptys_link_ksettings() local
779 eth_proto = be32_to_cpu(ptys_reg.eth_proto_cap); in ethtool_get_ptys_link_ksettings()
781 eth_proto, SUPPORTED); in ethtool_get_ptys_link_ksettings()
783 eth_proto = be32_to_cpu(ptys_reg.eth_proto_admin); in ethtool_get_ptys_link_ksettings()
785 eth_proto, ADVERTISED); in ethtool_get_ptys_link_ksettings()
812 eth_proto = be32_to_cpu(ptys_reg.eth_proto_lp_adv); in ethtool_get_ptys_link_ksettings()
817 eth_proto, ADVERTISED); in ethtool_get_ptys_link_ksettings()