Home
last modified time | relevance | path

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

/linux-6.6.21/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.c1759 u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; in e1000_acquire_swflag_ich8lan() local
1769 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1770 if (!(extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG)) in e1000_acquire_swflag_ich8lan()
1785 extcnf_ctrl |= E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1786 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1789 extcnf_ctrl = er32(EXTCNF_CTRL); in e1000_acquire_swflag_ich8lan()
1790 if (extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG) in e1000_acquire_swflag_ich8lan()
1799 er32(FWSM), extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
1800 extcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG; in e1000_acquire_swflag_ich8lan()
1801 ew32(EXTCNF_CTRL, extcnf_ctrl); in e1000_acquire_swflag_ich8lan()
[all …]