/linux-3.4.99/arch/arm/mach-exynos/ |
D | dev-ahci.c | 53 static void __iomem *phy_base, *phy_ctrl; variable 127 ctrl0 = __raw_readl(phy_ctrl + SATA_CTRL0); in ahci_phy_init() 129 __raw_writel(ctrl0, phy_ctrl + SATA_CTRL0); in ahci_phy_init() 131 if (wait_for_phy_ready(phy_ctrl + SATA_PHY_STATUS, in ahci_phy_init() 139 ctrl0 = __raw_readl(phy_ctrl + SATA_CTRL0); in ahci_phy_init() 141 __raw_writel(ctrl0, phy_ctrl + SATA_CTRL0); in ahci_phy_init() 143 if (wait_for_phy_ready(phy_ctrl + SATA_PHY_STATUS, in ahci_phy_init() 149 ctrl0 = __raw_readl(phy_ctrl + SATA_CTRL0); in ahci_phy_init() 151 __raw_writel(ctrl0, phy_ctrl + SATA_CTRL0); in ahci_phy_init() 167 phy_ctrl = ioremap(EXYNOS4_PA_SATAPHY_CTRL, SZ_16); in exynos4_ahci_init() [all …]
|
/linux-3.4.99/drivers/net/ethernet/silan/ |
D | sc92031.c | 557 u32 phy_ctrl; in _sc92031_phy_reset() local 559 phy_ctrl = ioread32(port_base + PhyCtrl); in _sc92031_phy_reset() 560 phy_ctrl &= ~(PhyCtrlDux | PhyCtrlSpd100 | PhyCtrlSpd10); in _sc92031_phy_reset() 561 phy_ctrl |= PhyCtrlAne | PhyCtrlReset; in _sc92031_phy_reset() 566 phy_ctrl |= PhyCtrlDux | PhyCtrlSpd100 | PhyCtrlSpd10; in _sc92031_phy_reset() 569 phy_ctrl |= PhyCtrlSpd10; in _sc92031_phy_reset() 572 phy_ctrl |= PhyCtrlDux | PhyCtrlSpd10; in _sc92031_phy_reset() 575 phy_ctrl |= PhyCtrlSpd100; in _sc92031_phy_reset() 578 phy_ctrl |= PhyCtrlDux | PhyCtrlSpd100; in _sc92031_phy_reset() 582 iowrite32(phy_ctrl, port_base + PhyCtrl); in _sc92031_phy_reset() [all …]
|
/linux-3.4.99/drivers/usb/musb/ |
D | davinci.c | 68 u32 phy_ctrl = __raw_readl(USB_PHY_CTRL); in phy_on() local 71 phy_ctrl &= ~(USBPHY_OSCPDWN | USBPHY_OTGPDWN | USBPHY_PHYPDWN); in phy_on() 72 phy_ctrl |= USBPHY_SESNDEN | USBPHY_VBDTCTEN | USBPHY_PHYPLLON; in phy_on() 73 __raw_writel(phy_ctrl, USB_PHY_CTRL); in phy_on() 82 u32 phy_ctrl = __raw_readl(USB_PHY_CTRL); in phy_off() local 85 phy_ctrl &= ~(USBPHY_SESNDEN | USBPHY_VBDTCTEN | USBPHY_PHYPLLON); in phy_off() 86 phy_ctrl |= USBPHY_OSCPDWN | USBPHY_OTGPDWN | USBPHY_PHYPDWN; in phy_off() 87 __raw_writel(phy_ctrl, USB_PHY_CTRL); in phy_off() 408 u32 phy_ctrl = __raw_readl(USB_PHY_CTRL); in davinci_musb_init() local 410 phy_ctrl &= ~(3 << 9); in davinci_musb_init() [all …]
|
/linux-3.4.99/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_phy.c | 173 u16 phy_ctrl; in pch_gbe_phy_sw_reset() local 175 pch_gbe_phy_read_reg_miic(hw, PHY_CONTROL, &phy_ctrl); in pch_gbe_phy_sw_reset() 176 phy_ctrl |= MII_CR_RESET; in pch_gbe_phy_sw_reset() 177 pch_gbe_phy_write_reg_miic(hw, PHY_CONTROL, phy_ctrl); in pch_gbe_phy_sw_reset()
|
/linux-3.4.99/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 36 u16 *phy_ctrl); 813 u16 phy_ctrl; in igb_copper_link_autoneg() local 840 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igb_copper_link_autoneg() 844 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in igb_copper_link_autoneg() 845 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igb_copper_link_autoneg() 1291 u16 *phy_ctrl) in igb_phy_force_speed_duplex_setup() argument 1308 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in igb_phy_force_speed_duplex_setup() 1313 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in igb_phy_force_speed_duplex_setup() 1317 *phy_ctrl |= MII_CR_FULL_DUPLEX; in igb_phy_force_speed_duplex_setup() 1324 *phy_ctrl |= MII_CR_SPEED_100; in igb_phy_force_speed_duplex_setup() [all …]
|
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 1081 u16 phy_ctrl; in e1000_copper_link_autoneg() local 1108 ret_val = e1e_rphy(hw, PHY_CONTROL, &phy_ctrl); in e1000_copper_link_autoneg() 1112 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in e1000_copper_link_autoneg() 1113 ret_val = e1e_wphy(hw, PHY_CONTROL, phy_ctrl); in e1000_copper_link_autoneg() 1437 void e1000e_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) in e1000e_phy_force_speed_duplex_setup() argument 1454 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in e1000e_phy_force_speed_duplex_setup() 1459 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in e1000e_phy_force_speed_duplex_setup() 1463 *phy_ctrl |= MII_CR_FULL_DUPLEX; in e1000e_phy_force_speed_duplex_setup() 1470 *phy_ctrl |= MII_CR_SPEED_100; in e1000e_phy_force_speed_duplex_setup() 1471 *phy_ctrl &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_10); in e1000e_phy_force_speed_duplex_setup() [all …]
|
D | ich8lan.c | 1921 u32 phy_ctrl; in e1000_set_d0_lplu_state_ich8lan() local 1928 phy_ctrl = er32(PHY_CTRL); in e1000_set_d0_lplu_state_ich8lan() 1931 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 1932 ew32(PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan() 1951 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 1952 ew32(PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan() 2007 u32 phy_ctrl; in e1000_set_d3_lplu_state_ich8lan() local 2011 phy_ctrl = er32(PHY_CTRL); in e1000_set_d3_lplu_state_ich8lan() 2014 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan() 2015 ew32(PHY_CTRL, phy_ctrl); in e1000_set_d3_lplu_state_ich8lan() [all …]
|
D | e1000.h | 628 extern void e1000e_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
|
/linux-3.4.99/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 4575 u16 phy_ctrl; in e1000_smartspeed() local 4588 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed() 4589 if (phy_ctrl & CR_1000T_MS_ENABLE) { in e1000_smartspeed() 4590 phy_ctrl &= ~CR_1000T_MS_ENABLE; in e1000_smartspeed() 4592 phy_ctrl); in e1000_smartspeed() 4596 &phy_ctrl)) { in e1000_smartspeed() 4597 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed() 4600 phy_ctrl); in e1000_smartspeed() 4606 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed() 4607 phy_ctrl |= CR_1000T_MS_ENABLE; in e1000_smartspeed() [all …]
|
/linux-3.4.99/arch/mips/include/asm/octeon/ |
D | cvmx-pcieep-defs.h | 1357 uint32_t phy_ctrl:32; member
|
D | cvmx-pciercx-defs.h | 1959 uint32_t phy_ctrl:32; member
|