replace common qcom sources with samsung ones

This commit is contained in:
SaschaNes
2025-08-12 22:13:00 +02:00
parent ba24dcded9
commit 6f7753de11
5682 changed files with 2450203 additions and 103634 deletions

View File

@@ -3,7 +3,7 @@
* QTI CE device driver.
*
* Copyright (c) 2010-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <linux/mman.h>
@@ -33,7 +33,6 @@
#include "qce.h"
#include "qcedev_smmu.h"
#include "qcom_crypto_device.h"
#include <linux/compat.h>
#if IS_ENABLED(CONFIG_COMPAT)
#include "compat_qcedev.h"
#endif
@@ -51,7 +50,7 @@
* This is temporary, and we can use the 1500 value once the
* core irqs are enabled.
*/
#define MAX_OFFLOAD_CRYPTO_WAIT_TIME 50
#define MAX_OFFLOAD_CRYPTO_WAIT_TIME 30
#define MAX_REQUEST_TIME 5000
@@ -394,10 +393,6 @@ void qcedev_sha_req_cb(void *cookie, unsigned char *digest,
if (!areq || !areq->cookie)
return;
handle = (struct qcedev_handle *) areq->cookie;
if (!handle || !handle->cntl)
return;
pdev = handle->cntl;
if (!pdev)
return;
@@ -426,10 +421,6 @@ void qcedev_cipher_req_cb(void *cookie, unsigned char *icv,
if (!areq || !areq->cookie)
return;
handle = (struct qcedev_handle *) areq->cookie;
if (!handle || !handle->cntl)
return;
podev = handle->cntl;
if (!podev)
return;
@@ -558,8 +549,6 @@ void qcedev_offload_cipher_req_cb(void *cookie, unsigned char *icv,
if (!areq || !areq->cookie)
return;
handle = (struct qcedev_handle *) areq->cookie;
if (!handle || !handle->cntl)
return;
podev = handle->cntl;
if (!podev)
return;