Home
last modified time | relevance | path

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

/Linux-v5.4/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.c1708 u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; in e1000_acquire_swflag_ich8lan() local
1718 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1719 if (!(extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG)) in e1000_acquire_swflag_ich8lan()
1734 extcnf_ctrl |= E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1735 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1738 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1739 if (extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG) in e1000_acquire_swflag_ich8lan()
1748 er32(FWSM), extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1749 extcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1750 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
[all …]