Searched refs:phy_mode (Results 51 - 75 of 178) sorted by relevance

12345678

/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-qcom-ethqos.c110 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, &ethqos->phy_mode);
781 switch (ethqos->phy_mode) {
793 phy_modes(ethqos->phy_mode));
H A Ddwmac-intel.c570 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 Dstmmac_platform.c438 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 Docelot_net.c1726 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 Dmlxbf_gige_main.c364 .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 Dmlxbf_gige.h91 phy_interface_t phy_mode; member in struct:mlxbf_gige_link_cfg
/linux-master/drivers/net/ethernet/apm/xgene-v2/
H A Dmdio.c132 pdata->resources.phy_mode);
/linux-master/drivers/phy/samsung/
H A Dphy-samsung-ufs.h127 enum phy_mode mode;
/linux-master/drivers/staging/octeon/
H A Dethernet-mdio.c153 priv->phy_mode);
/linux-master/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c535 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 Dmdio_10g.c160 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 Dphy.c785 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 Dphy-qcom-usb-hs-28nm.c65 enum phy_mode mode;
68 static int qcom_snps_hsphy_set_mode(struct phy *phy, enum phy_mode mode,
H A Dphy-qcom-snps-femto-v2.c137 enum phy_mode mode;
229 static int qcom_snps_hsphy_set_mode(struct phy *phy, enum phy_mode mode,
H A Dphy-qcom-snps-eusb2.c133 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 Dfsl-mph-dr-of.c220 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 Dhip04_eth.c214 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 Dcore.c197 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 Dxilinx_axienet_main.c2370 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 Dreg.c161 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 Dsja1105_mdio.c408 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 Dlan966x_main.c787 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 Dphy-mvebu-cp110-comphy.c180 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 Ddmfe.c1626 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 Ddpaa2-mac.c37 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);

Completed in 350 milliseconds

12345678