Searched refs:DEVICE_EMACSL_BASE (Results 1 – 2 of 2) sorted by relevance
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()372 DEVICE_EMACSL_BASE(port) + CPGMACSL_REG_RESET); in mac_sl_reset()376 v = readl(DEVICE_EMACSL_BASE(port) + CPGMACSL_REG_RESET); in mac_sl_reset()401 v = readl(DEVICE_EMACSL_BASE(port) + CPGMACSL_REG_RESET); in mac_sl_config()410 writel(cfg->max_rx_len, DEVICE_EMACSL_BASE(port) + CPGMACSL_REG_MAXLEN); in mac_sl_config()411 writel(cfg->ctl, DEVICE_EMACSL_BASE(port) + CPGMACSL_REG_CTL); in mac_sl_config()415 writel(0, DEVICE_EMACSL_BASE(port) + CPGMACSL_REG_RX_PRI_MAP); in mac_sl_config()
22 #define DEVICE_EMACSL_BASE(x) (EMAC_EMACSL_BASE_ADDR + (x) * 0x040) macro37 #define DEVICE_EMACSL_BASE(x) (EMAC_EMACSL_BASE_ADDR + (x) * 0x1000) macro