Lines Matching refs:slaves
249 slave = (priv)->slaves + (priv)->data.active_slave; if (slave)
251 for (slave = (priv)->slaves; slave != (priv)->slaves + \
252 (priv)->data.slaves; slave++)
272 struct cpsw_slave *slaves; member
1017 priv->slaves = malloc(sizeof(struct cpsw_slave) * data->slaves); in _cpsw_register()
1018 if (!priv->slaves) { in _cpsw_register()
1331 priv->data.slaves = fdtdec_get_int(fdt, node, "slaves", -1); in cpsw_eth_ofdata_to_platdata()
1332 if (priv->data.slaves <= 0) { in cpsw_eth_ofdata_to_platdata()
1337 priv->data.slaves); in cpsw_eth_ofdata_to_platdata()
1388 if (slave_index >= priv->data.slaves) in cpsw_eth_ofdata_to_platdata()
1438 if (priv->data.slaves == 2) { in cpsw_eth_ofdata_to_platdata()