Home
last modified time | relevance | path

Searched refs:es_pvid (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/etherswitch/ip17x/
H A Dip17x.c410 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 Dadm6996fc.c446 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 Dmtkswitch_rt3050.c223 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 Dmtkswitch_mt7620.c304 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 Detherswitch.h84 int es_pvid; member
/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch_8327.c815 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 Darswitch.c873 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 Dksz8995ma.c496 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 De6060sw.c470 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 De6000sw.c949 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 Dfelix.c653 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 Dar40xx_main.c588 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 Detherswitchcfg.c183 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 Drtl8366rb.c670 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 Dukswitch.c357 p->es_pvid = 0; in ukswitch_getport()
/freebsd/sys/arm/ti/cpsw/
H A Dif_cpsw.c2830 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()