Home
last modified time | relevance | path

Searched refs:mlxsw_core_max_ports (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c363 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_sb_ports_init()
401 int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_sb_ports_fini()
1205 local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_sr_occ_query_cb()
1224 local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_sr_occ_query_cb()
1266 for (; local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_occ_snapshot()
1294 if (local_port < mlxsw_core_max_ports(mlxsw_core)) { in mlxsw_sp_sb_occ_snapshot()
1331 for (; local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_occ_max_clear()
1355 if (local_port < mlxsw_core_max_ports(mlxsw_core)) { in mlxsw_sp_sb_occ_max_clear()
Dminimal.c255 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_m->core); in mlxsw_m_ports_create()
Dcore_thermal.c822 unsigned int module_count = mlxsw_core_max_ports(core); in mlxsw_thermal_modules_init()
862 unsigned int module_count = mlxsw_core_max_ports(thermal->core); in mlxsw_thermal_modules_fini()
Dcore.h27 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core);
Dspectrum_switchdev.c1416 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) { in mlxsw_sp_port_smid_full_entry()
1424 for_each_set_bit(i, ports_bitmap, mlxsw_core_max_ports(mlxsw_sp->core)) in mlxsw_sp_port_smid_full_entry()
1523 num_of_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_mc_write_mdb_entry()
1575 BITS_TO_LONGS(mlxsw_core_max_ports(mlxsw_sp->core)); in __mlxsw_sp_mc_alloc()
1610 mlxsw_core_max_ports(mlxsw_sp->core))) { in mlxsw_sp_port_remove_from_mid()
Dcore_hwmon.c531 unsigned int module_count = mlxsw_core_max_ports(mlxsw_hwmon->core); in mlxsw_hwmon_module_init()
Dswitchx2.c1262 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sx->core); i++) in mlxsw_sx_ports_remove()
1270 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sx->core); in mlxsw_sx_ports_create()
Dcore.c112 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core) in mlxsw_core_max_ports() function
116 EXPORT_SYMBOL(mlxsw_core_max_ports);
Dspectrum_ptp.c975 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) { in mlxsw_sp1_ptp_mtpppc_update()
Dspectrum_fid.c1256 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_fids_init()
Dspectrum.c3932 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) in mlxsw_sp_ports_remove()
3942 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_ports_create()
Dspectrum_router.c7430 return mlxsw_core_max_ports(mlxsw_sp->core) + 1; in mlxsw_sp_router_port()