UPSTREAM: scsi: ufs: core: Improve source code comments

Make the descriptions above data structures that come from the UFS
specification match the terminology from that specification. This makes it
easier to find these data structures while reading the UFS specification.

Link: https://lore.kernel.org/r/20211020214024.2007615-3-bvanassche@acm.org
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Bug: 234653003
(cherry picked from commit 91bb765cca)
Change-Id: I41fe46b2590c08e8194e7383ac0bfca12c74b908
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
Bart Van Assche
2021-10-20 14:40:16 -07:00
committed by Bart Van Assche
parent 4adf547ec1
commit f8f72543eb

View File

@@ -430,7 +430,7 @@ struct ufshcd_sg_entry {
};
/**
* struct utp_transfer_cmd_desc - UFS Command Descriptor structure
* struct utp_transfer_cmd_desc - UTP Command Descriptor (UCD)
* @command_upiu: Command UPIU Frame address
* @response_upiu: Response UPIU Frame address
* @prd_table: Physical Region Descriptor: an array of SG_ALL struct
@@ -460,7 +460,7 @@ struct request_desc_header {
};
/**
* struct utp_transfer_req_desc - UTRD structure
* struct utp_transfer_req_desc - UTP Transfer Request Descriptor (UTRD)
* @header: UTRD header DW-0 to DW-3
* @command_desc_base_addr_lo: UCD base address low DW-4
* @command_desc_base_addr_hi: UCD base address high DW-5