Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Dwm8903.c1457 u16 clock1 = snd_soc_component_read(component, WM8903_CLOCK_RATES_1); in wm8903_hw_params() local
1478 clock1 &= ~WM8903_SAMPLE_RATE_MASK; in wm8903_hw_params()
1479 clock1 |= sample_rates[dsp_config].value; in wm8903_hw_params()
1533 clock1 &= ~(WM8903_CLK_SYS_RATE_MASK | in wm8903_hw_params()
1535 clock1 |= clk_sys_ratios[clk_config].rate << WM8903_CLK_SYS_RATE_SHIFT; in wm8903_hw_params()
1536 clock1 |= clk_sys_ratios[clk_config].mode << WM8903_CLK_SYS_MODE_SHIFT; in wm8903_hw_params()
1574 snd_soc_component_write(component, WM8903_CLOCK_RATES_1, clock1); in wm8903_hw_params()
H A Dwm8904.c1303 unsigned int clock1 = 0; in wm8904_hw_params() local
1355 clock1 |= (clk_sys_rates[best].clk_sys_rate in wm8904_hw_params()
1371 clock1 |= (sample_rates[best].sample_rate in wm8904_hw_params()
1411 WM8904_CLK_SYS_RATE_MASK, clock1); in wm8904_hw_params()
/linux/drivers/gpu/drm/
H A Ddrm_edid.c4313 unsigned int clock1, clock2; in drm_match_cea_mode_clock_tolerance() local
4318 clock1 = cea_mode.clock; in drm_match_cea_mode_clock_tolerance()
4321 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
4354 unsigned int clock1, clock2; in drm_match_cea_mode() local
4359 clock1 = cea_mode.clock; in drm_match_cea_mode()
4362 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
4420 unsigned int clock1, clock2; in drm_match_hdmi_mode_clock_tolerance() local
4423 clock1 = hdmi_mode->clock; in drm_match_hdmi_mode_clock_tolerance()
4426 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
4458 unsigned int clock1, clock2; in drm_match_hdmi_mode() local
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_display.h499 bool intel_fuzzy_clock_check(int clock1, int clock2);
H A Dintel_display.c5091 bool intel_fuzzy_clock_check(int clock1, int clock2) in intel_fuzzy_clock_check() argument
5095 if (clock1 == clock2) in intel_fuzzy_clock_check()
5098 if (!clock1 || !clock2) in intel_fuzzy_clock_check()
5101 diff = abs(clock1 - clock2); in intel_fuzzy_clock_check()
5103 if (((((diff + clock1 + clock2) * 100)) / (clock1 + clock2)) < 105) in intel_fuzzy_clock_check()