Lines Matching refs:slave_num
627 int slave_num; /* 0 based logical number */ member
1735 static int gbe_get_slave_port(struct gbe_priv *priv, u32 slave_num) in gbe_get_slave_port() argument
1738 return slave_num + 1; in gbe_get_slave_port()
1740 return slave_num; in gbe_get_slave_port()
1797 int sp = slave->slave_num; in netcp_ethss_update_link_state()
1891 xgmii_mode |= (1 << slave->slave_num); in gbe_port_config()
1929 if ((priv->ss_version == GBE_SS_VERSION_14) && (slave->slave_num >= 2)) in gbe_sgmii_config()
1933 netcp_sgmii_reset(sgmii_port_regs, slave->slave_num); in gbe_sgmii_config()
1934 netcp_sgmii_config(sgmii_port_regs, slave->slave_num, in gbe_sgmii_config()
1978 slave->slave_num); in gbe_slave_open()
2293 if (of_property_read_u32(node, "slave-port", &slave->slave_num)) { in init_slave()
2307 slave->port_num = gbe_get_slave_port(gbe_dev, slave->slave_num); in init_slave()
2315 port_reg_num = slave->slave_num; in init_slave()
2317 if (slave->slave_num > 1) { in init_slave()
2345 (emac_reg_blk_sz * slave->slave_num); in init_slave()
2478 slave->slave_num); in init_secondary_ports()
2789 u32 slave_num; in gbe_probe() local
2892 ret = of_property_read_u32(interface, "slave-port", &slave_num); in gbe_probe()