Lines Matching refs:pvlan
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()
1895 u16 pvlan, reg; in b53_br_join() local
1915 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), &pvlan); in b53_br_join()
1929 pvlan |= BIT(i); in b53_br_join()
1935 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan); in b53_br_join()
1936 dev->ports[port].vlan_ctl_mask = pvlan; in b53_br_join()
1948 u16 pvlan, reg, pvid; in b53_br_leave() local
1950 b53_read16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), &pvlan); in b53_br_leave()
1964 pvlan &= ~BIT(i); in b53_br_leave()
1967 b53_write16(dev, B53_PVLAN_PAGE, B53_PVLAN_PORT_MASK(port), pvlan); in b53_br_leave()
1968 dev->ports[port].vlan_ctl_mask = pvlan; in b53_br_leave()