Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c627 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()
Dminimal.c264 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_m->core); in mlxsw_m_ports_create()
Dspectrum_switchdev.c1482 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()
Dcore.h29 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core);
Dswitchx2.c1235 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()
Dspectrum.c1731 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()
Dspectrum_ptp.c962 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) { in mlxsw_sp1_ptp_mtpppc_update()
Dspectrum_fid.c1121 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_fids_init()
Dcore.c121 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core) in mlxsw_core_max_ports() function
125 EXPORT_SYMBOL(mlxsw_core_max_ports);
Dspectrum_router.c7478 return mlxsw_core_max_ports(mlxsw_sp->core) + 1; in mlxsw_sp_router_port()