/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-qcom-ethqos.c | 110 phy_interface_t phy_mode; member in struct:qcom_ethqos 173 if (!phy_interface_mode_is_rgmii(ethqos->phy_mode)) 385 if (ethqos->phy_mode == PHY_INTERFACE_MODE_RGMII_ID || 386 ethqos->phy_mode == PHY_INTERFACE_MODE_RGMII_TXID) 778 ret = of_get_phy_mode(np, ðqos->phy_mode); 781 switch (ethqos->phy_mode) { 793 phy_modes(ethqos->phy_mode));
|
H A D | dwmac-intel.c | 570 int phy_mode; local 575 phy_mode = fwnode_get_phy_mode(fwnode); 576 if (phy_mode >= 0) { 577 if (phy_mode == PHY_INTERFACE_MODE_SGMII || 578 phy_mode == PHY_INTERFACE_MODE_1000BASEX) 579 plat->phy_interface = phy_mode;
|
H A D | stmmac_platform.c | 438 int phy_mode; local 454 phy_mode = device_get_phy_mode(&pdev->dev); 455 if (phy_mode < 0) 456 return ERR_PTR(phy_mode); 458 plat->phy_interface = phy_mode;
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 1726 phy_interface_t phy_mode; local 1730 of_get_phy_mode(portnp, &phy_mode); 1734 if (phy_mode == PHY_INTERFACE_MODE_NA) 1735 phy_mode = PHY_INTERFACE_MODE_INTERNAL; 1737 if (phy_mode != PHY_INTERFACE_MODE_SGMII && 1738 phy_mode != PHY_INTERFACE_MODE_QSGMII && 1739 phy_mode != PHY_INTERFACE_MODE_INTERNAL) { 1741 phy_modes(phy_mode), port); 1745 ocelot_port->phy_mode = phy_mode; [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_main.c | 364 .phy_mode = PHY_INTERFACE_MODE_GMII 369 .phy_mode = PHY_INTERFACE_MODE_SGMII 457 mlxbf_gige_link_cfgs[priv->hw_version].phy_mode);
|
H A D | mlxbf_gige.h | 91 phy_interface_t phy_mode; member in struct:mlxbf_gige_link_cfg
|
/linux-master/drivers/net/ethernet/apm/xgene-v2/ |
H A D | mdio.c | 132 pdata->resources.phy_mode);
|
/linux-master/drivers/phy/samsung/ |
H A D | phy-samsung-ufs.h | 127 enum phy_mode mode;
|
/linux-master/drivers/staging/octeon/ |
H A D | ethernet-mdio.c | 153 priv->phy_mode);
|
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmmii.c | 535 int phy_mode = device_get_phy_mode(kdev); local 537 if (phy_mode < 0) { 539 return phy_mode; 542 priv->phy_interface = phy_mode;
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | mdio_10g.c | 160 else if (ef4_phy_mode_disabled(efx->phy_mode)) 182 efx->phy_mode & PHY_MODE_TX_DISABLED);
|
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 785 mt7601u_phy_rf_pa_mode_val(struct mt7601u_dev *dev, int phy_mode, int tx_rate) argument 790 switch (phy_mode) { 1019 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) argument 1023 trace_freq_cal_offset(dev, phy_mode, last_offset); 1029 switch (phy_mode) { 1081 u8 phy_mode; local 1086 phy_mode = dev->bcn_phy_mode; 1089 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode);
|
/linux-master/drivers/phy/qualcomm/ |
H A D | phy-qcom-usb-hs-28nm.c | 65 enum phy_mode mode; 68 static int qcom_snps_hsphy_set_mode(struct phy *phy, enum phy_mode mode,
|
H A D | phy-qcom-snps-femto-v2.c | 137 enum phy_mode mode; 229 static int qcom_snps_hsphy_set_mode(struct phy *phy, enum phy_mode mode,
|
H A D | phy-qcom-snps-eusb2.c | 133 enum phy_mode mode; 138 static int qcom_snps_eusb2_hsphy_set_mode(struct phy *p, enum phy_mode mode, int submode)
|
/linux-master/drivers/usb/host/ |
H A D | fsl-mph-dr-of.c | 220 pdata->phy_mode = determine_usb_phy(prop); 309 if (pdata->phy_mode == FSL_USB2_PHY_UTMI_WIDE) {
|
/linux-master/drivers/net/ethernet/hisilicon/ |
H A D | hip04_eth.c | 214 phy_interface_t phy_mode; member in struct:hip04_priv 264 switch (priv->phy_mode) { 956 ret = of_get_phy_mode(node, &priv->phy_mode); 979 0, priv->phy_mode); 997 if (priv->phy_mode == PHY_INTERFACE_MODE_MII)
|
/linux-master/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 197 static inline int emac_phy_supports_gige(int phy_mode) argument 199 return phy_interface_mode_is_rgmii(phy_mode) || 200 phy_mode == PHY_INTERFACE_MODE_GMII || 201 phy_mode == PHY_INTERFACE_MODE_SGMII || 202 phy_mode == PHY_INTERFACE_MODE_TBI || 203 phy_mode == PHY_INTERFACE_MODE_RTBI; 206 static inline int emac_phy_gpcs(int phy_mode) argument 208 return phy_mode == PHY_INTERFACE_MODE_SGMII || 209 phy_mode == PHY_INTERFACE_MODE_TBI || 210 phy_mode [all...] |
/linux-master/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 2370 lp->phy_mode = PHY_INTERFACE_MODE_MII; 2373 lp->phy_mode = PHY_INTERFACE_MODE_GMII; 2376 lp->phy_mode = PHY_INTERFACE_MODE_RGMII_ID; 2379 lp->phy_mode = PHY_INTERFACE_MODE_SGMII; 2382 lp->phy_mode = PHY_INTERFACE_MODE_1000BASEX; 2389 ret = of_get_phy_mode(pdev->dev.of_node, &lp->phy_mode); 2393 if (lp->switch_x_sgmii && lp->phy_mode != PHY_INTERFACE_MODE_SGMII && 2394 lp->phy_mode != PHY_INTERFACE_MODE_1000BASEX) { 2536 if (lp->phy_mode == PHY_INTERFACE_MODE_SGMII || 2537 lp->phy_mode [all...] |
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | reg.c | 161 ch->phy_mode = MODE_11G; 163 ch->phy_mode = MODE_11A; 173 ch->antennamax, ch->phy_mode);
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_mdio.c | 408 if (priv->phy_mode[port] != PHY_INTERFACE_MODE_SGMII && 409 priv->phy_mode[port] != PHY_INTERFACE_MODE_2500BASEX) 412 xpcs = xpcs_create_mdiodev(bus, port, priv->phy_mode[port]);
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 787 phy_interface_t phy_mode, 854 phy_mode, 1188 phy_interface_t phy_mode; local 1195 phy_mode = fwnode_get_phy_mode(portnp); 1196 err = lan966x_probe_port(lan966x, p, phy_mode, portnp); 1201 lan966x->ports[p]->config.portmode = phy_mode; 786 lan966x_probe_port(struct lan966x *lan966x, u32 p, phy_interface_t phy_mode, struct fwnode_handle *portnp) argument
|
/linux-master/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-comphy.c | 180 enum phy_mode mode; 271 enum phy_mode mode; 296 enum phy_mode mode, int submode) 326 enum phy_mode mode, int submode) 332 enum phy_mode mode, int submode) 854 enum phy_mode mode, int submode)
|
/linux-master/drivers/net/ethernet/dec/tulip/ |
H A D | dmfe.c | 1626 u16 phy_mode; local 1631 phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); 1632 phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); 1634 if ( (phy_mode & 0x24) == 0x24 ) { 1636 phy_mode = dmfe_phy_read(db->ioaddr, 1639 phy_mode = dmfe_phy_read(db->ioaddr, 1641 switch (phy_mode) { 1652 DMFE_DBUG(0, "Link Failed :", phy_mode);
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-mac.c | 37 static int phy_mode(enum dpmac_eth_if eth_if, phy_interface_t *if_mode) function 145 err = phy_mode(attr.eth_if, &if_mode);
|