Lines Matching refs:control_block
223 struct bcm2835_dma_cb *control_block, in bcm2835_dma_create_cb_set_length() argument
232 control_block->length = min_t(u32, len, max_len); in bcm2835_dma_create_cb_set_length()
247 if (*total_len + control_block->length < period_len) { in bcm2835_dma_create_cb_set_length()
249 *total_len += control_block->length; in bcm2835_dma_create_cb_set_length()
254 control_block->length = period_len - *total_len; in bcm2835_dma_create_cb_set_length()
260 control_block->info |= finalextrainfo; in bcm2835_dma_create_cb_set_length()
311 struct bcm2835_dma_cb *control_block; in bcm2835_dma_create_cb_chain() local
337 control_block = cb_entry->cb; in bcm2835_dma_create_cb_chain()
338 control_block->info = info; in bcm2835_dma_create_cb_chain()
339 control_block->src = src; in bcm2835_dma_create_cb_chain()
340 control_block->dst = dst; in bcm2835_dma_create_cb_chain()
341 control_block->stride = 0; in bcm2835_dma_create_cb_chain()
342 control_block->next = 0; in bcm2835_dma_create_cb_chain()
347 c, control_block, in bcm2835_dma_create_cb_chain()
352 len -= control_block->length; in bcm2835_dma_create_cb_chain()
361 src += control_block->length; in bcm2835_dma_create_cb_chain()
363 dst += control_block->length; in bcm2835_dma_create_cb_chain()
366 d->size += control_block->length; in bcm2835_dma_create_cb_chain()
544 struct bcm2835_dma_cb *control_block = d->cb_list[i].cb; in bcm2835_dma_desc_size_pos() local
545 size_t this_size = control_block->length; in bcm2835_dma_desc_size_pos()
549 dma = control_block->dst; in bcm2835_dma_desc_size_pos()
551 dma = control_block->src; in bcm2835_dma_desc_size_pos()