Lines Matching refs:rif_subport
8244 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_get() local
8251 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_get()
8252 refcount_inc(&rif_subport->ref_count); in mlxsw_sp_rif_subport_get()
8258 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_put() local
8260 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_put()
8261 if (!refcount_dec_and_test(&rif_subport->ref_count)) in mlxsw_sp_rif_subport_put()
9300 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_setup() local
9302 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_setup()
9303 refcount_set(&rif_subport->ref_count, 1); in mlxsw_sp_rif_subport_setup()
9304 rif_subport->vid = params->vid; in mlxsw_sp_rif_subport_setup()
9305 rif_subport->lag = params->lag; in mlxsw_sp_rif_subport_setup()
9307 rif_subport->lag_id = params->lag_id; in mlxsw_sp_rif_subport_setup()
9309 rif_subport->system_port = params->system_port; in mlxsw_sp_rif_subport_setup()
9315 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_op() local
9319 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_op()
9325 mlxsw_reg_ritr_sp_if_pack(ritr_pl, rif_subport->lag, in mlxsw_sp_rif_subport_op()
9326 rif_subport->lag ? rif_subport->lag_id : in mlxsw_sp_rif_subport_op()
9327 rif_subport->system_port, in mlxsw_sp_rif_subport_op()