Home
last modified time | relevance | path

Searched refs:ptys_reg (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c106 u32 in[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_query_port_ptys()
109 MLX5_SET(ptys_reg, in, local_port, local_port); in mlx5_query_port_ptys()
110 MLX5_SET(ptys_reg, in, proto_mask, proto_mask); in mlx5_query_port_ptys()
120 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_query_port_proto_cap()
128 *proto_cap = MLX5_GET(ptys_reg, out, eth_proto_capability); in mlx5_query_port_proto_cap()
130 *proto_cap = MLX5_GET(ptys_reg, out, ib_proto_capability); in mlx5_query_port_proto_cap()
139 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_query_port_proto_admin()
147 *proto_admin = MLX5_GET(ptys_reg, out, eth_proto_admin); in mlx5_query_port_proto_admin()
149 *proto_admin = MLX5_GET(ptys_reg, out, ib_proto_admin); in mlx5_query_port_proto_admin()
158 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_query_port_link_width_oper()
[all …]
Den_ethtool.c560 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5e_get_settings()
575 eth_proto_cap = MLX5_GET(ptys_reg, out, eth_proto_capability); in mlx5e_get_settings()
576 eth_proto_admin = MLX5_GET(ptys_reg, out, eth_proto_admin); in mlx5e_get_settings()
577 eth_proto_oper = MLX5_GET(ptys_reg, out, eth_proto_oper); in mlx5e_get_settings()
578 eth_proto_lp = MLX5_GET(ptys_reg, out, eth_proto_lp_advertise); in mlx5e_get_settings()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c521 static u32 ptys_get_supported_port(struct mlx4_ptys_reg *ptys_reg) in ptys_get_supported_port() argument
523 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_supported_port()
551 static u32 ptys_get_active_port(struct mlx4_ptys_reg *ptys_reg) in ptys_get_active_port() argument
553 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port()
556 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port()
732 struct mlx4_ptys_reg ptys_reg; in ethtool_get_ptys_settings() local
736 memset(&ptys_reg, 0, sizeof(ptys_reg)); in ethtool_get_ptys_settings()
737 ptys_reg.local_port = priv->port; in ethtool_get_ptys_settings()
738 ptys_reg.proto_mask = MLX4_PTYS_EN; in ethtool_get_ptys_settings()
740 MLX4_ACCESS_REG_QUERY, &ptys_reg); in ethtool_get_ptys_settings()
[all …]
Dfw.c2755 struct mlx4_ptys_reg *ptys_reg) in mlx4_ACCESS_PTYS_REG() argument
2758 method, sizeof(*ptys_reg), ptys_reg); in mlx4_ACCESS_PTYS_REG()
2777 struct mlx4_ptys_reg *ptys_reg = in mlx4_ACCESS_REG_wrapper() local
2780 ptys_reg->local_port = in mlx4_ACCESS_REG_wrapper()
2782 ptys_reg->local_port); in mlx4_ACCESS_REG_wrapper()
/linux-4.4.14/include/linux/mlx4/
Ddevice.h1525 struct mlx4_ptys_reg *ptys_reg);
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h6783 struct mlx5_ifc_ptys_reg_bits ptys_reg; member