Searched refs:cpsw_vgroups (Results 1 – 1 of 1) sorted by relevance
242 static struct cpsw_vlangroups cpsw_vgroups[CPSW_VLANS]; variable898 cpsw_vgroups[i].vid = -1; in cpsw_attach()1196 if (cpsw_vgroups[i].vid != -1) in cpswp_init_locked()1198 cpsw_vgroups[i].vid = sc->vlan; in cpswp_init_locked()2903 vid = cpsw_vgroups[vg->es_vlangroup].vid; in cpsw_getvgroup()2951 if (vg->es_vlangroup != i && cpsw_vgroups[i].vid == vg->es_vid) in cpsw_setvgroup()2956 if (cpsw_vgroups[vg->es_vlangroup].vid == -1) in cpsw_setvgroup()2958 cpsw_remove_vlan(sc, cpsw_vgroups[vg->es_vlangroup].vid); in cpsw_setvgroup()2959 cpsw_vgroups[vg->es_vlangroup].vid = -1; in cpsw_setvgroup()2970 if (cpsw_vgroups[vg->es_vlangroup].vid != -1 && in cpsw_setvgroup()[all …]