Lines Matching refs:rif_subport
6650 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_get() local
6657 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_get()
6658 refcount_inc(&rif_subport->ref_count); in mlxsw_sp_rif_subport_get()
6664 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_put() local
6666 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_put()
6667 if (!refcount_dec_and_test(&rif_subport->ref_count)) in mlxsw_sp_rif_subport_put()
7383 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_setup() local
7385 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_setup()
7386 refcount_set(&rif_subport->ref_count, 1); in mlxsw_sp_rif_subport_setup()
7387 rif_subport->vid = params->vid; in mlxsw_sp_rif_subport_setup()
7388 rif_subport->lag = params->lag; in mlxsw_sp_rif_subport_setup()
7390 rif_subport->lag_id = params->lag_id; in mlxsw_sp_rif_subport_setup()
7392 rif_subport->system_port = params->system_port; in mlxsw_sp_rif_subport_setup()
7398 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_op() local
7401 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_op()
7405 mlxsw_reg_ritr_sp_if_pack(ritr_pl, rif_subport->lag, in mlxsw_sp_rif_subport_op()
7406 rif_subport->lag ? rif_subport->lag_id : in mlxsw_sp_rif_subport_op()
7407 rif_subport->system_port, in mlxsw_sp_rif_subport_op()
7408 rif_subport->vid); in mlxsw_sp_rif_subport_op()