src/dpdk/drivers/net/e1000/base/e1000_manage.c
bool e1000_check_mng_mode_generic(struct e1000_hw *hw)
{
	u32 fwsm = E1000_READ_REG(hw, E1000_FWSM);

	DEBUGFUNC("e1000_check_mng_mode_generic");


	return (fwsm & E1000_FWSM_MODE_MASK) ==
		(E1000_MNG_IAMT_MODE << E1000_FWSM_MODE_SHIFT);
}
/**
 *  e1000_check_mng_mode_generic - Generic check management mode
 *  @hw: pointer to the HW structure
 *
 *  Reads the firmware semaphore register and returns true (>0) if
 *  manageability is enabled, else false (0).
 **/
Generic check management mode
@hw: pointer to the HW structure

Reads the firmware semaphore register and returns true (>0) if
manageability is enabled, else false (0).
Generic check management mode @hw : pointer to the HW structure Reads the firmware semaphore register and returns true ( > 0 ) if manageability is enabled else false ( 0 ) .
bool e1000_check_mng_mode_generic(struct e1000_hw *hw)
{
	u32 fwsm = E1000_READ_REG(hw, E1000_FWSM);
	DEBUGFUNC("e1000_check_mng_mode_generic");
	return (fwsm & E1000_FWSM_MODE_MASK) ==
		(E1000_MNG_IAMT_MODE << E1000_FWSM_MODE_SHIFT);
}
bool e1000_check_mng_mode_generic ( struct e1000_hw * hw ) { u32 fwsm = E1000_READ_REG ( hw , E1000_FWSM ) ; DEBUGFUNC ( " " ) ; return ( fwsm & E1000_FWSM_MODE_MASK ) == ( E1000_MNG_IAMT_MODE << E1000_FWSM_MODE_SHIFT ) ; }
e1000_check_mng_mode_generic - Generic check management mode
  @hw: pointer to the HW structure
e1000_check_mng_mode_generic - Generic check management mode @hw : pointer to the HW structure