Home
last modified time | relevance | path

Searched refs:eqos (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/net/
H A Ddwc_eth_qos.c390 static int eqos_mdio_wait_idle(struct eqos_priv *eqos) in eqos_mdio_wait_idle() argument
392 return wait_for_bit_le32(&eqos->mac_regs->mdio_address, in eqos_mdio_wait_idle()
400 struct eqos_priv *eqos = bus->priv; in eqos_mdio_read() local
404 debug("%s(dev=%p, addr=%x, reg=%d):\n", __func__, eqos->dev, mdio_addr, in eqos_mdio_read()
407 ret = eqos_mdio_wait_idle(eqos); in eqos_mdio_read()
413 val = readl(&eqos->mac_regs->mdio_address); in eqos_mdio_read()
418 (eqos->config->config_mac_mdio << in eqos_mdio_read()
423 writel(val, &eqos->mac_regs->mdio_address); in eqos_mdio_read()
425 udelay(eqos->config->mdio_wait); in eqos_mdio_read()
427 ret = eqos_mdio_wait_idle(eqos); in eqos_mdio_read()
[all …]
H A Dgmac_rockchip.c49 struct eqos_priv eqos; member
525 struct eqos_priv *priv = &dev->eqos; in rk3528_set_rgmii_speed()
585 struct eqos_priv *priv = &dev->eqos; in rk3562_set_gmac_speed()
666 struct eqos_priv *priv = &dev->eqos; in rk3588_set_rgmii_speed()
724 struct eqos_priv *priv = &dev->eqos; in rv1106_set_rmii_speed()
757 struct eqos_priv *priv = &dev->eqos; in rv1126_set_rgmii_speed()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-dwc-qos-eth.c185 struct tegra_eqos *eqos = priv; in tegra_eqos_fix_speed() local
207 dev_err(eqos->dev, "invalid speed %u\n", speed); in tegra_eqos_fix_speed()
213 value = readl(eqos->regs + SDMEMCOMPPADCTRL); in tegra_eqos_fix_speed()
215 writel(value, eqos->regs + SDMEMCOMPPADCTRL); in tegra_eqos_fix_speed()
219 value = readl(eqos->regs + AUTO_CAL_CONFIG); in tegra_eqos_fix_speed()
221 writel(value, eqos->regs + AUTO_CAL_CONFIG); in tegra_eqos_fix_speed()
223 err = readl_poll_timeout_atomic(eqos->regs + AUTO_CAL_STATUS, in tegra_eqos_fix_speed()
228 dev_err(eqos->dev, "calibration did not start\n"); in tegra_eqos_fix_speed()
232 err = readl_poll_timeout_atomic(eqos->regs + AUTO_CAL_STATUS, in tegra_eqos_fix_speed()
237 dev_err(eqos->dev, "calibration didn't finish\n"); in tegra_eqos_fix_speed()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dsnps,dwc-qos-ethernet.txt14 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10"
16 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10"
20 "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10". It is supported to be
72 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10":
78 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10":
92 - "eqos". The reset to the entire module. The HW signal name is hreset_n
97 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10":
98 - "eqos".
99 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10":
H A Dimx-dwmac.txt9 - compatible: Should be "nxp,imx8mp-dwmac-eqos" to select glue layer
33 eqos: ethernet@30bf0000 {
34 compatible = "nxp,imx8mp-dwmac-eqos", "snps,dwmac-5.10a";
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/net/
H A Dsnps,dwc-qos-ethernet.txt11 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10"
13 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10"
17 "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10". It is supported to be
69 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10":
75 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10":
91 - "eqos". The reset to the entire module. The HW signal name is hreset_n
96 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10":
97 - "eqos".
98 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10":
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dtegra186.dtsi35 compatible = "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10";
49 reset-names = "eqos";
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/nvidia/
H A Dtegra194.dtsi49 compatible = "nvidia,tegra194-eqos",
50 "nvidia,tegra186-eqos",
61 reset-names = "eqos";
H A Dtegra186.dtsi42 compatible = "nvidia,tegra186-eqos",
62 reset-names = "eqos";