Home
last modified time | relevance | path

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

/linux-6.1.9/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.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-6.1.9/drivers/gpu/drm/
Ddrm_edid.c4071 unsigned int clock1, clock2; in drm_match_cea_mode_clock_tolerance() local
4076 clock1 = cea_mode.clock; in drm_match_cea_mode_clock_tolerance()
4079 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
4112 unsigned int clock1, clock2; in drm_match_cea_mode() local
4117 clock1 = cea_mode.clock; in drm_match_cea_mode()
4120 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
4178 unsigned int clock1, clock2; in drm_match_hdmi_mode_clock_tolerance() local
4181 clock1 = hdmi_mode->clock; in drm_match_hdmi_mode_clock_tolerance()
4184 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
4216 unsigned int clock1, clock2; in drm_match_hdmi_mode() local
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/ata/
Dsnps,dwc-ahci.yaml57 clocks = <&clock1>, <&clock2>;
/linux-6.1.9/Documentation/devicetree/bindings/mmc/
Drenesas,sdhi.yaml127 - description: IMCLK, SDHI channel main clock1.
129 4 times that of SDHI channel main clock1.
/linux-6.1.9/Documentation/devicetree/bindings/regulator/
Dfixed-regulator.yaml121 clocks = <&clock1>;
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_display.h618 bool intel_fuzzy_clock_check(int clock1, int clock2);
Dintel_display.c5384 bool intel_fuzzy_clock_check(int clock1, int clock2) in intel_fuzzy_clock_check() argument
5388 if (clock1 == clock2) in intel_fuzzy_clock_check()
5391 if (!clock1 || !clock2) in intel_fuzzy_clock_check()
5394 diff = abs(clock1 - clock2); in intel_fuzzy_clock_check()
5396 if (((((diff + clock1 + clock2) * 100)) / (clock1 + clock2)) < 105) in intel_fuzzy_clock_check()