/linux-2.6.39/drivers/net/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 | 663 int phy_mode = efx->phy_mode; in efx_selftest() local 728 efx->phy_mode &= ~PHY_MODE_LOW_POWER; in efx_selftest() 752 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 | 867 enum efx_phy_mode phy_mode; in __efx_reconfigure_port() local 879 phy_mode = efx->phy_mode; in __efx_reconfigure_port() 881 efx->phy_mode |= PHY_MODE_TX_DISABLED; in __efx_reconfigure_port() 883 efx->phy_mode &= ~PHY_MODE_TX_DISABLED; in __efx_reconfigure_port() 888 efx->phy_mode = phy_mode; in __efx_reconfigure_port() 931 efx->phy_mode = PHY_MODE_SPECIAL; in efx_probe_port() 1708 if (efx->phy_mode & PHY_MODE_SPECIAL) in efx_net_open()
|
/linux-2.6.39/drivers/net/ibm_newemac/ |
D | rgmii.c | 51 static inline int rgmii_valid_mode(int phy_mode) in rgmii_valid_mode() argument 53 return phy_mode == PHY_MODE_GMII || in rgmii_valid_mode() 54 phy_mode == PHY_MODE_MII || in rgmii_valid_mode() 55 phy_mode == PHY_MODE_RGMII || in rgmii_valid_mode() 56 phy_mode == PHY_MODE_TBI || in rgmii_valid_mode() 57 phy_mode == PHY_MODE_RTBI; in rgmii_valid_mode()
|
D | core.c | 204 static inline int emac_phy_supports_gige(int phy_mode) in emac_phy_supports_gige() argument 206 return phy_mode == PHY_MODE_GMII || in emac_phy_supports_gige() 207 phy_mode == PHY_MODE_RGMII || in emac_phy_supports_gige() 208 phy_mode == PHY_MODE_SGMII || in emac_phy_supports_gige() 209 phy_mode == PHY_MODE_TBI || in emac_phy_supports_gige() 210 phy_mode == PHY_MODE_RTBI; in emac_phy_supports_gige() 213 static inline int emac_phy_gpcs(int phy_mode) in emac_phy_gpcs() argument 215 return phy_mode == PHY_MODE_SGMII || in emac_phy_gpcs() 216 phy_mode == PHY_MODE_TBI || in emac_phy_gpcs() 217 phy_mode == PHY_MODE_RTBI; in emac_phy_gpcs() [all …]
|
/linux-2.6.39/drivers/usb/host/ |
D | ehci-fsl.c | 182 enum fsl_usb2_phy_modes phy_mode, in ehci_fsl_setup_phy() argument 190 switch (phy_mode) { in ehci_fsl_setup_phy() 240 ehci_fsl_setup_phy(ehci, pdata->phy_mode, 0); in ehci_fsl_usb_setup() 254 ehci_fsl_setup_phy(ehci, pdata->phy_mode, 0); in ehci_fsl_usb_setup() 256 ehci_fsl_setup_phy(ehci, pdata->phy_mode, 1); in ehci_fsl_usb_setup()
|
D | fsl-mph-dr-of.c | 168 pdata->phy_mode = determine_usb_phy(prop); in fsl_usb2_mph_dr_of_probe() 238 if (pdata->phy_mode == FSL_USB2_PHY_UTMI_WIDE) { in fsl_usb2_mpc5121_init()
|
/linux-2.6.39/drivers/usb/gadget/ |
D | fsl_mxc_udc.c | 59 if (pdata->phy_mode != FSL_USB2_PHY_ULPI && in fsl_udc_clk_init() 107 if (pdata->phy_mode == FSL_USB2_PHY_ULPI) { in fsl_udc_clk_finalize()
|
/linux-2.6.39/drivers/net/tulip/ |
D | uli526x.c | 1526 u16 phy_mode; in uli526x_sense_speed() local 1528 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in uli526x_sense_speed() 1529 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in uli526x_sense_speed() 1531 if ( (phy_mode & 0x24) == 0x24 ) { in uli526x_sense_speed() 1533 phy_mode = ((phy_read(db->ioaddr, db->phy_addr, 5, db->chip_id) & 0x01e0)<<7); in uli526x_sense_speed() 1534 if(phy_mode&0x8000) in uli526x_sense_speed() 1535 phy_mode = 0x8000; in uli526x_sense_speed() 1536 else if(phy_mode&0x4000) in uli526x_sense_speed() 1537 phy_mode = 0x4000; in uli526x_sense_speed() 1538 else if(phy_mode&0x2000) in uli526x_sense_speed() [all …]
|
D | dmfe.c | 1627 u16 phy_mode; in dmfe_sense_speed() local 1632 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed() 1633 phy_mode = phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_sense_speed() 1635 if ( (phy_mode & 0x24) == 0x24 ) { in dmfe_sense_speed() 1637 phy_mode = phy_read(db->ioaddr, in dmfe_sense_speed() 1640 phy_mode = phy_read(db->ioaddr, in dmfe_sense_speed() 1642 pr_debug("Phy_mode %x\n", phy_mode); in dmfe_sense_speed() 1643 switch (phy_mode) { in dmfe_sense_speed() 1654 DMFE_DBUG(0, "Link Failed :", phy_mode); in dmfe_sense_speed()
|
/linux-2.6.39/include/linux/ |
D | bfin_mac.h | 25 int phy_mode; member
|
D | fsl_devices.h | 67 enum fsl_usb2_phy_modes phy_mode; member
|
/linux-2.6.39/arch/arm/mach-tegra/include/mach/ |
D | usb_phy.h | 65 void *config, enum tegra_usb_phy_mode phy_mode);
|
/linux-2.6.39/arch/arm/mach-imx/ |
D | mach-eukrea_cpuimx25.c | 110 .phy_mode = FSL_USB2_PHY_UTMI,
|
D | mach-mx25_3ds.c | 204 .phy_mode = FSL_USB2_PHY_UTMI,
|
D | mach-cpuimx27.c | 234 .phy_mode = FSL_USB2_PHY_ULPI,
|
/linux-2.6.39/arch/arm/mach-mx3/ |
D | mach-cpuimx35.c | 137 .phy_mode = FSL_USB2_PHY_UTMI,
|
D | mx31moboard-smartbot.c | 121 .phy_mode = FSL_USB2_PHY_ULPI,
|
D | mach-mx35_3ds.c | 134 .phy_mode = FSL_USB2_PHY_UTMI_WIDE,
|
D | mx31moboard-devboard.c | 221 .phy_mode = FSL_USB2_PHY_ULPI,
|
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/ |
D | wlc_phy_shim.h | 110 u32 phy_mode);
|