Searched refs:slave_index (Results 1 – 1 of 1) sorted by relevance
1309 int slave_index = 0; in cpsw_eth_ofdata_to_platdata() local1388 if (slave_index >= priv->data.slaves) in cpsw_eth_ofdata_to_platdata()1392 priv->data.slave_data[slave_index].phy_if = in cpsw_eth_ofdata_to_platdata()1395 priv->data.slave_data[slave_index].phy_of_handle = in cpsw_eth_ofdata_to_platdata()1399 if (priv->data.slave_data[slave_index].phy_of_handle >= 0) { in cpsw_eth_ofdata_to_platdata()1400 priv->data.slave_data[slave_index].phy_addr = in cpsw_eth_ofdata_to_platdata()1402 priv->data.slave_data[slave_index].phy_of_handle, in cpsw_eth_ofdata_to_platdata()1407 priv->data.slave_data[slave_index].phy_addr = in cpsw_eth_ofdata_to_platdata()1410 slave_index++; in cpsw_eth_ofdata_to_platdata()