Lines Matching refs:vsc9953_l2sw
18 static struct vsc9953_info vsc9953_l2sw = { variable
36 vsc9953_l2sw.port[port_no].bus = bus; in vsc9953_port_info_set_mdio()
44 vsc9953_l2sw.port[port_no].phyaddr = address; in vsc9953_port_info_set_phy_address()
52 vsc9953_l2sw.port[port_no].enet_if = phy_int; in vsc9953_port_info_set_phy_int()
60 vsc9953_l2sw.port[port_no].enabled = 1; in vsc9953_port_enable()
68 vsc9953_l2sw.port[port_no].enabled = 0; in vsc9953_port_disable()
168 dev->priv = &vsc9953_l2sw.port[port_no]; in vsc9953_port_init()
337 if (!vsc9953_l2sw.port[port_nr].enabled) { in vsc9953_port_vlan_pvid_get()
361 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_pvid_set()
397 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_aware_set()
429 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_popcnt_set()
529 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_egr_untag_get()
595 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_egr_untag_set()
663 if (!vsc9953_l2sw.port[port_no].enabled) in vsc9953_port_status_set()
680 if (!vsc9953_l2sw.port[port_no].phydev) in vsc9953_phy_autoneg()
683 if (vsc9953_l2sw.port[port_no].phydev->drv->startup( in vsc9953_phy_autoneg()
684 vsc9953_l2sw.port[port_no].phydev)) in vsc9953_phy_autoneg()
702 enabled = vsc9953_l2sw.port[port_no].enabled && in vsc9953_port_config_show()
711 if (vsc9953_l2sw.port[port_no].phydev) { in vsc9953_port_config_show()
712 link = vsc9953_l2sw.port[port_no].phydev->link; in vsc9953_port_config_show()
713 speed = vsc9953_l2sw.port[port_no].phydev->speed; in vsc9953_port_config_show()
714 duplex = vsc9953_l2sw.port[port_no].phydev->duplex; in vsc9953_port_config_show()
757 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_statistics_show()
952 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_statistics_clear()
977 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_learn_mode_set()
1012 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_learn_mode_get()
2660 if (!vsc9953_l2sw.port[i].enabled) in vsc9953_init()
2704 if (vsc9953_l2sw.port[i].enet_if == in vsc9953_init()
2707 else if (vsc9953_l2sw.port[i].enet_if == in vsc9953_init()