Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_rl.h172 u32 adf_rl_calculate_pci_bw(struct adf_accel_dev *accel_dev, u32 sla_val,
174 u32 adf_rl_calculate_ae_cycles(struct adf_accel_dev *accel_dev, u32 sla_val,
176 u32 adf_rl_calculate_slice_tokens(struct adf_accel_dev *accel_dev, u32 sla_val,
Dadf_rl.c551 u32 adf_rl_calculate_slice_tokens(struct adf_accel_dev *accel_dev, u32 sla_val, in adf_rl_calculate_slice_tokens() argument
558 if (!sla_val) in adf_rl_calculate_slice_tokens()
578 allocated_tokens = avail_slice_cycles * sla_val; in adf_rl_calculate_slice_tokens()
584 u32 adf_rl_calculate_ae_cycles(struct adf_accel_dev *accel_dev, u32 sla_val, in adf_rl_calculate_ae_cycles() argument
591 if (!sla_val) in adf_rl_calculate_ae_cycles()
598 sla_val *= device_data->max_tp[svc_type]; in adf_rl_calculate_ae_cycles()
599 sla_val /= device_data->scale_ref; in adf_rl_calculate_ae_cycles()
601 allocated_ae_cycles = (sla_val * avail_ae_cycles); in adf_rl_calculate_ae_cycles()
607 u32 adf_rl_calculate_pci_bw(struct adf_accel_dev *accel_dev, u32 sla_val, in adf_rl_calculate_pci_bw() argument
613 if (!sla_val) in adf_rl_calculate_pci_bw()
[all …]