Lines Matching full:stride
172 unsigned int stride, buf_pos; in tm6000_fillbuf() local
190 stride = runtime->frame_bits >> 3; in tm6000_fillbuf()
192 if (stride == 0) { in tm6000_fillbuf()
193 dprintk(1, "stride is zero\n"); in tm6000_fillbuf()
197 length = size / stride; in tm6000_fillbuf()
205 (unsigned int)runtime->buffer_size, stride); in tm6000_fillbuf()
209 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); in tm6000_fillbuf()
210 memcpy(runtime->dma_area, buf + cnt * stride, in tm6000_fillbuf()
211 length * stride - cnt * stride); in tm6000_fillbuf()
213 memcpy(runtime->dma_area + buf_pos * stride, buf, in tm6000_fillbuf()
214 length * stride); in tm6000_fillbuf()