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

scsi: ufs: core: Improve documentation in include/ufs/ufshci.h

Make it easier to find the sections in the UFSHCI standard where these
constants come from.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251014200118.3390839-4-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
7b2c4224 3a866087

+3
+3
include/ufs/ufshci.h
··· 83 83 }; 84 84 85 85 enum { 86 + /* Submission Queue (SQ) Configuration Registers */ 86 87 REG_SQATTR = 0x0, 87 88 REG_SQLBA = 0x4, 88 89 REG_SQUBA = 0x8, 89 90 REG_SQDAO = 0xC, 90 91 REG_SQISAO = 0x10, 91 92 93 + /* Completion Queue (CQ) Configuration Registers */ 92 94 REG_CQATTR = 0x20, 93 95 REG_CQLBA = 0x24, 94 96 REG_CQUBA = 0x28, ··· 98 96 REG_CQISAO = 0x30, 99 97 }; 100 98 99 + /* Operation and Runtime Registers - Submission Queues and Completion Queues */ 101 100 enum { 102 101 REG_SQHP = 0x0, 103 102 REG_SQTP = 0x4,