Home
last modified time | relevance | path

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

/block/
Dblk-iocost.c413 u32 period_us; member
762 u32 period_us = ioc->period_us; in ioc_refresh_margins() local
765 margins->min = (period_us * MARGIN_MIN_PCT / 100) * vrate; in ioc_refresh_margins()
766 margins->low = (period_us * MARGIN_LOW_PCT / 100) * vrate; in ioc_refresh_margins()
767 margins->target = (period_us * MARGIN_TARGET_PCT / 100) * vrate; in ioc_refresh_margins()
773 u32 ppm, lat, multi, period_us; in ioc_refresh_period_us() local
798 period_us = multi * lat; in ioc_refresh_period_us()
799 period_us = clamp_t(u32, period_us, MIN_PERIOD, MAX_PERIOD); in ioc_refresh_period_us()
802 ioc->period_us = period_us; in ioc_refresh_period_us()
804 (u64)period_us * NSEC_PER_USEC * TIMER_SLACK_PCT, in ioc_refresh_period_us()
[all …]