src/dpdk/drivers/net/e1000/base/e1000_i210.c
void e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask)
{
	u32 swfw_sync;

	DEBUGFUNC("e1000_release_swfw_sync_i210");

	while (e1000_get_hw_semaphore_i210(hw) != E1000_SUCCESS)
		; /* Empty */

	swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC);
	swfw_sync &= (u32)~mask;
	E1000_WRITE_REG(hw, E1000_SW_FW_SYNC, swfw_sync);

	e1000_put_hw_semaphore_generic(hw);
}
/**
 *  e1000_release_swfw_sync_i210 - Release SW/FW semaphore
 *  @hw: pointer to the HW structure
 *  @mask: specifies which semaphore to acquire
 *
 *  Release the SW/FW semaphore used to access the PHY or NVM.  The mask
 *  will also specify which port we're releasing the lock for.
 **/
Release SW/FW semaphore
@hw: pointer to the HW structure
@mask: specifies which semaphore to acquire

Release the SW/FW semaphore used to access the PHY or NVM.  The mask
will also specify which port we're releasing the lock for.
Release SW / FW semaphore @hw : pointer to the HW structure @mask : specifies which semaphore to acquire Release the SW / FW semaphore used to access the PHY or NVM . The mask will also specify which port we ' re releasing the lock for .
void e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask)
{
	u32 swfw_sync;
	DEBUGFUNC("e1000_release_swfw_sync_i210");
	while (e1000_get_hw_semaphore_i210(hw) != E1000_SUCCESS)
		; 
	swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC);
	swfw_sync &= (u32)~mask;
	E1000_WRITE_REG(hw, E1000_SW_FW_SYNC, swfw_sync);
	e1000_put_hw_semaphore_generic(hw);
}
void e1000_release_swfw_sync_i210 ( struct e1000_hw * hw , u16 mask ) { u32 swfw_sync ; DEBUGFUNC ( " " ) ; while ( e1000_get_hw_semaphore_i210 ( hw ) != E1000_SUCCESS ) ; swfw_sync = E1000_READ_REG ( hw , E1000_SW_FW_SYNC ) ; swfw_sync &= ( u32 ) ~ mask ; E1000_WRITE_REG ( hw , E1000_SW_FW_SYNC , swfw_sync ) ; e1000_put_hw_semaphore_generic ( hw ) ; }
e1000_release_swfw_sync_i210 - Release SW/FW semaphore
  @hw: pointer to the HW structure
  @mask: specifies which semaphore to acquire
e1000_release_swfw_sync_i210 - Release SW / FW semaphore @hw : pointer to the HW structure @mask : specifies which semaphore to acquire
/* Empty */