Searched refs:mlxsw_core_max_ports (Results 1 – 10 of 10) sorted by relevance
627 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_sb_ports_init()665 int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_sb_ports_fini()1548 local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_sr_occ_query_cb()1567 local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_sr_occ_query_cb()1609 for (; local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_occ_snapshot()1637 if (local_port < mlxsw_core_max_ports(mlxsw_core)) { in mlxsw_sp_sb_occ_snapshot()1674 for (; local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_occ_max_clear()1698 if (local_port < mlxsw_core_max_ports(mlxsw_core)) { in mlxsw_sp_sb_occ_max_clear()
264 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_m->core); in mlxsw_m_ports_create()
1482 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) { in mlxsw_sp_port_smid_full_entry()1490 for_each_set_bit(i, ports_bitmap, mlxsw_core_max_ports(mlxsw_sp->core)) in mlxsw_sp_port_smid_full_entry()1589 num_of_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_mc_write_mdb_entry()1641 BITS_TO_LONGS(mlxsw_core_max_ports(mlxsw_sp->core)); in __mlxsw_sp_mc_alloc()1676 mlxsw_core_max_ports(mlxsw_sp->core))) { in mlxsw_sp_port_remove_from_mid()
29 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core);
1235 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sx->core); i++) in mlxsw_sx_ports_remove()1244 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sx->core); in mlxsw_sx_ports_create()
1731 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) in mlxsw_sp_ports_remove()1741 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_ports_create()1779 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_port_module_info_init()1819 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) in mlxsw_sp_port_module_info_fini()
962 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) { in mlxsw_sp1_ptp_mtpppc_update()
1121 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_fids_init()
121 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core) in mlxsw_core_max_ports() function125 EXPORT_SYMBOL(mlxsw_core_max_ports);
7478 return mlxsw_core_max_ports(mlxsw_sp->core) + 1; in mlxsw_sp_router_port()