Searched refs:MTKSWITCH_VUB (Results 1 – 2 of 2) sorted by relevance
304 MTKSWITCH_WRITE(sc, MTKSWITCH_VUB(i), 0); in mtkswitch_vlan_init_hw()320 val = MTKSWITCH_READ(sc, MTKSWITCH_VUB(vid)); in mtkswitch_vlan_init_hw()323 MTKSWITCH_WRITE(sc, MTKSWITCH_VUB(vid), val); in mtkswitch_vlan_init_hw()382 val = (MTKSWITCH_READ(sc, MTKSWITCH_VUB(v->es_vlangroup)) >> in mtkswitch_vlan_getvgroup()444 val = MTKSWITCH_READ(sc, MTKSWITCH_VUB(v->es_vlangroup)); in mtkswitch_vlan_setvgroup()448 MTKSWITCH_WRITE(sc, MTKSWITCH_VUB(v->es_vlangroup), val); in mtkswitch_vlan_setvgroup()
80 #define MTKSWITCH_VUB(x) ((((x) >> 2) * 4) + 0x100) macro