Home
last modified time | relevance | path

Searched refs:phy_ctrl (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/common/io/e1000g/
H A De1000g_main.c5017 uint16_t phy_ctrl; in e1000g_smartspeed() local
5049 (void) e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000g_smartspeed()
5054 if (phy_ctrl & CR_1000T_MS_ENABLE) { in e1000g_smartspeed()
5059 phy_ctrl &= ~CR_1000T_MS_ENABLE; in e1000g_smartspeed()
5061 PHY_1000T_CTRL, phy_ctrl); in e1000g_smartspeed()
5070 !e1000_read_phy_reg(hw, PHY_CONTROL, &phy_ctrl)) { in e1000g_smartspeed()
5071 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000g_smartspeed()
5074 PHY_CONTROL, phy_ctrl); in e1000g_smartspeed()
5095 (void) e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000g_smartspeed()
5096 phy_ctrl |= CR_1000T_MS_ENABLE; in e1000g_smartspeed()
[all …]
H A De1000g_sw.h978 uint16_t phy_ctrl; /* contents of PHY_CTRL */ member
/titanic_44/usr/src/uts/common/io/e1000api/
H A De1000_phy.c1627 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 De1000_ich8lan.c3208 u32 phy_ctrl; in e1000_set_d0_lplu_state_ich8lan() local
3217 phy_ctrl = E1000_READ_REG(hw, E1000_PHY_CTRL); in e1000_set_d0_lplu_state_ich8lan()
3220 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan()
3221 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan()
3245 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan()
3246 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan()
3304 u32 phy_ctrl; in e1000_set_d3_lplu_state_ich8lan() local
3310 phy_ctrl = E1000_READ_REG(hw, E1000_PHY_CTRL); in e1000_set_d3_lplu_state_ich8lan()
3313 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan()
3314 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d3_lplu_state_ich8lan()
[all …]
H A De1000_phy.h70 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
/titanic_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ohci.c1357 &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_44/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ohci.h478 uint32_t phy_ctrl; member
/titanic_44/usr/src/uts/common/io/igb/
H A Digb_main.c3936 uint16_t phy_ctrl; in igb_set_internal_phy_loopback() local
3953 phy_ctrl = MII_CR_FULL_DUPLEX | MII_CR_SPEED_1000 | MII_CR_LOOPBACK; in igb_set_internal_phy_loopback()
3954 (void) e1000_write_phy_reg(hw, PHY_CONTROL, phy_ctrl); in igb_set_internal_phy_loopback()
5051 uint16_t phy_ctrl; in igb_get_phy_state() local
5063 (void) e1000_read_phy_reg(hw, PHY_CONTROL, &phy_ctrl); in igb_get_phy_state()