#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"
#include "qat_compression.h"
#include "icp_qat_fw.h"
#define SEC …
static struct service_hndl qat_compression;
void qat_compression_put_instance(struct qat_compression_instance *inst)
{ … }
static int qat_compression_free_instances(struct adf_accel_dev *accel_dev)
{ … }
struct qat_compression_instance *qat_compression_get_instance_node(int node)
{ … }
static int qat_compression_create_instances(struct adf_accel_dev *accel_dev)
{ … }
static int qat_compression_alloc_dc_data(struct adf_accel_dev *accel_dev)
{ … }
static void qat_free_dc_data(struct adf_accel_dev *accel_dev)
{ … }
static int qat_compression_init(struct adf_accel_dev *accel_dev)
{ … }
static int qat_compression_shutdown(struct adf_accel_dev *accel_dev)
{ … }
static int qat_compression_event_handler(struct adf_accel_dev *accel_dev,
enum adf_event event)
{ … }
int qat_compression_register(void)
{ … }
int qat_compression_unregister(void)
{ … }