+static inline bool ufshcd_is_high_temp_notif_allowed(struct ufs_hba *hba)
+{
+ return hba->dev_info.high_temp_notif;
+}
+
+static inline bool ufshcd_is_low_temp_notif_allowed(struct ufs_hba *hba)
+{
+ return hba->dev_info.low_temp_notif;
+}
+static inline bool ufshcd_is_temp_notif_allowed(struct ufs_hba *hba)
+{
+ return ufshcd_is_high_temp_notif_allowed(hba) ||
+ ufshcd_is_high_temp_notif_allowed(hba);
+}