Lines Matching full:first
44 * Due to the first byte in a stream of bytes being more costly on
46 * amortize the cost of the first byte.
58 * of the first byte on nRF52.
125 uint32_t first, available; in rng_pool_get() local
130 first = rngp->first_alloc; in rng_pool_get()
133 * The other_read_in_progress is non-zero if rngp->first_read != first, in rng_pool_get()
137 other_read_in_progress = (rngp->first_read ^ first); in rng_pool_get()
139 available = (last - first) & mask; in rng_pool_get()
148 rngp->first_alloc = (first + len) & mask; in rng_pool_get()
152 *dst++ = rngp->buffer[first]; in rng_pool_get()
153 first = (first + 1) & mask; in rng_pool_get()
178 uint8_t first = rngp->first_read; in rng_pool_put() local
183 if (((last - first) & mask) == mask) { in rng_pool_put()