Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/dsa/b53/
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-6.12.1/drivers/net/dsa/mv88e6xxx/
Dchip.c1556 u16 pvlan; in mv88e6xxx_port_vlan() local
1594 pvlan = 0; in mv88e6xxx_port_vlan()
1610 pvlan |= BIT(other_dp->index); in mv88e6xxx_port_vlan()
1612 return pvlan; in mv88e6xxx_port_vlan()
1785 u16 pvlan = 0; in mv88e6xxx_pvt_map() local
1792 pvlan = mv88e6xxx_port_vlan(chip, dev, port); in mv88e6xxx_pvt_map()
1809 return mv88e6xxx_g2_pvt_write(chip, dev, port, pvlan); in mv88e6xxx_pvt_map()