ptys_reg 486 drivers/infiniband/hw/mlx5/main.c u32 out[MLX5_ST_SZ_DW(ptys_reg)] = {0}; ptys_reg 521 drivers/infiniband/hw/mlx5/main.c eth_prot_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); ptys_reg 551 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct mlx4_ptys_reg *ptys_reg) ptys_reg 553 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); ptys_reg 576 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c static u32 ptys_get_active_port(struct mlx4_ptys_reg *ptys_reg) ptys_reg 578 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); ptys_reg 581 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); ptys_reg 747 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct mlx4_ptys_reg ptys_reg; ptys_reg 751 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c memset(&ptys_reg, 0, sizeof(ptys_reg)); ptys_reg 752 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.local_port = priv->port; ptys_reg 753 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.proto_mask = MLX4_PTYS_EN; ptys_reg 755 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c MLX4_ACCESS_REG_QUERY, &ptys_reg); ptys_reg 762 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.proto_mask); ptys_reg 764 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c be32_to_cpu(ptys_reg.eth_proto_cap)); ptys_reg 766 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c be32_to_cpu(ptys_reg.eth_proto_admin)); ptys_reg 768 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c be32_to_cpu(ptys_reg.eth_proto_oper)); ptys_reg 770 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c be32_to_cpu(ptys_reg.eth_proto_lp_adv)); ptys_reg 777 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c &ptys_reg); ptys_reg 779 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c eth_proto = be32_to_cpu(ptys_reg.eth_proto_cap); ptys_reg 783 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c eth_proto = be32_to_cpu(ptys_reg.eth_proto_admin); ptys_reg 799 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c link_ksettings->base.port = ptys_get_active_port(&ptys_reg); ptys_reg 812 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c eth_proto = be32_to_cpu(ptys_reg.eth_proto_lp_adv); ptys_reg 918 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct mlx4_ptys_reg ptys_reg; ptys_reg 939 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c memset(&ptys_reg, 0, sizeof(ptys_reg)); ptys_reg 940 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.local_port = priv->port; ptys_reg 941 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.proto_mask = MLX4_PTYS_EN; ptys_reg 943 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c MLX4_ACCESS_REG_QUERY, &ptys_reg); ptys_reg 950 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c cur_autoneg = ptys_reg.flags & MLX4_PTYS_AN_DISABLE_ADMIN ? ptys_reg 955 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.eth_proto_cap); ptys_reg 959 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c (ptys_reg.flags & MLX4_PTYS_AN_DISABLE_CAP)) ptys_reg 960 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.flags |= MLX4_PTYS_AN_DISABLE_ADMIN; ptys_reg 963 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.flags &= ~MLX4_PTYS_AN_DISABLE_ADMIN; ptys_reg 966 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c proto_admin &= ptys_reg.eth_proto_cap; ptys_reg 972 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if ((proto_admin == ptys_reg.eth_proto_admin) && ptys_reg 973 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ((ptys_reg.flags & MLX4_PTYS_AN_DISABLE_CAP) && ptys_reg 980 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.eth_proto_admin = proto_admin; ptys_reg 982 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c &ptys_reg); ptys_reg 985 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c be32_to_cpu(ptys_reg.eth_proto_admin), ret); ptys_reg 2983 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_ptys_reg *ptys_reg) ptys_reg 2986 drivers/net/ethernet/mellanox/mlx4/fw.c method, sizeof(*ptys_reg), ptys_reg); ptys_reg 3005 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_ptys_reg *ptys_reg = ptys_reg 3008 drivers/net/ethernet/mellanox/mlx4/fw.c ptys_reg->local_port = ptys_reg 3010 drivers/net/ethernet/mellanox/mlx4/fw.c ptys_reg->local_port); ptys_reg 95 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 out[MLX5_ST_SZ_DW(ptys_reg)]; ptys_reg 105 drivers/net/ethernet/mellanox/mlx5/core/en/port.c eproto->cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, ptys_reg 107 drivers/net/ethernet/mellanox/mlx5/core/en/port.c eproto->admin = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_admin); ptys_reg 108 drivers/net/ethernet/mellanox/mlx5/core/en/port.c eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); ptys_reg 115 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 out[MLX5_ST_SZ_DW(ptys_reg)]; ptys_reg 124 drivers/net/ethernet/mellanox/mlx5/core/en/port.c *an_status = MLX5_GET(ptys_reg, out, an_status); ptys_reg 125 drivers/net/ethernet/mellanox/mlx5/core/en/port.c *an_disable_cap = MLX5_GET(ptys_reg, out, an_disable_cap); ptys_reg 126 drivers/net/ethernet/mellanox/mlx5/core/en/port.c *an_disable_admin = MLX5_GET(ptys_reg, out, an_disable_admin); ptys_reg 132 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 out[MLX5_ST_SZ_DW(ptys_reg)]; ptys_reg 133 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 in[MLX5_ST_SZ_DW(ptys_reg)]; ptys_reg 145 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, local_port, 1); ptys_reg 146 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, an_disable_admin, an_disable); ptys_reg 147 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, proto_mask, MLX5_PTYS_EN); ptys_reg 149 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, ext_eth_proto_admin, proto_admin); ptys_reg 151 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, eth_proto_admin, proto_admin); ptys_reg 883 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c u32 out[MLX5_ST_SZ_DW(ptys_reg)] = {0}; ptys_reg 904 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c eth_proto_cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, ptys_reg 906 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c eth_proto_admin = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, ptys_reg 916 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c eth_proto_admin = MLX5_GET_ETH_PROTO(ptys_reg, out, false, ptys_reg 921 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, ptys_reg 923 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c eth_proto_lp = MLX5_GET(ptys_reg, out, eth_proto_lp_advertise); ptys_reg 924 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c an_disable_admin = MLX5_GET(ptys_reg, out, an_disable_admin); ptys_reg 925 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c an_status = MLX5_GET(ptys_reg, out, an_status); ptys_reg 926 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c connector_type = MLX5_GET(ptys_reg, out, connector_type); ptys_reg 182 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c u32 out[MLX5_ST_SZ_DW(ptys_reg)] = {0}; ptys_reg 189 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c *ib_link_width_oper = MLX5_GET(ptys_reg, out, ib_link_width_oper); ptys_reg 190 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c *ib_proto_oper = MLX5_GET(ptys_reg, out, ib_proto_oper); ptys_reg 137 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(ptys_reg)] = {0}; ptys_reg 139 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(ptys_reg, in, local_port, local_port); ptys_reg 140 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(ptys_reg, in, proto_mask, proto_mask); ptys_reg 160 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 out[MLX5_ST_SZ_DW(ptys_reg)]; ptys_reg 167 drivers/net/ethernet/mellanox/mlx5/core/port.c *link_width_oper = MLX5_GET(ptys_reg, out, ib_link_width_oper); ptys_reg 176 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 out[MLX5_ST_SZ_DW(ptys_reg)]; ptys_reg 184 drivers/net/ethernet/mellanox/mlx5/core/port.c *proto_oper = MLX5_GET(ptys_reg, out, ib_proto_oper); ptys_reg 1591 include/linux/mlx4/device.h struct mlx4_ptys_reg *ptys_reg); ptys_reg 9480 include/linux/mlx5/mlx5_ifc.h struct mlx5_ifc_ptys_reg_bits ptys_reg;