]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: core: Introduce function ufshcd_query_attr_qword()
authorCan Guo <can.guo@oss.qualcomm.com>
Fri, 24 Apr 2026 15:14:19 +0000 (08:14 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 May 2026 07:27:42 +0000 (03:27 -0400)
commitf2cb7c01f48caffb38e12481949dea4f9beb65dc
tree0c57ced10c5c7580c64987b218ec09a4c1f0cd5d
parent254f49634ee16a731174d2ae34bc50bd5f45e731
scsi: ufs: core: Introduce function ufshcd_query_attr_qword()

Introduce a new generic function ufshcd_query_attr_qword() to handle
quad-word (64-bit) UFS attribute operations. This consolidates the
handling of 64-bit attributes which was previously scattered across
multiple specialized functions.

Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Can Guo <can.guo@oss.qualcomm.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260424151420.111675-2-can.guo@oss.qualcomm.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufs-sysfs.c
drivers/ufs/core/ufshcd-priv.h
drivers/ufs/core/ufshcd.c