Lines Matching refs:slave_port

111 	int				slave_port;  member
206 writel(readl(DEVICE_EMACSL_BASE(eth_priv->slave_port - 1) + in keystone2_eth_gigabit_enable()
209 DEVICE_EMACSL_BASE(eth_priv->slave_port - 1) + CPGMACSL_REG_CTL); in keystone2_eth_gigabit_enable()
230 writel(readl(DEVICE_EMACSL_BASE(priv->slave_port - 1) + in keystone2_eth_gigabit_enable()
233 DEVICE_EMACSL_BASE(priv->slave_port - 1) + CPGMACSL_REG_CTL); in keystone2_eth_gigabit_enable()
511 if (eth_priv->slave_port == 1) { in keystone2_eth_read_mac_addr()
554 keystone_sgmii_config(phy_dev, eth_priv->slave_port - 1, in keystone2_eth_open()
640 if (cpmac_drv_send((u32 *)packet, length, eth_priv->slave_port) != 0) in keystone2_eth_send_packet()
747 keystone_sgmii_config(priv->phydev, priv->slave_port - 1, in ks2_eth_start()
808 length, (priv->slave_port) << 16); in ks2_eth_send()
858 if (priv->slave_port == 1) { in ks2_eth_read_rom_hwaddr()
879 DEVICE_EMACSW_BASE(pdata->iobase, priv->slave_port - 1) + in ks2_eth_write_hwaddr()
882 DEVICE_EMACSW_BASE(pdata->iobase, priv->slave_port - 1) + in ks2_eth_write_hwaddr()
918 if (priv->slave_port == 1) { in ks2_eth_probe()
1051 priv->slave_port = fdtdec_get_int(fdt, slave, "slave-port", -1); in ks2_eth_parse_slave_interface()
1052 priv->net_rx_buffs.rx_flow = priv->slave_port * 8; in ks2_eth_parse_slave_interface()
1055 priv->slave_port += 1; in ks2_eth_parse_slave_interface()
1061 if (dma_count > (2 * priv->slave_port)) { in ks2_eth_parse_slave_interface()
1064 dma_idx = priv->slave_port * 2 - 1; in ks2_eth_parse_slave_interface()