Visible to Intel only — GUID: iga1446069920839
Ixiasoft
Visible to Intel only — GUID: iga1446069920839
Ixiasoft
31.8.8. alt_msgdma_construct_standard_mm_to_st_descriptor
Prototype: | int alt_msgdma_construct_standard_mm_to_st_descriptor (alt_msgdma_dev *dev, alt_msgdma_standard_descriptor *descriptor, alt_u32 *read_address, alt_u32 length, alt_u32 control) |
Include: | < modular_sgdma_dispatcher.h > |
Parameters: | *dev-a pointer to msgdma instance. *descriptor – a pointer to a standard descriptor structure. *read_address – a pointer to the base address of the source memory. length – is used to specify the number of bytes to transfer per descriptor. The largest possible value can be filled in is “0Xffffffff”. control – control field. |
Returns: | “0” for success, -EINVAL for invalid argument, could be due to argument which has larger value than hardware setting value. |
Description: | Function will call helper function “alt_msgdma_construct_standard_descriptor” for constructing mm_to_st standard descriptors. Unnecessary elements are set to 0 for completeness and will be ignored by the hardware. |