Home
last modified time | relevance | path

Searched refs:phy_mode (Results 1 – 25 of 60) sorted by relevance

123

/linux-2.6.39/drivers/net/sfc/
Dtenxpress.c147 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()
Dtxc43128_phy.c161 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()
Dqt202x_phy.c60 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()
Dfalcon_boards.c316 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()
Dselftest.c663 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()
Dmdio_10g.c163 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()
Defx.c867 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/
Drgmii.c51 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()
Dcore.c204 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/
Dehci-fsl.c182 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()
Dfsl-mph-dr-of.c168 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/
Dfsl_mxc_udc.c59 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/
Duli526x.c1526 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 …]
Ddmfe.c1627 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/
Dbfin_mac.h25 int phy_mode; member
Dfsl_devices.h67 enum fsl_usb2_phy_modes phy_mode; member
/linux-2.6.39/arch/arm/mach-tegra/include/mach/
Dusb_phy.h65 void *config, enum tegra_usb_phy_mode phy_mode);
/linux-2.6.39/arch/arm/mach-imx/
Dmach-eukrea_cpuimx25.c110 .phy_mode = FSL_USB2_PHY_UTMI,
Dmach-mx25_3ds.c204 .phy_mode = FSL_USB2_PHY_UTMI,
Dmach-cpuimx27.c234 .phy_mode = FSL_USB2_PHY_ULPI,
/linux-2.6.39/arch/arm/mach-mx3/
Dmach-cpuimx35.c137 .phy_mode = FSL_USB2_PHY_UTMI,
Dmx31moboard-smartbot.c121 .phy_mode = FSL_USB2_PHY_ULPI,
Dmach-mx35_3ds.c134 .phy_mode = FSL_USB2_PHY_UTMI_WIDE,
Dmx31moboard-devboard.c221 .phy_mode = FSL_USB2_PHY_ULPI,
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/
Dwlc_phy_shim.h110 u32 phy_mode);

123