Home
last modified time | relevance | path

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

/freebsd/sys/dev/e1000/
H A De1000_82575.c162 u32 ctrl_ext; in e1000_init_phy_params_82575() local
186 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_init_phy_params_82575()
190 ctrl_ext |= E1000_CTRL_I2C_ENA; in e1000_init_phy_params_82575()
193 ctrl_ext &= ~E1000_CTRL_I2C_ENA; in e1000_init_phy_params_82575()
196 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_init_phy_params_82575()
617 u32 ctrl_ext; in e1000_get_phy_id_82575() local
666 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_get_phy_id_82575()
668 ctrl_ext & ~E1000_CTRL_EXT_SDP3_DATA); in e1000_get_phy_id_82575()
702 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_get_phy_id_82575()
1500 u32 ctrl_ext, ctrl_reg, reg, anadv_reg; in e1000_setup_serdes_link_82575() local
[all …]
H A De1000_82543.c863 u32 ctrl_ext; in e1000_phy_hw_reset_82543() local
872 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_phy_hw_reset_82543()
873 ctrl_ext |= E1000_CTRL_EXT_SDP4_DIR; in e1000_phy_hw_reset_82543()
874 ctrl_ext &= ~E1000_CTRL_EXT_SDP4_DATA; in e1000_phy_hw_reset_82543()
875 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_phy_hw_reset_82543()
881 ctrl_ext |= E1000_CTRL_EXT_SDP4_DATA; in e1000_phy_hw_reset_82543()
882 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_phy_hw_reset_82543()
1021 u32 ctrl_ext; in e1000_setup_link_82543() local
1041 ctrl_ext = ((data & NVM_WORD0F_SWPDIO_EXT_MASK) << in e1000_setup_link_82543()
1043 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_setup_link_82543()
H A De1000_82540.c331 u32 txdctl, ctrl_ext; in e1000_init_hw_82540() local
390 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_init_hw_82540()
395 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw_82540()
396 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_init_hw_82540()
H A De1000_i210.c833 u32 wuc, mdicnfg, ctrl, ctrl_ext, reg_val; in e1000_pll_workaround_i210() local
870 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_pll_workaround_i210()
871 ctrl_ext |= (E1000_CTRL_EXT_PHYPDEN | E1000_CTRL_EXT_SDLPE); in e1000_pll_workaround_i210()
872 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_pll_workaround_i210()
H A De1000_nvm.c1274 u32 ctrl_ext; in e1000_reload_nvm_generic() local
1279 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_reload_nvm_generic()
1280 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reload_nvm_generic()
1281 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_reload_nvm_generic()
H A De1000_82571.c1009 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local
1066 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_reset_hw_82571()
1067 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw_82571()
1068 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_reset_hw_82571()
H A Dif_em.c2223 u32 ctrl_ext; in em_configure_82575_memory_errors() local
2240 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in em_configure_82575_memory_errors()
2242 ctrl_ext | E1000_CTRL_EXT_MEHE); in em_configure_82575_memory_errors()
6078 u32 ctrl_ext, swsm; in em_get_hw_control() local
6090 ctrl_ext = E1000_READ_REG(&sc->hw, E1000_CTRL_EXT); in em_get_hw_control()
6092 ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in em_get_hw_control()
6104 u32 ctrl_ext, swsm; in em_release_hw_control() local
6116 ctrl_ext = E1000_READ_REG(&sc->hw, E1000_CTRL_EXT); in em_release_hw_control()
6118 ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD); in em_release_hw_control()
6307 u32 ctrl, ctrl_ext, rctl; in em_enable_wakeup() local
[all …]
H A De1000_ich8lan.c2593 u32 ctrl_ext = 0; in e1000_configure_k1_ich8lan() local
2615 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_configure_k1_ich8lan()
2622 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_SPD_BYPS); in e1000_configure_k1_ich8lan()
2626 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_configure_k1_ich8lan()
5226 u32 ctrl_ext, txdctl, snoop; in e1000_init_hw_ich8lan() local
5308 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in e1000_init_hw_ich8lan()
5309 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw_ich8lan()
5310 E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); in e1000_init_hw_ich8lan()
H A Dif_igb_iov.c1857 u32 ctrl_ext, dtxctl, mask, rctl, rplolr, vt_ctl; in igb_iov_initialize() local
1935 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in igb_iov_initialize()
1937 ctrl_ext | E1000_CTRL_EXT_PFRSTD); in igb_iov_initialize()
/freebsd/sys/dev/igc/
H A Digc_nvm.c708 u32 ctrl_ext; in igc_reload_nvm_generic() local
713 ctrl_ext = IGC_READ_REG(hw, IGC_CTRL_EXT); in igc_reload_nvm_generic()
714 ctrl_ext |= IGC_CTRL_EXT_EE_RST; in igc_reload_nvm_generic()
715 IGC_WRITE_REG(hw, IGC_CTRL_EXT, ctrl_ext); in igc_reload_nvm_generic()
H A Dif_igc.c2812 u32 ctrl_ext; in igc_get_hw_control() local
2817 ctrl_ext = IGC_READ_REG(&sc->hw, IGC_CTRL_EXT); in igc_get_hw_control()
2819 ctrl_ext | IGC_CTRL_EXT_DRV_LOAD); in igc_get_hw_control()
2831 u32 ctrl_ext; in igc_release_hw_control() local
2833 ctrl_ext = IGC_READ_REG(&sc->hw, IGC_CTRL_EXT); in igc_release_hw_control()
2835 ctrl_ext & ~IGC_CTRL_EXT_DRV_LOAD); in igc_release_hw_control()
/freebsd/sys/dev/ixgbe/
H A Dif_ix.c1109 u32 ctrl_ext; in ixgbe_if_attach_pre() local
1138 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_if_attach_pre()
1139 ctrl_ext |= IXGBE_CTRL_EXT_DRV_LOAD; in ixgbe_if_attach_pre()
1140 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_if_attach_pre()
1305 ctrl_ext = IXGBE_READ_REG(&sc->hw, IXGBE_CTRL_EXT); in ixgbe_if_attach_pre()
1306 ctrl_ext &= ~IXGBE_CTRL_EXT_DRV_LOAD; in ixgbe_if_attach_pre()
1307 IXGBE_WRITE_REG(&sc->hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_if_attach_pre()
3866 u32 ctrl_ext; in ixgbe_if_detach() local
3875 ctrl_ext = IXGBE_READ_REG(&sc->hw, IXGBE_CTRL_EXT); in ixgbe_if_detach()
3876 ctrl_ext &= ~IXGBE_CTRL_EXT_DRV_LOAD; in ixgbe_if_detach()
[all …]
H A Dixgbe_common.c403 u32 ctrl_ext; in ixgbe_start_hw_generic() local
420 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_start_hw_generic()
421 ctrl_ext |= IXGBE_CTRL_EXT_NS_DIS; in ixgbe_start_hw_generic()
422 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_start_hw_generic()
/freebsd/usr.sbin/bhyve/
H A Dtpm_intf_crb.c105 } ctrl_ext; /* 38 */ member