Lines Matching refs:buffer_pointer
64 unsigned int buffer_pointer; member
95 ptr = isight->buffer_pointer; in isight_update_pointers()
99 WRITE_ONCE(isight->buffer_pointer, ptr); in isight_update_pointers()
118 if (isight->buffer_pointer + count <= runtime->buffer_size) { in isight_samples()
119 memcpy(runtime->dma_area + isight->buffer_pointer * 4, in isight_samples()
122 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_samples()
123 memcpy(runtime->dma_area + isight->buffer_pointer * 4, in isight_samples()
150 if (isight->buffer_pointer + dropped <= runtime->buffer_size) { in isight_dropped_samples()
151 memset(runtime->dma_area + isight->buffer_pointer * 4, in isight_dropped_samples()
154 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_dropped_samples()
155 memset(runtime->dma_area + isight->buffer_pointer * 4, in isight_dropped_samples()
405 isight->buffer_pointer = 0; in isight_prepare()
436 return READ_ONCE(isight->buffer_pointer); in isight_pointer()