Searched refs:mlxsw_core_max_ports (Results 1 – 12 of 12) sorted by relevance
363 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()
255 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_m->core); in mlxsw_m_ports_create()
822 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()
27 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core);
1416 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()
531 unsigned int module_count = mlxsw_core_max_ports(mlxsw_hwmon->core); in mlxsw_hwmon_module_init()
1262 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()
112 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core) in mlxsw_core_max_ports() function116 EXPORT_SYMBOL(mlxsw_core_max_ports);
975 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) { in mlxsw_sp1_ptp_mtpppc_update()
1256 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_fids_init()
3932 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()
7430 return mlxsw_core_max_ports(mlxsw_sp->core) + 1; in mlxsw_sp_router_port()