Searched refs:mlxsw_core_port (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.c | 44 struct mlxsw_core_port { struct 50 void *mlxsw_core_port_driver_priv(struct mlxsw_core_port *mlxsw_core_port) in mlxsw_core_port_driver_priv() argument 52 return mlxsw_core_port->port_driver_priv; in mlxsw_core_port_driver_priv() 56 static bool mlxsw_core_port_check(struct mlxsw_core_port *mlxsw_core_port) in mlxsw_core_port_check() argument 58 return mlxsw_core_port->port_driver_priv != NULL; in mlxsw_core_port_check() 81 struct mlxsw_core_port *ports; 100 sizeof(struct mlxsw_core_port), GFP_KERNEL); in mlxsw_ports_init() 804 return container_of(devlink_port, struct mlxsw_core_port, devlink_port); in __dl_port() 812 struct mlxsw_core_port *mlxsw_core_port = __dl_port(devlink_port); in mlxsw_devlink_port_type_set() local 818 mlxsw_core_port->local_port, in mlxsw_devlink_port_type_set() [all …]
|
D | core.h | 22 struct mlxsw_core_port; 173 void *mlxsw_core_port_driver_priv(struct mlxsw_core_port *mlxsw_core_port); 271 int (*sb_port_pool_get)(struct mlxsw_core_port *mlxsw_core_port, 274 int (*sb_port_pool_set)(struct mlxsw_core_port *mlxsw_core_port, 277 int (*sb_tc_pool_bind_get)(struct mlxsw_core_port *mlxsw_core_port, 281 int (*sb_tc_pool_bind_set)(struct mlxsw_core_port *mlxsw_core_port, 290 int (*sb_occ_port_pool_get)(struct mlxsw_core_port *mlxsw_core_port, 293 int (*sb_occ_tc_port_bind_get)(struct mlxsw_core_port *mlxsw_core_port,
|
D | spectrum_buffers.c | 1069 int mlxsw_sp_sb_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_port_pool_get() argument 1074 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_port_pool_get() 1085 int mlxsw_sp_sb_port_pool_set(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_port_pool_set() argument 1090 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_port_pool_set() 1110 int mlxsw_sp_sb_tc_pool_bind_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_tc_pool_bind_get() argument 1116 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_tc_pool_bind_get() 1130 int mlxsw_sp_sb_tc_pool_bind_set(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_tc_pool_bind_set() argument 1137 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_tc_pool_bind_set() 1368 int mlxsw_sp_sb_occ_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_occ_port_pool_get() argument 1373 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_occ_port_pool_get() [all …]
|
D | spectrum.h | 401 int mlxsw_sp_sb_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, 404 int mlxsw_sp_sb_port_pool_set(struct mlxsw_core_port *mlxsw_core_port, 407 int mlxsw_sp_sb_tc_pool_bind_get(struct mlxsw_core_port *mlxsw_core_port, 411 int mlxsw_sp_sb_tc_pool_bind_set(struct mlxsw_core_port *mlxsw_core_port, 420 int mlxsw_sp_sb_occ_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, 423 int mlxsw_sp_sb_occ_tc_port_bind_get(struct mlxsw_core_port *mlxsw_core_port,
|