Lines Matching refs:rif_subport

8916 	struct mlxsw_sp_rif_subport *rif_subport;  in mlxsw_sp_rif_subport_port()  local
8921 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_port()
8922 *is_lag = rif_subport->lag; in mlxsw_sp_rif_subport_port()
8923 *port = *is_lag ? rif_subport->lag_id : rif_subport->system_port; in mlxsw_sp_rif_subport_port()
8932 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_get() local
8939 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_get()
8940 refcount_inc(&rif_subport->ref_count); in mlxsw_sp_rif_subport_get()
8946 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_put() local
8948 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_put()
8949 if (!refcount_dec_and_test(&rif_subport->ref_count)) in mlxsw_sp_rif_subport_put()
10388 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_setup() local
10390 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_setup()
10391 refcount_set(&rif_subport->ref_count, 1); in mlxsw_sp_rif_subport_setup()
10392 rif_subport->vid = params->vid; in mlxsw_sp_rif_subport_setup()
10393 rif_subport->lag = params->lag; in mlxsw_sp_rif_subport_setup()
10395 rif_subport->lag_id = params->lag_id; in mlxsw_sp_rif_subport_setup()
10397 rif_subport->system_port = params->system_port; in mlxsw_sp_rif_subport_setup()
10404 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_op() local
10408 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_op()
10414 mlxsw_reg_ritr_sp_if_pack(ritr_pl, rif_subport->lag, in mlxsw_sp_rif_subport_op()
10415 rif_subport->lag ? rif_subport->lag_id : in mlxsw_sp_rif_subport_op()
10416 rif_subport->system_port, in mlxsw_sp_rif_subport_op()