Searched refs:vlan_res_id (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/dsa/ |
H A D | rzn1_a5psw.c | 695 unsigned int vlan_res_id, int port, in a5psw_port_vlan_tagged_cfg() argument 700 u32 vlan_res_off = A5PSW_VLAN_RES(vlan_res_id); in a5psw_port_vlan_tagged_cfg() 716 static void a5psw_port_vlan_cfg(struct a5psw *a5psw, unsigned int vlan_res_id, in a5psw_port_vlan_cfg() argument 725 a5psw_reg_rmw(a5psw, A5PSW_VLAN_RES(vlan_res_id), mask, reg); in a5psw_port_vlan_cfg() 736 int vlan_res_id; in a5psw_port_vlan_add() local 738 vlan_res_id = a5psw_find_vlan_entry(a5psw, vid); in a5psw_port_vlan_add() 739 if (vlan_res_id < 0) { in a5psw_port_vlan_add() 740 vlan_res_id = a5psw_new_vlan_res_entry(a5psw, vid); in a5psw_port_vlan_add() 741 if (vlan_res_id < 0) in a5psw_port_vlan_add() 745 a5psw_port_vlan_cfg(a5psw, vlan_res_id, port, true); in a5psw_port_vlan_add() [all …]
|