Searched refs:phy_ctrl (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 4800 uint16_t phy_ctrl; in e1000g_smartspeed() local 4832 (void) e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000g_smartspeed() 4837 if (phy_ctrl & CR_1000T_MS_ENABLE) { in e1000g_smartspeed() 4842 phy_ctrl &= ~CR_1000T_MS_ENABLE; in e1000g_smartspeed() 4844 PHY_1000T_CTRL, phy_ctrl); in e1000g_smartspeed() 4853 !e1000_read_phy_reg(hw, PHY_CONTROL, &phy_ctrl)) { in e1000g_smartspeed() 4854 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000g_smartspeed() 4857 PHY_CONTROL, phy_ctrl); in e1000g_smartspeed() 4878 (void) e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000g_smartspeed() 4879 phy_ctrl |= CR_1000T_MS_ENABLE; in e1000g_smartspeed() [all …]
|
H A D | e1000g_sw.h | 977 uint16_t phy_ctrl; /* contents of PHY_CTRL */ member
|
/titanic_41/usr/src/uts/common/io/e1000api/ |
H A D | e1000_phy.c | 1627 u16 phy_ctrl; in e1000_copper_link_autoneg() local 1653 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in e1000_copper_link_autoneg() 1657 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in e1000_copper_link_autoneg() 1658 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in e1000_copper_link_autoneg() 2013 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) in e1000_phy_force_speed_duplex_setup() argument 2032 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in e1000_phy_force_speed_duplex_setup() 2037 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex_setup() 2041 *phy_ctrl |= MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex_setup() 2048 *phy_ctrl |= MII_CR_SPEED_100; in e1000_phy_force_speed_duplex_setup() 2049 *phy_ctrl &= ~MII_CR_SPEED_1000; in e1000_phy_force_speed_duplex_setup() [all …]
|
H A D | e1000_ich8lan.c | 3024 u32 phy_ctrl; in e1000_set_d0_lplu_state_ich8lan() local 3033 phy_ctrl = E1000_READ_REG(hw, E1000_PHY_CTRL); in e1000_set_d0_lplu_state_ich8lan() 3036 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3037 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan() 3061 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3062 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan() 3120 u32 phy_ctrl; in e1000_set_d3_lplu_state_ich8lan() local 3126 phy_ctrl = E1000_READ_REG(hw, E1000_PHY_CTRL); in e1000_set_d3_lplu_state_ich8lan() 3129 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan() 3130 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d3_lplu_state_ich8lan() [all …]
|
H A D | e1000_phy.h | 70 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
|
/titanic_41/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_ohci.c | 1357 &ohci_hdl->ohci_regs->phy_ctrl); in hci1394_ohci_phy_read_no_lock() 1369 ddi_put32(ohci_hdl->ohci_reg_handle, &ohci_hdl->ohci_regs->phy_ctrl, in hci1394_ohci_phy_read_no_lock() 1384 &ohci_hdl->ohci_regs->phy_ctrl); in hci1394_ohci_phy_read_no_lock() 1419 &ohci_hdl->ohci_regs->phy_ctrl) & OHCI_PHYC_RDDATA_MASK) >> in hci1394_ohci_phy_read_no_lock() 1459 &ohci_hdl->ohci_regs->phy_ctrl); in hci1394_ohci_phy_write_no_lock() 1472 &ohci_hdl->ohci_regs->phy_ctrl, ohci_reg); in hci1394_ohci_phy_write_no_lock() 1486 &ohci_hdl->ohci_regs->phy_ctrl); in hci1394_ohci_phy_write_no_lock()
|
/titanic_41/usr/src/uts/common/sys/1394/adapters/ |
H A D | hci1394_ohci.h | 478 uint32_t phy_ctrl; member
|
/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 3930 uint16_t phy_ctrl; in igb_set_internal_phy_loopback() local 3947 phy_ctrl = MII_CR_FULL_DUPLEX | MII_CR_SPEED_1000 | MII_CR_LOOPBACK; in igb_set_internal_phy_loopback() 3948 (void) e1000_write_phy_reg(hw, PHY_CONTROL, phy_ctrl); in igb_set_internal_phy_loopback() 5041 uint16_t phy_ctrl; in igb_get_phy_state() local 5053 (void) e1000_read_phy_reg(hw, PHY_CONTROL, &phy_ctrl); in igb_get_phy_state()
|