/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-sti.c | 159 struct sti_dwmac *dwmac = priv; in stih4xx_fix_retime_src() local 160 u32 src = dwmac->tx_retime_src; in stih4xx_fix_retime_src() 161 u32 reg = dwmac->ctrl_reg; in stih4xx_fix_retime_src() 164 if (dwmac->interface == PHY_INTERFACE_MODE_MII) { in stih4xx_fix_retime_src() 166 } else if (dwmac->interface == PHY_INTERFACE_MODE_RMII) { in stih4xx_fix_retime_src() 167 if (dwmac->ext_phyclk) { in stih4xx_fix_retime_src() 173 } else if (IS_PHY_IF_MODE_RGMII(dwmac->interface)) { in stih4xx_fix_retime_src() 187 if (src == TX_RETIME_SRC_CLKGEN && dwmac->clk && freq) in stih4xx_fix_retime_src() 188 clk_set_rate(dwmac->clk, freq); in stih4xx_fix_retime_src() 190 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 | 32 struct meson_dwmac *dwmac = priv; in meson6_dwmac_fix_mac_speed() local 35 val = readl(dwmac->reg); in meson6_dwmac_fix_mac_speed() 46 writel(val, dwmac->reg); in meson6_dwmac_fix_mac_speed() 51 struct meson_dwmac *dwmac; in meson6_dwmac_setup() local 54 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in meson6_dwmac_setup() 55 if (!dwmac) in meson6_dwmac_setup() 59 dwmac->reg = devm_ioremap_resource(&pdev->dev, res); in meson6_dwmac_setup() 60 if (IS_ERR(dwmac->reg)) in meson6_dwmac_setup() 61 return ERR_CAST(dwmac->reg); in meson6_dwmac_setup() 63 return dwmac; in meson6_dwmac_setup()
|
D | Makefile | 8 stmmac-platform-objs:= stmmac_platform.o dwmac-meson.o dwmac-sunxi.o \ 9 dwmac-sti.o dwmac-socfpga.o dwmac-rk.o
|
/linux-4.1.27/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 | 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 | stmmac.txt | 4 - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac"
|
/linux-4.1.27/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 | 162 ethernet0: dwmac@fe810000 { 164 compatible = "st,stih416-dwmac", "snps,dwmac", "snps,dwmac-3.710"; 184 ethernet1: dwmac@fef08000 { 186 compatible = "st,stih416-dwmac", "snps,dwmac", "snps,dwmac-3.710";
|
D | socfpga_arria10.dtsi | 125 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac"; 135 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac"; 145 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
|
D | stih41x-b2000.dtsi | 53 ethernet0: dwmac@fe810000 { 63 ethernet1: dwmac@fef08000 {
|
D | stih416-b2020e.dts | 31 ethernet1: dwmac@fef08000 {
|
D | stih41x-b2020.dtsi | 66 ethernet1: dwmac@fef08000 {
|
D | meson.dtsi | 164 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
|
D | socfpga.dtsi | 479 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; 495 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
|
D | exynos5440.dtsi | 190 compatible = "snps,dwmac-3.70a";
|
/linux-4.1.27/arch/arc/boot/dts/ |
D | abilis_tb10x.dtsi | 95 compatible = "snps,dwmac-3.70a","snps,dwmac";
|
/linux-4.1.27/Documentation/networking/ |
D | stmmac.txt | 292 o dwmac1000_core.c: dwmac GiGa core functions; 294 o dwmac1000.h: specific header file for the dwmac GiGa; 295 o dwmac100_core: dwmac 100 core code; 296 o dwmac100_dma.c: dma functions for the dwmac 100 chip; 305 o dwmac-<XXX>.c: these are for the platform glue-logic file; e.g. dwmac-sti.c
|