Searched refs:pll_ratio (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/phy/st/ |
H A D | phy-miphy28lp.c | 235 struct pll_ratio { struct 244 static struct pll_ratio sata_pll_ratio = { argument 253 static struct pll_ratio pcie_pll_ratio = { 262 static struct pll_ratio usb3_pll_ratio = { 384 struct pll_ratio *pll_ratio) in miphy28lp_pll_calibration() argument 391 writeb_relaxed(pll_ratio->clk_ref, base + MIPHY_PLL_CLKREF_FREQ); in miphy28lp_pll_calibration() 394 writeb_relaxed(pll_ratio->calset_1, base + MIPHY_PLL_CALSET_1); in miphy28lp_pll_calibration() 395 writeb_relaxed(pll_ratio->calset_2, base + MIPHY_PLL_CALSET_2); in miphy28lp_pll_calibration() 396 writeb_relaxed(pll_ratio->calset_3, base + MIPHY_PLL_CALSET_3); in miphy28lp_pll_calibration() 397 writeb_relaxed(pll_ratio->calset_4, base + MIPHY_PLL_CALSET_4); in miphy28lp_pll_calibration() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | vlv_dsi_pll.c | 383 u32 pll_ratio = 0; in glk_dsi_program_esc_clock() local 390 pll_ratio = config->dsi_pll.ctrl & BXT_DSI_PLL_RATIO_MASK; in glk_dsi_program_esc_clock() 392 dsi_rate = (BXT_REF_CLOCK_KHZ * pll_ratio) / 2; in glk_dsi_program_esc_clock() 431 u32 pll_ratio = 0; in bxt_dsi_program_clocks() local 446 pll_ratio = config->dsi_pll.ctrl & BXT_DSI_PLL_RATIO_MASK; in bxt_dsi_program_clocks() 447 dsi_rate = (BXT_REF_CLOCK_KHZ * pll_ratio) / 2; in bxt_dsi_program_clocks()
|
/linux/sound/soc/codecs/ |
H A D | nau8810.c | 532 u64 f2, f2_max, pll_ratio; in nau8810_calc_pll() local 557 pll_ratio = div_u64(f2 << 28, pll_in); in nau8810_calc_pll() 559 if (((pll_ratio >> 28) & 0xF) < NAU_PLL_OPTOP_MIN) { in nau8810_calc_pll() 560 pll_ratio <<= 1; in nau8810_calc_pll() 563 pll_param->pll_int = (pll_ratio >> 28) & 0xF; in nau8810_calc_pll() 564 pll_param->pll_frac = ((pll_ratio & 0xFFFFFFF) >> 4); in nau8810_calc_pll()
|
H A D | nau8822.c | 619 u64 f2, f2_max, pll_ratio; in nau8822_calc_pll() local 644 pll_ratio = div_u64(f2 << 28, pll_in); in nau8822_calc_pll() 646 if (((pll_ratio >> 28) & 0xF) < NAU_PLL_OPTOP_MIN) { in nau8822_calc_pll() 647 pll_ratio <<= 1; in nau8822_calc_pll() 650 pll_param->pll_int = (pll_ratio >> 28) & 0xF; in nau8822_calc_pll() 651 pll_param->pll_frac = ((pll_ratio & 0xFFFFFFF) >> 4); in nau8822_calc_pll()
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | dib0700_devices.c | 225 .pll_ratio = 8, 391 .pll_ratio = 8, 660 .pll_ratio = 8, 952 .pll_ratio = 20, 1178 .pll_ratio = 20, 1517 .pll_ratio = 18, 1630 u8 pll_ratio; in dib8090_compute_pll_parameters() local 1632 for (pll_ratio = 17; pll_ratio <= 20; pll_ratio++) { in dib8090_compute_pll_parameters() 1633 freq_adc = 12 * pll_ratio * (1 << 8) / 16; in dib8090_compute_pll_parameters() 1639 deb_info("PLL ratio=%i rest=%i\n", pll_ratio, rest); in dib8090_compute_pll_parameters() [all …]
|
H A D | cxusb.c | 1076 .pll_ratio = 20,
|
/linux/drivers/media/dvb-frontends/ |
H A D | dibx000_common.h | 120 u8 pll_ratio; member
|
H A D | dib7000p.c | 448 …dib7000p_write_word(state, 1856, (!bw->pll_reset << 13) | (bw->pll_range << 12) | (bw->pll_ratio <… in dib7000p_reset_pll() 456 clk_cfg0 = (1 << 15) | ((bw->pll_ratio & 0x3f) << 9) | in dib7000p_reset_pll() 462 …dib7000p_write_word(state, 903, (bw->pll_prediv << 5) | (((bw->pll_ratio >> 6) & 0x3) << 3) | (bw-… in dib7000p_reset_pll() 495 if (loopdiv && bw && (bw->pll_prediv != prediv || bw->pll_ratio != loopdiv)) { in dib7000p_update_pll() 496 … = %d new = %d ; loopdiv : old = %d new = %d)\n", prediv, bw->pll_prediv, loopdiv, bw->pll_ratio); in dib7000p_update_pll() 501 …dib7000p_write_word(state, 1856, reg_1856 | ((bw->pll_ratio & 0x3f) << 6) | (bw->pll_prediv & 0x3f… in dib7000p_update_pll() 506 internal = 1000 * (xtal / bw->pll_prediv) * bw->pll_ratio; /* new internal */ in dib7000p_update_pll()
|
H A D | dib7000m.c | 401 reg_910 = (((bw->pll_ratio >> 6) & 0x3) << 3) | (bw->pll_range << 1) | bw->pll_reset; in dib7000m_reset_pll() 414 reg_907 |= (bw->pll_ratio & 0x3f) << 9; in dib7000m_reset_pll() 431 dib7000m_write_word(state, 907, (bw->pll_prediv << 8) | (bw->pll_ratio << 0)); in dib7000mc_reset_pll()
|
H A D | dib8000.c | 700 (pll->pll_prediv << 8) | (pll->pll_ratio << 0)); in dib8000_reset_pll() 730 (pll->pll_range<<12) | (pll->pll_ratio<<6) | in dib8000_reset_pll() 758 pll->pll_ratio == loopdiv)) in dib8000_update_pll() 761 … %d new = %d ; loopdiv : old = %d new = %d)\n", prediv, pll->pll_prediv, loopdiv, pll->pll_ratio); in dib8000_update_pll() 769 ((pll->pll_ratio & 0x3f) << 6) | in dib8000_update_pll() 776 internal = 1000 * (xtal/pll->pll_prediv) * pll->pll_ratio; in dib8000_update_pll() 802 …dwidth (prediv: %d, ratio: %d)\n", bw/1000, state->cfg.pll->pll_prediv, state->cfg.pll->pll_ratio); in dib8000_update_pll() 807 ratio = state->cfg.pll->pll_ratio; in dib8000_update_pll()
|
/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-dvb.c | 1042 .pll_ratio = 20,
|