Lines Matching defs:token
97 * - token: opaque PRI token, accepted from and/or returned to caller,
104 * - PRI_GET call ignores the token passed in, and returns
105 * immediately with current PRI and its token (if any)
107 * whose token differs from the token passed in by the caller;
108 * the passed in token should come from a previous pri_get()
109 * call with return value >= 0; the new PRI buffer and its token
134 pri_get(uint8_t wait, uint64_t *token, uint64_t **buf,
148 /* wait until have new PRI with different token */
149 if (ioctl(pri_fd, DSPRI_WAIT, token) < 0) {
164 *token = pri_info.token;
180 * Check whether PRI token changed between the time
182 * read() from the ds_pri driver. The token delta check
190 if (pri_info2.token != pri_info.token)
193 } while (pri_info2.token != pri_info.token);
195 /* return the PRI, its token, and its size to the caller */
197 *token = pri_info.token;