Lines Matching refs:token
55 int token; in powernv_flash_async_op() local
62 token = opal_async_get_token_interruptible(); in powernv_flash_async_op()
63 if (token < 0) { in powernv_flash_async_op()
64 if (token != -ERESTARTSYS) in powernv_flash_async_op()
67 return token; in powernv_flash_async_op()
72 rc = opal_flash_read(info->id, offset, __pa(buf), len, token); in powernv_flash_async_op()
75 rc = opal_flash_write(info->id, offset, __pa(buf), len, token); in powernv_flash_async_op()
78 rc = opal_flash_erase(info->id, offset, len, token); in powernv_flash_async_op()
87 opal_async_release_token(token); in powernv_flash_async_op()
91 rc = opal_async_wait_response(token, &msg); in powernv_flash_async_op()
92 opal_async_release_token(token); in powernv_flash_async_op()