Lines Matching refs:buffer
187 @ Try appending the keycode to the circular buffer
189 ldr r8, [r9, #BUF_BUF_LEN] @ get buffer size
190 cmp r10, r8 @ is buffer full?
196 ldr r10, [r9, #BUF_TAIL_OFFSET] @ get buffer tail offset
197 @ r8 already contains buffer size
198 cmp r10, r8 @ end of buffer?
199 moveq r10, #0 @ yes - rewind to buffer start
201 ldr r12, [r9, #BUF_BUFFER_START] @ get buffer start address
202 add r12, r12, r10, LSL #2 @ calculate buffer tail address
204 str r8, [r12] @ append it to the buffer tail
206 add r10, r10, #1 @ increment buffer tail offset