linux/drivers/crypto/intel/qat/qat_common/adf_cfg_common.h

/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
/* Copyright(c) 2014 - 2020 Intel Corporation */
#ifndef ADF_CFG_COMMON_H_
#define ADF_CFG_COMMON_H_

#include <linux/types.h>
#include <linux/ioctl.h>

#define ADF_CFG_MAX_STR_LEN
#define ADF_CFG_MAX_KEY_LEN_IN_BYTES
#define ADF_CFG_MAX_VAL_LEN_IN_BYTES
#define ADF_CFG_MAX_SECTION_LEN_IN_BYTES
#define ADF_CFG_BASE_DEC
#define ADF_CFG_BASE_HEX
#define ADF_CFG_ALL_DEVICES
#define ADF_CFG_NO_DEVICE
#define ADF_CFG_AFFINITY_WHATEVER
#define MAX_DEVICE_NAME_SIZE
#define ADF_MAX_DEVICES
#define ADF_DEVS_ARRAY_SIZE

#define ADF_CFG_SERV_RING_PAIR_0_SHIFT
#define ADF_CFG_SERV_RING_PAIR_1_SHIFT
#define ADF_CFG_SERV_RING_PAIR_2_SHIFT
#define ADF_CFG_SERV_RING_PAIR_3_SHIFT
enum adf_cfg_service_type {};

enum adf_cfg_val_type {};

enum adf_device_type {};

struct adf_dev_status_info {};

#define ADF_CTL_IOC_MAGIC
#define IOCTL_CONFIG_SYS_RESOURCE_PARAMETERS
#define IOCTL_STOP_ACCEL_DEV
#define IOCTL_START_ACCEL_DEV
#define IOCTL_STATUS_ACCEL_DEV
#define IOCTL_GET_NUM_DEVICES
#endif