Lines Matching refs:frames

90 	unsigned int frames;  member
208 for (i = 0; i < desc->frames; i++) in bcm2835_dma_free_cb_chain()
268 size_t frames = 0; in bcm2835_dma_count_frames_for_sg() local
274 frames += bcm2835_dma_frames_for_length( in bcm2835_dma_count_frames_for_sg()
277 return frames; in bcm2835_dma_count_frames_for_sg()
302 bool cyclic, u32 info, u32 finalextrainfo, size_t frames, in bcm2835_dma_create_cb_chain() argument
313 if (!frames) in bcm2835_dma_create_cb_chain()
317 d = kzalloc(struct_size(d, cb_list, frames), gfp); in bcm2835_dma_create_cb_chain()
329 for (frame = 0, total_len = 0; frame < frames; d->frames++, frame++) { in bcm2835_dma_create_cb_chain()
370 d->cb_list[d->frames - 1].cb->info |= finalextrainfo; in bcm2835_dma_create_cb_chain()
543 for (size = i = 0; i < d->frames; i++) { in bcm2835_dma_desc_size_pos()
621 size_t frames; in bcm2835_dma_prep_dma_memcpy() local
628 frames = bcm2835_dma_frames_for_length(len, max_len); in bcm2835_dma_prep_dma_memcpy()
632 info, extra, frames, in bcm2835_dma_prep_dma_memcpy()
651 size_t frames; in bcm2835_dma_prep_slave_sg() local
675 frames = bcm2835_dma_count_frames_for_sg(c, sgl, sg_len); in bcm2835_dma_prep_slave_sg()
680 frames, src, dst, 0, 0, in bcm2835_dma_prep_slave_sg()
704 size_t frames; in bcm2835_dma_prep_dma_cyclic() local
755 frames = /* number of periods */ in bcm2835_dma_prep_dma_cyclic()
767 frames, src, dst, buf_len, in bcm2835_dma_prep_dma_cyclic()
773 d->cb_list[d->frames - 1].cb->next = d->cb_list[0].paddr; in bcm2835_dma_prep_dma_cyclic()