Searched refs:es_pvid (Results 1 – 16 of 16) sorted by relevance
| /freebsd-14-stable/sys/dev/etherswitch/ip17x/ |
| HD | ip17x.c | 411 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/ |
| HD | adm6996fc.c | 447 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/ |
| HD | 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()
|
| HD | 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-14-stable/sys/dev/etherswitch/ |
| HD | etherswitch.h | 84 int es_pvid; member
|
| /freebsd-14-stable/sys/dev/etherswitch/arswitch/ |
| HD | 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()
|
| HD | arswitch.c | 877 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/ |
| HD | felix.c | 655 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/ |
| HD | ksz8995ma.c | 497 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/ |
| HD | e6060sw.c | 471 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()
|
| HD | e6000sw.c | 947 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/ |
| HD | ar40xx_main.c | 587 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/ |
| HD | etherswitchcfg.c | 183 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/ |
| HD | rtl8366rb.c | 671 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/ |
| HD | ukswitch.c | 358 p->es_pvid = 0; in ukswitch_getport()
|
| /freebsd-14-stable/sys/arm/ti/cpsw/ |
| HD | if_cpsw.c | 2834 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()
|