Searched refs:slave_no (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | cpsw_ethtool.c | 321 int slave_no = cpsw_slave_index(cpsw, priv); in cpsw_get_wol() local 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() 334 int slave_no = cpsw_slave_index(cpsw, priv); in cpsw_set_wol() local 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() 403 int slave_no = cpsw_slave_index(cpsw, priv); in cpsw_get_link_ksettings() local 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() 417 int slave_no = cpsw_slave_index(cpsw, priv); in cpsw_set_link_ksettings() local [all …]
|
D | cpsw_new.c | 129 int mask, flags, ret, slave_no; in cpsw_set_mc() local 131 slave_no = cpsw_slave_index(cpsw, priv); in cpsw_set_mc() 133 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc() 979 int ret, slave_no; in cpsw_ndo_set_mac_address() local 983 slave_no = cpsw_slave_index(cpsw, priv); in cpsw_ndo_set_mac_address() 991 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_ndo_set_mac_address() 1001 cpsw_set_slave_mac(&cpsw->slaves[slave_no], priv); in cpsw_ndo_set_mac_address() 1160 int slave_no; in cpsw_set_pauseparam() local 1162 slave_no = cpsw_slave_index(cpsw, priv); in cpsw_set_pauseparam() 1163 if (!cpsw->slaves[slave_no].phy) in cpsw_set_pauseparam() [all …]
|
D | cpsw_priv.c | 710 int slave_no = cpsw_slave_index(cpsw, priv); in cpsw_ndo_ioctl() local 716 phy = cpsw->slaves[slave_no].phy; in cpsw_ndo_ioctl()
|