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()
63 dwmac->reg = devm_platform_ioremap_resource(pdev, 1); in meson6_dwmac_probe()
64 if (IS_ERR(dwmac->reg)) in meson6_dwmac_probe()
65 return PTR_ERR(dwmac->reg); in meson6_dwmac_probe()
67 plat_dat->bsp_priv = dwmac; in meson6_dwmac_probe()
74 { .compatible = "amlogic,meson6-dwmac" },
83 .name = "meson6-dwmac",
91 MODULE_DESCRIPTION("Amlogic Meson6 and Meson8 DWMAC glue layer");