Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/qat/include/adf_cfg_device.h
Show All 22 Lines | |||||
#define ADF_CFG_STATIC_CONF_SAL_STATS_CFG_RSA 0 | #define ADF_CFG_STATIC_CONF_SAL_STATS_CFG_RSA 0 | ||||
#define ADF_CFG_STATIC_CONF_SAL_STATS_CFG_SYM 1 | #define ADF_CFG_STATIC_CONF_SAL_STATS_CFG_SYM 1 | ||||
#define ADF_CFG_STATIC_CONF_POLL 1 | #define ADF_CFG_STATIC_CONF_POLL 1 | ||||
#define ADF_CFG_STATIC_CONF_IRQ 0 | #define ADF_CFG_STATIC_CONF_IRQ 0 | ||||
#define ADF_CFG_STATIC_CONF_AUTO_RESET 0 | #define ADF_CFG_STATIC_CONF_AUTO_RESET 0 | ||||
#define ADF_CFG_STATIC_CONF_NUM_DC_ACCEL_UNITS 2 | #define ADF_CFG_STATIC_CONF_NUM_DC_ACCEL_UNITS 2 | ||||
#define ADF_CFG_STATIC_CONF_NUM_INLINE_ACCEL_UNITS 0 | #define ADF_CFG_STATIC_CONF_NUM_INLINE_ACCEL_UNITS 0 | ||||
#define ADF_CFG_STATIC_CONF_INST_NUM_DC 2 | #define ADF_CFG_STATIC_CONF_INST_NUM_DC 2 | ||||
#define ADF_CFG_STATIC_CONF_INST_NUM_CY_POLL 2 | #define ADF_CFG_STATIC_CONF_INST_NUM_CY_POLL 6 | ||||
#define ADF_CFG_STATIC_CONF_INST_NUM_CY_IRQ 2 | #define ADF_CFG_STATIC_CONF_INST_NUM_CY_IRQ 2 | ||||
#define ADF_CFG_FW_STRING_TO_ID(str, acc, id) \ | #define ADF_CFG_FW_STRING_TO_ID(str, acc, id) \ | ||||
do { \ | do { \ | ||||
typeof(id) id_ = (id); \ | typeof(id) id_ = (id); \ | ||||
typeof(str) str_; \ | typeof(str) str_; \ | ||||
memcpy(str_, (str), sizeof(str_)); \ | memcpy(str_, (str), sizeof(str_)); \ | ||||
if (!strncmp(str_, \ | if (!strncmp(str_, \ | ||||
Show All 36 Lines |