Lines Matching refs:emac_base
314 void __iomem *emac_base; member
358 #define emac_read(reg) ioread32(priv->emac_base + (reg))
359 #define emac_write(reg, val) iowrite32(val, priv->emac_base + (reg))
1878 priv->emac_base = priv->remap_addr + pdata->ctrl_reg_offset; in davinci_emac_probe()
1887 dma_params.dmaregs = priv->emac_base; in davinci_emac_probe()
1888 dma_params.rxthresh = priv->emac_base + 0x120; in davinci_emac_probe()
1889 dma_params.rxfree = priv->emac_base + 0x140; in davinci_emac_probe()
1890 dma_params.txhdp = priv->emac_base + 0x600; in davinci_emac_probe()
1891 dma_params.rxhdp = priv->emac_base + 0x620; in davinci_emac_probe()
1892 dma_params.txcp = priv->emac_base + 0x640; in davinci_emac_probe()
1893 dma_params.rxcp = priv->emac_base + 0x660; in davinci_emac_probe()