Lines Matching refs:slave_data
977 struct cpsw_slave_data *data = priv->data.slave_data + slave_num; in cpsw_slave_setup()
1336 priv->data.slave_data = malloc(sizeof(struct cpsw_slave_data) * 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()
1435 priv->data.slave_data[0].slave_reg_ofs = CPSW_SLAVE0_OFFSET; in cpsw_eth_ofdata_to_platdata()
1436 priv->data.slave_data[0].sliver_reg_ofs = CPSW_SLIVER0_OFFSET; in cpsw_eth_ofdata_to_platdata()
1439 priv->data.slave_data[1].slave_reg_ofs = CPSW_SLAVE1_OFFSET; in cpsw_eth_ofdata_to_platdata()
1440 priv->data.slave_data[1].sliver_reg_ofs = CPSW_SLIVER1_OFFSET; in cpsw_eth_ofdata_to_platdata()
1449 pdata->phy_interface = priv->data.slave_data[active_slave].phy_if; in cpsw_eth_ofdata_to_platdata()