Lines Matching full:stride
171 unsigned int stride, buf_pos; in tm6000_fillbuf() local
189 stride = runtime->frame_bits >> 3; in tm6000_fillbuf()
191 if (stride == 0) { in tm6000_fillbuf()
192 dprintk(1, "stride is zero\n"); in tm6000_fillbuf()
196 length = size / stride; in tm6000_fillbuf()
204 (unsigned int)runtime->buffer_size, stride); in tm6000_fillbuf()
208 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); in tm6000_fillbuf()
209 memcpy(runtime->dma_area, buf + cnt * stride, in tm6000_fillbuf()
210 length * stride - cnt * stride); in tm6000_fillbuf()
212 memcpy(runtime->dma_area + buf_pos * stride, buf, in tm6000_fillbuf()
213 length * stride); in tm6000_fillbuf()