Lines Matching refs:rif_index
749 static int mlxsw_sp_fid_reiv_handle(struct mlxsw_sp_fid *fid, u16 rif_index, in mlxsw_sp_fid_reiv_handle() argument
764 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index); in mlxsw_sp_fid_reiv_handle()
799 u16 rif_index, bool valid) in mlxsw_sp_fid_erif_eport_to_vid_map() argument
809 err = mlxsw_sp_fid_reiv_handle(fid, rif_index, valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map()
818 mlxsw_sp_fid_reiv_handle(fid, rif_index, !valid, i); in mlxsw_sp_fid_erif_eport_to_vid_map()
824 u16 rif_index = mlxsw_sp_rif_index(rif); in mlxsw_sp_fid_rif_set() local
839 err = mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, true); in mlxsw_sp_fid_rif_set()
857 u16 rif_index; in mlxsw_sp_fid_rif_unset() local
862 rif_index = mlxsw_sp_rif_index(fid->rif); in mlxsw_sp_fid_rif_unset()
865 mlxsw_sp_fid_erif_eport_to_vid_map(fid, rif_index, false); in mlxsw_sp_fid_rif_unset()
1076 u16 rif_index = mlxsw_sp_rif_index(fid->rif); in mlxsw_sp_fid_erif_eport_to_vid_map_one() local
1084 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index); in mlxsw_sp_fid_erif_eport_to_vid_map_one()
1368 u16 rif_index = *(const u16 *)arg; in mlxsw_sp_fid_rfid_setup_cff() local
1374 rif = mlxsw_sp_rif_by_index(mlxsw_sp, rif_index); in mlxsw_sp_fid_rfid_setup_cff()
1400 u16 rif_index = *(u16 *) arg; in mlxsw_sp_fid_rfid_index_alloc() local
1402 *p_fid_index = fid->fid_family->start_index + rif_index; in mlxsw_sp_fid_rfid_index_alloc()
1410 u16 rif_index = *(u16 *) arg; in mlxsw_sp_fid_rfid_compare() local
1412 return fid->fid_index == rif_index + fid->fid_family->start_index; in mlxsw_sp_fid_rfid_compare()
2109 u16 rif_index) in mlxsw_sp_fid_rfid_get() argument
2111 return mlxsw_sp_fid_get(mlxsw_sp, MLXSW_SP_FID_TYPE_RFID, &rif_index); in mlxsw_sp_fid_rfid_get()