Lines Matching refs:cpu_port
254 int cpu_port; member
648 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_add_single_port_br() local
674 vlan_mapping.val[1] = BIT(port) | BIT(cpu_port); in gswip_add_single_port_br()
813 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_setup() local
837 gswip_switch_w(priv, BIT(cpu_port), GSWIP_PCE_PMAP1); in gswip_setup()
838 gswip_switch_w(priv, BIT(cpu_port), GSWIP_PCE_PMAP2); in gswip_setup()
839 gswip_switch_w(priv, BIT(cpu_port), GSWIP_PCE_PMAP3); in gswip_setup()
870 GSWIP_FDMA_PCTRLp(cpu_port)); in gswip_setup()
874 GSWIP_PCE_PCTRL_0p(cpu_port)); in gswip_setup()
894 gswip_port_enable(ds, cpu_port, NULL); in gswip_setup()
972 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_add_unaware() local
1012 vlan_mapping.val[1] |= BIT(cpu_port); in gswip_vlan_add_unaware()
1034 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_add_aware() local
1081 vlan_mapping.val[1] |= BIT(cpu_port); in gswip_vlan_add_aware()
1082 vlan_mapping.val[2] |= BIT(cpu_port); in gswip_vlan_add_aware()
1109 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_remove() local
1145 if ((vlan_mapping.val[1] & ~BIT(cpu_port)) == 0) { in gswip_vlan_remove()
1470 int cpu_port = priv->hw_info->cpu_port; in gswip_port_change_mtu() local
1475 if (port == cpu_port) { in gswip_port_change_mtu()
2181 if (!dsa_is_cpu_port(priv->ds, priv->hw_info->cpu_port)) { in gswip_probe()
2183 priv->hw_info->cpu_port); in gswip_probe()
2249 .cpu_port = 6,
2255 .cpu_port = 6,