Lines Matching full:stride
105 unsigned int stride; in cobalt_alsa_announce_pcm_data() local
126 stride = runtime->frame_bits >> 3; in cobalt_alsa_announce_pcm_data()
127 if (stride == 0) { in cobalt_alsa_announce_pcm_data()
128 dprintk("stride is zero\n"); in cobalt_alsa_announce_pcm_data()
148 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data()
150 stride, is_s32); in cobalt_alsa_announce_pcm_data()
152 sample_cpy(runtime->dma_area + (i - cnt) * stride, in cobalt_alsa_announce_pcm_data()
153 pcm_data + i * skip, stride, is_s32); in cobalt_alsa_announce_pcm_data()
158 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data()
160 stride, is_s32); in cobalt_alsa_announce_pcm_data()
305 unsigned int stride; in cobalt_alsa_pb_pcm_data() local
325 stride = runtime->frame_bits >> 3; in cobalt_alsa_pb_pcm_data()
326 if (stride == 0) { in cobalt_alsa_pb_pcm_data()
327 dprintk("stride is zero\n"); in cobalt_alsa_pb_pcm_data()
344 runtime->dma_area + pos + i * stride, in cobalt_alsa_pb_pcm_data()
345 stride, is_s32); in cobalt_alsa_pb_pcm_data()
348 cobsc->pb_pos += i * stride; in cobalt_alsa_pb_pcm_data()