Home
last modified time | relevance | path

Searched refs:ctrl_ext (Results 1 – 11 of 11) sorted by relevance

/drivers/net/igb/
De1000_82575.c79 u32 ctrl_ext = 0; in igb_get_invariants_82575() local
119 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_invariants_82575()
120 if ((ctrl_ext & E1000_CTRL_EXT_LINK_MODE_MASK) == in igb_get_invariants_82575()
123 ctrl_ext |= E1000_CTRL_I2C_ENA; in igb_get_invariants_82575()
124 } else if (ctrl_ext & E1000_CTRL_EXT_LINK_MODE_SGMII) { in igb_get_invariants_82575()
126 ctrl_ext |= E1000_CTRL_I2C_ENA; in igb_get_invariants_82575()
128 ctrl_ext &= ~E1000_CTRL_I2C_ENA; in igb_get_invariants_82575()
130 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_get_invariants_82575()
Digb_main.c732 u32 ctrl_ext; in igb_release_hw_control() local
735 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_release_hw_control()
737 ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD); in igb_release_hw_control()
753 u32 ctrl_ext; in igb_get_hw_control() local
756 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_hw_control()
758 ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in igb_get_hw_control()
/drivers/net/e1000/
De1000_hw.c548 u32 ctrl_ext; in e1000_reset_hw() local
684 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw()
685 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw()
686 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw()
701 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw()
702 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw()
703 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw()
888 u32 ctrl_ext; in e1000_init_hw() local
1053 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw()
1056 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw()
[all …]
De1000_main.c354 u32 ctrl_ext; in e1000_release_hw_control() local
368 ctrl_ext = er32(CTRL_EXT); in e1000_release_hw_control()
369 ew32(CTRL_EXT, ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD); in e1000_release_hw_control()
389 u32 ctrl_ext; in e1000_get_hw_control() local
403 ctrl_ext = er32(CTRL_EXT); in e1000_get_hw_control()
404 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in e1000_get_hw_control()
1956 u32 rdlen, rctl, rxcsum, ctrl_ext; in e1000_configure_rx() local
1977 ctrl_ext = er32(CTRL_EXT); in e1000_configure_rx()
1979 ctrl_ext |= E1000_CTRL_EXT_INT_TIMER_CLR; in e1000_configure_rx()
1981 ctrl_ext |= E1000_CTRL_EXT_IAME; in e1000_configure_rx()
[all …]
/drivers/net/e1000e/
Dnetdev.c1343 u32 ctrl_ext, ivar = 0; in e1000_configure_msix() local
1391 ctrl_ext = er32(CTRL_EXT); in e1000_configure_msix()
1392 ctrl_ext |= E1000_CTRL_EXT_PBA_CLR; in e1000_configure_msix()
1397 ctrl_ext |= E1000_CTRL_EXT_EIAME; in e1000_configure_msix()
1398 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_msix()
1619 u32 ctrl_ext; in e1000_get_hw_control() local
1627 ctrl_ext = er32(CTRL_EXT); in e1000_get_hw_control()
1628 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in e1000_get_hw_control()
1645 u32 ctrl_ext; in e1000_release_hw_control() local
1653 ctrl_ext = er32(CTRL_EXT); in e1000_release_hw_control()
[all …]
Des2lan.c937 u32 ctrl_ext; in e1000_copper_link_setup_gg82563_80003es2lan() local
1030 ctrl_ext = er32(CTRL_EXT); in e1000_copper_link_setup_gg82563_80003es2lan()
1031 ctrl_ext &= ~(E1000_CTRL_EXT_LINK_MODE_MASK); in e1000_copper_link_setup_gg82563_80003es2lan()
1032 ew32(CTRL_EXT, ctrl_ext); in e1000_copper_link_setup_gg82563_80003es2lan()
D82571.c755 u32 ctrl_ext; in e1000_reset_hw_82571() local
806 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw_82571()
807 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw_82571()
808 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw_82571()
Dlib.c2179 u32 ctrl_ext; in e1000e_reload_nvm() local
2182 ctrl_ext = er32(CTRL_EXT); in e1000e_reload_nvm()
2183 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000e_reload_nvm()
2184 ew32(CTRL_EXT, ctrl_ext); in e1000e_reload_nvm()
Dich8lan.c1996 u32 ctrl_ext, txdctl, snoop; in e1000_init_hw_ich8lan() local
2044 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw_ich8lan()
2045 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw_ich8lan()
2046 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw_ich8lan()
/drivers/net/ixgbe/
Dixgbe_common.c66 u32 ctrl_ext; in ixgbe_start_hw_generic() local
90 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_start_hw_generic()
91 ctrl_ext |= IXGBE_CTRL_EXT_NS_DIS; in ixgbe_start_hw_generic()
92 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_start_hw_generic()
Dixgbe_main.c110 u32 ctrl_ext; in ixgbe_release_hw_control() local
113 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_release_hw_control()
115 ctrl_ext & ~IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_release_hw_control()
120 u32 ctrl_ext; in ixgbe_get_hw_control() local
123 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_get_hw_control()
125 ctrl_ext | IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_get_hw_control()