Lines Matching refs:rif_index

598 static int mlxsw_sp_fid_reiv_handle(struct mlxsw_sp_fid *fid, u16 rif_index,  in mlxsw_sp_fid_reiv_handle()  argument
613 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index); in mlxsw_sp_fid_reiv_handle()
648 u16 rif_index, bool valid) in mlxsw_sp_fid_erif_eport_to_vid_map() argument
658 err = mlxsw_sp_fid_reiv_handle(fid, rif_index, valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map()
667 mlxsw_sp_fid_reiv_handle(fid, rif_index, !valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map()
673 u16 rif_index = mlxsw_sp_rif_index(rif); in mlxsw_sp_fid_rif_set() local
688 err = mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, true); in mlxsw_sp_fid_rif_set()
706 u16 rif_index; in mlxsw_sp_fid_rif_unset() local
711 rif_index = mlxsw_sp_rif_index(fid->rif); in mlxsw_sp_fid_rif_unset()
714 mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, false); in mlxsw_sp_fid_rif_unset()
924 u16 rif_index = mlxsw_sp_rif_index(fid->rif); in mlxsw_sp_fid_erif_eport_to_vid_map_one() local
932 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index); in mlxsw_sp_fid_erif_eport_to_vid_map_one()
1125 u16 rif_index = *(u16 *) arg; in mlxsw_sp_fid_rfid_index_alloc() local
1127 *p_fid_index = fid->fid_family->start_index + rif_index; in mlxsw_sp_fid_rfid_index_alloc()
1135 u16 rif_index = *(u16 *) arg; in mlxsw_sp_fid_rfid_compare() local
1137 return fid->fid_index == rif_index + fid->fid_family->start_index; in mlxsw_sp_fid_rfid_compare()
1640 u16 rif_index) in mlxsw_sp_fid_rfid_get() argument
1642 return mlxsw_sp_fid_get(mlxsw_sp, MLXSW_SP_FID_TYPE_RFID, &rif_index); in mlxsw_sp_fid_rfid_get()