Lines Matching refs:rif_subport
8668 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_get() local
8675 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_get()
8676 refcount_inc(&rif_subport->ref_count); in mlxsw_sp_rif_subport_get()
8682 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_put() local
8684 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_put()
8685 if (!refcount_dec_and_test(&rif_subport->ref_count)) in mlxsw_sp_rif_subport_put()
10124 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_setup() local
10126 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_setup()
10127 refcount_set(&rif_subport->ref_count, 1); in mlxsw_sp_rif_subport_setup()
10128 rif_subport->vid = params->vid; in mlxsw_sp_rif_subport_setup()
10129 rif_subport->lag = params->lag; in mlxsw_sp_rif_subport_setup()
10131 rif_subport->lag_id = params->lag_id; in mlxsw_sp_rif_subport_setup()
10133 rif_subport->system_port = params->system_port; in mlxsw_sp_rif_subport_setup()
10140 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_op() local
10144 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_op()
10150 mlxsw_reg_ritr_sp_if_pack(ritr_pl, rif_subport->lag, in mlxsw_sp_rif_subport_op()
10151 rif_subport->lag ? rif_subport->lag_id : in mlxsw_sp_rif_subport_op()
10152 rif_subport->system_port, in mlxsw_sp_rif_subport_op()