/linux-master/drivers/phy/qualcomm/ |
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-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-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...] |
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-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...] |
/linux-master/drivers/hwmon/peci/ |
H A D | cputemp.c | 90 u32 pcs; local 96 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_TEMP_TARGET, 0, &pcs); 101 FIELD_GET(TEMP_TARGET_REF_TEMP_MASK, pcs) * MILLIDEGREE_PER_DEGREE; 103 tcontrol_margin = FIELD_GET(TEMP_TARGET_FAN_TEMP_MASK, pcs); 107 tthrottle_offset = FIELD_GET(TEMP_TARGET_TJ_OFFSET_MASK, pcs) * MILLIDEGREE_PER_DEGREE; 217 u32 pcs; local 223 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_THERMAL_MARGIN, 0, &pcs); 227 thermal_margin = FIELD_GET(DTS_MARGIN_MASK, pcs); 255 u32 pcs; local 261 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_MODULE_TEMP, core_index, &pcs); [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-mac.h | 27 struct phylink_pcs *pcs; member in struct:dpaa2_mac
|
/linux-master/drivers/net/ethernet/freescale/fman/ |
H A D | fman_memac.c | 14 #include <linux/pcs-lynx.h> 976 static void pcs_put(struct phylink_pcs *pcs) argument 978 if (IS_ERR_OR_NULL(pcs)) 981 lynx_pcs_destroy(pcs); 1041 struct phylink_pcs *pcs; local 1047 pcs = lynx_pcs_create_fwnode(of_fwnode_handle(node)); 1050 return pcs; 1071 struct phylink_pcs *pcs; local 1104 err = of_property_match_string(mac_node, "pcs-handle-names", "xfi"); 1109 dev_err_probe(mac_dev->dev, err, "missing xfi pcs\ [all...] |
H A D | fman_dtsec.c | 321 struct phylink_pcs pcs; member in struct:fman_mac 753 static struct fman_mac *pcs_to_dtsec(struct phylink_pcs *pcs) argument 755 return container_of(pcs, struct fman_mac, pcs); 758 static void dtsec_pcs_get_state(struct phylink_pcs *pcs, argument 761 struct fman_mac *dtsec = pcs_to_dtsec(pcs); 766 static int dtsec_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 771 struct fman_mac *dtsec = pcs_to_dtsec(pcs); 777 static void dtsec_pcs_an_restart(struct phylink_pcs *pcs) argument 779 struct fman_mac *dtsec = pcs_to_dtsec(pcs); [all...] |
/linux-master/drivers/net/pcs/ |
H A D | pcs-xpcs-nxp.c | 4 #include <linux/pcs/pcs-xpcs.h> 5 #include "pcs-xpcs.h"
|
H A D | pcs-xpcs-wx.c | 4 #include <linux/pcs/pcs-xpcs.h> 6 #include "pcs-xpcs.h"
|
/linux-master/drivers/net/dsa/ocelot/ |
H A D | felix.h | 93 struct phylink_pcs **pcs; member in struct:felix
|
/linux-master/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1290 struct phylink_pcs *pcs = NULL; local 1297 pcs = &priv->pcs_port_0.pcs; 1301 pcs = &priv->pcs_port_6.pcs; 1310 return pcs; 1478 static struct qca8k_pcs *pcs_to_qca8k_pcs(struct phylink_pcs *pcs) argument 1480 return container_of(pcs, struct qca8k_pcs, pcs); 1483 static void qca8k_pcs_get_state(struct phylink_pcs *pcs, argument 1523 qca8k_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) argument 1612 qca8k_pcs_an_restart(struct phylink_pcs *pcs) argument [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/dsa/ |
H A D | rzn1_a5psw.c | 248 if (!dsa_port_is_cpu(dp) && a5psw->pcs[port]) 249 return a5psw->pcs[port]; 1136 for (i = 0; i < ARRAY_SIZE(a5psw->pcs); i++) { 1137 if (a5psw->pcs[i]) 1138 miic_destroy(a5psw->pcs[i]); 1145 struct phylink_pcs *pcs; local 1154 pcs_node = of_parse_phandle(port, "pcs-handle", 0); 1163 if (reg >= ARRAY_SIZE(a5psw->pcs)) { 1168 pcs = miic_create(a5psw->dev, pcs_node); 1169 if (IS_ERR(pcs)) { [all...] |
H A D | rzn1_a5psw.h | 15 #include <linux/pcs-rzn1-miic.h> 242 * @pcs: Array of PCS connected to the switch ports (not for the CPU) 256 struct phylink_pcs *pcs[A5PSW_PORTS_NUM - 1]; member in struct:a5psw
|
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/stmicro/stmmac/ |
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 | dwmac-socfpga.c | 14 #include <linux/pcs-lynx.h> 475 snprintf(mrc.name, MII_BUS_ID_SIZE, "%s-pcs-mii", ndev->name); 501 struct phylink_pcs *pcs = priv->hw->lynx_pcs; local 505 lynx_pcs_destroy(pcs);
|
/linux-master/drivers/net/ |
H A D | Makefile | 29 obj-y += pcs/
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 1483 int pcs; local 1486 pcs = netdev_get_num_tc(dev); 1488 if (pcs <= 1) 1493 f->indices = pcs; 1494 f->mask = BIT(fls(pcs - 1)) - 1; 1497 rss_i = interface->hw.mac.max_queues / pcs; 1507 for (i = 0; i < pcs; i++) 1510 interface->num_rx_queues = rss_i * pcs; 1511 interface->num_tx_queues = rss_i * pcs;
|
/linux-master/drivers/usb/cdns3/ |
H A D | cdns3-debug.h | 136 priv_ep->free_trbs, priv_ep->ccs, priv_ep->pcs);
|
/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/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 2008 static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pcs) argument 2010 return container_of(pcs, struct axienet_local, pcs); 2013 static void axienet_pcs_get_state(struct phylink_pcs *pcs, argument 2016 struct mdio_device *pcs_phy = pcs_to_axienet_local(pcs)->pcs_phy; 2021 static void axienet_pcs_an_restart(struct phylink_pcs *pcs) argument 2023 struct mdio_device *pcs_phy = pcs_to_axienet_local(pcs)->pcs_phy; 2028 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 2033 struct mdio_device *pcs_phy = pcs_to_axienet_local(pcs)->pcs_phy; 2034 struct net_device *ndev = pcs_to_axienet_local(pcs) [all...] |
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_main.c | 240 static struct prestera_port *prestera_pcs_to_port(struct phylink_pcs *pcs) argument 242 return container_of(pcs, struct prestera_port, phylink_pcs); 282 static void prestera_pcs_get_state(struct phylink_pcs *pcs, argument 285 struct prestera_port *port = container_of(pcs, struct prestera_port, 303 static int prestera_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 308 struct prestera_port *port = prestera_pcs_to_port(pcs); 348 static void prestera_pcs_an_restart(struct phylink_pcs *pcs) argument
|