Lines Matching refs:size
360 * @size: The size in bytes of the memory at base or the size of pre_alloc_lli.
366 int size;
520 * @backup_size: the size of the registers address array for backup
528 * @il_size: the size of d40_interrupt_lookup array
530 * @init_reg_size: the size of d40_reg_val array
581 * @lcpa_size: The size of the LCPA area.
673 d40d->lli_pool.size = sizeof(d40d->lli_pool.pre_alloc_lli);
676 d40d->lli_pool.size = lli_len * 2 * align;
678 base = kmalloc(d40d->lli_pool.size + align, GFP_NOWAIT);
696 d40d->lli_pool.size,
715 d40d->lli_pool.size, DMA_TO_DEVICE);
719 d40d->lli_pool.size = 0;
1022 static int d40_size_2_dmalen(int size, u32 data_width1, u32 data_width2)
1032 if (!IS_ALIGNED(size, max_w))
1035 if (size <= seg_max)
1038 dmalen = size / seg_max;
1039 if (dmalen * seg_max < size)
2189 desc->lli_pool.size, DMA_TO_DEVICE);
2210 chan_err(chan, "Unaligned size\n");
2501 size_t size,
2513 sg_dma_len(&dst_sg) = size;
2514 sg_dma_len(&src_sg) = size;
3545 dev_info(dev, "found LCPA SRAM at %pad, size %pa\n",
3639 d40_err(dev, "Failed to set dma max seg size\n");