Lines Matching refs:aq_total_len
1461 u32 aq_total_len; in i40e_nvmupd_get_aq_result() local
1469 aq_total_len = aq_desc_len + le16_to_cpu(hw->nvm_wb_desc.datalen); in i40e_nvmupd_get_aq_result()
1472 if (cmd->offset > aq_total_len) { in i40e_nvmupd_get_aq_result()
1474 __func__, cmd->offset, aq_total_len); in i40e_nvmupd_get_aq_result()
1480 if (cmd->data_size > (aq_total_len - cmd->offset)) { in i40e_nvmupd_get_aq_result()
1481 int new_len = aq_total_len - cmd->offset; in i40e_nvmupd_get_aq_result()
1530 u32 aq_total_len; in i40e_nvmupd_get_aq_event() local
1536 aq_total_len = aq_desc_len + le16_to_cpu(hw->nvm_aq_event_desc.datalen); in i40e_nvmupd_get_aq_event()
1539 if (cmd->data_size > aq_total_len) { in i40e_nvmupd_get_aq_event()
1542 __func__, cmd->data_size, aq_total_len); in i40e_nvmupd_get_aq_event()
1543 cmd->data_size = aq_total_len; in i40e_nvmupd_get_aq_event()