Searched refs:clock1 (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_edid.c2564 unsigned int clock1, clock2; drm_match_cea_mode() local
2567 clock1 = cea_mode->clock; drm_match_cea_mode()
2570 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || drm_match_cea_mode()
2629 unsigned int clock1, clock2; drm_match_hdmi_mode() local
2632 clock1 = hdmi_mode->clock; drm_match_hdmi_mode()
2635 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || drm_match_hdmi_mode()
2663 unsigned int clock1, clock2; add_alternate_cea_modes() local
2679 clock1 = cea_mode->clock; add_alternate_cea_modes()
2681 if (clock1 == clock2) add_alternate_cea_modes()
2684 if (mode->clock != clock1 && mode->clock != clock2) add_alternate_cea_modes()
2698 if (mode->clock != clock1) add_alternate_cea_modes()
2699 newmode->clock = clock1; add_alternate_cea_modes()
3118 int clock1, clock2, clock; fixup_detailed_cea_mode_clock() local
3126 clock1 = cea_mode->clock; fixup_detailed_cea_mode_clock()
3133 clock1 = cea_mode->clock; fixup_detailed_cea_mode_clock()
3141 if (abs(mode->clock - clock1) < abs(mode->clock - clock2)) fixup_detailed_cea_mode_clock()
3142 clock = clock1; fixup_detailed_cea_mode_clock()
/linux-4.4.14/sound/soc/codecs/
H A Dwm8903.c1452 u16 clock1 = snd_soc_read(codec, WM8903_CLOCK_RATES_1); wm8903_hw_params() local
1473 clock1 &= ~WM8903_SAMPLE_RATE_MASK; wm8903_hw_params()
1474 clock1 |= sample_rates[dsp_config].value; wm8903_hw_params()
1528 clock1 &= ~(WM8903_CLK_SYS_RATE_MASK | wm8903_hw_params()
1530 clock1 |= clk_sys_ratios[clk_config].rate << WM8903_CLK_SYS_RATE_SHIFT; wm8903_hw_params()
1531 clock1 |= clk_sys_ratios[clk_config].mode << WM8903_CLK_SYS_MODE_SHIFT; wm8903_hw_params()
1571 snd_soc_write(codec, WM8903_CLOCK_RATES_1, clock1); wm8903_hw_params()
H A Dwm8904.c1287 unsigned int clock1 = 0; wm8904_hw_params() local
1339 clock1 |= (clk_sys_rates[best].clk_sys_rate wm8904_hw_params()
1355 clock1 |= (sample_rates[best].sample_rate wm8904_hw_params()
1395 WM8904_CLK_SYS_RATE_MASK, clock1); wm8904_hw_params()
/linux-4.4.14/sound/oss/
H A Dsb_ess.c341 (int clock1, int rev1, int clock2, int rev2, int *divp, int *speedp) ess_calc_best_speed()
348 div1 = ess_calc_div (clock1, rev1, &speed1, &diff1); ess_calc_best_speed()
340 ess_calc_best_speed(int clock1, int rev1, int clock2, int rev2, int *divp, int *speedp) ess_calc_best_speed() argument
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A DHal8188EPhyReg.h108 /* enable ad/da clock1 for dual-phy */
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dphy.c3538 /* enable ad/da clock1 for dual-phy reg0x888 */ rtl92d_update_bbrf_configuration()
3559 /* disable ad/da clock1,0x888 */ rtl92d_update_bbrf_configuration()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_display.c12338 static bool intel_fuzzy_clock_check(int clock1, int clock2) intel_fuzzy_clock_check() argument
12342 if (clock1 == clock2) intel_fuzzy_clock_check()
12345 if (!clock1 || !clock2) intel_fuzzy_clock_check()
12348 diff = abs(clock1 - clock2); intel_fuzzy_clock_check()
12350 if (((((diff + clock1 + clock2) * 100)) / (clock1 + clock2)) < 105) intel_fuzzy_clock_check()

Completed in 404 milliseconds