Searched refs:iaa_device (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/crypto/intel/iaa/ |
H A D | iaa_crypto_stats.c | 76 atomic64_inc(&wq->iaa_device->comp_calls); in update_wq_comp_calls() 84 atomic64_add(n, &wq->iaa_device->comp_bytes); in update_wq_comp_bytes() 92 atomic64_inc(&wq->iaa_device->decomp_calls); in update_wq_decomp_calls() 100 atomic64_add(n, &wq->iaa_device->decomp_bytes); in update_wq_decomp_bytes() 123 static void reset_device_stats(struct iaa_device *iaa_device) in reset_device_stats() argument 127 atomic64_set(&iaa_device->comp_calls, 0); in reset_device_stats() 128 atomic64_set(&iaa_device->comp_bytes, 0); in reset_device_stats() 129 atomic64_set(&iaa_device->decomp_calls, 0); in reset_device_stats() 130 atomic64_set(&iaa_device->decomp_bytes, 0); in reset_device_stats() 132 list_for_each_entry(iaa_wq, &iaa_device->wqs, list) in reset_device_stats() [all …]
|
H A D | iaa_crypto_main.c | 387 get_iaa_device_compression_mode(struct iaa_device *iaa_device, int idx) in get_iaa_device_compression_mode() argument 389 return iaa_device->compression_modes[idx]; in get_iaa_device_compression_mode() 392 static void free_device_compression_mode(struct iaa_device *iaa_device, in free_device_compression_mode() argument 396 struct device *dev = &iaa_device->idxd->pdev->dev; in free_device_compression_mode() 419 static int init_device_compression_mode(struct iaa_device *iaa_device, in init_device_compression_mode() argument 424 struct device *dev = &iaa_device->idxd->pdev->dev; in init_device_compression_mode() 453 iaa_device->compression_modes[idx] = device_mode; in init_device_compression_mode() 456 mode->name, iaa_device->idxd->id); in init_device_compression_mode() 463 mode->name, iaa_device->idxd->id); in init_device_compression_mode() 465 free_device_compression_mode(iaa_device, device_mode); in init_device_compression_mode() [all …]
|
H A D | iaa_crypto.h | 50 struct iaa_device *iaa_device; member 67 struct iaa_device { struct
|