Searched refs:pvlan (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/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 …]
|
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 1232 u16 pvlan; in mv88e6xxx_port_vlan() local 1271 pvlan = 0; in mv88e6xxx_port_vlan() 1281 pvlan |= BIT(dp->index); in mv88e6xxx_port_vlan() 1283 return pvlan; in mv88e6xxx_port_vlan() 1456 u16 pvlan = 0; in mv88e6xxx_pvt_map() local 1463 pvlan = mv88e6xxx_port_vlan(chip, dev, port); in mv88e6xxx_pvt_map() 1479 return mv88e6xxx_g2_pvt_write(chip, dev, port, pvlan); in mv88e6xxx_pvt_map()
|