Searched refs:fwsm (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/e1000/ |
H A D | e1000_manage.c | 115 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 D | e1000_ich8lan.c | 319 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 D | ixgbe_common.c | 5616 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 D | ixgbe_x550.c | 4630 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 D | if_ix.c | 3952 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()
|