Searched refs:mlxsw_core_max_ports (Results 1 – 10 of 10) sorted by relevance
646 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()
337 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()
403 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()
400 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()
36 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core);
2061 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()
184 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core) in mlxsw_core_max_ports() function188 EXPORT_SYMBOL(mlxsw_core_max_ports);
1167 for (i = 1; i < mlxsw_core_max_ports(mlxsw_sp->core); i++) { in mlxsw_sp1_ptp_mtpppc_update()
227 if (local_port >= mlxsw_core_max_ports(mlxsw_sp->core)) in mlxsw_sp_sample_tx_port_get()
10513 return mlxsw_core_max_ports(mlxsw_sp->core) + 1; in mlxsw_sp_router_port()