Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/
Ddrm_edid.c3400 unsigned int clock1, clock2; in drm_match_cea_mode_clock_tolerance() local
3403 clock1 = cea_mode.clock; in drm_match_cea_mode_clock_tolerance()
3406 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
3439 unsigned int clock1, clock2; in drm_match_cea_mode() local
3442 clock1 = cea_mode.clock; in drm_match_cea_mode()
3445 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
3503 unsigned int clock1, clock2; in drm_match_hdmi_mode_clock_tolerance() local
3506 clock1 = hdmi_mode->clock; in drm_match_hdmi_mode_clock_tolerance()
3509 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
3541 unsigned int clock1, clock2; in drm_match_hdmi_mode() local
[all …]
/Linux-v5.15/sound/soc/codecs/
Dwm8903.c1458 u16 clock1 = snd_soc_component_read(component, WM8903_CLOCK_RATES_1); in wm8903_hw_params() local
1479 clock1 &= ~WM8903_SAMPLE_RATE_MASK; in wm8903_hw_params()
1480 clock1 |= sample_rates[dsp_config].value; in wm8903_hw_params()
1534 clock1 &= ~(WM8903_CLK_SYS_RATE_MASK | in wm8903_hw_params()
1536 clock1 |= clk_sys_ratios[clk_config].rate << WM8903_CLK_SYS_RATE_SHIFT; in wm8903_hw_params()
1537 clock1 |= clk_sys_ratios[clk_config].mode << WM8903_CLK_SYS_MODE_SHIFT; in wm8903_hw_params()
1575 snd_soc_component_write(component, WM8903_CLOCK_RATES_1, clock1); in wm8903_hw_params()
Dwm8904.c1296 unsigned int clock1 = 0; in wm8904_hw_params() local
1348 clock1 |= (clk_sys_rates[best].clk_sys_rate in wm8904_hw_params()
1364 clock1 |= (sample_rates[best].sample_rate in wm8904_hw_params()
1404 WM8904_CLK_SYS_RATE_MASK, clock1); in wm8904_hw_params()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_display.h598 bool intel_fuzzy_clock_check(int clock1, int clock2);
Dintel_display.c8231 bool intel_fuzzy_clock_check(int clock1, int clock2) in intel_fuzzy_clock_check() argument
8235 if (clock1 == clock2) in intel_fuzzy_clock_check()
8238 if (!clock1 || !clock2) in intel_fuzzy_clock_check()
8241 diff = abs(clock1 - clock2); in intel_fuzzy_clock_check()
8243 if (((((diff + clock1 + clock2) * 100)) / (clock1 + clock2)) < 105) in intel_fuzzy_clock_check()