Searched refs:ptys_reg (Results 1 – 3 of 3) sorted by relevance
506 static u32 ptys_get_supported_port(struct mlx4_ptys_reg *ptys_reg) in ptys_get_supported_port() argument508 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_supported_port()536 static u32 ptys_get_active_port(struct mlx4_ptys_reg *ptys_reg) in ptys_get_active_port() argument538 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port()541 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port()717 struct mlx4_ptys_reg ptys_reg; in ethtool_get_ptys_settings() local721 memset(&ptys_reg, 0, sizeof(ptys_reg)); in ethtool_get_ptys_settings()722 ptys_reg.local_port = priv->port; in ethtool_get_ptys_settings()723 ptys_reg.proto_mask = MLX4_PTYS_EN; in ethtool_get_ptys_settings()725 MLX4_ACCESS_REG_QUERY, &ptys_reg); in ethtool_get_ptys_settings()[all …]
2727 struct mlx4_ptys_reg *ptys_reg) in mlx4_ACCESS_PTYS_REG() argument2730 method, sizeof(*ptys_reg), ptys_reg); in mlx4_ACCESS_PTYS_REG()2749 struct mlx4_ptys_reg *ptys_reg = in mlx4_ACCESS_REG_wrapper() local2752 ptys_reg->local_port = in mlx4_ACCESS_REG_wrapper()2754 ptys_reg->local_port); in mlx4_ACCESS_REG_wrapper()
1486 struct mlx4_ptys_reg *ptys_reg);