Home
last modified time | relevance | path

Searched refs:fwsm (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/e1000/
H A De1000_manage.c115 u32 fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_check_mng_mode_generic() local
120 return (fwsm & E1000_FWSM_MODE_MASK) == in e1000_check_mng_mode_generic()
345 u32 fwsm, factps; in e1000_enable_mng_pass_thru() local
358 fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_enable_mng_pass_thru()
362 ((fwsm & E1000_FWSM_MODE_MASK) == in e1000_enable_mng_pass_thru()
472 u32 hicr, hibba, fwsm, icr, i; in e1000_load_firmware() local
524 fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_load_firmware()
525 if ((fwsm & E1000_FWSM_FW_VALID) && in e1000_load_firmware()
526 ((fwsm & E1000_FWSM_MODE_MASK) >> E1000_FWSM_MODE_SHIFT == in e1000_load_firmware()
H A De1000_ich8lan.c319 u32 mac_reg, fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_init_phy_workarounds_pchlan() local
379 (fwsm & E1000_ICH_FWSM_FW_VALID)) in e1000_init_phy_workarounds_pchlan()
443 !(fwsm & E1000_ICH_FWSM_FW_VALID)) { in e1000_init_phy_workarounds_pchlan()
1983 u32 fwsm; in e1000_check_mng_mode_ich8lan() local
1987 fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_check_mng_mode_ich8lan()
1989 return (fwsm & E1000_ICH_FWSM_FW_VALID) && in e1000_check_mng_mode_ich8lan()
1990 ((fwsm & E1000_FWSM_MODE_MASK) == in e1000_check_mng_mode_ich8lan()
2004 u32 fwsm; in e1000_check_mng_mode_pchlan() local
2008 fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_check_mng_mode_pchlan()
2010 return (fwsm & E1000_ICH_FWSM_FW_VALID) && in e1000_check_mng_mode_pchlan()
[all …]
/freebsd/sys/dev/ixgbe/
H A Dixgbe_common.c5616 u32 fwsm; in ixgbe_mng_present() local
5621 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM_BY_MAC(hw)); in ixgbe_mng_present()
5623 return !!(fwsm & IXGBE_FWSM_FW_MODE_PT); in ixgbe_mng_present()
5634 u32 fwsm, manc, factps; in ixgbe_mng_enabled() local
5636 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM_BY_MAC(hw)); in ixgbe_mng_enabled()
5637 if ((fwsm & IXGBE_FWSM_MODE_MASK) != IXGBE_FWSM_FW_MODE_PT) in ixgbe_mng_enabled()
H A Dixgbe_x550.c4630 u32 fwsm; in ixgbe_fw_recovery_mode_X550() local
4632 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM_BY_MAC(hw)); in ixgbe_fw_recovery_mode_X550()
4634 return !!(fwsm & IXGBE_FWSM_FW_NVM_RECOVERY_MODE); in ixgbe_fw_recovery_mode_X550()
H A Dif_ix.c3952 u32 mask, fwsm; in ixgbe_if_enable_intr() local
3967 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM); in ixgbe_if_enable_intr()
3968 if (fwsm & IXGBE_FWSM_TS_ENABLED) in ixgbe_if_enable_intr()