Lines Matching full:stride
207 unsigned int stride, buf_pos; in tm6000_fillbuf() local
225 stride = runtime->frame_bits >> 3; in tm6000_fillbuf()
227 if (stride == 0) { in tm6000_fillbuf()
228 dprintk(1, "stride is zero\n"); in tm6000_fillbuf()
232 length = size / stride; in tm6000_fillbuf()
240 (unsigned int)runtime->buffer_size, stride); in tm6000_fillbuf()
244 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); in tm6000_fillbuf()
245 memcpy(runtime->dma_area, buf + cnt * stride, in tm6000_fillbuf()
246 length * stride - cnt * stride); in tm6000_fillbuf()
248 memcpy(runtime->dma_area + buf_pos * stride, buf, in tm6000_fillbuf()
249 length * stride); in tm6000_fillbuf()