Lines Matching refs:base_port
1905 mlxsw_sp_port_split_create(struct mlxsw_sp *mlxsw_sp, u8 base_port, in mlxsw_sp_port_split_create() argument
1915 err = mlxsw_sp_port_create(mlxsw_sp, base_port + i * offset, in mlxsw_sp_port_split_create()
1916 base_port, &split_port_mapping); in mlxsw_sp_port_split_create()
1926 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i * offset)) in mlxsw_sp_port_split_create()
1927 mlxsw_sp_port_remove(mlxsw_sp, base_port + i * offset); in mlxsw_sp_port_split_create()
1932 u8 base_port, in mlxsw_sp_port_unsplit_create() argument
1940 port_mapping = mlxsw_sp->port_mapping[base_port + i]; in mlxsw_sp_port_unsplit_create()
1943 mlxsw_sp_port_create(mlxsw_sp, base_port + i, 0, port_mapping); in mlxsw_sp_port_unsplit_create()
1984 u8 base_port; in mlxsw_sp_port_split() local
2022 base_port = count == max_width ? in mlxsw_sp_port_split()
2033 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i)) { in mlxsw_sp_port_split()
2043 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i * offset)) in mlxsw_sp_port_split()
2044 mlxsw_sp_port_remove(mlxsw_sp, base_port + i * offset); in mlxsw_sp_port_split()
2046 err = mlxsw_sp_port_split_create(mlxsw_sp, base_port, &port_mapping, in mlxsw_sp_port_split()
2056 mlxsw_sp_port_unsplit_create(mlxsw_sp, base_port, count, offset); in mlxsw_sp_port_split()
2067 u8 base_port; in mlxsw_sp_port_unsplit() local
2102 base_port = mlxsw_sp_port->split_base_local_port; in mlxsw_sp_port_unsplit()
2105 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i * offset)) in mlxsw_sp_port_unsplit()
2106 mlxsw_sp_port_remove(mlxsw_sp, base_port + i * offset); in mlxsw_sp_port_unsplit()
2108 mlxsw_sp_port_unsplit_create(mlxsw_sp, base_port, count, offset); in mlxsw_sp_port_unsplit()