Lines Matching refs:hw_info
270 const struct gswip_hw_info *hw_info; member
633 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_add_single_port_br()
634 unsigned int max_ports = priv->hw_info->max_ports; in gswip_add_single_port_br()
798 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_setup()
807 for (i = 0; i < priv->hw_info->max_ports; i++) { in gswip_setup()
848 for (i = 0; i < priv->hw_info->max_ports; i++) in gswip_setup()
900 unsigned int max_ports = priv->hw_info->max_ports; in gswip_vlan_active_create()
958 unsigned int max_ports = priv->hw_info->max_ports; in gswip_vlan_add_unaware()
959 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_add_unaware()
1020 unsigned int max_ports = priv->hw_info->max_ports; in gswip_vlan_add_aware()
1021 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_add_aware()
1095 unsigned int max_ports = priv->hw_info->max_ports; in gswip_vlan_remove()
1096 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_vlan_remove()
1188 unsigned int max_ports = priv->hw_info->max_ports; in gswip_port_vlan_prepare()
1346 unsigned int cpu_port = priv->hw_info->cpu_port; in gswip_port_fdb()
2111 priv->hw_info = of_device_get_match_data(dev); in gswip_probe()
2112 if (!priv->hw_info) in gswip_probe()
2120 priv->ds->num_ports = priv->hw_info->max_ports; in gswip_probe()
2122 priv->ds->ops = priv->hw_info->ops; in gswip_probe()
2171 if (!dsa_is_cpu_port(priv->ds, priv->hw_info->cpu_port)) { in gswip_probe()
2173 priv->hw_info->cpu_port); in gswip_probe()