Lines Matching refs:pvlan
499 u16 pvlan; in b53_imp_vlan_setup() local
506 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(i), &pvlan); in b53_imp_vlan_setup()
507 pvlan |= BIT(cpu_port); in b53_imp_vlan_setup()
508 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(i), pvlan); in b53_imp_vlan_setup()
518 u16 pvlan; in b53_enable_port() local
539 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), &pvlan); in b53_enable_port()
540 pvlan &= ~0x1ff; in b53_enable_port()
541 pvlan |= BIT(port); in b53_enable_port()
542 pvlan |= dev->ports[port].vlan_ctl_mask; in b53_enable_port()
543 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan); in b53_enable_port()
1799 u16 pvlan, reg; in b53_br_join() local
1819 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), &pvlan); in b53_br_join()
1833 pvlan |= BIT(i); in b53_br_join()
1839 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan); in b53_br_join()
1840 dev->ports[port].vlan_ctl_mask = pvlan; in b53_br_join()
1852 u16 pvlan, reg, pvid; in b53_br_leave() local
1854 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), &pvlan); in b53_br_leave()
1868 pvlan &= ~BIT(i); in b53_br_leave()
1871 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan); in b53_br_leave()
1872 dev->ports[port].vlan_ctl_mask = pvlan; in b53_br_leave()