Home
last modified time | relevance | path

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

/illumos-gate/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.c1909 u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; in e1000_acquire_swflag_ich8lan() local
1917 extcnf_ctrl = E1000_READ_REG(hw, E1000_EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1918 if (!(extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG)) in e1000_acquire_swflag_ich8lan()
1933 extcnf_ctrl |= E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1934 E1000_WRITE_REG(hw, E1000_EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1937 extcnf_ctrl = E1000_READ_REG(hw, E1000_EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1938 if (extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG) in e1000_acquire_swflag_ich8lan()
1947 E1000_READ_REG(hw, E1000_FWSM), extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1948 extcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1949 E1000_WRITE_REG(hw, E1000_EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
[all …]