Searched refs:fifo_pos (Results 1 – 2 of 2) sorted by relevance
131 static size_t fifo_pos; in hw_get_random_bytes() local139 if (fifo_pos == 0) in hw_get_random_bytes()143 buffer[buffer_pos++] = fifo.byte[fifo_pos++]; in hw_get_random_bytes()144 fifo_pos %= 16; in hw_get_random_bytes()
111 static size_t fifo_pos; in hw_get_random_bytes() local121 if (fifo_pos == 0) in hw_get_random_bytes()124 buffer[buffer_pos++] = fifo.byte[fifo_pos++]; in hw_get_random_bytes()125 fifo_pos %= 8; in hw_get_random_bytes()