| /linux/drivers/net/pcs/ |
| H A D | pcs-xpcs.c | 4 * Synopsys DesignWare XPCS helpers 11 #include <linux/pcs/pcs-xpcs.h> 17 #include "pcs-xpcs.h" 114 int (*pma_config)(struct dw_xpcs *xpcs); 124 xpcs_find_compat(struct dw_xpcs *xpcs, phy_interface_t interface) in xpcs_find_compat() argument 128 for (compat = xpcs->desc->compat; compat->supported; compat++) in xpcs_find_compat() 135 struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs) in xpcs_to_phylink_pcs() argument 137 return &xpcs->pcs; in xpcs_to_phylink_pcs() 141 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface) in xpcs_get_an_mode() argument 145 compat = xpcs_find_compat(xpcs, interface); in xpcs_get_an_mode() [all …]
|
| H A D | pcs-xpcs.h | 4 * Synopsys DesignWare XPCS helpers 10 #include <linux/pcs/pcs-xpcs.h> 119 int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg); 120 int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val); 121 int xpcs_modify(struct dw_xpcs *xpcs, int dev, u32 reg, u16 mask, u16 set); 122 int xpcs_read_vpcs(struct dw_xpcs *xpcs, int reg); 123 int xpcs_write_vpcs(struct dw_xpcs *xpcs, int reg, u16 val); 124 int nxp_sja1105_sgmii_pma_config(struct dw_xpcs *xpcs); 125 int nxp_sja1110_sgmii_pma_config(struct dw_xpcs *xpcs); 126 int nxp_sja1110_2500basex_pma_config(struct dw_xpcs *xpcs); [all …]
|
| H A D | pcs-xpcs-plat.c | 3 * Synopsys DesignWare XPCS platform device driver 15 #include <linux/pcs/pcs-xpcs.h> 22 #include "pcs-xpcs.h" 308 pxpcs->bus->name = "DW XPCS MCI/APB3"; in xpcs_plat_init_bus() 321 * the MDIO and MCI/APB3 IO interfaces utilized for the DW XPCS CSRs in xpcs_plat_init_bus() 343 /* There is a single memory-mapped DW XPCS device */ in xpcs_plat_init_dev() 354 /* Pass the data further so the DW XPCS driver core could use it */ in xpcs_plat_init_dev() 436 { .compatible = "snps,dw-xpcs", .data = &xpcs_generic }, 437 { .compatible = "snps,dw-xpcs-gen1-3g", .data = &xpcs_pma_gen1_3g }, 438 { .compatible = "snps,dw-xpcs-gen2-3g", .data = &xpcs_pma_gen2_3g }, [all …]
|
| H A D | Makefile | 4 pcs_xpcs-$(CONFIG_PCS_XPCS) := pcs-xpcs.o pcs-xpcs-plat.o \ 5 pcs-xpcs-nxp.o pcs-xpcs-wx.o
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-tegra.c | 27 void __iomem *xpcs; member 91 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_STATUS); in tegra_mgbe_resume() 93 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume() 95 writel(value, mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume() 98 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL, value, in tegra_mgbe_resume() 120 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up() 122 writel(value, mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up() 124 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up() 126 writel(value, mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up() 128 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL); in mgbe_uphy_lane_bringup_serdes_up() [all …]
|
| H A D | stmmac_main.c | 1124 if (priv->hw->xpcs && in stmmac_init_phy() 1125 xpcs_get_an_mode(priv->hw->xpcs, mode) == DW_AN_C73) in stmmac_init_phy() 1231 /* If we have an xpcs, it defines which PHY interfaces are supported. */ in stmmac_phy_setup() 1232 if (priv->hw->xpcs) in stmmac_phy_setup() 1233 pcs = xpcs_to_phylink_pcs(priv->hw->xpcs); in stmmac_phy_setup()
|
| /linux/Documentation/devicetree/bindings/net/pcs/ |
| H A D | snps,dw-xpcs.yaml | 4 $id: http://devicetree.org/schemas/net/pcs/snps,dw-xpcs.yaml# 22 by means of the APB3/MCI interfaces. In the later case the XPCS can be mapped 28 - description: Synopsys DesignWare XPCS with none or unknown PMA 29 const: snps,dw-xpcs 30 - description: Synopsys DesignWare XPCS with Consumer Gen1 3G PMA 31 const: snps,dw-xpcs-gen1-3g 32 - description: Synopsys DesignWare XPCS with Consumer Gen2 3G PMA 33 const: snps,dw-xpcs-gen2-3g 34 - description: Synopsys DesignWare XPCS with Consumer Gen2 6G PMA 35 const: snps,dw-xpcs-gen2-6g [all …]
|
| /linux/include/linux/pcs/ |
| H A D | pcs-xpcs.h | 4 * Synopsys DesignWare XPCS helpers 51 struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs); 52 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface); 53 void xpcs_config_eee_mult_fact(struct dw_xpcs *xpcs, u8 mult_fact); 56 void xpcs_destroy(struct dw_xpcs *xpcs);
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-pci.c | 160 dev_err(dev, "xpcs ioremap failed\n"); in xgbe_pci_probe() 223 dev_dbg(dev, "xpcs window def = %#010x\n", in xgbe_pci_probe() 225 dev_dbg(dev, "xpcs window sel = %#010x\n", in xgbe_pci_probe() 227 dev_dbg(dev, "xpcs window = %#010x\n", in xgbe_pci_probe() 229 dev_dbg(dev, "xpcs window size = %#010x\n", in xgbe_pci_probe() 231 dev_dbg(dev, "xpcs window mask = %#010x\n", in xgbe_pci_probe()
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | nvidia,tegra234-mgbe.yaml | 24 - const: xpcs 121 reg-names = "hypervisor", "mac", "xpcs";
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_mdio.c | 4 #include <linux/pcs/pcs-xpcs.h>
|
| H A D | sja1105_main.c | 1407 * sense, because that is done through the XPCS. We allow in sja1105_phylink_get_caps()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2.h | 603 /* XPCS registers.PPv2.2 and PPv2.3 */ 623 /* XPCS registers. PPv2.2 and PPv2.3 */
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz9477.c | 195 /* Simulate a value to activate special code in the XPCS driver if in ksz9477_pcs_read() 301 /* XPCS driver writes to this register so there is no in ksz9477_pcs_write()
|
| H A D | ksz_common.h | 13 #include <linux/pcs/pcs-xpcs.h>
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | niu.c | 8307 /* 10G fiber, XPCS */ in niu_phy_type_prop_decode() 8317 /* 10G copper, XPCS */ in niu_phy_type_prop_decode() 8474 /* 10G copper, XPCS */ in niu_pci_probe_sprom() 8481 /* 10G fiber, XPCS */ in niu_pci_probe_sprom() 9752 (np->mac_xcvr == MAC_XCVR_PCS ? "PCS" : "XPCS")), in niu_device_announce() 9763 (np->mac_xcvr == MAC_XCVR_PCS ? "PCS" : "XPCS")), in niu_device_announce()
|
| H A D | niu.h | 591 /* XPCS registers, offset from np->regs + np->xpcs_off */
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra234.dtsi | 3539 reg-names = "hypervisor", "mac", "xpcs"; 3581 reg-names = "hypervisor", "mac", "xpcs"; 3623 reg-names = "hypervisor", "mac", "xpcs"; 3665 reg-names = "hypervisor", "mac", "xpcs";
|
| /linux/ |
| H A D | CREDITS | 25 D: Synopsys DesignWare XPCS MDIO/PCS driver.
|
| H A D | MAINTAINERS | 18663 F: drivers/net/pcs/pcs-xpcs-nxp.c 24919 SYNOPSYS DESIGNWARE ETHERNET XPCS DRIVER 24922 F: drivers/net/pcs/pcs-xpcs.c 24923 F: drivers/net/pcs/pcs-xpcs.h 24924 F: include/linux/pcs/pcs-xpcs.h 27568 F: drivers/net/pcs/pcs-xpcs-wx.c
|