Home
last modified time | relevance | path

Searched hist:"42 f8c5cdb039f93f8d20f3e299aa6436775ee9d6" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/ufs/core/
H A Dufs-sysfs.cdiff 42f8c5cdb039f93f8d20f3e299aa6436775ee9d6 Thu Aug 04 09:54:44 CEST 2022 Jinyoung Choi <j-young.choi@samsung.com> scsi: ufs: wb: Introduce ufshcd_is_wb_buf_flush_allowed()

The explicit flushing should check the following:

- UFSHCD_CAP_WB_EN

- UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL

Add helper to improve readability.

Link: https://lore.kernel.org/r/20220804075444epcms2p4a0520880262281f02be65ce0fe50602d@epcms2p4
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Acked-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Jinyoung Choi <j-young.choi@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
H A Dufshcd-priv.hdiff 42f8c5cdb039f93f8d20f3e299aa6436775ee9d6 Thu Aug 04 09:54:44 CEST 2022 Jinyoung Choi <j-young.choi@samsung.com> scsi: ufs: wb: Introduce ufshcd_is_wb_buf_flush_allowed()

The explicit flushing should check the following:

- UFSHCD_CAP_WB_EN

- UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL

Add helper to improve readability.

Link: https://lore.kernel.org/r/20220804075444epcms2p4a0520880262281f02be65ce0fe50602d@epcms2p4
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Acked-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Jinyoung Choi <j-young.choi@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>