Lines Matching refs:vl
39 struct dsa_loop_vlan *vl; in dsa_loop_devlink_vtu_get() local
42 vl = &ps->vlans[i]; in dsa_loop_devlink_vtu_get()
43 if (vl->members) in dsa_loop_devlink_vtu_get()
212 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_add() local
220 vl = &ps->vlans[vlan->vid]; in dsa_loop_port_vlan_add()
222 vl->members |= BIT(port); in dsa_loop_port_vlan_add()
224 vl->untagged |= BIT(port); in dsa_loop_port_vlan_add()
226 vl->untagged &= ~BIT(port); in dsa_loop_port_vlan_add()
244 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_del() local
249 vl = &ps->vlans[vlan->vid]; in dsa_loop_port_vlan_del()
251 vl->members &= ~BIT(port); in dsa_loop_port_vlan_del()
253 vl->untagged &= ~BIT(port); in dsa_loop_port_vlan_del()