|
@@ -875,7 +875,7 @@ at_xdmac_interleaved_queue_desc(struct dma_chan *chan,
|
|
dwidth = at_xdmac_align_width(chan, src | dst | chunk->size);
|
|
dwidth = at_xdmac_align_width(chan, src | dst | chunk->size);
|
|
if (chunk->size >= (AT_XDMAC_MBR_UBC_UBLEN_MAX << dwidth)) {
|
|
if (chunk->size >= (AT_XDMAC_MBR_UBC_UBLEN_MAX << dwidth)) {
|
|
dev_dbg(chan2dev(chan),
|
|
dev_dbg(chan2dev(chan),
|
|
- "%s: chunk too big (%d, max size %lu)...\n",
|
|
|
|
|
|
+ "%s: chunk too big (%zu, max size %lu)...\n",
|
|
__func__, chunk->size,
|
|
__func__, chunk->size,
|
|
AT_XDMAC_MBR_UBC_UBLEN_MAX << dwidth);
|
|
AT_XDMAC_MBR_UBC_UBLEN_MAX << dwidth);
|
|
return NULL;
|
|
return NULL;
|
|
@@ -956,7 +956,7 @@ at_xdmac_prep_interleaved(struct dma_chan *chan,
|
|
if ((xt->numf > 1) && (xt->frame_size > 1))
|
|
if ((xt->numf > 1) && (xt->frame_size > 1))
|
|
return NULL;
|
|
return NULL;
|
|
|
|
|
|
- dev_dbg(chan2dev(chan), "%s: src=%pad, dest=%pad, numf=%d, frame_size=%d, flags=0x%lx\n",
|
|
|
|
|
|
+ dev_dbg(chan2dev(chan), "%s: src=%pad, dest=%pad, numf=%zu, frame_size=%zu, flags=0x%lx\n",
|
|
__func__, &xt->src_start, &xt->dst_start, xt->numf,
|
|
__func__, &xt->src_start, &xt->dst_start, xt->numf,
|
|
xt->frame_size, flags);
|
|
xt->frame_size, flags);
|
|
|
|
|
|
@@ -990,7 +990,7 @@ at_xdmac_prep_interleaved(struct dma_chan *chan,
|
|
dst_skip = chunk->size + dst_icg;
|
|
dst_skip = chunk->size + dst_icg;
|
|
|
|
|
|
dev_dbg(chan2dev(chan),
|
|
dev_dbg(chan2dev(chan),
|
|
- "%s: chunk size=%d, src icg=%d, dst icg=%d\n",
|
|
|
|
|
|
+ "%s: chunk size=%zu, src icg=%zu, dst icg=%zu\n",
|
|
__func__, chunk->size, src_icg, dst_icg);
|
|
__func__, chunk->size, src_icg, dst_icg);
|
|
|
|
|
|
desc = at_xdmac_interleaved_queue_desc(chan, atchan,
|
|
desc = at_xdmac_interleaved_queue_desc(chan, atchan,
|
|
@@ -1207,7 +1207,7 @@ at_xdmac_prep_dma_memset(struct dma_chan *chan, dma_addr_t dest, int value,
|
|
struct at_xdmac_chan *atchan = to_at_xdmac_chan(chan);
|
|
struct at_xdmac_chan *atchan = to_at_xdmac_chan(chan);
|
|
struct at_xdmac_desc *desc;
|
|
struct at_xdmac_desc *desc;
|
|
|
|
|
|
- dev_dbg(chan2dev(chan), "%s: dest=%pad, len=%d, pattern=0x%x, flags=0x%lx\n",
|
|
|
|
|
|
+ dev_dbg(chan2dev(chan), "%s: dest=%pad, len=%zu, pattern=0x%x, flags=0x%lx\n",
|
|
__func__, &dest, len, value, flags);
|
|
__func__, &dest, len, value, flags);
|
|
|
|
|
|
if (unlikely(!len))
|
|
if (unlikely(!len))
|