Lines Matching refs:token
118 int rc, token; in opal_get_tpo_time() local
122 token = opal_async_get_token_interruptible(); in opal_get_tpo_time()
123 if (token < 0) { in opal_get_tpo_time()
124 if (token != -ERESTARTSYS) in opal_get_tpo_time()
127 return token; in opal_get_tpo_time()
130 rc = opal_tpo_read(token, &__y_m_d, &__h_m); in opal_get_tpo_time()
136 rc = opal_async_wait_response(token, &msg); in opal_get_tpo_time()
163 opal_async_release_token(token); in opal_get_tpo_time()
173 int token, rc; in opal_set_tpo_time() local
184 token = opal_async_get_token_interruptible(); in opal_set_tpo_time()
185 if (token < 0) { in opal_set_tpo_time()
186 if (token != -ERESTARTSYS) in opal_set_tpo_time()
189 return token; in opal_set_tpo_time()
193 rc = opal_tpo_write(token, y_m_d, in opal_set_tpo_time()
200 rc = opal_async_wait_response(token, &msg); in opal_set_tpo_time()
211 opal_async_release_token(token); in opal_set_tpo_time()