Lines Matching full:slaves
326 if (cpsw->slaves[slave_no].phy) in cpsw_get_wol()
327 phy_ethtool_get_wol(cpsw->slaves[slave_no].phy, wol); in cpsw_get_wol()
336 if (cpsw->slaves[slave_no].phy) in cpsw_set_wol()
337 return phy_ethtool_set_wol(cpsw->slaves[slave_no].phy, wol); in cpsw_set_wol()
405 if (!cpsw->slaves[slave_no].phy) in cpsw_get_link_ksettings()
408 phy_ethtool_ksettings_get(cpsw->slaves[slave_no].phy, ecmd); in cpsw_get_link_ksettings()
419 if (!cpsw->slaves[slave_no].phy) in cpsw_set_link_ksettings()
422 return phy_ethtool_ksettings_set(cpsw->slaves[slave_no].phy, ecmd); in cpsw_set_link_ksettings()
431 if (cpsw->slaves[slave_no].phy) in cpsw_get_eee()
432 return phy_ethtool_get_eee(cpsw->slaves[slave_no].phy, edata); in cpsw_get_eee()
443 if (cpsw->slaves[slave_no].phy) in cpsw_set_eee()
444 return phy_ethtool_set_eee(cpsw->slaves[slave_no].phy, edata); in cpsw_set_eee()
455 if (cpsw->slaves[slave_no].phy) in cpsw_nway_reset()
456 return genphy_restart_aneg(cpsw->slaves[slave_no].phy); in cpsw_nway_reset()
471 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_suspend_data_pass()
472 ndev = cpsw->slaves[i].ndev; in cpsw_suspend_data_pass()
503 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_resume_data_pass()
504 ndev = cpsw->slaves[i].ndev; in cpsw_resume_data_pass()
589 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_fail()
590 ndev = cpsw->slaves[i].ndev; in cpsw_fail()
621 for (i = 0; i < cpsw->data.slaves; i++) { in cpsw_set_channels_common()
622 sl_ndev = cpsw->slaves[i].ndev; in cpsw_set_channels_common()