Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pmdomain/qcom/
Dcpr.c960 u32 quot_diff = 0; in cpr_calculate_scaling() local
970 ret = nvmem_cell_read_variable_le_u32(drv->dev, quot_offset, &quot_diff); in cpr_calculate_scaling()
974 quot_diff *= fdata->quot_offset_scale; in cpr_calculate_scaling()
975 quot_diff += fdata->quot_offset_adjust; in cpr_calculate_scaling()
977 quot_diff = fuse->quot - prev_fuse->quot; in cpr_calculate_scaling()
982 scaling = 1000 * quot_diff / freq_diff; in cpr_calculate_scaling()