/freebsd/sys/dev/etherswitch/ip17x/ |
H A D | ip17x.c | 410 p->es_pvid = sc->pvid[phy]; in ip17x_getport() 471 if (p->es_pvid != 0) { in ip17x_setport() 473 p->es_pvid > IP175C_LAST_VLAN) in ip17x_setport() 475 sc->pvid[phy] = p->es_pvid; in ip17x_setport()
|
/freebsd/sys/dev/etherswitch/infineon/ |
H A D | adm6996fc.c | 446 p->es_pvid = ADM6996FC_PVIDBYDATA(data1, data2); in adm6996fc_getport() 450 p->es_pvid = 0; in adm6996fc_getport() 501 data |= (p->es_pvid & 0xf) << ADM6996FC_PVID_SHIFT; in adm6996fc_setport() 511 data = data | (((p->es_pvid >> 4) & 0xff) << 8); in adm6996fc_setport() 514 data = data | ((p->es_pvid >> 4) & 0xff); in adm6996fc_setport()
|
/freebsd/sys/dev/etherswitch/mtkswitch/ |
H A D | mtkswitch_rt3050.c | 223 if (p->es_pvid != 0) { in mtkswitch_port_vlan_setup() 225 p->es_pvid); in mtkswitch_port_vlan_setup() 270 sc->hal.mtkswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in mtkswitch_port_vlan_get()
|
H A D | mtkswitch_mt7620.c | 304 if (p->es_pvid != 0) { in mtkswitch_port_vlan_setup() 306 p->es_pvid); in mtkswitch_port_vlan_setup() 326 sc->hal.mtkswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in mtkswitch_port_vlan_get()
|
/freebsd/sys/dev/etherswitch/ |
H A D | etherswitch.h | 84 int es_pvid; member
|
/freebsd/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_8327.c | 815 if (p->es_pvid != 0) in ar8327_port_vlan_setup() 816 sc->hal.arswitch_vlan_set_pvid(sc, p->es_port, p->es_pvid); in ar8327_port_vlan_setup() 837 sc->hal.arswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in ar8327_port_vlan_get()
|
H A D | arswitch.c | 873 sc->hal.arswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in ar8xxx_port_vlan_get() 978 if (p->es_pvid != 0) in ar8xxx_port_vlan_setup() 979 sc->hal.arswitch_vlan_set_pvid(sc, p->es_port, p->es_pvid); in ar8xxx_port_vlan_setup()
|
/freebsd/sys/dev/etherswitch/micrel/ |
H A D | ksz8995ma.c | 496 p->es_pvid = (tag1 & 0x0f) << 8 | tag2; in ksz8995ma_getport() 556 KSZ8995MA_PORT_SIZE * p->es_port, p->es_pvid & 0xff); in ksz8995ma_setport() 561 (portreg & 0xf0) | ((p->es_pvid >> 8) & 0x0f)); in ksz8995ma_setport()
|
/freebsd/sys/dev/etherswitch/e6000sw/ |
H A D | e6060sw.c | 470 p->es_pvid = 0; in e6060sw_getport() 472 p->es_pvid = MDIO_READREG(device_get_parent(dev), in e6060sw_getport() 522 data |= p->es_pvid; in e6060sw_setport()
|
H A D | e6000sw.c | 949 e6000sw_get_pvid(sc, p->es_port, &p->es_pvid); 1013 if (p->es_pvid != 0) 1014 e6000sw_set_pvid(sc, p->es_port, p->es_pvid);
|
/freebsd/sys/dev/etherswitch/felix/ |
H A D | felix.c | 653 p->es_pvid = reg & FELIX_ANA_PORT_VLAN_CFG_VID_MASK; in felix_get_port_cfg() 722 reg |= p->es_pvid & FELIX_ANA_PORT_VLAN_CFG_VID_MASK; in felix_set_port_cfg() 729 if (p->es_pvid != 0) in felix_set_port_cfg()
|
/freebsd/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_main.c | 588 ar40xx_hw_get_port_pvid(sc, p->es_port, &p->es_pvid); in ar40xx_getport() 639 ret = ar40xx_hw_set_port_pvid(sc, p->es_port, p->es_pvid); in ar40xx_setport()
|
/freebsd/sbin/etherswitchcfg/ |
H A D | etherswitchcfg.c | 183 p.es_pvid = v; in set_port_vid() 583 printf("\tpvid: %d\n", p.es_pvid); in print_port()
|
/freebsd/sys/dev/etherswitch/rtl8366/ |
H A D | rtl8366rb.c | 670 p->es_pvid = sc->vid[vlangroup] & ETHERSWITCH_VID_MASK; in rtl_getport() 713 if ((sc->vid[i] & ETHERSWITCH_VID_MASK) == p->es_pvid) { in rtl_setport()
|
/freebsd/sys/dev/etherswitch/ukswitch/ |
H A D | ukswitch.c | 357 p->es_pvid = 0; in ukswitch_getport()
|
/freebsd/sys/arm/ti/cpsw/ |
H A D | if_cpsw.c | 2830 p->es_pvid = reg & ETHERSWITCH_VID_MASK; in cpsw_getport() 2853 if (p->es_pvid != 0) { in cpsw_setport() 2855 p->es_pvid & ETHERSWITCH_VID_MASK); in cpsw_setport()
|