linux-stable/include/ufs
Bart Van Assche bdf5c0bb4d scsi: ufs: core: Rename ufshcd_auto_hibern8_enable() and make it static
Rename ufshcd_auto_hibern8_enable() into ufshcd_configure_auto_hibern8()
since this function can enable or disable auto-hibernation. Since
ufshcd_auto_hibern8_enable() is only used inside the UFSHCI driver core,
declare it static. Additionally, move the definition of this function to
just before its first caller.

Suggested-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Reviewed-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Reviewed-by: Can Guo <quic_cang@quicinc.com>
Cc: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20231214192416.3638077-2-bvanassche@acm.org
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-12-18 20:51:14 -05:00
..
ufs.h scsi: ufs: core: Add sysfs node for UFS RTC update 2023-12-13 23:16:12 -05:00
ufs_quirks.h scsi: ufs: core: Remove HPB support 2023-07-23 16:40:39 -04:00
ufshcd.h scsi: ufs: core: Rename ufshcd_auto_hibern8_enable() and make it static 2023-12-18 20:51:14 -05:00
ufshci.h scsi: ufs: Simplify transfer request header initialization 2023-07-31 15:17:51 -04:00
unipro.h scsi: ufs: ufs-sysfs: Expose UFS power info 2023-11-15 10:23:55 -05:00