src/runtime_src/core/common/drv/xgq_execbuf.c
/* return the size of the xgq data integrity command */
return the size of the xgq data integrity command
return the size of the xgq data integrity command
int xgq_exec_convert_data_integrity_cmd(struct xgq_cmd_data_integrity *xgq_cmd,
					struct ert_packet *ecmd)
{
	xgq_cmd->hdr.opcode = XGQ_CMD_OP_DATA_INTEGRITY;
	xgq_cmd->hdr.state = 1;
	xgq_cmd->hdr.count = ecmd->count * sizeof(u32);
	return sizeof(struct xgq_cmd_data_integrity);	
}
int xgq_exec_convert_data_integrity_cmd ( struct xgq_cmd_data_integrity * xgq_cmd , struct ert_packet * ecmd ) { xgq_cmd -> hdr . opcode = XGQ_CMD_OP_DATA_INTEGRITY ; xgq_cmd -> hdr . state = 1 ; xgq_cmd -> hdr . count = ecmd -> count * sizeof ( u32 ) ; return sizeof ( struct xgq_cmd_data_integrity ) ; }
return the size of the xgq data integrity command
return the size of the xgq data integrity command