src/dpdk/drivers/net/i40e/base/i40e_nvm.c
void i40e_nvmupd_check_wait_event(struct i40e_hw *hw, u16 opcode,
				  struct i40e_aq_desc *desc)
{
	u32 aq_desc_len = sizeof(struct i40e_aq_desc);

	if (opcode == hw->nvm_wait_opcode) {
		i40e_memcpy(&hw->nvm_aq_event_desc, desc,
			    aq_desc_len, I40E_NONDMA_TO_NONDMA);
		i40e_nvmupd_clear_wait_state(hw);
	}
}
/**
 * i40e_nvmupd_check_wait_event - handle NVM update operation events
 * @hw: pointer to the hardware structure
 * @opcode: the event that just happened
 * @desc: AdminQ descriptor
 **/
handle NVM update operation events
@hw: pointer to the hardware structure
@opcode: the event that just happened
@desc: AdminQ descriptor
handle NVM update operation events @hw : pointer to the hardware structure @opcode : the event that just happened @desc : AdminQ descriptor
void i40e_nvmupd_check_wait_event(struct i40e_hw *hw, u16 opcode,
				  struct i40e_aq_desc *desc)
{
	u32 aq_desc_len = sizeof(struct i40e_aq_desc);
	if (opcode == hw->nvm_wait_opcode) {
		i40e_memcpy(&hw->nvm_aq_event_desc, desc,
			    aq_desc_len, I40E_NONDMA_TO_NONDMA);
		i40e_nvmupd_clear_wait_state(hw);
	}
}
void i40e_nvmupd_check_wait_event ( struct i40e_hw * hw , u16 opcode , struct i40e_aq_desc * desc ) { u32 aq_desc_len = sizeof ( struct i40e_aq_desc ) ; if ( opcode == hw -> nvm_wait_opcode ) { i40e_memcpy ( & hw -> nvm_aq_event_desc , desc , aq_desc_len , I40E_NONDMA_TO_NONDMA ) ; i40e_nvmupd_clear_wait_state ( hw ) ; } }
i40e_nvmupd_check_wait_event - handle NVM update operation events
 @hw: pointer to the hardware structure
 @opcode: the event that just happened
 @desc: AdminQ descriptor
i40e_nvmupd_check_wait_event - handle NVM update operation events @hw : pointer to the hardware structure @opcode : the event that just happened @desc : AdminQ descriptor