Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c646 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_sb_ports_init()
684 int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_sb_ports_fini()
1578 local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_sr_occ_query_cb()
1597 local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_sr_occ_query_cb()
1643 for (; local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_occ_snapshot()
1678 if (local_port < mlxsw_core_max_ports(mlxsw_core)) { in mlxsw_sp_sb_occ_snapshot()
1721 for (; local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { in mlxsw_sp_sb_occ_max_clear()
1752 if (local_port < mlxsw_core_max_ports(mlxsw_core)) { in mlxsw_sp_sb_occ_max_clear()
Dminimal.c337 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_m->core); in mlxsw_m_port_module_map()
378 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_m->core); in mlxsw_m_linecards_init()
518 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_m->core); in mlxsw_m_ports_module_map()
Dspectrum_fid.c403 max_ports = mlxsw_core_max_ports(core); in mlxsw_sp_fid_rfid_pgt_size_cff()
571 u16 max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_fid_rfid_fid_offset_cff()
805 num_port_pages = mlxsw_core_max_ports(mlxsw_sp->core) / in mlxsw_sp_fid_erif_eport_to_vid_map()
2294 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_fids_init()
Dspectrum.h400 unsigned int nbits = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_port_bitmap_init()
523 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_local_port_is_valid()
Dcore.h36 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core);
Dspectrum.c2061 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_ports_remove()
2083 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_core); in mlxsw_sp_ports_remove_selected()
2093 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_ports_create()
2149 unsigned int max_ports = mlxsw_core_max_ports(mlxsw_sp->core); in mlxsw_sp_port_module_info_init()
Dcore.c184 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core) in mlxsw_core_max_ports() function
188 EXPORT_SYMBOL(mlxsw_core_max_ports);
Dspectrum_ptp.c1167 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) { in mlxsw_sp1_ptp_mtpppc_update()
Dspectrum_trap.c227 if (local_port >= mlxsw_core_max_ports(mlxsw_sp->core)) in mlxsw_sp_sample_tx_port_get()
Dspectrum_router.c10513 return mlxsw_core_max_ports(mlxsw_sp->core) + 1; in mlxsw_sp_router_port()