/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | tenxpress.c | 147 enum efx_phy_mode phy_mode; member 175 phy_data->phy_mode = efx->phy_mode; in tenxpress_phy_probe() 194 if (!(efx->phy_mode & PHY_MODE_SPECIAL)) { in tenxpress_phy_init() 318 efx, !!(efx->phy_mode & PHY_MODE_LOW_POWER), in tenxpress_low_power() 327 if (efx->phy_mode & (PHY_MODE_OFF | PHY_MODE_SPECIAL)) { in tenxpress_phy_reconfigure() 328 phy_data->phy_mode = efx->phy_mode; in tenxpress_phy_reconfigure() 332 phy_mode_change = (efx->phy_mode == PHY_MODE_NORMAL && in tenxpress_phy_reconfigure() 333 phy_data->phy_mode != PHY_MODE_NORMAL); in tenxpress_phy_reconfigure() 349 phy_data->phy_mode = efx->phy_mode; in tenxpress_phy_reconfigure()
|
D | txc43128_phy.c | 161 enum efx_phy_mode phy_mode; member 333 phy_data->phy_mode = efx->phy_mode; in txc43128_phy_probe() 367 if (!(efx->phy_mode & PHY_MODE_LOW_POWER)) in txc_glrgs_lane_power() 385 if (!(efx->phy_mode & PHY_MODE_LOW_POWER)) { in txc_analog_lane_power() 401 !!(efx->phy_mode & PHY_MODE_LOW_POWER), in txc_set_power() 450 enum efx_phy_mode mode_change = efx->phy_mode ^ phy_data->phy_mode; in txc43128_phy_reconfigure() 453 if (efx->phy_mode & mode_change & PHY_MODE_TX_DISABLED) { in txc43128_phy_reconfigure() 472 phy_data->phy_mode = efx->phy_mode; in txc43128_phy_reconfigure()
|
D | qt202x_phy.c | 60 enum efx_phy_mode phy_mode; member 350 phy_data->phy_mode = efx->phy_mode; in qt202x_phy_probe() 420 efx->phy_mode & PHY_MODE_TX_DISABLED || in qt202x_phy_reconfigure() 421 efx->phy_mode & PHY_MODE_LOW_POWER || in qt202x_phy_reconfigure() 426 if (!(efx->phy_mode & PHY_MODE_TX_DISABLED) && in qt202x_phy_reconfigure() 427 (phy_data->phy_mode & PHY_MODE_TX_DISABLED)) in qt202x_phy_reconfigure() 435 phy_data->phy_mode = efx->phy_mode; in qt202x_phy_reconfigure()
|
D | falcon_boards.c | 316 if (efx->phy_mode & PHY_MODE_SPECIAL) in sfe4001_poweron() 336 if (efx->phy_mode & PHY_MODE_SPECIAL) { in sfe4001_poweron() 364 return sprintf(buf, "%d\n", !!(efx->phy_mode & PHY_MODE_SPECIAL)); in show_phy_flash_cfg() 376 old_mode = efx->phy_mode; in set_phy_flash_cfg() 388 efx->phy_mode = new_mode; in set_phy_flash_cfg() 440 efx->phy_mode = PHY_MODE_OFF; in sfe4001_check_hw() 480 if (efx->phy_mode & PHY_MODE_SPECIAL) { in sfe4001_init()
|
D | selftest.c | 677 int phy_mode = efx->phy_mode; in efx_selftest() local 731 efx->phy_mode &= ~PHY_MODE_LOW_POWER; in efx_selftest() 746 efx->phy_mode = phy_mode; in efx_selftest()
|
D | mdio_10g.c | 163 else if (efx_phy_mode_disabled(efx->phy_mode)) in efx_mdio_links_ok() 185 efx->phy_mode & PHY_MODE_TX_DISABLED); in efx_mdio_transmit_disable()
|
D | efx.c | 960 enum efx_phy_mode phy_mode; in __efx_reconfigure_port() local 966 phy_mode = efx->phy_mode; in __efx_reconfigure_port() 968 efx->phy_mode |= PHY_MODE_TX_DISABLED; in __efx_reconfigure_port() 970 efx->phy_mode &= ~PHY_MODE_TX_DISABLED; in __efx_reconfigure_port() 975 efx->phy_mode = phy_mode; in __efx_reconfigure_port() 1015 efx->phy_mode = PHY_MODE_SPECIAL; in efx_probe_port() 2073 if (efx->phy_mode & PHY_MODE_SPECIAL) in efx_net_open()
|
D | net_driver.h | 1028 enum efx_phy_mode phy_mode; member
|
D | mcdi_port.c | 275 mode = efx->phy_mode & supported; in efx_get_mcdi_phy_flags()
|
D | falcon.c | 1184 efx_phy_mode_disabled(efx->phy_mode)) in falcon_xmac_link_ok_retry() 2066 efx->phy_mode |= PHY_MODE_LOW_POWER; in falcon_monitor()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | cpsw-phy-sel.c | 39 phy_interface_t phy_mode, int slave); 44 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352() argument 52 switch (phy_mode) { in cpsw_gmii_sel_am3352() 87 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_dra7xx() argument 95 switch (phy_mode) { in cpsw_gmii_sel_dra7xx() 143 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) in cpsw_phy_sel() argument 157 priv->cpsw_phy_sel(priv, phy_mode, slave); in cpsw_phy_sel()
|
D | cpsw.h | 43 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave);
|
D | netcp_ethss.c | 1943 phy_interface_t phy_mode; in gbe_slave_open() local 1960 phy_mode = PHY_INTERFACE_MODE_SGMII; in gbe_slave_open() 1964 phy_mode = PHY_INTERFACE_MODE_NA; in gbe_slave_open() 1975 phy_mode); in gbe_slave_open() 2407 phy_interface_t phy_mode; in init_secondary_ports() local 2460 phy_mode = PHY_INTERFACE_MODE_SGMII; in init_secondary_ports() 2463 phy_mode = PHY_INTERFACE_MODE_NA; in init_secondary_ports() 2475 0, phy_mode); in init_secondary_ports()
|
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
D | rgmii.c | 53 static inline int rgmii_valid_mode(int phy_mode) in rgmii_valid_mode() argument 55 return phy_mode == PHY_MODE_GMII || in rgmii_valid_mode() 56 phy_mode == PHY_MODE_MII || in rgmii_valid_mode() 57 phy_mode == PHY_MODE_RGMII || in rgmii_valid_mode() 58 phy_mode == PHY_MODE_TBI || in rgmii_valid_mode() 59 phy_mode == PHY_MODE_RTBI; in rgmii_valid_mode()
|
D | core.c | 200 static inline int emac_phy_supports_gige(int phy_mode) in emac_phy_supports_gige() argument 202 return phy_mode == PHY_MODE_GMII || in emac_phy_supports_gige() 203 phy_mode == PHY_MODE_RGMII || in emac_phy_supports_gige() 204 phy_mode == PHY_MODE_SGMII || in emac_phy_supports_gige() 205 phy_mode == PHY_MODE_TBI || in emac_phy_supports_gige() 206 phy_mode == PHY_MODE_RTBI; in emac_phy_supports_gige() 209 static inline int emac_phy_gpcs(int phy_mode) in emac_phy_gpcs() argument 211 return phy_mode == PHY_MODE_SGMII || in emac_phy_gpcs() 212 phy_mode == PHY_MODE_TBI || in emac_phy_gpcs() 213 phy_mode == PHY_MODE_RTBI; in emac_phy_gpcs() [all …]
|
D | core.h | 184 u32 phy_mode; member
|
/linux-4.1.27/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_ethtool.c | 62 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII) { in xgene_get_settings() 67 } else if (pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) { in xgene_get_settings() 94 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII) { in xgene_set_settings()
|
D | xgene_enet_main.c | 508 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII) in xgene_enet_open() 525 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII) in xgene_enet_close() 929 pdata->phy_mode = xgene_get_phy_mode(dev); in xgene_enet_get_resources() 930 if (pdata->phy_mode < 0) { in xgene_enet_get_resources() 932 return pdata->phy_mode; in xgene_enet_get_resources() 934 if (pdata->phy_mode != PHY_INTERFACE_MODE_RGMII && in xgene_enet_get_resources() 935 pdata->phy_mode != PHY_INTERFACE_MODE_SGMII && in xgene_enet_get_resources() 936 pdata->phy_mode != PHY_INTERFACE_MODE_XGMII) { in xgene_enet_get_resources() 949 if (pdata->phy_mode != PHY_INTERFACE_MODE_RGMII) { in xgene_enet_get_resources() 969 if (pdata->phy_mode == PHY_INTERFACE_MODE_RGMII || in xgene_enet_get_resources() [all …]
|
D | xgene_enet_main.h | 134 int phy_mode; member
|
D | xgene_enet_hw.c | 681 pdata->phy_mode)) { in xgene_enet_phy_connect()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | fsl_mxc_udc.c | 65 if (pdata->phy_mode != FSL_USB2_PHY_ULPI && in fsl_udc_clk_init() 111 if (pdata->phy_mode == FSL_USB2_PHY_ULPI) { in fsl_udc_clk_finalize()
|
D | fsl_usb2_udc.h | 498 enum fsl_usb2_phy_modes phy_mode; member
|
D | fsl_udc_core.c | 243 switch (udc->phy_mode) { in dr_controller_setup() 2259 udc->phy_mode = pdata->phy_mode; in struct_udc_setup()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-fsl.c | 195 enum fsl_usb2_phy_modes phy_mode, in ehci_fsl_setup_phy() argument 212 switch (phy_mode) { in ehci_fsl_setup_phy() 247 (phy_mode == FSL_USB2_PHY_ULPI)) { in ehci_fsl_setup_phy() 259 if (phy_mode != FSL_USB2_PHY_ULPI && pdata->have_sysif_regs) in ehci_fsl_setup_phy() 288 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0)) in ehci_fsl_usb_setup() 303 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0)) in ehci_fsl_usb_setup() 307 if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 1)) in ehci_fsl_usb_setup()
|
D | fsl-mph-dr-of.c | 206 pdata->phy_mode = determine_usb_phy(prop); in fsl_usb2_mph_dr_of_probe() 277 if (pdata->phy_mode == FSL_USB2_PHY_UTMI_WIDE) { in fsl_usb2_mpc5121_init()
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
D | uli526x.c | 1520 u16 phy_mode; in uli526x_sense_speed() local 1522 phy_mode = phy->read(db, db->phy_addr, 1); in uli526x_sense_speed() 1523 phy_mode = phy->read(db, db->phy_addr, 1); in uli526x_sense_speed() 1525 if ( (phy_mode & 0x24) == 0x24 ) { in uli526x_sense_speed() 1527 phy_mode = ((phy->read(db, db->phy_addr, 5) & 0x01e0)<<7); in uli526x_sense_speed() 1528 if(phy_mode&0x8000) in uli526x_sense_speed() 1529 phy_mode = 0x8000; in uli526x_sense_speed() 1530 else if(phy_mode&0x4000) in uli526x_sense_speed() 1531 phy_mode = 0x4000; in uli526x_sense_speed() 1532 else if(phy_mode&0x2000) in uli526x_sense_speed() [all …]
|
D | dmfe.c | 1647 u16 phy_mode; in dmfe_sense_speed() local 1652 phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed() 1653 phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed() 1655 if ( (phy_mode & 0x24) == 0x24 ) { in dmfe_sense_speed() 1657 phy_mode = dmfe_phy_read(db->ioaddr, in dmfe_sense_speed() 1660 phy_mode = dmfe_phy_read(db->ioaddr, in dmfe_sense_speed() 1662 switch (phy_mode) { in dmfe_sense_speed() 1673 DMFE_DBUG(0, "Link Failed :", phy_mode); in dmfe_sense_speed()
|
/linux-4.1.27/include/linux/ |
D | bfin_mac.h | 25 int phy_mode; member
|
D | fsl_devices.h | 76 enum fsl_usb2_phy_modes phy_mode; member
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-main.c | 266 const char *phy_mode; in xgbe_probe() local 345 &phy_mode); in xgbe_probe() 346 if (ret || strcmp(phy_mode, phy_modes(PHY_INTERFACE_MODE_XGMII))) { in xgbe_probe() 352 pdata->phy_mode = PHY_INTERFACE_MODE_XGMII; in xgbe_probe()
|
D | xgbe.h | 742 phy_interface_t phy_mode; member
|
D | xgbe-drv.c | 840 pdata->phy_mode); in xgbe_phy_init()
|
/linux-4.1.27/include/linux/usb/ |
D | chipidea.h | 19 enum usb_phy_interface phy_mode; member
|
/linux-4.1.27/drivers/net/ethernet/hisilicon/ |
D | hip04_eth.c | 152 int phy_mode; member 199 switch (priv->phy_mode) { in hip04_config_port() 865 priv->phy_mode = of_get_phy_mode(node); in hip04_mac_probe() 866 if (priv->phy_mode < 0) { in hip04_mac_probe() 889 0, priv->phy_mode); in hip04_mac_probe() 908 if (priv->phy_mode == PHY_INTERFACE_MODE_MII) in hip04_mac_probe()
|
D | hix5hd2_gmac.c | 223 phy_interface_t phy_mode; member 242 switch (priv->phy_mode) { in hix5hd2_config_port() 692 &hix5hd2_adjust_link, 0, priv->phy_mode); in hix5hd2_net_open() 954 priv->phy_mode = of_get_phy_mode(node); in hix5hd2_dev_probe() 955 if (priv->phy_mode < 0) { in hix5hd2_dev_probe()
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | mach-cpuimx35.c | 140 .phy_mode = FSL_USB2_PHY_UTMI,
|
D | mx31moboard-smartbot.c | 120 .phy_mode = FSL_USB2_PHY_ULPI,
|
D | mx31moboard-devboard.c | 224 .phy_mode = FSL_USB2_PHY_ULPI,
|
D | mach-vpr200.c | 240 .phy_mode = FSL_USB2_PHY_UTMI,
|
D | mach-pca100.c | 297 .phy_mode = FSL_USB2_PHY_ULPI,
|
D | mx31moboard-marxbot.c | 337 .phy_mode = FSL_USB2_PHY_ULPI,
|
D | mach-pcm043.c | 326 .phy_mode = FSL_USB2_PHY_UTMI,
|
D | mach-mx27_3ds.c | 245 .phy_mode = FSL_USB2_PHY_ULPI,
|
D | mach-mx35_3ds.c | 509 .phy_mode = FSL_USB2_PHY_UTMI_WIDE,
|
D | mach-pcm037.c | 551 .phy_mode = FSL_USB2_PHY_ULPI,
|
D | mach-mx31_3ds.c | 665 .phy_mode = FSL_USB2_PHY_ULPI,
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | core.c | 289 switch (ci->platdata->phy_mode) { in hw_phymode_configure() 379 switch (ci->platdata->phy_mode) { in ci_usb_phy_init() 563 if (!platdata->phy_mode) in ci_get_platdata() 564 platdata->phy_mode = of_usb_get_phy_mode(dev->of_node); in ci_get_platdata()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
D | phy_shim.h | 169 void wlapi_high_update_phy_mode(struct phy_shim_info *physhim, u32 phy_mode);
|
D | d11.h | 233 u16 phy_mode; /* 0x438 */ member
|
/linux-4.1.27/arch/blackfin/mach-bf537/boards/ |
D | dnp5370.c | 65 .phy_mode = PHY_INTERFACE_MODE_RMII,
|
D | pnav10.c | 116 .phy_mode = PHY_INTERFACE_MODE_RMII,
|
D | minotaur.c | 84 .phy_mode = PHY_INTERFACE_MODE_MII,
|
D | cm_bf537u.c | 566 .phy_mode = PHY_INTERFACE_MODE_MII,
|
D | tcm_bf537.c | 568 .phy_mode = PHY_INTERFACE_MODE_MII,
|
D | cm_bf537e.c | 712 .phy_mode = PHY_INTERFACE_MODE_MII,
|
D | stamp.c | 345 .phy_mode = PHY_INTERFACE_MODE_MII,
|
/linux-4.1.27/drivers/net/ethernet/adi/ |
D | bfin_mac.c | 380 static int mii_probe(struct net_device *dev, int phy_mode) in mii_probe() argument 416 if (phy_mode != PHY_INTERFACE_MODE_RMII && in mii_probe() 417 phy_mode != PHY_INTERFACE_MODE_MII) { in mii_probe() 423 &bfin_mac_adjust_link, phy_mode); in mii_probe() 1684 rc = mii_probe(ndev, mii_bus_data->phy_mode); in bfin_mac_probe()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mvneta.c | 2977 static int mvneta_port_power_up(struct mvneta_port *pp, int phy_mode) in mvneta_port_power_up() argument 2989 switch(phy_mode) { in mvneta_port_power_up() 3033 int phy_mode; in mvneta_probe() local 3074 phy_mode = of_get_phy_mode(dn); in mvneta_probe() 3075 if (phy_mode < 0) { in mvneta_probe() 3089 pp->phy_interface = phy_mode; in mvneta_probe() 3145 err = mvneta_port_power_up(pp, phy_mode); in mvneta_probe()
|
D | mvpp2.c | 6045 int phy_mode; in mvpp2_port_probe() local 6061 phy_mode = of_get_phy_mode(port_node); in mvpp2_port_probe() 6062 if (phy_mode < 0) { in mvpp2_port_probe() 6064 err = phy_mode; in mvpp2_port_probe() 6094 port->phy_interface = phy_mode; in mvpp2_port_probe()
|
/linux-4.1.27/arch/blackfin/mach-bf518/boards/ |
D | tcm-bf518.c | 97 .phy_mode = PHY_INTERFACE_MODE_MII,
|
D | ezbrd.c | 120 .phy_mode = PHY_INTERFACE_MODE_MII,
|
/linux-4.1.27/drivers/scsi/mvsas/ |
D | mv_sas.h | 235 u8 phy_mode; member
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.h | 1121 __le32 phy_mode; member 1289 __le32 phy_mode; member
|
D | wmi.h | 2005 u8 phy_mode; /* valid for 10.2 only */ member 2297 __le32 phy_mode; member 2841 __le32 phy_mode; member 4797 __le32 phy_mode; member
|
D | wmi.c | 1326 static inline enum ieee80211_band phy_mode_to_band(u32 phy_mode) in phy_mode_to_band() argument 1330 switch (phy_mode) { in phy_mode_to_band() 1472 arg->phy_mode = ev_hdr->phy_mode; in ath10k_wmi_op_pull_mgmt_rx_ev() 1494 u32 phy_mode; in ath10k_wmi_event_mgmt_rx() local 1511 phy_mode = __le32_to_cpu(arg.phy_mode); in ath10k_wmi_event_mgmt_rx() 1559 if (phy_mode == MODE_11B && status->band == IEEE80211_BAND_5GHZ) in ath10k_wmi_event_mgmt_rx()
|
D | wmi-tlv.c | 489 arg->phy_mode = ev->phy_mode; in ath10k_wmi_tlv_op_pull_mgmt_rx_ev() 1928 cmd->phy_mode = __cpu_to_le32(arg->peer_phymode); in ath10k_wmi_tlv_op_gen_peer_assoc()
|
/linux-4.1.27/arch/blackfin/mach-bf527/boards/ |
D | ezbrd.c | 213 .phy_mode = PHY_INTERFACE_MODE_RMII,
|
D | ad7160eval.c | 224 .phy_mode = PHY_INTERFACE_MODE_RMII,
|
D | tll6527m.c | 273 .phy_mode = PHY_INTERFACE_MODE_RMII,
|
D | cm_bf527.c | 293 .phy_mode = PHY_INTERFACE_MODE_RMII,
|
D | ezkit.c | 387 .phy_mode = PHY_INTERFACE_MODE_RMII,
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-fsl-usb.c | 924 switch (pdata->phy_mode) { in usb_otg_start()
|
/linux-4.1.27/drivers/phy/ |
D | phy-xgene.c | 521 enum phy_mode { enum 545 enum phy_mode mode; /* Mode of operation */
|