Home
last modified time | relevance | path

Searched refs:vlan_mapping (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/net/dsa/
Dlantiq_gswip.c647 struct gswip_pce_table_entry vlan_mapping = {0,}; in gswip_add_single_port_br() local
671 vlan_mapping.index = port + 1; in gswip_add_single_port_br()
672 vlan_mapping.table = GSWIP_TABLE_VLAN_MAPPING; in gswip_add_single_port_br()
673 vlan_mapping.val[0] = 0 /* vid */; in gswip_add_single_port_br()
674 vlan_mapping.val[1] = BIT(port) | BIT(cpu_port); in gswip_add_single_port_br()
675 vlan_mapping.val[2] = 0; in gswip_add_single_port_br()
676 err = gswip_pce_table_entry_write(priv, &vlan_mapping); in gswip_add_single_port_br()
970 struct gswip_pce_table_entry vlan_mapping = {0,}; in gswip_vlan_add_unaware() local
995 vlan_mapping.index = idx; in gswip_vlan_add_unaware()
996 vlan_mapping.table = GSWIP_TABLE_VLAN_MAPPING; in gswip_vlan_add_unaware()
[all …]