Lines Matching refs:base_port

1832 mlxsw_sp_port_split_create(struct mlxsw_sp *mlxsw_sp, u8 base_port,  in mlxsw_sp_port_split_create()  argument
1842 err = mlxsw_sp_port_create(mlxsw_sp, base_port + i * offset, in mlxsw_sp_port_split_create()
1843 base_port, &split_port_mapping); in mlxsw_sp_port_split_create()
1853 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i * offset)) in mlxsw_sp_port_split_create()
1854 mlxsw_sp_port_remove(mlxsw_sp, base_port + i * offset); in mlxsw_sp_port_split_create()
1859 u8 base_port, in mlxsw_sp_port_unsplit_create() argument
1867 port_mapping = mlxsw_sp->port_mapping[base_port + i]; in mlxsw_sp_port_unsplit_create()
1870 mlxsw_sp_port_create(mlxsw_sp, base_port + i, 0, port_mapping); in mlxsw_sp_port_unsplit_create()
1911 u8 base_port; in mlxsw_sp_port_split() local
1949 base_port = count == max_width ? in mlxsw_sp_port_split()
1960 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i)) { in mlxsw_sp_port_split()
1970 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i * offset)) in mlxsw_sp_port_split()
1971 mlxsw_sp_port_remove(mlxsw_sp, base_port + i * offset); in mlxsw_sp_port_split()
1973 err = mlxsw_sp_port_split_create(mlxsw_sp, base_port, &port_mapping, in mlxsw_sp_port_split()
1983 mlxsw_sp_port_unsplit_create(mlxsw_sp, base_port, count, offset); in mlxsw_sp_port_split()
1994 u8 base_port; in mlxsw_sp_port_unsplit() local
2029 base_port = mlxsw_sp_port->split_base_local_port; in mlxsw_sp_port_unsplit()
2032 if (mlxsw_sp_port_created(mlxsw_sp, base_port + i * offset)) in mlxsw_sp_port_unsplit()
2033 mlxsw_sp_port_remove(mlxsw_sp, base_port + i * offset); in mlxsw_sp_port_unsplit()
2035 mlxsw_sp_port_unsplit_create(mlxsw_sp, base_port, count, offset); in mlxsw_sp_port_unsplit()