src/runtime_src/core/common/drv/xgq_execbuf.c
/* return the size of the xgq accessibility command */
return the size of the xgq accessibility command
return the size of the xgq accessibility command
int xgq_exec_convert_accessible_cmd(struct xgq_cmd_access_valid *xgq_cmd,
					struct ert_packet *ecmd)
{
	xgq_cmd->hdr.opcode = XGQ_CMD_OP_ACCESS_VALID;
	xgq_cmd->hdr.state = 1;
	xgq_cmd->hdr.count = ecmd->count * sizeof(u32);
	return sizeof(xgq_cmd->hdr) + xgq_cmd->hdr.count;
}
int xgq_exec_convert_accessible_cmd ( struct xgq_cmd_access_valid * xgq_cmd , struct ert_packet * ecmd ) { xgq_cmd -> hdr . opcode = XGQ_CMD_OP_ACCESS_VALID ; xgq_cmd -> hdr . state = 1 ; xgq_cmd -> hdr . count = ecmd -> count * sizeof ( u32 ) ; return sizeof ( xgq_cmd -> hdr ) + xgq_cmd -> hdr . count ; }
return the size of the xgq accessibility command
return the size of the xgq accessibility command