Searched refs:ptys_reg (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.c | 113 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_query_eth_proto() 123 eproto->cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, in mlx5_port_query_eth_proto() 125 eproto->admin = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_admin); in mlx5_port_query_eth_proto() 126 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto() 133 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_query_eth_autoneg() 142 *an_status = MLX5_GET(ptys_reg, out, an_status); in mlx5_port_query_eth_autoneg() 143 *an_disable_cap = MLX5_GET(ptys_reg, out, an_disable_cap); in mlx5_port_query_eth_autoneg() 144 *an_disable_admin = MLX5_GET(ptys_reg, out, an_disable_admin); in mlx5_port_query_eth_autoneg() 150 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_set_eth_ptys() 151 u32 in[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_set_eth_ptys() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 551 struct mlx4_ptys_reg *ptys_reg) in ptys2ethtool_update_supported_port() argument 553 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys2ethtool_update_supported_port() 576 static u32 ptys_get_active_port(struct mlx4_ptys_reg *ptys_reg) in ptys_get_active_port() argument 578 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port() 581 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port() 747 struct mlx4_ptys_reg ptys_reg; in ethtool_get_ptys_link_ksettings() local 751 memset(&ptys_reg, 0, sizeof(ptys_reg)); in ethtool_get_ptys_link_ksettings() 752 ptys_reg.local_port = priv->port; in ethtool_get_ptys_link_ksettings() 753 ptys_reg.proto_mask = MLX4_PTYS_EN; in ethtool_get_ptys_link_ksettings() 755 MLX4_ACCESS_REG_QUERY, &ptys_reg); in ethtool_get_ptys_link_ksettings() [all …]
|
D | fw.c | 2986 struct mlx4_ptys_reg *ptys_reg) in mlx4_ACCESS_PTYS_REG() argument 2989 method, sizeof(*ptys_reg), ptys_reg); in mlx4_ACCESS_PTYS_REG() 3008 struct mlx4_ptys_reg *ptys_reg = in mlx4_ACCESS_REG_wrapper() local 3011 ptys_reg->local_port = in mlx4_ACCESS_REG_wrapper() 3013 ptys_reg->local_port); in mlx4_ACCESS_REG_wrapper()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 955 u32 out[MLX5_ST_SZ_DW(ptys_reg)] = {}; in mlx5e_ethtool_get_link_ksettings() 976 ext = !!MLX5_GET_ETH_PROTO(ptys_reg, out, true, eth_proto_capability); in mlx5e_ethtool_get_link_ksettings() 977 eth_proto_cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, in mlx5e_ethtool_get_link_ksettings() 979 eth_proto_admin = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, in mlx5e_ethtool_get_link_ksettings() 989 eth_proto_admin = MLX5_GET_ETH_PROTO(ptys_reg, out, false, in mlx5e_ethtool_get_link_ksettings() 994 eth_proto_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, admin_ext, in mlx5e_ethtool_get_link_ksettings() 996 eth_proto_lp = MLX5_GET(ptys_reg, out, eth_proto_lp_advertise); in mlx5e_ethtool_get_link_ksettings() 997 an_disable_admin = MLX5_GET(ptys_reg, out, an_disable_admin); in mlx5e_ethtool_get_link_ksettings() 998 an_status = MLX5_GET(ptys_reg, out, an_status); in mlx5e_ethtool_get_link_ksettings() 999 connector_type = MLX5_GET(ptys_reg, out, connector_type); in mlx5e_ethtool_get_link_ksettings() [all …]
|
D | port.c | 137 u32 in[MLX5_ST_SZ_DW(ptys_reg)] = {0}; in mlx5_query_port_ptys() 139 MLX5_SET(ptys_reg, in, local_port, local_port); in mlx5_query_port_ptys() 140 MLX5_SET(ptys_reg, in, proto_mask, proto_mask); in mlx5_query_port_ptys() 160 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_query_ib_port_oper() 168 *link_width_oper = MLX5_GET(ptys_reg, out, ib_link_width_oper); in mlx5_query_ib_port_oper() 169 *proto_oper = MLX5_GET(ptys_reg, out, ib_proto_oper); in mlx5_query_ib_port_oper()
|
/drivers/infiniband/hw/mlx5/ |
D | main.c | 475 u32 out[MLX5_ST_SZ_DW(ptys_reg)] = {0}; in mlx5_query_port_roce() 508 ext = !!MLX5_GET_ETH_PROTO(ptys_reg, out, true, eth_proto_capability); in mlx5_query_port_roce() 509 eth_prot_oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_query_port_roce()
|