4 /* 32-bit data segment descriptor (8 bytes) */
10 static inline void append_dsd32(struct dsd32 **dsd, struct scatterlist *sg)
12 put_unaligned_le32(sg_dma_address(sg), &(*dsd)->address);
13 put_unaligned_le32(sg_dma_len(sg), &(*dsd)->length);
17 /* 64-bit data segment descriptor (12 bytes) */
23 static inline void append_dsd64(struct dsd64 **dsd, struct scatterlist *sg)
25 put_unaligned_le64(sg_dma_address(sg), &(*dsd)->address);
26 put_unaligned_le32(sg_dma_len(sg), &(*dsd)->length);