Home
last modified time | relevance | path

Searched refs:opal_async_tokens (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/arch/powerpc/platforms/powernv/
Dopal-async.c39 static struct opal_async_token *opal_async_tokens; variable
49 if (opal_async_tokens[i].state == ASYNC_TOKEN_UNALLOCATED) { in __opal_async_get_token()
50 opal_async_tokens[i].state = ASYNC_TOKEN_ALLOCATED; in __opal_async_get_token()
94 switch (opal_async_tokens[token].state) { in __opal_async_release_token()
97 opal_async_tokens[token].state = ASYNC_TOKEN_UNALLOCATED; in __opal_async_release_token()
106 opal_async_tokens[token].state = ASYNC_TOKEN_ABANDONED; in __opal_async_release_token()
149 wait_event(opal_async_wait, opal_async_tokens[token].state in opal_async_wait_response()
151 memcpy(msg, &opal_async_tokens[token].response, sizeof(*msg)); in opal_async_wait_response()
188 if (opal_async_tokens[token].state == ASYNC_TOKEN_ALLOCATED) { in opal_async_wait_response_interruptible()
190 if (opal_async_tokens[token].state == ASYNC_TOKEN_ALLOCATED) in opal_async_wait_response_interruptible()
[all …]