/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-sti.c | 166 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 …]
|
D | dwmac-socfpga.c | 54 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 …]
|
D | dwmac-meson.c | 33 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()
|
D | Makefile | 9 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
|
D | Kconfig | 62 tristate "Amlogic Meson dwmac support" 73 tristate "Rockchip dwmac support" 84 tristate "SOCFPGA dwmac support"
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | meson-dwmac.txt | 3 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";
|
D | sti-dwmac.txt | 10 - 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";
|
D | nxp,lpc1850-dwmac.txt | 7 - compatible: Should contain "nxp,lpc1850-dwmac" 12 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
|
D | socfpga-dwmac.txt | 3 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";
|
D | ipq806x-dwmac.txt | 3 The device inherits all the properties of the dwmac/stmmac devices 8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac"
|
D | stmmac.txt | 4 - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac"
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | stih415.dtsi | 151 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";
|
D | stih416.dtsi | 184 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";
|
D | stih41x-b2000.dtsi | 53 ethernet0: dwmac@fe810000 { 63 ethernet1: dwmac@fef08000 {
|
D | socfpga_arria10.dtsi | 405 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";
|
D | stih416-b2020e.dts | 31 ethernet1: dwmac@fef08000 {
|
D | stihxxx-b2120.dtsi | 90 ethernet0: dwmac@9630000 {
|
D | stih41x-b2020.dtsi | 66 ethernet1: dwmac@fef08000 {
|
D | meson.dtsi | 165 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
|
D | stih418-b2199.dts | 106 ethernet0: dwmac@9630000 {
|
D | stih407-family.dtsi | 657 ethernet0: dwmac@9630000 { 660 compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
|
D | lpc18xx.dtsi | 170 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
|
D | socfpga.dtsi | 524 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; 542 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
|
D | exynos5440.dtsi | 190 compatible = "snps,dwmac-3.70a";
|
/linux-4.4.14/Documentation/devicetree/bindings/reset/ |
D | nxp,lpc1850-rgu.txt | 75 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
|
/linux-4.4.14/arch/arm64/boot/dts/altera/ |
D | socfpga_stratix10.dtsi | 98 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/ |
D | abilis_tb10x.dtsi | 95 compatible = "snps,dwmac-3.70a","snps,dwmac";
|
D | vdk_axs10x_mb.dtsi | 30 compatible = "snps,dwmac";
|
D | axs10x_mb.dtsi | 41 compatible = "snps,dwmac";
|
/linux-4.4.14/Documentation/networking/ |
D | stmmac.txt | 282 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
|