Lines Matching refs:rif_subport
8155 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_get() local
8162 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_get()
8163 refcount_inc(&rif_subport->ref_count); in mlxsw_sp_rif_subport_get()
8169 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_put() local
8171 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_put()
8172 if (!refcount_dec_and_test(&rif_subport->ref_count)) in mlxsw_sp_rif_subport_put()
8918 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_setup() local
8920 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_setup()
8921 refcount_set(&rif_subport->ref_count, 1); in mlxsw_sp_rif_subport_setup()
8922 rif_subport->vid = params->vid; in mlxsw_sp_rif_subport_setup()
8923 rif_subport->lag = params->lag; in mlxsw_sp_rif_subport_setup()
8925 rif_subport->lag_id = params->lag_id; in mlxsw_sp_rif_subport_setup()
8927 rif_subport->system_port = params->system_port; in mlxsw_sp_rif_subport_setup()
8933 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_op() local
8936 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_op()
8940 mlxsw_reg_ritr_sp_if_pack(ritr_pl, rif_subport->lag, in mlxsw_sp_rif_subport_op()
8941 rif_subport->lag ? rif_subport->lag_id : in mlxsw_sp_rif_subport_op()
8942 rif_subport->system_port, in mlxsw_sp_rif_subport_op()
8943 rif_subport->vid); in mlxsw_sp_rif_subport_op()