ufshcd-crypto-qti.h 550 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _UFSHCD_CRYPTO_QTI_H
  6. #define _UFSHCD_CRYPTO_QTI_H
  7. #include "ufshcd.h"
  8. #include "ufshcd-crypto.h"
  9. #if IS_ENABLED(CONFIG_SCSI_UFS_CRYPTO_QTI)
  10. int ufshcd_qti_hba_init_crypto_capabilities(struct ufs_hba *hba);
  11. #else /* CONFIG_SCSI_UFS_CRYPTO_QTI */
  12. static inline int ufshcd_qti_hba_init_crypto_capabilities(
  13. struct ufs_hba *hba)
  14. {
  15. return 0;
  16. }
  17. #endif /* CONFIG_SCSI_UFS_CRYPTO_QTI */
  18. #endif /* _UFSHCD_CRYPTO_QTI_H */