Home
last modified time | relevance | path

Searched refs:xpcs (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/pcs/
H A Dpcs-xpcs.c158 int (*pma_config)(struct dw_xpcs *xpcs);
168 xpcs_find_compat(struct dw_xpcs *xpcs, phy_interface_t interface) in xpcs_find_compat() argument
172 for (compat = xpcs->desc->compat; compat->supported; compat++) in xpcs_find_compat()
179 struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs) in xpcs_to_phylink_pcs() argument
181 return &xpcs->pcs; in xpcs_to_phylink_pcs()
185 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface) in xpcs_get_an_mode() argument
189 compat = xpcs_find_compat(xpcs, interface); in xpcs_get_an_mode()
212 int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg) in xpcs_read() argument
214 return mdiodev_c45_read(xpcs->mdiodev, dev, reg); in xpcs_read()
217 int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val) in xpcs_write() argument
[all …]
H A Dpcs-xpcs.h119 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);
127 int txgbe_xpcs_switch_mode(struct dw_xpcs *xpcs, phy_interface_t interface);
H A DMakefile4 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 Ddwmac-tegra.c27 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 Ddwmac-intel.c613 return xpcs_to_phylink_pcs(priv->hw->xpcs); in intel_mgbe_select_pcs()
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234.dtsi3593 reg-names = "hypervisor", "mac", "xpcs";
3635 reg-names = "hypervisor", "mac", "xpcs";
3677 reg-names = "hypervisor", "mac", "xpcs";
3719 reg-names = "hypervisor", "mac", "xpcs";
/linux/
H A DMAINTAINERS19808 F: drivers/net/pcs/pcs-xpcs-nxp.c
26526 F: drivers/net/pcs/pcs-xpcs.c
26527 F: drivers/net/pcs/pcs-xpcs.h
26528 F: include/linux/pcs/pcs-xpcs.h
29352 F: drivers/net/pcs/pcs-xpcs-wx.c