Searched refs:vlan_res (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/dsa/ |
H A D | rzn1_a5psw.c | 673 u32 vlan_res; in a5psw_find_vlan_entry() local 678 vlan_res = a5psw_reg_readl(a5psw, A5PSW_VLAN_RES(i)); in a5psw_find_vlan_entry() 679 if (FIELD_GET(A5PSW_VLAN_RES_VLANID, vlan_res) == vid) in a5psw_find_vlan_entry() 688 u32 vlan_res; in a5psw_new_vlan_res_entry() local 693 vlan_res = a5psw_reg_readl(a5psw, A5PSW_VLAN_RES(i)); in a5psw_new_vlan_res_entry() 694 if (!(FIELD_GET(A5PSW_VLAN_RES_PORTMASK, vlan_res))) { in a5psw_new_vlan_res_entry() 695 vlan_res = FIELD_PREP(A5PSW_VLAN_RES_VLANID, newvid); in a5psw_new_vlan_res_entry() 696 a5psw_reg_writel(a5psw, A5PSW_VLAN_RES(i), vlan_res); in a5psw_new_vlan_res_entry()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 63 struct vlan_res { struct 2136 struct vlan_res *res, *tmp; in vlan_add_to_slave() 2170 struct vlan_res *res, *tmp; in vlan_del_from_slave() 2191 struct vlan_res *res, *tmp; in rem_slave_vlans()
|