Loading drivers/mmc/host/cqhci-crypto-qti.c +7 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ static struct cqhci_host_crypto_variant_ops cqhci_crypto_qti_variant_ops = { .debug = cqhci_crypto_qti_debug, .reset = cqhci_crypto_qti_reset, .prepare_crypto_desc = cqhci_crypto_qti_prep_desc, .recovery_finish = cqhci_crypto_qti_recovery_finish, }; static atomic_t keycache; Loading Loading @@ -411,3 +412,9 @@ int cqhci_crypto_qti_resume(struct cqhci_host *host) { return crypto_qti_resume(host->crypto_vops->priv); } int cqhci_crypto_qti_recovery_finish(struct cqhci_host *host) { keyslot_manager_reprogram_all_keys(host->ksm); return 0; } drivers/mmc/host/cqhci-crypto-qti.h +3 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2020, The Linux Foundation. All rights reserved. * Copyright (c) 2020 - 2021, The Linux Foundation. All rights reserved. */ #ifndef _UFSHCD_CRYPTO_QTI_H Loading Loading @@ -28,4 +28,6 @@ int cqhci_crypto_qti_prep_desc(struct cqhci_host *host, int cqhci_crypto_qti_reset(struct cqhci_host *host); int cqhci_crypto_qti_recovery_finish(struct cqhci_host *host); #endif /* _UFSHCD_ICE_QTI_H */ Loading
drivers/mmc/host/cqhci-crypto-qti.c +7 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ static struct cqhci_host_crypto_variant_ops cqhci_crypto_qti_variant_ops = { .debug = cqhci_crypto_qti_debug, .reset = cqhci_crypto_qti_reset, .prepare_crypto_desc = cqhci_crypto_qti_prep_desc, .recovery_finish = cqhci_crypto_qti_recovery_finish, }; static atomic_t keycache; Loading Loading @@ -411,3 +412,9 @@ int cqhci_crypto_qti_resume(struct cqhci_host *host) { return crypto_qti_resume(host->crypto_vops->priv); } int cqhci_crypto_qti_recovery_finish(struct cqhci_host *host) { keyslot_manager_reprogram_all_keys(host->ksm); return 0; }
drivers/mmc/host/cqhci-crypto-qti.h +3 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2020, The Linux Foundation. All rights reserved. * Copyright (c) 2020 - 2021, The Linux Foundation. All rights reserved. */ #ifndef _UFSHCD_CRYPTO_QTI_H Loading Loading @@ -28,4 +28,6 @@ int cqhci_crypto_qti_prep_desc(struct cqhci_host *host, int cqhci_crypto_qti_reset(struct cqhci_host *host); int cqhci_crypto_qti_recovery_finish(struct cqhci_host *host); #endif /* _UFSHCD_ICE_QTI_H */