/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 846 struct phylink_pcs *pcs = ERR_PTR(-EOPNOTSUPP); local 849 pcs = chip->info->ops->pcs_ops->pcs_select(chip, port, 852 return pcs;
|
/linux-master/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-combo.c | 31 #include "phy-qcom-qmp-pcs-misc-v3.h" 32 #include "phy-qcom-qmp-pcs-usb-v4.h" 33 #include "phy-qcom-qmp-pcs-usb-v5.h" 34 #include "phy-qcom-qmp-pcs-usb-v6.h" 1413 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */ 1480 void __iomem *pcs; member in struct:qmp_combo 2551 qphy_setbits(qmp->pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL], 2666 void __iomem *pcs = qmp->pcs; local 2687 qmp_configure(pcs, cf [all...] |
H A D | phy-qcom-qmp-usbc.c | 29 #include "phy-qcom-qmp-pcs-misc-v3.h" 289 u16 pcs; member in struct:qmp_usbc_offsets 302 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */ 326 void __iomem *pcs; member in struct:qmp_usbc 401 .pcs = 0xc00, 461 void __iomem *pcs = qmp->pcs; local 487 qphy_setbits(pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL], SW_PWRDN); 544 qmp_configure(qmp->pcs, cfg->pcs_tbl, cfg->pcs_tbl_num); 547 qphy_clrbits(qmp->pcs, cf 644 void __iomem *pcs = qmp->pcs; local 672 void __iomem *pcs = qmp->pcs; local [all...] |
H A D | phy-qcom-qmp-usb.c | 25 #include "phy-qcom-qmp-pcs-misc-v3.h" 26 #include "phy-qcom-qmp-pcs-misc-v4.h" 27 #include "phy-qcom-qmp-pcs-usb-v4.h" 28 #include "phy-qcom-qmp-pcs-usb-v5.h" 29 #include "phy-qcom-qmp-pcs-usb-v6.h" 30 #include "phy-qcom-qmp-pcs-usb-v7.h" 1178 u16 pcs; member in struct:qmp_usb_offsets 1189 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */ 1221 void __iomem *pcs; member in struct:qmp_usb 1286 .pcs 1617 void __iomem *pcs = qmp->pcs; local 1674 void __iomem *pcs = qmp->pcs; local [all...] |
H A D | phy-qcom-qmp-usb-legacy.c | 24 #include "phy-qcom-qmp-pcs-misc-v3.h" 25 #include "phy-qcom-qmp-pcs-usb-v4.h" 26 #include "phy-qcom-qmp-pcs-usb-v5.h" 483 u16 pcs; member in struct:qmp_usb_legacy_offsets 493 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */ 528 void __iomem *pcs; member in struct:qmp_usb 770 void __iomem *pcs = qmp->pcs; local 797 qphy_setbits(pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL], SW_PWRDN); 829 void __iomem *pcs local [all...] |
H A D | phy-qcom-qmp-ufs.c | 27 #include "phy-qcom-qmp-pcs-ufs-v2.h" 28 #include "phy-qcom-qmp-pcs-ufs-v3.h" 29 #include "phy-qcom-qmp-pcs-ufs-v4.h" 30 #include "phy-qcom-qmp-pcs-ufs-v5.h" 31 #include "phy-qcom-qmp-pcs-ufs-v6.h" 890 u16 pcs; member in struct:qmp_ufs_offsets 898 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */ 905 const struct qmp_phy_init_tbl *pcs; member in struct:qmp_phy_cfg_tbls 919 /* Main init sequence for PHY blocks - serdes, tx, rx, pcs */ 943 void __iomem *pcs; member in struct:qmp_ufs 1439 void __iomem *pcs = qmp->pcs; local 1492 void __iomem *pcs = qmp->pcs; local 1573 void __iomem *pcs = qmp->pcs; local [all...] |
H A D | phy-qcom-qmp-pcie.c | 28 #include "phy-qcom-qmp-pcs-misc-v3.h" 29 #include "phy-qcom-qmp-pcs-pcie-v4.h" 30 #include "phy-qcom-qmp-pcs-pcie-v4_20.h" 31 #include "phy-qcom-qmp-pcs-pcie-v5.h" 32 #include "phy-qcom-qmp-pcs-pcie-v5_20.h" 33 #include "phy-qcom-qmp-pcs-pcie-v6.h" 34 #include "phy-qcom-qmp-pcs-pcie-v6_20.h" 2327 u16 pcs; member in struct:qmp_pcie_offsets 2343 const struct qmp_phy_init_tbl *pcs; member in struct:qmp_phy_cfg_tbls 2357 /* Main init sequence for PHY blocks - serdes, tx, rx, pcs */ 2401 void __iomem *pcs; member in struct:qmp_pcie 3360 void __iomem *pcs = qmp->pcs; local 3453 void __iomem *pcs = qmp->pcs; local [all...] |
H A D | phy-qcom-qmp-pcie-msm8996.c | 144 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */ 176 * @pcs: iomapped memory space for lane's pcs 188 void __iomem *pcs; member in struct:qmp_phy 413 void __iomem *pcs = qphy->pcs; local 436 qmp_configure(pcs, cfg->pcs_tbl, cfg->pcs_tbl_num); 442 qphy_setbits(pcs, QPHY_V2_PCS_POWER_DOWN_CONTROL, 448 qphy_clrbits(pcs, cfg->regs[QPHY_SW_RESET], SW_RESET); 451 qphy_setbits(pcs, cf [all...] |
/linux-master/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 13 #include <linux/pcs/pcs-xpcs.h> 166 return &txgbe->xpcs->pcs; 738 wx_err(wx, "failed to init mdio pcs: %d\n", ret);
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 477 if (priv->hw->pcs == STMMAC_PCS_TBI || 478 priv->hw->pcs == STMMAC_PCS_RTBI) 945 return &priv->hw->xpcs->pcs; 1125 if (priv->dma_cap.pcs) { 1131 priv->hw->pcs = STMMAC_PCS_RGMII; 1134 priv->hw->pcs = STMMAC_PCS_SGMII; 3411 if (priv->hw->pcs) { 3481 if (priv->hw->pcs) 3945 if (priv->hw->pcs != STMMAC_PCS_TBI && 3946 priv->hw->pcs ! [all...] |
H A D | dwmac4_core.c | 58 if (hw->pcs)
|
H A D | dwmac1000_core.c | 60 if (hw->pcs)
|
H A D | common.h | 18 #include <linux/pcs/pcs-xpcs.h> 416 unsigned int pcs; member in struct:dma_features 605 unsigned int pcs; member in struct:mac_device_info
|
H A D | stmmac_ethtool.c | 325 (priv->hw->pcs & STMMAC_PCS_RGMII || 326 priv->hw->pcs & STMMAC_PCS_SGMII)) { 412 (priv->hw->pcs & STMMAC_PCS_RGMII || 413 priv->hw->pcs & STMMAC_PCS_SGMII)) { 526 if (priv->hw->pcs && !stmmac_pcs_get_adv_lp(priv, priv->ioaddr, &adv_lp)) { 542 if (priv->hw->pcs && !stmmac_pcs_get_adv_lp(priv, priv->ioaddr, &adv_lp)) {
|
/linux-master/drivers/net/dsa/ |
H A D | mt7530.h | 716 struct phylink_pcs pcs; member in struct:mt753x_pcs 799 struct mt753x_pcs pcs[MT7530_NUM_PORTS]; member in struct:mt7530_priv
|
H A D | mt7530.c | 27 static struct mt753x_pcs *pcs_to_mt753x_pcs(struct phylink_pcs *pcs) argument 29 return container_of(pcs, struct mt753x_pcs, pcs); 2868 return &priv->pcs[port].pcs; 2958 static int mt753x_pcs_validate(struct phylink_pcs *pcs, argument 2970 static void mt7530_pcs_get_state(struct phylink_pcs *pcs, argument 2973 struct mt7530_priv *priv = pcs_to_mt753x_pcs(pcs)->priv; 2974 int port = pcs_to_mt753x_pcs(pcs)->port; 3005 static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigne argument 3013 mt7530_pcs_an_restart(struct phylink_pcs *pcs) argument [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.c | 430 u32 pcs = sparx5_to_pcs_dev(port->portno); local 431 void __iomem *pcsinst = spx5_inst_get(sparx5, pcs, tinst); 794 u32 pcs = sparx5_to_pcs_dev(port->portno); local 800 pcsinst = spx5_inst_get(sparx5, pcs, pix); 1021 u32 pcs = sparx5_to_pcs_dev(port->portno); local 1031 pcsinst = spx5_inst_get(sparx5, pcs, pix);
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_mdio.c | 4 #include <linux/pcs/pcs-xpcs.h> 384 snprintf(bus->id, MII_BUS_ID_SIZE, "%s-pcs",
|
/linux-master/drivers/usb/gadget/udc/ |
H A D | tegra-xudc.c | 409 bool pcs; member in struct:tegra_xudc_ep 1140 trb_write_cycle(trb, ep->pcs); 1197 trb_write_cycle(trb, ep->pcs); 1198 ep->pcs = !ep->pcs; 1340 bool pcs; local 1347 pcs = trb_read_cycle(trb); 1349 trb_write_cycle(trb, !pcs); 1362 ep->pcs = pcs_enq; 1487 ep_ctx_write_dcs(ep->context, ep->pcs); [all...] |
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 24 #include <linux/pcs/pcs-mtk-lynxi.h>
|
/linux-master/include/linux/ |
H A D | phylink.h | 423 int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, 425 int (*pcs_enable)(struct phylink_pcs *pcs); 426 void (*pcs_disable)(struct phylink_pcs *pcs); 427 void (*pcs_pre_config)(struct phylink_pcs *pcs, 429 int (*pcs_post_config)(struct phylink_pcs *pcs, 431 void (*pcs_get_state)(struct phylink_pcs *pcs, 433 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, 437 void (*pcs_an_restart)(struct phylink_pcs *pcs); 438 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, 445 * @pcs [all...] |
/linux-master/fs/erofs/ |
H A D | zdata.c | 279 struct z_erofs_pcluster_slab *pcs; local 283 for (pcs = pcluster_pool; 284 pcs < pcluster_pool + ARRAY_SIZE(pcluster_pool); ++pcs) { 285 size = struct_size(a, compressed_bvecs, pcs->maxpages); 287 sprintf(pcs->name, "erofs_pcluster-%u", pcs->maxpages); 288 pcs->slab = kmem_cache_create(pcs->name, size, 0, 290 if (pcs 302 struct z_erofs_pcluster_slab *pcs = pcluster_pool; local 325 struct z_erofs_pcluster_slab *pcs = pcluster_pool + i; local [all...] |
/linux-master/drivers/net/phy/ |
H A D | phylink.c | 51 struct phylink_pcs *pcs; member in struct:phylink 655 struct phylink_pcs *pcs; local 660 pcs = pl->mac_ops->mac_select_pcs(pl->config, state->interface); 661 if (IS_ERR(pcs)) 662 return PTR_ERR(pcs); 664 pcs = pl->pcs; 667 if (pcs) { 672 if (!pcs->ops) { 680 if (pcs 980 phylink_pcs_pre_config(struct phylink_pcs *pcs, phy_interface_t interface) argument 987 phylink_pcs_post_config(struct phylink_pcs *pcs, phy_interface_t interface) argument 998 phylink_pcs_disable(struct phylink_pcs *pcs) argument 1004 phylink_pcs_enable(struct phylink_pcs *pcs) argument 1014 phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, const struct phylink_link_state *state, bool permit_pause_to_mac) argument 1025 phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument 1146 struct phylink_pcs *pcs = NULL; local 2111 phylink_pcs_change(struct phylink_pcs *pcs, bool up) argument 3640 phylink_mii_c22_pcs_get_state(struct mdio_device *pcs, struct phylink_link_state *state) argument 3708 phylink_mii_c22_pcs_config(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) argument 3751 phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs) argument 3763 phylink_mii_c45_pcs_get_state(struct mdio_device *pcs, struct phylink_link_state *state) argument [all...] |
/linux-master/drivers/net/pcs/ |
H A D | pcs-xpcs.c | 10 #include <linux/pcs/pcs-xpcs.h> 14 #include "pcs-xpcs.h" 17 container_of((pl_pcs), struct dw_xpcs, pcs) 606 static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported, argument 614 xpcs = phylink_pcs_to_xpcs(pcs); 793 if (!xpcs->pcs.poll) 906 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 911 struct dw_xpcs *xpcs = phylink_pcs_to_xpcs(pcs); 1076 if (!xpcs->pcs 1114 xpcs_get_state(struct phylink_pcs *pcs, struct phylink_link_state *state) argument 1206 xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument 1220 xpcs_an_restart(struct phylink_pcs *pcs) argument [all...] |
H A D | pcs-rzn1-miic.c | 13 #include <linux/pcs-rzn1-miic.h> 17 #include <dt-bindings/net/pcs-rzn1-miic.h> 136 * @pcs: PCS structure associated to the port 142 struct phylink_pcs pcs; member in struct:miic_port 147 static struct miic_port *phylink_pcs_to_miic_port(struct phylink_pcs *pcs) argument 149 return container_of(pcs, struct miic_port, pcs); 186 static int miic_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 190 struct miic_port *miic_port = phylink_pcs_to_miic_port(pcs); 237 static void miic_link_up(struct phylink_pcs *pcs, unsigne argument 271 miic_validate(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state) argument 342 miic_destroy(struct phylink_pcs *pcs) argument [all...] |