Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/qcom/
H A Dicc-bwmon.c189 unsigned int target_kbps; member
638 bwmon->target_kbps = mult_frac(max, MSEC_PER_SEC, bwmon->data->sample_ms); in bwmon_intr()
650 bw_kbps = bwmon->target_kbps; in bwmon_intr_thread()
656 bwmon->target_kbps = bw_kbps; in bwmon_intr_thread()
661 down_kbps = bwmon->target_kbps; in bwmon_intr_thread()
665 up_kbps = bwmon->target_kbps + 1; in bwmon_intr_thread()
667 if (bwmon->target_kbps >= bwmon->max_bw_kbps) in bwmon_intr_thread()
669 else if (bwmon->target_kbps <= bwmon->min_bw_kbps) in bwmon_intr_thread()
682 if (bwmon->target_kbps == bwmon->current_kbps) in bwmon_intr_thread()
686 bwmon->current_kbps = bwmon->target_kbps; in bwmon_intr_thread()