Home
last modified time | relevance | path

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

/linux/drivers/net/dsa/b53/
H A Db53_common.c506 u16 pvlan; in b53_imp_vlan_setup() local
513 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(i), &pvlan); in b53_imp_vlan_setup()
514 pvlan |= BIT(cpu_port); in b53_imp_vlan_setup()
515 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(i), pvlan); in b53_imp_vlan_setup()
584 u16 pvlan; in b53_enable_port() local
607 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), &pvlan); in b53_enable_port()
608 pvlan &= ~0x1ff; in b53_enable_port()
609 pvlan |= BIT(port); in b53_enable_port()
610 pvlan |= dev->ports[port].vlan_ctl_mask; in b53_enable_port()
611 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan); in b53_enable_port()
[all …]
/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c1546 u16 pvlan; in mv88e6xxx_port_vlan() local
1584 pvlan = 0; in mv88e6xxx_port_vlan()
1600 pvlan |= BIT(other_dp->index); in mv88e6xxx_port_vlan()
1602 return pvlan; in mv88e6xxx_port_vlan()
1775 u16 pvlan = 0; in mv88e6xxx_pvt_map() local
1782 pvlan = mv88e6xxx_port_vlan(chip, dev, port); in mv88e6xxx_pvt_map()
1799 return mv88e6xxx_g2_pvt_write(chip, dev, port, pvlan); in mv88e6xxx_pvt_map()