Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: dmaengine: add explanation for phys field in dma_async_tx_descriptor structure

Describe the need to initialize the phys field in the dma_async_tx_descriptor
structure during its initialization.

Signed-off-by: Bhanu Seshu Kumar Valluri <bhanuseshukumar@gmail.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Link: https://patch.msgid.link/20251113064937.8735-1-bhanuseshukumar@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Bhanu Seshu Kumar Valluri and committed by
Vinod Koul
08be54a9 f94163e9

+4 -1
+4 -1
Documentation/driver-api/dmaengine/provider.rst
··· 411 411 - This structure can be initialized using the function 412 412 ``dma_async_tx_descriptor_init``. 413 413 414 - - You'll also need to set two fields in this structure: 414 + - You'll also need to set following fields in this structure: 415 415 416 416 - flags: 417 417 TODO: Can it be modified by the driver itself, or ··· 420 420 - tx_submit: A pointer to a function you have to implement, 421 421 that is supposed to push the current transaction descriptor to a 422 422 pending queue, waiting for issue_pending to be called. 423 + 424 + - phys: Physical address of the descriptor which is used later by 425 + the dma engine to read the descriptor and initiate transfer. 423 426 424 427 - In this structure the function pointer callback_result can be 425 428 initialized in order for the submitter to be notified that a