Visible to Intel only — GUID: iga1446069905764
Ixiasoft
Visible to Intel only — GUID: iga1446069905764
Ixiasoft
31.8.7. alt_msgdma_construct_standard_st_to_mm_descriptor
Prototype: | int alt_msgdma_construct_standard_st_to_mm_descriptor (alt_msgdma_dev *dev, alt_msgdma_standard_descriptor *descriptor, alt_u32 *write_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. *write_address – a pointer to the base address of the destination 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 st_to_mm standard descriptors. Unnecessary elements are set to 0 for completeness and will be ignored by the hardware. |