Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/dev/etherswitch/ip17x/
HDip17x.c411 p->es_pvid = sc->pvid[phy]; in ip17x_getport()
472 if (p->es_pvid != 0) { in ip17x_setport()
474 p->es_pvid > IP175C_LAST_VLAN) in ip17x_setport()
476 sc->pvid[phy] = p->es_pvid; in ip17x_setport()
/freebsd-14-stable/sys/dev/etherswitch/infineon/
HDadm6996fc.c447 p->es_pvid = ADM6996FC_PVIDBYDATA(data1, data2); in adm6996fc_getport()
451 p->es_pvid = 0; in adm6996fc_getport()
502 data |= (p->es_pvid & 0xf) << ADM6996FC_PVID_SHIFT; in adm6996fc_setport()
512 data = data | (((p->es_pvid >> 4) & 0xff) << 8); in adm6996fc_setport()
515 data = data | ((p->es_pvid >> 4) & 0xff); in adm6996fc_setport()
/freebsd-14-stable/sys/dev/etherswitch/mtkswitch/
HDmtkswitch_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()
HDmtkswitch_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-14-stable/sys/dev/etherswitch/
HDetherswitch.h84 int es_pvid; member
/freebsd-14-stable/sys/dev/etherswitch/arswitch/
HDarswitch_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()
HDarswitch.c877 sc->hal.arswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in ar8xxx_port_vlan_get()
982 if (p->es_pvid != 0) in ar8xxx_port_vlan_setup()
983 sc->hal.arswitch_vlan_set_pvid(sc, p->es_port, p->es_pvid); in ar8xxx_port_vlan_setup()
/freebsd-14-stable/sys/dev/etherswitch/felix/
HDfelix.c655 p->es_pvid = reg & FELIX_ANA_PORT_VLAN_CFG_VID_MASK; in felix_get_port_cfg()
724 reg |= p->es_pvid & FELIX_ANA_PORT_VLAN_CFG_VID_MASK; in felix_set_port_cfg()
731 if (p->es_pvid != 0) in felix_set_port_cfg()
/freebsd-14-stable/sys/dev/etherswitch/micrel/
HDksz8995ma.c497 p->es_pvid = (tag1 & 0x0f) << 8 | tag2; in ksz8995ma_getport()
557 KSZ8995MA_PORT_SIZE * p->es_port, p->es_pvid & 0xff); in ksz8995ma_setport()
562 (portreg & 0xf0) | ((p->es_pvid >> 8) & 0x0f)); in ksz8995ma_setport()
/freebsd-14-stable/sys/dev/etherswitch/e6000sw/
HDe6060sw.c471 p->es_pvid = 0; in e6060sw_getport()
473 p->es_pvid = MDIO_READREG(device_get_parent(dev), in e6060sw_getport()
523 data |= p->es_pvid; in e6060sw_setport()
HDe6000sw.c947 e6000sw_get_pvid(sc, p->es_port, &p->es_pvid);
1011 if (p->es_pvid != 0)
1012 e6000sw_set_pvid(sc, p->es_port, p->es_pvid);
/freebsd-14-stable/sys/dev/etherswitch/ar40xx/
HDar40xx_main.c587 ar40xx_hw_get_port_pvid(sc, p->es_port, &p->es_pvid); in ar40xx_getport()
638 ret = ar40xx_hw_set_port_pvid(sc, p->es_port, p->es_pvid); in ar40xx_setport()
/freebsd-14-stable/sbin/etherswitchcfg/
HDetherswitchcfg.c183 p.es_pvid = v; in set_port_vid()
583 printf("\tpvid: %d\n", p.es_pvid); in print_port()
/freebsd-14-stable/sys/dev/etherswitch/rtl8366/
HDrtl8366rb.c671 p->es_pvid = sc->vid[vlangroup] & ETHERSWITCH_VID_MASK; in rtl_getport()
714 if ((sc->vid[i] & ETHERSWITCH_VID_MASK) == p->es_pvid) { in rtl_setport()
/freebsd-14-stable/sys/dev/etherswitch/ukswitch/
HDukswitch.c358 p->es_pvid = 0; in ukswitch_getport()
/freebsd-14-stable/sys/arm/ti/cpsw/
HDif_cpsw.c2834 p->es_pvid = reg & ETHERSWITCH_VID_MASK; in cpsw_getport()
2857 if (p->es_pvid != 0) { in cpsw_setport()
2859 p->es_pvid & ETHERSWITCH_VID_MASK); in cpsw_setport()