Searched refs:pvlan (Results 1 – 2 of 2) sorted by relevance
/drivers/net/dsa/b53/ |
D | b53_common.c | 502 u16 pvlan; in b53_imp_vlan_setup() local 509 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(i), &pvlan); in b53_imp_vlan_setup() 510 pvlan |= BIT(cpu_port); in b53_imp_vlan_setup() 511 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(i), pvlan); in b53_imp_vlan_setup() 567 u16 pvlan; in b53_enable_port() local 590 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), &pvlan); in b53_enable_port() 591 pvlan &= ~0x1ff; in b53_enable_port() 592 pvlan |= BIT(port); in b53_enable_port() 593 pvlan |= dev->ports[port].vlan_ctl_mask; in b53_enable_port() 594 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan); in b53_enable_port() [all …]
|
/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 1420 u16 pvlan; in mv88e6xxx_port_vlan() local 1458 pvlan = 0; in mv88e6xxx_port_vlan() 1474 pvlan |= BIT(other_dp->index); in mv88e6xxx_port_vlan() 1476 return pvlan; in mv88e6xxx_port_vlan() 1649 u16 pvlan = 0; in mv88e6xxx_pvt_map() local 1656 pvlan = mv88e6xxx_port_vlan(chip, dev, port); in mv88e6xxx_pvt_map() 1673 return mv88e6xxx_g2_pvt_write(chip, dev, port, pvlan); in mv88e6xxx_pvt_map()
|