···8484 DMA_TRANS_NONE,8585};86868787-/**8787+/*8888 * Interleaved Transfer Request8989 * ----------------------------9090 * A chunk is collection of contiguous bytes to be transferred.···223223};224224225225/**226226- * enum pq_check_flags - result of async_{xor,pq}_zero_sum operations226226+ * enum sum_check_flags - result of async_{xor,pq}_zero_sum operations227227 * @SUM_CHECK_P_RESULT - 1 if xor zero sum error, 0 otherwise228228 * @SUM_CHECK_Q_RESULT - 1 if reed-solomon zero sum error, 0 otherwise229229 */···286286 * pointer to the engine's metadata area287287 * 4. Read out the metadata from the pointer288288 *289289- * Note: the two mode is not compatible and clients must use one mode for a289289+ * Warning: the two modes are not compatible and clients must use one mode for a290290 * descriptor.291291 */292292enum dma_desc_metadata_mode {···594594 * @phys: physical address of the descriptor595595 * @chan: target channel for this operation596596 * @tx_submit: accept the descriptor, assign ordered cookie and mark the597597+ * @desc_free: driver's callback function to free a resusable descriptor598598+ * after completion597599 * descriptor pending. To be pushed on .issue_pending() call598600 * @callback: routine to call after this operation is complete601601+ * @callback_result: error result from a DMA transaction599602 * @callback_param: general parameter to pass to the callback routine603603+ * @unmap: hook for generic DMA unmap data600604 * @desc_metadata_mode: core managed metadata mode to protect mixed use of601605 * DESC_METADATA_CLIENT or DESC_METADATA_ENGINE. Otherwise602606 * DESC_METADATA_NONE···831827 * @device_prep_dma_memset: prepares a memset operation832828 * @device_prep_dma_memset_sg: prepares a memset operation over a scatter list833829 * @device_prep_dma_interrupt: prepares an end of chain interrupt operation830830+ * @device_prep_peripheral_dma_vec: prepares a scatter-gather DMA transfer,831831+ * where the address and size of each segment is located in one entry of832832+ * the dma_vec array.834833 * @device_prep_slave_sg: prepares a slave dma operation835834 * @device_prep_dma_cyclic: prepare a cyclic dma operation suitable for audio.836835 * The function takes a buffer of size buf_len. The callback function will
+2
include/linux/platform_data/amd_qdma.h
···2626 * @max_mm_channels: Maximum number of MM DMA channels in each direction2727 * @device_map: DMA slave map2828 * @irq_index: The index of first IRQ2929+ * @dma_dev: The device pointer for dma operations2930 */3031struct qdma_platdata {3132 u32 max_mm_channels;3233 u32 irq_index;3334 struct dma_slave_map *device_map;3535+ struct device *dma_dev;3436};35373638#endif /* _PLATDATA_AMD_QDMA_H */