Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/e1000e/
D82571.c511 u32 extcnf_ctrl; in e1000_get_hw_semaphore_82573() local
514 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_get_hw_semaphore_82573()
516 extcnf_ctrl |= E1000_EXTCNF_CTRL_MDIO_SW_OWNERSHIP; in e1000_get_hw_semaphore_82573()
517 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_get_hw_semaphore_82573()
518 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_get_hw_semaphore_82573()
520 if (extcnf_ctrl & E1000_EXTCNF_CTRL_MDIO_SW_OWNERSHIP) in e1000_get_hw_semaphore_82573()
546 u32 extcnf_ctrl; in e1000_put_hw_semaphore_82573() local
548 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_put_hw_semaphore_82573()
549 extcnf_ctrl &= ~E1000_EXTCNF_CTRL_MDIO_SW_OWNERSHIP; in e1000_put_hw_semaphore_82573()
550 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_put_hw_semaphore_82573()
Dich8lan.c1751 u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; in e1000_acquire_swflag_ich8lan() local
1761 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1762 if (!(extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG)) in e1000_acquire_swflag_ich8lan()
1777 extcnf_ctrl |= E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1778 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1781 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1782 if (extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG) in e1000_acquire_swflag_ich8lan()
1791 er32(FWSM), extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1792 extcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1793 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
[all …]