mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-17 15:24:33 +00:00
Move logic that is common between QAT GEN4 accelerators to the qat_common folder. This includes addresses of CSRs, setters and configuration logic. When moved, functions and defines have been renamed from 4XXX to GEN4. Code specific to the device is moved to the file adf_gen4_hw_data.c. Code related to configuration is moved to the newly created adf_gen4_config.c. This does not introduce any functional change. Signed-off-by: Jie Wang <jie.wang@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
12 lines
299 B
C
12 lines
299 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* Copyright(c) 2023 Intel Corporation */
|
|
#ifndef ADF_GEN4_CONFIG_H_
|
|
#define ADF_GEN4_CONFIG_H_
|
|
|
|
#include "adf_accel_devices.h"
|
|
|
|
int adf_gen4_dev_config(struct adf_accel_dev *accel_dev);
|
|
int adf_gen4_cfg_dev_init(struct adf_accel_dev *accel_dev);
|
|
|
|
#endif
|