Home
last modified time | relevance | path

Searched refs:ae_count (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_fw_counters.c36 u16 ae_count; member
59 if (hweight_long(ae_mask) > fw_counters->ae_count) in adf_fw_counters_load_from_device()
78 static struct adf_fw_counters *adf_fw_counters_allocate(unsigned long ae_count) in adf_fw_counters_allocate() argument
82 if (unlikely(!ae_count)) in adf_fw_counters_allocate()
85 fw_counters = kmalloc(struct_size(fw_counters, ae_counters, ae_count), GFP_KERNEL); in adf_fw_counters_allocate()
89 fw_counters->ae_count = ae_count; in adf_fw_counters_allocate()
110 unsigned long ae_count; in adf_fw_counters_get() local
119 ae_count = hweight_long(hw_data->ae_mask & ~hw_data->admin_ae_mask); in adf_fw_counters_get()
121 fw_counters = adf_fw_counters_allocate(ae_count); in adf_fw_counters_get()
143 if (*pos > fw_counters->ae_count) in qat_fw_counters_seq_start()
[all …]