Lines Matching full:burst
190 * adm_get_blksize - Get block size from burst value
192 * @burst: Burst size of transaction
194 static int adm_get_blksize(unsigned int burst) in adm_get_blksize() argument
198 switch (burst) { in adm_get_blksize()
203 ret = ffs(burst >> 4) - 1; in adm_get_blksize()
226 * @burst: Burst size of transaction
231 u32 burst, in adm_process_fc_descriptors() argument
244 row_offset = burst; in adm_process_fc_descriptors()
249 row_offset = burst << 16; in adm_process_fc_descriptors()
254 while (remainder >= burst) { in adm_process_fc_descriptors()
261 rows = remainder / burst; in adm_process_fc_descriptors()
264 box_desc->row_len = burst << 16 | burst; in adm_process_fc_descriptors()
266 *incr_addr += burst * rows; in adm_process_fc_descriptors()
267 remainder -= burst * rows; in adm_process_fc_descriptors()
358 u32 i, burst; in adm_prep_slave_sg() local
370 * get burst value from slave configuration in adm_prep_slave_sg()
372 burst = (direction == DMA_MEM_TO_DEV) ? in adm_prep_slave_sg()
376 /* if using flow control, validate burst and crci values */ in adm_prep_slave_sg()
378 blk_size = adm_get_blksize(burst); in adm_prep_slave_sg()
380 dev_err(adev->dev, "invalid burst value: %d\n", in adm_prep_slave_sg()
381 burst); in adm_prep_slave_sg()
395 box_count += DIV_ROUND_UP(sg_dma_len(sg) / burst, in adm_prep_slave_sg()
397 if (sg_dma_len(sg) % burst) in adm_prep_slave_sg()
435 burst, direction); in adm_prep_slave_sg()