xref: /linux/drivers/crypto/intel/qat/qat_common/adf_cfg_strings.h (revision 981368e1440b76f68b1ac8f5fb14e739f80ecc4e)
1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
2 /* Copyright(c) 2014 - 2020 Intel Corporation */
3 #ifndef ADF_CFG_STRINGS_H_
4 #define ADF_CFG_STRINGS_H_
5 
6 #define ADF_GENERAL_SEC "GENERAL"
7 #define ADF_KERNEL_SEC "KERNEL"
8 #define ADF_ACCEL_SEC "Accelerator"
9 #define ADF_NUM_CY "NumberCyInstances"
10 #define ADF_NUM_DC "NumberDcInstances"
11 #define ADF_RING_SYM_SIZE "NumConcurrentSymRequests"
12 #define ADF_RING_ASYM_SIZE "NumConcurrentAsymRequests"
13 #define ADF_RING_DC_SIZE "NumConcurrentRequests"
14 #define ADF_RING_ASYM_TX "RingAsymTx"
15 #define ADF_RING_SYM_TX "RingSymTx"
16 #define ADF_RING_ASYM_RX "RingAsymRx"
17 #define ADF_RING_SYM_RX "RingSymRx"
18 #define ADF_RING_DC_TX "RingTx"
19 #define ADF_RING_DC_RX "RingRx"
20 #define ADF_ETRMGR_BANK "Bank"
21 #define ADF_RING_SYM_BANK_NUM "BankSymNumber"
22 #define ADF_RING_ASYM_BANK_NUM "BankAsymNumber"
23 #define ADF_RING_DC_BANK_NUM "BankDcNumber"
24 #define ADF_CY "Cy"
25 #define ADF_DC "Dc"
26 #define ADF_CFG_DC "dc"
27 #define ADF_CFG_CY "sym;asym"
28 #define ADF_CFG_SYM "sym"
29 #define ADF_CFG_ASYM "asym"
30 #define ADF_CFG_ASYM_SYM "asym;sym"
31 #define ADF_CFG_ASYM_DC "asym;dc"
32 #define ADF_CFG_DC_ASYM "dc;asym"
33 #define ADF_CFG_SYM_DC "sym;dc"
34 #define ADF_CFG_DC_SYM "dc;sym"
35 #define ADF_SERVICES_ENABLED "ServicesEnabled"
36 #define ADF_PM_IDLE_SUPPORT "PmIdleSupport"
37 #define ADF_ETRMGR_COALESCING_ENABLED "InterruptCoalescingEnabled"
38 #define ADF_ETRMGR_COALESCING_ENABLED_FORMAT \
39 	ADF_ETRMGR_BANK "%d" ADF_ETRMGR_COALESCING_ENABLED
40 #define ADF_ETRMGR_COALESCE_TIMER "InterruptCoalescingTimerNs"
41 #define ADF_ETRMGR_COALESCE_TIMER_FORMAT \
42 	ADF_ETRMGR_BANK "%d" ADF_ETRMGR_COALESCE_TIMER
43 #define ADF_ETRMGR_COALESCING_MSG_ENABLED "InterruptCoalescingNumResponses"
44 #define ADF_ETRMGR_COALESCING_MSG_ENABLED_FORMAT \
45 	ADF_ETRMGR_BANK "%d" ADF_ETRMGR_COALESCING_MSG_ENABLED
46 #define ADF_ETRMGR_CORE_AFFINITY "CoreAffinity"
47 #define ADF_ETRMGR_CORE_AFFINITY_FORMAT \
48 	ADF_ETRMGR_BANK "%d" ADF_ETRMGR_CORE_AFFINITY
49 #define ADF_ACCEL_STR "Accelerator%d"
50 #define ADF_HEARTBEAT_TIMER  "HeartbeatTimer"
51 
52 #endif
53