Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/intel/igb/
De1000_82575.c117 u32 ctrl_ext = 0; in igb_get_invariants_82575() local
169 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_invariants_82575()
170 switch (ctrl_ext & E1000_CTRL_EXT_LINK_MODE_MASK) { in igb_get_invariants_82575()
298 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_invariants_82575()
303 ctrl_ext |= E1000_CTRL_I2C_ENA; in igb_get_invariants_82575()
306 ctrl_ext &= ~E1000_CTRL_I2C_ENA; in igb_get_invariants_82575()
309 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_get_invariants_82575()
487 u32 ctrl_ext; in igb_get_phy_id_82575() local
527 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_phy_id_82575()
528 wr32(E1000_CTRL_EXT, ctrl_ext & ~E1000_CTRL_EXT_SDP3_DATA); in igb_get_phy_id_82575()
[all …]
Digb_main.c1460 u32 ctrl_ext; in igb_release_hw_control() local
1463 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_release_hw_control()
1465 ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD); in igb_release_hw_control()
1480 u32 ctrl_ext; in igb_get_hw_control() local
1483 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_hw_control()
1485 ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in igb_get_hw_control()
3687 u32 ctrl_ext, thstat; in igb_thermal_sensor_event() local
3692 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_thermal_sensor_event()
3695 !(ctrl_ext & E1000_CTRL_EXT_LINK_MODE_SGMII)) { in igb_thermal_sensor_event()
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dnvm.c636 u32 ctrl_ext; in e1000e_reload_nvm_generic() local
639 ctrl_ext = er32(CTRL_EXT); in e1000e_reload_nvm_generic()
640 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000e_reload_nvm_generic()
641 ew32(CTRL_EXT, ctrl_ext); in e1000e_reload_nvm_generic()
D80003es2lan.c953 u32 ctrl_ext; in e1000_copper_link_setup_gg82563_80003es2lan() local
1046 ctrl_ext = er32(CTRL_EXT); in e1000_copper_link_setup_gg82563_80003es2lan()
1047 ctrl_ext &= ~(E1000_CTRL_EXT_LINK_MODE_MASK); in e1000_copper_link_setup_gg82563_80003es2lan()
1048 ew32(CTRL_EXT, ctrl_ext); in e1000_copper_link_setup_gg82563_80003es2lan()
Dnetdev.c1854 u32 ctrl_ext, ivar = 0; in e1000_configure_msix() local
1902 ctrl_ext = er32(CTRL_EXT); in e1000_configure_msix()
1903 ctrl_ext |= E1000_CTRL_EXT_PBA_CLR; in e1000_configure_msix()
1908 ctrl_ext |= E1000_CTRL_EXT_EIAME; in e1000_configure_msix()
1909 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_msix()
2138 u32 ctrl_ext; in e1000e_get_hw_control() local
2146 ctrl_ext = er32(CTRL_EXT); in e1000e_get_hw_control()
2147 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in e1000e_get_hw_control()
2164 u32 ctrl_ext; in e1000e_release_hw_control() local
2172 ctrl_ext = er32(CTRL_EXT); in e1000e_release_hw_control()
[all …]
D82571.c1003 u32 ctrl, ctrl_ext; in e1000_reset_hw_82571() local
1058 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw_82571()
1059 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw_82571()
1060 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw_82571()
Dich8lan.c1229 u32 ctrl_ext = 0; in e1000_configure_k1_ich8lan() local
1249 ctrl_ext = er32(CTRL_EXT); in e1000_configure_k1_ich8lan()
1256 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_SPD_BYPS); in e1000_configure_k1_ich8lan()
1260 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_k1_ich8lan()
3179 u32 ctrl_ext, txdctl, snoop; in e1000_init_hw_ich8lan() local
3240 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw_ich8lan()
3241 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw_ich8lan()
3242 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw_ich8lan()
/linux-3.4.99/drivers/net/ethernet/intel/e1000/
De1000_hw.c410 u32 ctrl_ext; in e1000_reset_hw() local
493 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw()
494 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw()
495 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw()
564 u32 ctrl_ext; in e1000_init_hw() local
660 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw()
663 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw()
664 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw()
722 u32 ctrl_ext; in e1000_setup_link() local
780 ctrl_ext = ((eeprom_data & EEPROM_WORD0F_SWPDIO_EXT) << in e1000_setup_link()
[all …]
De1000_main.c4951 u32 ctrl, ctrl_ext, rctl, status; in __e1000_shutdown() local
5001 ctrl_ext = er32(CTRL_EXT); in __e1000_shutdown()
5002 ctrl_ext |= E1000_CTRL_EXT_SDP7_DATA; in __e1000_shutdown()
5003 ew32(CTRL_EXT, ctrl_ext); in __e1000_shutdown()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c502 u32 ctrl_ext; in ixgbe_release_hw_control() local
505 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_release_hw_control()
507 ctrl_ext & ~IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_release_hw_control()
512 u32 ctrl_ext; in ixgbe_get_hw_control() local
515 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_get_hw_control()
517 ctrl_ext | IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_get_hw_control()
3961 u32 ctrl_ext; in ixgbe_up_complete() local
4013 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_up_complete()
4014 ctrl_ext |= IXGBE_CTRL_EXT_PFRSTD; in ixgbe_up_complete()
4015 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_up_complete()
Dixgbe_common.c77 u32 ctrl_ext; in ixgbe_start_hw_generic() local
92 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_start_hw_generic()
93 ctrl_ext |= IXGBE_CTRL_EXT_NS_DIS; in ixgbe_start_hw_generic()
94 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_start_hw_generic()