Lines Matching full:dwmac
3 * Amlogic Meson6 and Meson8 DWMAC glue layer
27 struct meson_dwmac *dwmac = priv; in meson6_dwmac_fix_mac_speed() local
30 val = readl(dwmac->reg); in meson6_dwmac_fix_mac_speed()
41 writel(val, dwmac->reg); in meson6_dwmac_fix_mac_speed()
48 struct meson_dwmac *dwmac; in meson6_dwmac_probe() local
59 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in meson6_dwmac_probe()
60 if (!dwmac) { in meson6_dwmac_probe()
65 dwmac->reg = devm_platform_ioremap_resource(pdev, 1); in meson6_dwmac_probe()
66 if (IS_ERR(dwmac->reg)) { in meson6_dwmac_probe()
67 ret = PTR_ERR(dwmac->reg); in meson6_dwmac_probe()
71 plat_dat->bsp_priv = dwmac; in meson6_dwmac_probe()
87 { .compatible = "amlogic,meson6-dwmac" },
96 .name = "meson6-dwmac",
104 MODULE_DESCRIPTION("Amlogic Meson6 and Meson8 DWMAC glue layer");