/drivers/net/ethernet/ti/ |
H A D | cpsw-phy-sel.c | 39 phy_interface_t phy_mode, int slave); 44 phy_interface_t phy_mode, int slave) 52 switch (phy_mode) { 87 phy_interface_t phy_mode, int slave) 95 switch (phy_mode) { 143 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) argument 157 priv->cpsw_phy_sel(priv, phy_mode, slave); 43 cpsw_gmii_sel_am3352(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) argument 86 cpsw_gmii_sel_dra7xx(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) argument
|
H A D | cpsw.h | 43 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave);
|
/drivers/net/ethernet/sfc/ |
H A D | tenxpress.c | 147 enum efx_phy_mode phy_mode; member in struct:tenxpress_phy_data 175 phy_data->phy_mode = efx->phy_mode; 194 if (!(efx->phy_mode & PHY_MODE_SPECIAL)) { 318 efx, !!(efx->phy_mode & PHY_MODE_LOW_POWER), 327 if (efx->phy_mode & (PHY_MODE_OFF | PHY_MODE_SPECIAL)) { 328 phy_data->phy_mode = efx->phy_mode; 332 phy_mode_change = (efx->phy_mode == PHY_MODE_NORMAL && 333 phy_data->phy_mode ! [all...] |
H A D | txc43128_phy.c | 161 enum efx_phy_mode phy_mode; member in struct:txc43128_data 333 phy_data->phy_mode = efx->phy_mode; 367 if (!(efx->phy_mode & PHY_MODE_LOW_POWER)) 385 if (!(efx->phy_mode & PHY_MODE_LOW_POWER)) { 401 !!(efx->phy_mode & PHY_MODE_LOW_POWER), 450 enum efx_phy_mode mode_change = efx->phy_mode ^ phy_data->phy_mode; 453 if (efx->phy_mode & mode_change & PHY_MODE_TX_DISABLED) { 472 phy_data->phy_mode [all...] |
H A D | qt202x_phy.c | 60 enum efx_phy_mode phy_mode; member in struct:qt202x_phy_data 350 phy_data->phy_mode = efx->phy_mode; 420 efx->phy_mode & PHY_MODE_TX_DISABLED || 421 efx->phy_mode & PHY_MODE_LOW_POWER || 426 if (!(efx->phy_mode & PHY_MODE_TX_DISABLED) && 427 (phy_data->phy_mode & PHY_MODE_TX_DISABLED)) 435 phy_data->phy_mode = efx->phy_mode;
|
H A D | falcon_boards.c | 316 if (efx->phy_mode & PHY_MODE_SPECIAL) 336 if (efx->phy_mode & PHY_MODE_SPECIAL) { 364 return sprintf(buf, "%d\n", !!(efx->phy_mode & PHY_MODE_SPECIAL)); 376 old_mode = efx->phy_mode; 388 efx->phy_mode = new_mode; 440 efx->phy_mode = PHY_MODE_OFF; 480 if (efx->phy_mode & PHY_MODE_SPECIAL) {
|
H A D | mdio_10g.c | 163 else if (efx_phy_mode_disabled(efx->phy_mode)) 185 efx->phy_mode & PHY_MODE_TX_DISABLED);
|
H A D | selftest.c | 677 int phy_mode = efx->phy_mode; local 731 efx->phy_mode &= ~PHY_MODE_LOW_POWER; 746 efx->phy_mode = phy_mode;
|
H A D | efx.c | 960 enum efx_phy_mode phy_mode; local 966 phy_mode = efx->phy_mode; 968 efx->phy_mode |= PHY_MODE_TX_DISABLED; 970 efx->phy_mode &= ~PHY_MODE_TX_DISABLED; 975 efx->phy_mode = phy_mode; 1015 efx->phy_mode = PHY_MODE_SPECIAL; 2071 if (efx->phy_mode & PHY_MODE_SPECIAL)
|
/drivers/usb/gadget/udc/ |
H A D | fsl_mxc_udc.c | 65 if (pdata->phy_mode != FSL_USB2_PHY_ULPI && 111 if (pdata->phy_mode == FSL_USB2_PHY_ULPI) {
|
/drivers/net/ethernet/ibm/emac/ |
H A D | rgmii.c | 53 static inline int rgmii_valid_mode(int phy_mode) argument 55 return phy_mode == PHY_MODE_GMII || 56 phy_mode == PHY_MODE_MII || 57 phy_mode == PHY_MODE_RGMII || 58 phy_mode == PHY_MODE_TBI || 59 phy_mode == PHY_MODE_RTBI;
|
H A D | core.c | 207 static inline int emac_phy_supports_gige(int phy_mode) argument 209 return phy_mode == PHY_MODE_GMII || 210 phy_mode == PHY_MODE_RGMII || 211 phy_mode == PHY_MODE_SGMII || 212 phy_mode == PHY_MODE_TBI || 213 phy_mode == PHY_MODE_RTBI; 216 static inline int emac_phy_gpcs(int phy_mode) argument 218 return phy_mode == PHY_MODE_SGMII || 219 phy_mode == PHY_MODE_TBI || 220 phy_mode [all...] |
H A D | core.h | 184 u32 phy_mode; member in struct:emac_instance
|
/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 62 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII) { 67 } else if (pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) { 94 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII) {
|
H A D | xgene_enet_main.c | 461 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII) 478 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII) 811 pdata->phy_mode = of_get_phy_mode(pdev->dev.of_node); 812 if (pdata->phy_mode < 0) { 814 return pdata->phy_mode; 816 if (pdata->phy_mode != PHY_INTERFACE_MODE_RGMII && 817 pdata->phy_mode != PHY_INTERFACE_MODE_SGMII && 818 pdata->phy_mode != PHY_INTERFACE_MODE_XGMII) { 835 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII || 836 pdata->phy_mode [all...] |
H A D | xgene_enet_main.h | 119 int phy_mode; member in struct:xgene_enet_pdata
|
/drivers/usb/host/ |
H A D | ehci-fsl.c | 201 enum fsl_usb2_phy_modes phy_mode, 218 switch (phy_mode) { 253 (phy_mode == FSL_USB2_PHY_ULPI)) { 265 if (phy_mode != FSL_USB2_PHY_ULPI && pdata->have_sysif_regs) 294 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0)) 309 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0)) 313 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 1)) 200 ehci_fsl_setup_phy(struct usb_hcd *hcd, enum fsl_usb2_phy_modes phy_mode, unsigned int port_offset) argument
|
H A D | fsl-mph-dr-of.c | 206 pdata->phy_mode = determine_usb_phy(prop); 277 if (pdata->phy_mode == FSL_USB2_PHY_UTMI_WIDE) {
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | phy_shim.h | 169 void wlapi_high_update_phy_mode(struct phy_shim_info *physhim, u32 phy_mode);
|
/drivers/net/ethernet/dec/tulip/ |
H A D | uli526x.c | 1520 u16 phy_mode; local 1522 phy_mode = phy->read(db, db->phy_addr, 1); 1523 phy_mode = phy->read(db, db->phy_addr, 1); 1525 if ( (phy_mode & 0x24) == 0x24 ) { 1527 phy_mode = ((phy->read(db, db->phy_addr, 5) & 0x01e0)<<7); 1528 if(phy_mode&0x8000) 1529 phy_mode = 0x8000; 1530 else if(phy_mode&0x4000) 1531 phy_mode = 0x4000; 1532 else if(phy_mode [all...] |
H A D | dmfe.c | 1647 u16 phy_mode; local 1652 phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); 1653 phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); 1655 if ( (phy_mode & 0x24) == 0x24 ) { 1657 phy_mode = dmfe_phy_read(db->ioaddr, 1660 phy_mode = dmfe_phy_read(db->ioaddr, 1662 switch (phy_mode) { 1673 DMFE_DBUG(0, "Link Failed :", phy_mode);
|
/drivers/usb/chipidea/ |
H A D | core.c | 264 switch (ci->platdata->phy_mode) { 311 switch (ci->platdata->phy_mode) { 460 if (!platdata->phy_mode) 461 platdata->phy_mode = of_usb_get_phy_mode(dev->of_node);
|
/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-main.c | 350 pdata->phy_mode = of_get_phy_mode(dev->of_node); 351 if (pdata->phy_mode != PHY_INTERFACE_MODE_XGMII) {
|
/drivers/net/ethernet/hisilicon/ |
H A D | hix5hd2_gmac.c | 223 phy_interface_t phy_mode; member in struct:hix5hd2_priv 242 switch (priv->phy_mode) { 692 &hix5hd2_adjust_link, 0, priv->phy_mode); 954 priv->phy_mode = of_get_phy_mode(node); 955 if (priv->phy_mode < 0) {
|
/drivers/net/ethernet/adi/ |
H A D | bfin_mac.c | 380 static int mii_probe(struct net_device *dev, int phy_mode) argument 416 if (phy_mode != PHY_INTERFACE_MODE_RMII && 417 phy_mode != PHY_INTERFACE_MODE_MII) { 423 &bfin_mac_adjust_link, phy_mode); 1686 rc = mii_probe(ndev, mii_bus_data->phy_mode);
|