Searched refs:gmac_id (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | mtk_eth.c | 162 int gmac_id; member 704 mtk_gmac_write(priv, GMAC_PORT_MCR(priv->gmac_id), mcr); in mtk_phy_link_adjust() 776 SYSCFG0_GE_MODE_M << SYSCFG0_GE_MODE_S(priv->gmac_id), in mtk_mac_init() 777 ge_mode << SYSCFG0_GE_MODE_S(priv->gmac_id)); in mtk_mac_init() 802 mtk_gmac_write(priv, GMAC_PORT_MCR(priv->gmac_id), mcr); in mtk_mac_init() 838 priv->tx_ring_noc[i].txd_info4.FPORT = priv->gmac_id + 1; in mtk_eth_fifo_init() 875 mtk_gdma_write(priv, priv->gmac_id, GDMA_IG_CTRL_REG, GDMA_FWD_TO_CPU); in mtk_eth_start() 877 if (priv->gmac_id == 0) in mtk_eth_start() 923 mtk_gdma_write(priv, priv->gmac_id, GDMA_MAC_MSB_REG, macaddr_msb); in mtk_eth_write_hwaddr() 924 mtk_gdma_write(priv, priv->gmac_id, GDMA_MAC_LSB_REG, macaddr_lsb); in mtk_eth_write_hwaddr() [all …]
|