Lines Matching refs:token
22 int ret, token; in opal_get_sensor_data() local
26 token = opal_async_get_token_interruptible(); in opal_get_sensor_data()
27 if (token < 0) in opal_get_sensor_data()
28 return token; in opal_get_sensor_data()
30 ret = opal_sensor_read(sensor_hndl, token, &data); in opal_get_sensor_data()
33 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data()
59 opal_async_release_token(token); in opal_get_sensor_data()
66 int ret, token; in opal_get_sensor_data_u64() local
79 token = opal_async_get_token_interruptible(); in opal_get_sensor_data_u64()
80 if (token < 0) in opal_get_sensor_data_u64()
81 return token; in opal_get_sensor_data_u64()
83 ret = opal_sensor_read_u64(sensor_hndl, token, &data); in opal_get_sensor_data_u64()
86 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data_u64()
112 opal_async_release_token(token); in opal_get_sensor_data_u64()