Home
last modified time | relevance | path

Searched refs:dwmac (Results 1 – 30 of 30) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sti.c166 struct sti_dwmac *dwmac = priv; in stih4xx_fix_retime_src() local
167 u32 src = dwmac->tx_retime_src; in stih4xx_fix_retime_src()
168 u32 reg = dwmac->ctrl_reg; in stih4xx_fix_retime_src()
171 if (dwmac->interface == PHY_INTERFACE_MODE_MII) { in stih4xx_fix_retime_src()
173 } else if (dwmac->interface == PHY_INTERFACE_MODE_RMII) { in stih4xx_fix_retime_src()
174 if (dwmac->ext_phyclk) { in stih4xx_fix_retime_src()
180 } else if (IS_PHY_IF_MODE_RGMII(dwmac->interface)) { in stih4xx_fix_retime_src()
194 if (src == TX_RETIME_SRC_CLKGEN && dwmac->clk && freq) in stih4xx_fix_retime_src()
195 clk_set_rate(dwmac->clk, freq); in stih4xx_fix_retime_src()
197 regmap_update_bits(dwmac->regmap, reg, STIH4XX_RETIME_SRC_MASK, in stih4xx_fix_retime_src()
[all …]
Ddwmac-socfpga.c54 struct socfpga_dwmac *dwmac = (struct socfpga_dwmac *)priv; in socfpga_dwmac_fix_mac_speed() local
55 void __iomem *splitter_base = dwmac->splitter_base; in socfpga_dwmac_fix_mac_speed()
81 static int socfpga_dwmac_parse_data(struct socfpga_dwmac *dwmac, struct device *dev) in socfpga_dwmac_parse_data() argument
90 dwmac->stmmac_rst = devm_reset_control_get(dev, in socfpga_dwmac_parse_data()
92 if (IS_ERR(dwmac->stmmac_rst)) { in socfpga_dwmac_parse_data()
94 if (PTR_ERR(dwmac->stmmac_rst) == -EPROBE_DEFER) in socfpga_dwmac_parse_data()
96 dwmac->stmmac_rst = NULL; in socfpga_dwmac_parse_data()
99 dwmac->interface = of_get_phy_mode(np); in socfpga_dwmac_parse_data()
126 dwmac->splitter_base = devm_ioremap_resource(dev, &res_splitter); in socfpga_dwmac_parse_data()
127 if (IS_ERR(dwmac->splitter_base)) { in socfpga_dwmac_parse_data()
[all …]
Ddwmac-meson.c33 struct meson_dwmac *dwmac = priv; in meson6_dwmac_fix_mac_speed() local
36 val = readl(dwmac->reg); in meson6_dwmac_fix_mac_speed()
47 writel(val, dwmac->reg); in meson6_dwmac_fix_mac_speed()
54 struct meson_dwmac *dwmac; in meson6_dwmac_probe() local
66 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in meson6_dwmac_probe()
67 if (!dwmac) in meson6_dwmac_probe()
71 dwmac->reg = devm_ioremap_resource(&pdev->dev, res); in meson6_dwmac_probe()
72 if (IS_ERR(dwmac->reg)) in meson6_dwmac_probe()
73 return PTR_ERR(dwmac->reg); in meson6_dwmac_probe()
75 plat_dat->bsp_priv = dwmac; in meson6_dwmac_probe()
DMakefile9 obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.o
10 obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o
11 obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o
12 obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
13 obj-$(CONFIG_DWMAC_SOCFPGA) += dwmac-socfpga.o
14 obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o
15 obj-$(CONFIG_DWMAC_SUNXI) += dwmac-sunxi.o
16 obj-$(CONFIG_DWMAC_GENERIC) += dwmac-generic.o
DKconfig62 tristate "Amlogic Meson dwmac support"
73 tristate "Rockchip dwmac support"
84 tristate "SOCFPGA dwmac support"
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dmeson-dwmac.txt3 The device inherits all the properties of the dwmac/stmmac devices
8 - compatible: should be "amlogic,meson6-dwmac" along with "snps,dwmac"
12 - reg: should contain a register range for the dwmac controller and
18 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
Dsti-dwmac.txt10 - compatible : Can be "st,stih415-dwmac", "st,stih416-dwmac",
11 "st,stih407-dwmac", "st,stid127-dwmac".
35 ethernet0: dwmac@9630000 {
38 compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
Dnxp,lpc1850-dwmac.txt7 - compatible: Should contain "nxp,lpc1850-dwmac"
12 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
Dsocfpga-dwmac.txt3 This is a variant of the dwmac/stmmac driver an inherits all descriptions
10 "snps,dwmac" and any applicable more detailed
22 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
Dipq806x-dwmac.txt3 The device inherits all the properties of the dwmac/stmmac devices
8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac"
Dstmmac.txt4 - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac"
/linux-4.4.14/arch/arm/boot/dts/
Dstih415.dtsi151 ethernet0: dwmac@fe810000 {
153 compatible = "st,stih415-dwmac", "snps,dwmac", "snps,dwmac-3.610";
176 ethernet1: dwmac@fef08000 {
178 compatible = "st,stih415-dwmac", "snps,dwmac", "snps,dwmac-3.610";
Dstih416.dtsi184 ethernet0: dwmac@fe810000 {
186 compatible = "st,stih416-dwmac", "snps,dwmac", "snps,dwmac-3.710";
206 ethernet1: dwmac@fef08000 {
208 compatible = "st,stih416-dwmac", "snps,dwmac", "snps,dwmac-3.710";
Dstih41x-b2000.dtsi53 ethernet0: dwmac@fe810000 {
63 ethernet1: dwmac@fef08000 {
Dsocfpga_arria10.dtsi405 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
424 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
443 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
Dstih416-b2020e.dts31 ethernet1: dwmac@fef08000 {
Dstihxxx-b2120.dtsi90 ethernet0: dwmac@9630000 {
Dstih41x-b2020.dtsi66 ethernet1: dwmac@fef08000 {
Dmeson.dtsi165 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
Dstih418-b2199.dts106 ethernet0: dwmac@9630000 {
Dstih407-family.dtsi657 ethernet0: dwmac@9630000 {
660 compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
Dlpc18xx.dtsi170 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
Dsocfpga.dtsi524 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
542 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
Dexynos5440.dtsi190 compatible = "snps,dwmac-3.70a";
/linux-4.4.14/Documentation/devicetree/bindings/reset/
Dnxp,lpc1850-rgu.txt75 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
/linux-4.4.14/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi98 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
107 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
116 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
/linux-4.4.14/arch/arc/boot/dts/
Dabilis_tb10x.dtsi95 compatible = "snps,dwmac-3.70a","snps,dwmac";
Dvdk_axs10x_mb.dtsi30 compatible = "snps,dwmac";
Daxs10x_mb.dtsi41 compatible = "snps,dwmac";
/linux-4.4.14/Documentation/networking/
Dstmmac.txt282 o dwmac1000_core.c: dwmac GiGa core functions;
284 o dwmac1000.h: specific header file for the dwmac GiGa;
285 o dwmac100_core: dwmac 100 core code;
286 o dwmac100_dma.c: dma functions for the dwmac 100 chip;
295 o dwmac-<XXX>.c: these are for the platform glue-logic file; e.g. dwmac-sti.c