Loading drivers/scsi/ufs/ufshcd.c +3 −0 Original line number Diff line number Diff line Loading @@ -556,6 +556,9 @@ static inline void ufshcd_hba_capabilities(struct ufs_hba *hba) hba->nutrs = (hba->capabilities & MASK_TRANSFER_REQUESTS_SLOTS) + 1; hba->nutmrs = ((hba->capabilities & MASK_TASK_MANAGEMENT_REQUEST_SLOTS) >> 16) + 1; if (hba->quirks & UFSHCD_QUIRK_BROKEN_CAP_64_BIT_0) hba->capabilities |= MASK_64_ADDRESSING_SUPPORT; } /** Loading drivers/scsi/ufs/ufshcd.h +3 −0 Original line number Diff line number Diff line Loading @@ -299,6 +299,9 @@ struct ufs_hba { */ #define UFSHCD_QUIRK_BROKEN_VER_REG_1_1 (1<<2) /* UFSHC advertises 64-bit not supported even though it supports */ #define UFSHCD_QUIRK_BROKEN_CAP_64_BIT_0 (1 << 3) struct uic_command *active_uic_cmd; struct mutex uic_cmd_mutex; Loading Loading
drivers/scsi/ufs/ufshcd.c +3 −0 Original line number Diff line number Diff line Loading @@ -556,6 +556,9 @@ static inline void ufshcd_hba_capabilities(struct ufs_hba *hba) hba->nutrs = (hba->capabilities & MASK_TRANSFER_REQUESTS_SLOTS) + 1; hba->nutmrs = ((hba->capabilities & MASK_TASK_MANAGEMENT_REQUEST_SLOTS) >> 16) + 1; if (hba->quirks & UFSHCD_QUIRK_BROKEN_CAP_64_BIT_0) hba->capabilities |= MASK_64_ADDRESSING_SUPPORT; } /** Loading
drivers/scsi/ufs/ufshcd.h +3 −0 Original line number Diff line number Diff line Loading @@ -299,6 +299,9 @@ struct ufs_hba { */ #define UFSHCD_QUIRK_BROKEN_VER_REG_1_1 (1<<2) /* UFSHC advertises 64-bit not supported even though it supports */ #define UFSHCD_QUIRK_BROKEN_CAP_64_BIT_0 (1 << 3) struct uic_command *active_uic_cmd; struct mutex uic_cmd_mutex; Loading