instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'drivers/hsi/controllers/omap_ssi_regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Hardware definitions for SSI. * * Copyright (C) 2010 Nokia Corporation. All rights reserved. * * Contact: Carlos Chinea <carlos.chinea@nokia.com> */ #ifndef __OMAP_SSI_REGS_H__ #define __OMAP_SSI_REGS_H__ /* * SSI SYS registers */ #define SSI_REVISION_REG ...
Linux kernel'inin 'drivers/crypto/padlock-aes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Cryptographic API. * * Support for VIA PadLock hardware crypto engine. * * Copyright (c) 2004 Michal Ludvig <michal@logix.cz> * */ #include <crypto/algapi.h> #include <crypto/aes.h> #include <crypto/internal/skcipher.h> #include <crypto/padlock.h> #include <l...
Linux işletim sistemi çekirdeği için 'drivers/crypto/sa2ul' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * K3 SA2UL crypto accelerator driver * * Copyright (C) 2018-2020 Texas Instruments Incorporated - http://www.ti.com * * Authors: Keerthy * Vitaly Andrianov * Tero Kristo */ #ifndef _K3_SA2UL_ #define _K3_SA2UL_ #include <crypto/aes.h> #include <crypto/sha1.h> #...
Linux kernel'inin 'drivers/crypto/talitos' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * talitos - Freescale Integrated Security Engine (SEC) device driver * * Copyright (c) 2008-2011 Freescale Semiconductor, Inc. * * Scatterlist Crypto API glue code copied from files with the following: * Copyright (c) 2006-2007 Herbert Xu <herbert@gondor.apana....
Linux kernel'inin 'drivers/crypto/atmel-ecc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Microchip / Atmel ECC (I2C) driver. * * Copyright (c) 2017, Microchip Technology Inc. * Author: Tudor Ambarus */ #include <linux/delay.h> #include <linux/device.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/i2c.h> #include <linux/init.h> #include ...
Linux kernel'inin 'drivers/crypto/atmel-aes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Cryptographic API. * * Support for ATMEL AES HW acceleration. * * Copyright (c) 2012 Eukréa Electromatique - ATMEL * Author: Nicolas Royer <nicolas@eukrea.com> * * Some ideas are from omap-aes.c driver. */ #include <linux/kernel.h> #include <linux/module.h> #incl...
Linux işletim sistemi çekirdeği için 'drivers/crypto/atmel-sha-regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ATMEL_SHA_REGS_H__ #define __ATMEL_SHA_REGS_H__ #define SHA_REG_DIGEST(x) (0x80 + ((x) * 0x04)) #define SHA_REG_DIN(x) (0x40 + ((x) * 0x04)) #define SHA_CR 0x00 #define SHA_CR_START (1 << 0) #define SHA_CR_FIRST (1 << 4) #define SHA_CR_SWRST (1 << 8) #...
Linux işletim sistemi çekirdeği için 'drivers/crypto/atmel-authenc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * API for Atmel Secure Protocol Layers Improved Performances (SPLIP) * * Copyright (C) 2016 Atmel Corporation * * Author: Cyrille Pitchen <cyrille.pitchen@atmel.com> * * This driver is based on drivers/mtd/spi-nor/fsl-quadspi.c from Freescale. */ #ifndef __ATMEL_A...
Linux işletim sistemi çekirdeği için 'drivers/crypto/atmel-aes-regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ATMEL_AES_REGS_H__ #define __ATMEL_AES_REGS_H__ #define AES_CR 0x00 #define AES_CR_START (1 << 0) #define AES_CR_SWRST (1 << 8) #define AES_CR_LOADSEED (1 << 16) #define AES_MR 0x04 #define AES_MR_CYPHER_DEC (0 << 0) #define AES_MR_CYPHER_ENC (1 << 0) #de...
Linux kernel'inin 'drivers/crypto/img-hash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2014 Imagination Technologies * Authors: Will Thomas, James Hartley * * Interface structure taken from omap-sham driver */ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/dmaengine.h> #include <linux/interrupt.h> #include <lin...
Linux işletim sistemi çekirdeği için 'drivers/crypto/talitos' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause */ /* * Freescale SEC (talitos) device register and descriptor header defines * * Copyright (c) 2006-2011 Freescale Semiconductor, Inc. */ #define TALITOS_TIMEOUT 100000 #define TALITOS1_MAX_DATA_LEN 32768 #define TALITOS2_MAX_DATA_LEN 65535 #define DESC_TYPE(desc_hdr...
Linux kernel'inin 'drivers/crypto/sa2ul' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * K3 SA2UL crypto accelerator driver * * Copyright (C) 2018-2020 Texas Instruments Incorporated - http://www.ti.com * * Authors: Keerthy * Vitaly Andrianov * Tero Kristo */ #include <linux/bitfield.h> #include <linux/clk.h> #include <linux/dma-mapping.h> #include <l...
Linux kernel'inin 'drivers/crypto/atmel-i2c' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Microchip / Atmel ECC (I2C) driver. * * Copyright (c) 2017, Microchip Technology Inc. * Author: Tudor Ambarus */ #include <linux/bitrev.h> #include <linux/crc16.h> #include <linux/delay.h> #include <linux/device.h> #include <linux/err.h> #include <linux/errno.h> #incl...
Linux işletim sistemi çekirdeği için 'drivers/crypto/atmel-i2c' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2017, Microchip Technology Inc. * Author: Tudor Ambarus */ #ifndef __ATMEL_I2C_H__ #define __ATMEL_I2C_H__ #include <linux/hw_random.h> #include <linux/types.h> #define ATMEL_ECC_PRIORITY 300 #define COMMAND 0x03 /* packet function */ #define SLE...
Linux işletim sistemi çekirdeği için 'drivers/crypto/omap-aes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Cryptographic API. * * Support for OMAP AES HW ACCELERATOR defines * * Copyright (c) 2015 Texas Instruments Incorporated */ #ifndef __OMAP_AES_H__ #define __OMAP_AES_H__ #include <crypto/aes.h> #define DST_MAXBURST 4 #define DMA_MIN (DST_MAXBURST * size...
Linux kernel'inin 'drivers/crypto/qcom-rng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2017-18 Linaro Limited // // Based on msm-rng.c and downstream driver #include <crypto/internal/rng.h> #include <linux/acpi.h> #include <linux/clk.h> #include <linux/crypto.h> #include <linux/hw_random.h> #include <linux/io.h> #include <linux/iopoll.h> #include...
Linux işletim sistemi çekirdeği için 'drivers/crypto/omap-crypto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * OMAP Crypto driver common support routines. * * Copyright (c) 2017 Texas Instruments Incorporated * Tero Kristo <t-kristo@ti.com> */ #ifndef __CRYPTO_OMAP_CRYPTO_H #define __CRYPTO_OMAP_CRYPTO_H enum { OMAP_CRYPTO_NOT_ALIGNED = 1, OMAP_CRYPTO_BAD_DATA_LEN...
Linux kernel'inin 'drivers/crypto/s5p-sss' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // // Cryptographic API. // // Support for Samsung S5PV210 and Exynos HW acceleration. // // Copyright (C) 2011 NetUP Inc. All rights reserved. // Copyright (c) 2017 Samsung Electronics Co., Ltd. All rights reserved. // // Hash part based on omap-sham.c driver. #include <crypto...
Linux kernel'inin 'drivers/crypto/omap-aes-gcm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Cryptographic API. * * Support for OMAP AES GCM HW acceleration. * * Copyright (c) 2016 Texas Instruments Incorporated */ #include <crypto/aes.h> #include <crypto/engine.h> #include <crypto/gcm.h> #include <crypto/internal/aead.h> #include <crypto/scatterwalk.h>...
Linux kernel'inin 'drivers/crypto/padlock-sha' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API. * * Support for VIA PadLock hardware crypto engine. * * Copyright (c) 2006 Michal Ludvig <michal@logix.cz> */ #include <asm/cpu_device_id.h> #include <crypto/internal/hash.h> #include <crypto/padlock.h> #include <crypto/sha1.h> #include <...
Linux kernel'inin 'drivers/crypto/omap-des' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Support for OMAP DES and Triple DES HW acceleration. * * Copyright (c) 2013 Texas Instruments Incorporated * Author: Joel Fernandes <joelf@ti.com> */ #define pr_fmt(fmt) "%s: " fmt, __func__ #ifdef DEBUG #define prn(num) printk(#num "=%d\n", num) #define prx(num...
Linux kernel'inin 'drivers/crypto/hifn_795x' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * 2007+ Copyright (c) Evgeniy Polyakov <johnpol@2ka.mipt.ru> * All rights reserved. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/mod_devicetable.h> #include <linux/interrupt.h> #include <linux/pci.h> #inclu...
Linux kernel'inin 'drivers/crypto/omap-sham' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Cryptographic API. * * Support for OMAP SHA1/MD5 HW acceleration. * * Copyright (c) 2010 Nokia Corporation * Author: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> * Copyright (c) 2011 Texas Instruments Incorporated * * Some ideas are from old omap-sha1-md5.c dri...
Linux işletim sistemi çekirdeği için 'drivers/crypto/geode-aes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Copyright (C) 2003-2006, Advanced Micro Devices, Inc. */ #ifndef _GEODE_AES_H_ #define _GEODE_AES_H_ /* driver logic flags */ #define AES_MODE_ECB 0 #define AES_MODE_CBC 1 #define AES_DIR_DECRYPT 0 #define AES_DIR_ENCRYPT 1 #define AES_FLAGS_HIDDENKEY (1 << 0...
Linux kernel'inin 'drivers/crypto/omap-aes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Cryptographic API. * * Support for OMAP AES HW acceleration. * * Copyright (c) 2010 Nokia Corporation * Author: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> * Copyright (c) 2011 Texas Instruments Incorporated */ #define pr_fmt(fmt) "%20s: " fmt, __func__ #defin...
Linux kernel'inin 'drivers/crypto/atmel-sha' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Cryptographic API. * * Support for ATMEL SHA1/SHA256 HW acceleration. * * Copyright (c) 2012 Eukréa Electromatique - ATMEL * Author: Nicolas Royer <nicolas@eukrea.com> * * Some ideas are from omap-sham.c drivers. */ #include <linux/kernel.h> #include <linux/modul...
Linux kernel'inin 'drivers/crypto/sahara' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Cryptographic API. * * Support for SAHARA cryptographic accelerator. * * Copyright (c) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de> * Copyright (c) 2013 Vista Silicon S.L. * Author: Javier Martin <javier.martin@vista-silicon.com> * * Based on omap-aes.c a...
Linux kernel'inin 'drivers/crypto/atmel-sha204a' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Microchip / Atmel SHA204A (I2C) driver. * * Copyright (c) 2019 Linaro, Ltd. <ard.biesheuvel@linaro.org> */ #include <linux/delay.h> #include <linux/device.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/i2c.h> #include <linux/init.h> #include <linux/...
Linux kernel'inin 'drivers/crypto/exynos-rng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * exynos-rng.c - Random Number Generator driver for the Exynos * * Copyright (c) 2017 Krzysztof Kozlowski <krzk@kernel.org> * * Loosely based on old driver from drivers/char/hw_random/exynos-rng.c: * Copyright (C) 2012 Samsung Electronics * Jonghwa Lee <jonghwa3.lee@sa...
Linux kernel'inin 'drivers/crypto/omap-crypto' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * OMAP Crypto driver common support routines. * * Copyright (c) 2017 Texas Instruments Incorporated * Tero Kristo <t-kristo@ti.com> */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/scatterlist.h> #include <crypto/scatterwalk.h> #include "om...
Linux kernel'inin 'drivers/crypto/mxs-dcp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Freescale i.MX23/i.MX28 Data Co-Processor driver * * Copyright (C) 2013 Marek Vasut <marex@denx.de> */ #include <linux/dma-mapping.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/kthread.h> #include <linux/module...
Linux kernel'inin 'drivers/crypto/atmel-tdes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Cryptographic API. * * Support for ATMEL DES/TDES HW acceleration. * * Copyright (c) 2012 Eukréa Electromatique - ATMEL * Author: Nicolas Royer <nicolas@eukrea.com> * * Some ideas are from omap-aes.c drivers. */ #include <linux/kernel.h> #include <linux/module.h>...
Linux kernel'inin 'drivers/crypto/geode-aes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (C) 2004-2006, Advanced Micro Devices, Inc. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/pci_ids.h> #include <linux/crypto.h> #include <linux/spinlock.h> #include <crypto/algapi.h> #include <crypto/aes.h>...
Linux işletim sistemi çekirdeği için 'drivers/crypto/atmel-tdes-regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ATMEL_TDES_REGS_H__ #define __ATMEL_TDES_REGS_H__ #define TDES_CR 0x00 #define TDES_CR_START (1 << 0) #define TDES_CR_SWRST (1 << 8) #define TDES_CR_LOADSEED (1 << 16) #define TDES_MR 0x04 #define TDES_MR_CYPHER_DEC (0 << 0) #define TDES_MR_CYPHER_ENC (...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_dh895xcc/adf_drv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/types.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/errno.h> #include <li...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_dh895xcc/adf_dh895xcc_hw_data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2021 Intel Corporation */ #include <adf_accel_devices.h> #include <adf_admin.h> #include <adf_common_drv.h> #include <adf_gen2_config.h> #include <adf_gen2_hw_csr_data.h> #include <adf_gen2_hw_data.h> #include <adf_gen2_pfvf.h> #incl...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_dh895xcc/adf_dh895xcc_hw_data' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef ADF_DH895x_HW_DATA_H_ #define ADF_DH895x_HW_DATA_H_ #include <linux/units.h> /* PCIe configuration space */ #define ADF_DH895XCC_SRAM_BAR 0 #define ADF_DH895XCC_PMISC_BAR 1 #define ADF_DH895XCC_...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_c3xxx/adf_drv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/types.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/errno.h> #include <li...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_c3xxx/adf_c3xxx_hw_data' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef ADF_C3XXX_HW_DATA_H_ #define ADF_C3XXX_HW_DATA_H_ #include <linux/units.h> /* PCIe configuration space */ #define ADF_C3XXX_PMISC_BAR 0 #define ADF_C3XXX_ETR_BAR 1 #define ADF_C3XXX_SRAM_BAR 0 #...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_c3xxx/adf_c3xxx_hw_data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2021 Intel Corporation */ #include <adf_accel_devices.h> #include <adf_admin.h> #include <adf_clock.h> #include <adf_common_drv.h> #include <adf_gen2_config.h> #include <adf_gen2_hw_csr_data.h> #include <adf_gen2_hw_data.h> #include ...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_dbgfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2023 Intel Corporation */ #ifndef ADF_DBGFS_H #define ADF_DBGFS_H #ifdef CONFIG_DEBUG_FS void adf_dbgfs_init(struct adf_accel_dev *accel_dev); void adf_dbgfs_add(struct adf_accel_dev *accel_dev); void adf_dbgfs_rm(struct adf_accel_dev *accel_dev); void ...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/qat_comp_zstd_utils' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2026 Intel Corporation */ #include <linux/errno.h> #include <linux/printk.h> #include <linux/string.h> #include <linux/unaligned.h> #include <linux/zstd.h> #include "qat_comp_zstd_utils.h" #define ML_BITS 4 #define ML_MASK ((1U << ML_BITS) - 1) #define R...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_sysfs_rl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2023 Intel Corporation */ #define dev_fmt(fmt) "RateLimiting: " fmt #include <linux/dev_printk.h> #include <linux/pci.h> #include <linux/sysfs.h> #include <linux/types.h> #include "adf_common_drv.h" #include "adf_rl.h" #include "adf_sysfs_rl.h" #define G...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_gen4_ras' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2023 Intel Corporation */ #ifndef ADF_GEN4_RAS_H_ #define ADF_GEN4_RAS_H_ #include <linux/bits.h> struct adf_ras_ops; /* ERRSOU0 Correctable error mask*/ #define ADF_GEN4_ERRSOU0_BIT BIT(0) /* HI AE Correctable error log */ #define ADF_GEN4_HIAECOR...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_gen2_pfvf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2021 Intel Corporation */ #include <linux/delay.h> #include <linux/iopoll.h> #include <linux/mutex.h> #include <linux/types.h> #include "adf_accel_devices.h" #include "adf_common_drv.h" #include "adf_gen2_pfvf.h" #include "adf_pfvf_msg.h" #...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/qat_bl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2014 - 2022 Intel Corporation */ #include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/pci.h> #include <linux/scatterlist.h> #include <linux/slab.h> #include <linux/types.h> #include "adf_accel_devices.h" #include "qat_bl.h" #include "qat_...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2022 Intel Corporation */ #include <linux/device.h> #include <linux/errno.h> #include <linux/pci.h> #include <linux/string_choices.h> #include "adf_accel_devices.h" #include "adf_cfg.h" #include "adf_cfg_services.h" #include "adf_common_drv...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_telemetry' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2023 Intel Corporation. */ #ifndef ADF_TELEMETRY_H #define ADF_TELEMETRY_H #include <linux/bits.h> #include <linux/mutex.h> #include <linux/types.h> #include <linux/workqueue.h> #include "icp_qat_fw_init_admin.h" struct adf_accel_dev; struct adf_tl_db...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_heartbeat_dbgfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2023 Intel Corporation */ #include <linux/debugfs.h> #include <linux/errno.h> #include <linux/export.h> #include <linux/fs.h> #include <linux/kernel.h> #include <linux/kstrtox.h> #include <linux/types.h> #include "adf_admin.h" #include "adf_cfg.h" #include ...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_cfg_services' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2023 Intel Corporation */ #include <linux/array_size.h> #include <linux/bitops.h> #include <linux/export.h> #include <linux/pci.h> #include <linux/string.h> #include "adf_cfg.h" #include "adf_cfg_common.h" #include "adf_cfg_services.h" #include "adf_cfg_str...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_cfg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef ADF_CFG_H_ #define ADF_CFG_H_ #include <linux/list.h> #include <linux/rwsem.h> #include <linux/debugfs.h> #include "adf_accel_devices.h" #include "adf_cfg_common.h" #include "adf_cfg_strings.h" ...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/icp_qat_fw_la' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef _ICP_QAT_FW_LA_H_ #define _ICP_QAT_FW_LA_H_ #include "icp_qat_fw.h" enum icp_qat_fw_la_cmd_id { ICP_QAT_FW_LA_CMD_CIPHER = 0, ICP_QAT_FW_LA_CMD_AUTH = 1, ICP_QAT_FW_LA_CMD_CIPHER_HASH = 2, IC...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_gen4_hw_data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2020 Intel Corporation */ #define pr_fmt(fmt) "QAT: " fmt #include <linux/bitops.h> #include <linux/iopoll.h> #include <asm/div64.h> #include "adf_accel_devices.h" #include "adf_cfg_services.h" #include "adf_common_drv.h" #include "adf_fw...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_gen4_pfvf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2021 Intel Corporation */ #ifndef ADF_GEN4_PFVF_H #define ADF_GEN4_PFVF_H #include "adf_accel_devices.h" #include "adf_common_drv.h" #ifdef CONFIG_PCI_IOV void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops); #else static inli...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_gen2_hw_data' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2020 Intel Corporation */ #ifndef ADF_GEN2_HW_DATA_H_ #define ADF_GEN2_HW_DATA_H_ #include "adf_accel_devices.h" #include "adf_cfg_common.h" #define ADF_GEN2_RX_RINGS_OFFSET 8 #define ADF_GEN2_TX_RINGS_MASK 0xFF /* AE to function map...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/qat_mig_dev' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2024 Intel Corporation */ #include <linux/dev_printk.h> #include <linux/export.h> #include <linux/pci.h> #include <linux/types.h> #include <linux/qat/qat_mig_dev.h> #include "adf_accel_devices.h" #include "adf_common_drv.h" struct qat_mig_dev *qat_vfmig_cre...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_fw_counters' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2023 Intel Corporation */ #ifndef ADF_FW_COUNTERS_H #define ADF_FW_COUNTERS_H struct adf_accel_dev; void adf_fw_counters_dbgfs_add(struct adf_accel_dev *accel_dev); void adf_fw_counters_dbgfs_rm(struct adf_accel_dev *accel_dev); #endif ```
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/icp_qat_fw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef _ICP_QAT_FW_H_ #define _ICP_QAT_FW_H_ #include <linux/types.h> #include "icp_qat_hw.h" #define QAT_FIELD_SET(flags, val, bitpos, mask) \ { (flags) = (((flags) & (~((mask) << (bitpos)))) | \ (((...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/icp_qat_hw_51_comp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2025 Intel Corporation */ #ifndef ICP_QAT_HW_51_COMP_H_ #define ICP_QAT_HW_51_COMP_H_ #include <linux/types.h> #include "icp_qat_fw.h" #include "icp_qat_hw_51_comp_defs.h" struct icp_qat_hw_comp_51_config_csr_lower { enum icp_qat_hw_comp_51_abd abd; ...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/qat_asym_algs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <linux/module.h> #include <crypto/internal/rsa.h> #include <crypto/internal/akcipher.h> #include <crypto/akcipher.h> #include <crypto/kpp.h> #include <crypto/internal/kpp.h> #include <crypto/dh.h> #...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_mstate_mgr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2024 Intel Corporation */ #ifndef ADF_MSTATE_MGR_H #define ADF_MSTATE_MGR_H #define ADF_MSTATE_ID_LEN 8 #define ADF_MSTATE_ETRB_IDS "ETRBAR" #define ADF_MSTATE_MISCB_IDS "MISCBAR" #define ADF_MSTATE_EXTB_IDS "EXTBAR" #define ADF_MSTATE_GEN_IDS "GE...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/qat_algs_send' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2022 Intel Corporation */ #ifndef QAT_ALGS_SEND_H #define QAT_ALGS_SEND_H #include <linux/list.h> #include "adf_transport_internal.h" struct qat_instance_backlog { struct list_head list; spinlock_t lock; /* protects backlog list */ }...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_gen6_tl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2025 Intel Corporation. */ #include <linux/export.h> #include "adf_gen6_tl.h" #include "adf_telemetry.h" #include "adf_tl_debugfs.h" #include "icp_qat_fw_init_admin.h" #define ADF_GEN6_TL_DEV_REG_OFF(reg) ADF_TL_DEV_REG_OFF(reg, gen6) #define ADF_GEN6_TL...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/qat_comp_req' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2022 Intel Corporation */ #ifndef _QAT_COMP_REQ_H_ #define _QAT_COMP_REQ_H_ #include "icp_qat_fw_comp.h" #define QAT_COMP_REQ_SIZE (sizeof(struct icp_qat_fw_comp_req)) #define QAT_COMP_CTX_SIZE (QAT_COMP_REQ_SIZE * 2) static inline void qat_comp_create...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/icp_qat_fw_init_admin' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef _ICP_QAT_FW_INIT_ADMIN_H_ #define _ICP_QAT_FW_INIT_ADMIN_H_ #include "icp_qat_fw.h" #define RL_MAX_RP_IDS 16 enum icp_qat_fw_init_admin_cmd_id { ICP_QAT_FW_INIT_AE = 0, ICP_QAT_FW_TRNG_ENABLE...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_cfg_user' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef ADF_CFG_USER_H_ #define ADF_CFG_USER_H_ #include "adf_cfg_common.h" #include "adf_cfg_strings.h" struct adf_user_cfg_key_val { char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; char val[ADF_CFG_MAX_VAL_...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/qat_crypto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef _QAT_CRYPTO_INSTANCE_H_ #define _QAT_CRYPTO_INSTANCE_H_ #include <crypto/aes.h> #include <linux/list.h> #include <linux/slab.h> #include "adf_accel_devices.h" #include "icp_qat_fw_la.h" #include ...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_clock' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2023 Intel Corporation */ #include <linux/delay.h> #include <linux/dev_printk.h> #include <linux/export.h> #include <linux/math.h> #include <linux/minmax.h> #include <linux/time64.h> #include <linux/types.h> #include <linux/units.h> #include <asm/errno.h> #...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_cfg_strings' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef ADF_CFG_STRINGS_H_ #define ADF_CFG_STRINGS_H_ #define ADF_GENERAL_SEC "GENERAL" #define ADF_KERNEL_SEC "KERNEL" #define ADF_ACCEL_SEC "Accelerator" #define ADF_NUM_CY "NumberCyInstances" #define ...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_admin' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2023 Intel Corporation */ #ifndef ADF_ADMIN #define ADF_ADMIN #include "icp_qat_fw_init_admin.h" struct adf_accel_dev; int adf_init_admin_comms(struct adf_accel_dev *accel_dev); void adf_exit_admin_comms(struct adf_accel_dev *accel_dev); int adf_send_a...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_pfvf_msg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2015 - 2021 Intel Corporation */ #ifndef ADF_PFVF_MSG_H #define ADF_PFVF_MSG_H #include <linux/bits.h> /* * PF<->VF Gen2 Messaging format * * The PF has an array of 32-bit PF2VF registers, one for each VF. The * PF can access all t...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2023 Intel Corporation */ #ifndef ADF_CLOCK_H #define ADF_CLOCK_H #include <linux/types.h> struct adf_accel_dev; int adf_dev_measure_clock(struct adf_accel_dev *accel_dev, u32 *frequency, u32 min, u32 max); u64 adf_clock_get_current_time(void); #...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_bank_state' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2025 Intel Corporation */ #ifndef ADF_BANK_STATE_H_ #define ADF_BANK_STATE_H_ #include <linux/types.h> struct adf_accel_dev; struct ring_config { u64 base; u32 config; u32 head; u32 tail; u32 reserved0; }; struct adf_bank_state { u32 ringstat0; ...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/qat_algs_send' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2022 Intel Corporation */ #include <crypto/algapi.h> #include "adf_transport.h" #include "qat_algs_send.h" #include "qat_crypto.h" #define ADF_MAX_RETRIES 20 static int qat_alg_send_message_retry(struct qat_alg_req *req) { int ret = 0, ...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_ctl_drv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <crypto/algapi.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/slab.h> #include <linux/fs.h> #include <linux/bitops.h> #include <linux/pci.h> #include <linux/cdev.h> #include ...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_fw_config' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2023 Intel Corporation */ #ifndef ADF_FW_CONFIG_H_ #define ADF_FW_CONFIG_H_ enum adf_fw_objs { ADF_FW_SYM_OBJ, ADF_FW_ASYM_OBJ, ADF_FW_DC_OBJ, ADF_FW_ADMIN_OBJ, ADF_FW_CY_OBJ, ADF_FW_WCY_OBJ, }; struct adf_fw_config { u32 ae_mask; enum adf_fw_ob...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/qat_bl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2014 - 2022 Intel Corporation */ #ifndef QAT_BL_H #define QAT_BL_H #include <linux/crypto.h> #include <linux/scatterlist.h> #include <linux/types.h> #define QAT_MAX_BUFF_DESC 4 struct qat_alg_buf { u32 len; u32 resrvd; u64 addr; } __packed; struct q...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_pfvf_vf_proto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2021 Intel Corporation */ #ifndef ADF_PFVF_VF_PROTO_H #define ADF_PFVF_VF_PROTO_H #include <linux/types.h> #include "adf_accel_devices.h" int adf_send_vf2pf_msg(struct adf_accel_dev *accel_dev, struct pfvf_message msg); int adf_send_vf...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_gen6_ras' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2025 Intel Corporation */ #include <linux/bitfield.h> #include <linux/types.h> #include "adf_common_drv.h" #include "adf_gen6_ras.h" #include "adf_sysfs_ras_counters.h" static void enable_errsou_reporting(void __iomem *csr) { /* Enable correctable error r...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_bank_state' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2025 Intel Corporation */ #define pr_fmt(fmt) "QAT: " fmt #include <linux/bits.h> #include <linux/dev_printk.h> #include <linux/printk.h> #include "adf_accel_devices.h" #include "adf_bank_state.h" #include "adf_common_drv.h" /* Ring interrupt masks */ #de...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_hw_arbiter' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include "adf_accel_devices.h" #include "adf_common_drv.h" #include "adf_transport_internal.h" #define ADF_ARB_NUM 4 #define ADF_ARB_REG_SIZE 0x4 #define WRITE_CSR_ARB_SARCONFIG(csr_addr, arb_offset, index...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/icp_qat_hw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef _ICP_QAT_HW_H_ #define _ICP_QAT_HW_H_ #include <linux/bits.h> enum icp_qat_hw_ae_id { ICP_QAT_HW_AE_0 = 0, ICP_QAT_HW_AE_1 = 1, ICP_QAT_HW_AE_2 = 2, ICP_QAT_HW_AE_3 = 3, ICP_QAT_HW_AE_4 = 4...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_cfg_services' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2023 Intel Corporation */ #ifndef _ADF_CFG_SERVICES_H_ #define _ADF_CFG_SERVICES_H_ #include "adf_cfg_strings.h" struct adf_accel_dev; enum adf_base_services { SVC_ASYM = 0, SVC_SYM, SVC_DC, SVC_DECOMP, SVC_BASE_COUNT }; enum adf_extended_service...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/icp_qat_fw_pke' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef _ICP_QAT_FW_PKE_ #define _ICP_QAT_FW_PKE_ #include "icp_qat_fw.h" struct icp_qat_fw_req_hdr_pke_cd_pars { __u64 content_desc_addr; __u32 content_desc_resrvd; __u32 func_id; }; struct icp_qat...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_pfvf_pf_msg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2021 Intel Corporation */ #ifndef ADF_PFVF_PF_MSG_H #define ADF_PFVF_PF_MSG_H #include "adf_accel_devices.h" #if defined(CONFIG_PCI_IOV) void adf_pf2vf_notify_restarting(struct adf_accel_dev *accel_dev); void adf_pf2vf_wait_for_restart...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2023 Intel Corporation */ #ifndef ADF_PM_DBGFS_H_ #define ADF_PM_DBGFS_H_ struct adf_accel_dev; void adf_pm_dbgfs_rm(struct adf_accel_dev *accel_dev); void adf_pm_dbgfs_add(struct adf_accel_dev *accel_dev); #endif /* ADF_PM_DBGFS_H_ */ ```
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_gen2_config' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2022 Intel Corporation */ #include "adf_accel_devices.h" #include "adf_cfg.h" #include "adf_cfg_strings.h" #include "adf_gen2_config.h" #include "adf_common_drv.h" #include "qat_crypto.h" #include "qat_compression.h" #include "adf_heartbeat.h" #include "adf_...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_transport' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <linux/delay.h> #include <linux/nospec.h> #include "adf_accel_devices.h" #include "adf_transport_internal.h" #include "adf_transport_access_macros.h" #include "adf_cfg.h" #include "adf_common_drv.h"...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/qat_comp_zstd_utils' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright(c) 2026 Intel Corporation */ #ifndef QAT_COMP_ZSTD_UTILS_H_ #define QAT_COMP_ZSTD_UTILS_H_ #include <linux/zstd_lib.h> #define QAT_ZSTD_LIT_COPY_LEN 8 int qat_alg_dec_lz4s(ZSTD_Sequence *out_seqs, size_t out_seqs_capacity, unsigned char *lz4s_buff, ...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_gen4_pfvf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2021 Intel Corporation */ #include <linux/iopoll.h> #include <linux/mutex.h> #include <linux/types.h> #include "adf_accel_devices.h" #include "adf_common_drv.h" #include "adf_gen4_pfvf.h" #include "adf_gen4_hw_data.h" #include "adf_pfvf_pf_...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_dbgfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2023 Intel Corporation */ #include <linux/debugfs.h> #include "adf_accel_devices.h" #include "adf_cfg.h" #include "adf_common_drv.h" #include "adf_cnv_dbgfs.h" #include "adf_dbgfs.h" #include "adf_fw_counters.h" #include "adf_heartbeat_dbgfs.h" #include "ad...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/qat_algs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <linux/module.h> #include <linux/slab.h> #include <linux/crypto.h> #include <crypto/internal/aead.h> #include <crypto/internal/cipher.h> #include <crypto/internal/skcipher.h> #include <crypto/aes.h>...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_pfvf_utils' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2021 Intel Corporation */ #ifndef ADF_PFVF_UTILS_H #define ADF_PFVF_UTILS_H #include <linux/types.h> #include "adf_pfvf_msg.h" /* How long to wait for far side to acknowledge receipt */ #define ADF_PFVF_MSG_ACK_DELAY_US 4 #define ADF_P...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2023 Intel Corporation */ #include <linux/bitfield.h> #include <linux/debugfs.h> #include <linux/kernel.h> #include "adf_accel_devices.h" #include "adf_admin.h" #include "adf_common_drv.h" #include "adf_cnv_dbgfs.h" #include "qat_compression.h" #define CN...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2024 Intel Corporation */ #include <linux/delay.h> #include <linux/dev_printk.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/string.h> #include <linux/types.h> #include <asm/errno.h> #include "adf_accel_devices.h" #include "adf_bank_st...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/qat_compression' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2022 Intel Corporation */ #include <linux/module.h> #include <linux/slab.h> #include "adf_accel_devices.h" #include "adf_common_drv.h" #include "adf_transport.h" #include "adf_transport_access_macros.h" #include "adf_cfg.h" #include "adf_cfg_strings.h" #incl...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_common/adf_accel_devices' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2014 - 2020 Intel Corporation */ #ifndef ADF_ACCEL_DEVICES_H_ #define ADF_ACCEL_DEVICES_H_ #include <linux/interrupt.h> #include <linux/module.h> #include <linux/list.h> #include <linux/io.h> #include <linux/pci.h> #include <linux/rateli...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_gen4_hw_csr_data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* Copyright(c) 2024 Intel Corporation */ #include <linux/types.h> #include "adf_gen4_hw_csr_data.h" static u64 build_csr_ring_base_addr(dma_addr_t addr, u32 size) { return BUILD_RING_BASE_ADDR(addr, size); } static u32 read_csr_ring_head(void __iomem *csr_base_addr, u32...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_init' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <linux/mutex.h> #include <linux/list.h> #include <linux/bitops.h> #include <linux/delay.h> #include "adf_accel_devices.h" #include "adf_cfg.h" #include "adf_common_drv.h" #include "adf_dbgfs.h" #inc...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_common/adf_cfg' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <linux/mutex.h> #include <linux/slab.h> #include <linux/list.h> #include <linux/seq_file.h> #include "adf_accel_devices.h" #include "adf_cfg.h" #include "adf_common_drv.h" static DEFINE_MUTEX(qat_c...