summaryrefslogtreecommitdiff
path: root/drivers/crypto/qat/qat_common/adf_accel_devices.h
diff options
context:
space:
mode:
authorConor McLoughlin <conor.mcloughlin@intel.com>2016-07-04 15:26:00 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2016-07-05 15:05:25 (GMT)
commite24860f2a6b50eb09f3a627e168433005798f8d9 (patch)
tree434e30d3a9665c05c96f3c4040c76f1547321102 /drivers/crypto/qat/qat_common/adf_accel_devices.h
parent8d63a6d53b2afaf7b48e89a03bb94c3246f33204 (diff)
downloadlinux-e24860f2a6b50eb09f3a627e168433005798f8d9.tar.xz
crypto: qat - Use alternative reset methods depending on the specific device
Different product families will use FLR or SBR. Virtual Function devices have no reset method. Signed-off-by: Conor McLoughlin <conor.mcloughlin@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_common/adf_accel_devices.h')
-rw-r--r--drivers/crypto/qat/qat_common/adf_accel_devices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_accel_devices.h b/drivers/crypto/qat/qat_common/adf_accel_devices.h
index 5a07208..e882253 100644
--- a/drivers/crypto/qat/qat_common/adf_accel_devices.h
+++ b/drivers/crypto/qat/qat_common/adf_accel_devices.h
@@ -176,6 +176,7 @@ struct adf_hw_device_data {
void (*disable_iov)(struct adf_accel_dev *accel_dev);
void (*enable_ints)(struct adf_accel_dev *accel_dev);
int (*enable_vf2pf_comms)(struct adf_accel_dev *accel_dev);
+ void (*reset_device)(struct adf_accel_dev *accel_dev);
const char *fw_name;
const char *fw_mmp_name;
uint32_t fuses;