Lines Matching refs:eth_proto
562 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys2ethtool_update_supported_port() local
564 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys2ethtool_update_supported_port()
568 } else if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys2ethtool_update_supported_port()
575 } else if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4) in ptys2ethtool_update_supported_port()
587 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port() local
589 if (!eth_proto) /* link down */ in ptys_get_active_port()
590 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port()
592 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys_get_active_port()
598 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_SR) in ptys_get_active_port()
605 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys_get_active_port()
611 if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4) in ptys_get_active_port()
706 u32 eth_proto, in ptys2ethtool_update_link_modes() argument
711 if (eth_proto & MLX4_PROT_MASK(i)) in ptys2ethtool_update_link_modes()
751 u32 eth_proto; in ethtool_get_ptys_link_ksettings() local
782 eth_proto = be32_to_cpu(ptys_reg.eth_proto_cap); in ethtool_get_ptys_link_ksettings()
784 eth_proto, SUPPORTED); in ethtool_get_ptys_link_ksettings()
786 eth_proto = be32_to_cpu(ptys_reg.eth_proto_admin); in ethtool_get_ptys_link_ksettings()
788 eth_proto, ADVERTISED); in ethtool_get_ptys_link_ksettings()
815 eth_proto = be32_to_cpu(ptys_reg.eth_proto_lp_adv); in ethtool_get_ptys_link_ksettings()
820 eth_proto, ADVERTISED); in ethtool_get_ptys_link_ksettings()