Searched refs:mlxsw_core_port (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.c | 47 struct mlxsw_core_port { struct 54 void *mlxsw_core_port_driver_priv(struct mlxsw_core_port *mlxsw_core_port) in mlxsw_core_port_driver_priv() argument 56 return mlxsw_core_port->port_driver_priv; in mlxsw_core_port_driver_priv() 60 static bool mlxsw_core_port_check(struct mlxsw_core_port *mlxsw_core_port) in mlxsw_core_port_check() argument 62 return mlxsw_core_port->port_driver_priv != NULL; in mlxsw_core_port_check() 89 struct mlxsw_core_port *ports; 152 sizeof(struct mlxsw_core_port), GFP_KERNEL); in mlxsw_ports_init() 1265 return container_of(devlink_port, struct mlxsw_core_port, devlink_port); in __dl_port() 1273 struct mlxsw_core_port *mlxsw_core_port = __dl_port(port); in mlxsw_devlink_port_split() local 1279 mlxsw_core_port->local_port, in mlxsw_devlink_port_split() [all …]
|
D | core.h | 30 struct mlxsw_core_port; 254 void *mlxsw_core_port_driver_priv(struct mlxsw_core_port *mlxsw_core_port); 367 int (*sb_port_pool_get)(struct mlxsw_core_port *mlxsw_core_port, 370 int (*sb_port_pool_set)(struct mlxsw_core_port *mlxsw_core_port, 373 int (*sb_tc_pool_bind_get)(struct mlxsw_core_port *mlxsw_core_port, 377 int (*sb_tc_pool_bind_set)(struct mlxsw_core_port *mlxsw_core_port, 386 int (*sb_occ_port_pool_get)(struct mlxsw_core_port *mlxsw_core_port, 389 int (*sb_occ_tc_port_bind_get)(struct mlxsw_core_port *mlxsw_core_port,
|
D | spectrum_buffers.c | 1438 int mlxsw_sp_sb_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_port_pool_get() argument 1443 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_port_pool_get() 1454 int mlxsw_sp_sb_port_pool_set(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_port_pool_set() argument 1459 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_port_pool_set() 1479 int mlxsw_sp_sb_tc_pool_bind_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_tc_pool_bind_get() argument 1485 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_tc_pool_bind_get() 1499 int mlxsw_sp_sb_tc_pool_bind_set(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_tc_pool_bind_set() argument 1506 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_tc_pool_bind_set() 1753 int mlxsw_sp_sb_occ_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_occ_port_pool_get() argument 1758 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_occ_port_pool_get() [all …]
|
D | spectrum.h | 588 int mlxsw_sp_sb_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, 591 int mlxsw_sp_sb_port_pool_set(struct mlxsw_core_port *mlxsw_core_port, 594 int mlxsw_sp_sb_tc_pool_bind_get(struct mlxsw_core_port *mlxsw_core_port, 598 int mlxsw_sp_sb_tc_pool_bind_set(struct mlxsw_core_port *mlxsw_core_port, 607 int mlxsw_sp_sb_occ_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, 610 int mlxsw_sp_sb_occ_tc_port_bind_get(struct mlxsw_core_port *mlxsw_core_port,
|