File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -554,12 +554,14 @@ static void xdma_synchronize(struct dma_chan *chan)
554
554
}
555
555
556
556
/**
557
- * xdma_fill_descs - Fill hardware descriptors with contiguous memory block addresses
558
- * @sw_desc: tx descriptor state container
559
- * @src_addr: Value for a ->src_addr field of a first descriptor
560
- * @dst_addr: Value for a ->dst_addr field of a first descriptor
561
- * @size: Total size of a contiguous memory block
562
- * @filled_descs_num: Number of filled hardware descriptors for corresponding sw_desc
557
+ * xdma_fill_descs() - Fill hardware descriptors for one contiguous memory chunk.
558
+ * More than one descriptor will be used if the size is bigger
559
+ * than XDMA_DESC_BLEN_MAX.
560
+ * @sw_desc: Descriptor container
561
+ * @src_addr: First value for the ->src_addr field
562
+ * @dst_addr: First value for the ->dst_addr field
563
+ * @size: Size of the contiguous memory block
564
+ * @filled_descs_num: Index of the first descriptor to take care of in @sw_desc
563
565
*/
564
566
static inline u32 xdma_fill_descs (struct xdma_desc * sw_desc , u64 src_addr ,
565
567
u64 dst_addr , u32 size , u32 filled_descs_num )
You can’t perform that action at this time.
0 commit comments