Home
last modified time | relevance | path

Searched refs:MTKSWITCH_VUB (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch_rt3050.c304 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()
H A Dmtkswitch_rt3050.h80 #define MTKSWITCH_VUB(x) ((((x) >> 2) * 4) + 0x100) macro