Searched refs:new_div (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/sys/arch/sparc64/sparc64/ |
| D | cpu.c | 544 hummingbird_set_refresh_count(int div, int new_div) in hummingbird_set_refresh_count() argument 554 (HB_MC0_REFRESH_CLOCKS_PER_COUNT * new_div * 1000000000); in hummingbird_set_refresh_count() 560 if (new_div > div && (reg & HB_MC0_SELF_REFRESH) == 0) { in hummingbird_set_refresh_count() 573 int div, new_div, i; in hummingbird_setperf() local 589 new_div = hummingbird_div(new_estar_mode); in hummingbird_setperf() 614 hummingbird_set_refresh_count(2, new_div); in hummingbird_setperf() 630 } else if (div < new_div) { in hummingbird_setperf() 631 hummingbird_set_refresh_count(div, new_div); in hummingbird_setperf() 634 } else if (div > new_div) { in hummingbird_setperf() 637 hummingbird_set_refresh_count(div, new_div); in hummingbird_setperf() [all …]
|
| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_cdclk.c | 1932 int old_div, new_div, mid_div; in cdclk_compute_crawl_and_squash_midpoint() local 1953 new_div = cdclk_divider(new_cdclk_config->cdclk, in cdclk_compute_crawl_and_squash_midpoint() 1960 if (drm_WARN_ON(&i915->drm, old_div != new_div)) in cdclk_compute_crawl_and_squash_midpoint() 1979 mid_div = new_div; in cdclk_compute_crawl_and_squash_midpoint()
|