Home
last modified time | relevance | path

Searched refs:extcnf_ctrl (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/e1000api/
H A De1000_82571.c597 u32 extcnf_ctrl; in e1000_get_hw_semaphore_82573() local
602 extcnf_ctrl = E1000_READ_REG(hw, E1000_EXTCNF_CTRL); in e1000_get_hw_semaphore_82573()
604 extcnf_ctrl |= E1000_EXTCNF_CTRL_MDIO_SW_OWNERSHIP; in e1000_get_hw_semaphore_82573()
605 E1000_WRITE_REG(hw, E1000_EXTCNF_CTRL, extcnf_ctrl); in e1000_get_hw_semaphore_82573()
606 extcnf_ctrl = E1000_READ_REG(hw, E1000_EXTCNF_CTRL); in e1000_get_hw_semaphore_82573()
608 if (extcnf_ctrl & E1000_EXTCNF_CTRL_MDIO_SW_OWNERSHIP) in e1000_get_hw_semaphore_82573()
634 u32 extcnf_ctrl; in e1000_put_hw_semaphore_82573() local
638 extcnf_ctrl = E1000_READ_REG(hw, E1000_EXTCNF_CTRL); in e1000_put_hw_semaphore_82573()
639 extcnf_ctrl &= ~E1000_EXTCNF_CTRL_MDIO_SW_OWNERSHIP; in e1000_put_hw_semaphore_82573()
640 E1000_WRITE_REG(hw, E1000_EXTCNF_CTRL, extcnf_ctrl); in e1000_put_hw_semaphore_82573()
H A De1000_ich8lan.c1685 u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; in e1000_acquire_swflag_ich8lan() local
1693 extcnf_ctrl = E1000_READ_REG(hw, E1000_EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1694 if (!(extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG)) in e1000_acquire_swflag_ich8lan()
1709 extcnf_ctrl |= E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1710 E1000_WRITE_REG(hw, E1000_EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1713 extcnf_ctrl = E1000_READ_REG(hw, E1000_EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1714 if (extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG) in e1000_acquire_swflag_ich8lan()
1723 E1000_READ_REG(hw, E1000_FWSM), extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1724 extcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1725 E1000_WRITE_REG(hw, E1000_EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
[all …]