Home
last modified time | relevance | path

Searched refs:do_percent (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/devfreq/
H A Dtegra30-devfreq.c214 static unsigned long do_percent(unsigned long long val, unsigned int pct) in do_percent() function
245 device_writel(dev, do_percent(val, dev->config->boost_up_threshold), in tegra_devfreq_update_wmark()
248 device_writel(dev, do_percent(val, dev->config->boost_down_threshold), in tegra_devfreq_update_wmark()
267 dev->boost_freq = do_percent(dev->boost_freq, in actmon_isr_device()
282 dev->boost_freq = do_percent(dev->boost_freq, in actmon_isr_device()
324 target_freq = do_percent(target_freq, avg_sustain_coef); in actmon_device_target_freq()
/kernel/linux/linux-6.6/drivers/devfreq/
H A Dtegra30-devfreq.c239 static unsigned long do_percent(unsigned long long val, unsigned int pct) in do_percent() function
270 device_writel(dev, do_percent(val, dev->config->boost_up_threshold), in tegra_devfreq_update_wmark()
273 device_writel(dev, do_percent(val, dev->config->boost_down_threshold), in tegra_devfreq_update_wmark()
292 dev->boost_freq = do_percent(dev->boost_freq, in actmon_isr_device()
307 dev->boost_freq = do_percent(dev->boost_freq, in actmon_isr_device()
349 target_freq = do_percent(target_freq, avg_sustain_coef); in actmon_device_target_freq()

Completed in 3 milliseconds