Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_rl.c556 u64 avail_slice_cycles, allocated_tokens; in adf_rl_calculate_slice_tokens() local
561 avail_slice_cycles = hw_data->clock_frequency; in adf_rl_calculate_slice_tokens()
565 avail_slice_cycles *= device_data->slices.pke_cnt; in adf_rl_calculate_slice_tokens()
568 avail_slice_cycles *= device_data->slices.cph_cnt; in adf_rl_calculate_slice_tokens()
571 avail_slice_cycles *= device_data->slices.dcpr_cnt; in adf_rl_calculate_slice_tokens()
577 do_div(avail_slice_cycles, device_data->scan_interval); in adf_rl_calculate_slice_tokens()
578 allocated_tokens = avail_slice_cycles * sla_val; in adf_rl_calculate_slice_tokens()