Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/clk/st/
Dclkgen-pll.c48 struct clkgen_field idf; member
81 .idf = CLKGEN_FIELD(0x2a4, C32_IDF_MASK, 0x0),
116 .idf = CLKGEN_FIELD(0x2cc, C32_IDF_MASK, 0x0),
142 .idf = CLKGEN_FIELD(0x1a8, C32_IDF_MASK, 25),
168 .idf = CLKGEN_FIELD(0x1a8, C28_IDF_MASK, 25),
212 u32 idf; member
223 unsigned long idf; member
349 pll->idf = i; in clk_pll3200c32_get_params()
368 if (!pll->idf) in clk_pll3200c32_get_rate()
369 pll->idf = 1; in clk_pll3200c32_get_rate()
[all …]
/Linux-v6.6/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c130 static int dsi_pll_get_clkout_khz(int clkin_khz, int idf, int ndiv, int odf) in dsi_pll_get_clkout_khz() argument
132 int divisor = idf * odf; in dsi_pll_get_clkout_khz()
143 int *idf, int *ndiv, int *odf) in dsi_pll_get_params() argument
183 *idf = i; in dsi_pll_get_params()
246 unsigned int idf, ndiv, odf, pll_in_khz, pll_out_khz; in dw_mipi_dsi_get_lane_mbps() local
270 idf = 0; in dw_mipi_dsi_get_lane_mbps()
274 &idf, &ndiv, &odf); in dw_mipi_dsi_get_lane_mbps()
279 pll_out_khz = dsi_pll_get_clkout_khz(pll_in_khz, idf, ndiv, odf); in dw_mipi_dsi_get_lane_mbps()
283 (ndiv << 2) | (idf << 11) | ((ffs(odf) - 1) << 16)); in dw_mipi_dsi_get_lane_mbps()
333 unsigned int idf, ndiv, odf, pll_in_khz, pll_out_khz; in dw_mipi_dsi_stm_mode_valid() local
[all …]
/Linux-v6.6/drivers/gpu/drm/sti/
Dsti_hdmi_tx3g4c28phy.c47 uint32_t idf; member
79 u32 val, tmdsck, idf, odf, pllctrl = 0; in sti_hdmi_tx3g4c28phy_start() local
88 idf = plldividers[i].idf; in sti_hdmi_tx3g4c28phy_start()
110 pllctrl |= idf << PLL_CFG_IDF_SHIFT; in sti_hdmi_tx3g4c28phy_start()
/Linux-v6.6/drivers/gpu/drm/i915/display/
Ddvo_ch7xxx.c291 u8 tvco, tpcp, tpd, tlpf, idf; in ch7xxx_mode_set() local
313 ch7xxx_readb(dvo, CH7xxx_IDF, &idf); in ch7xxx_mode_set()
315 idf |= CH7xxx_IDF_IBS; in ch7xxx_mode_set()
317 idf &= ~(CH7xxx_IDF_HSP | CH7xxx_IDF_VSP); in ch7xxx_mode_set()
319 idf |= CH7xxx_IDF_HSP; in ch7xxx_mode_set()
322 idf |= CH7xxx_IDF_VSP; in ch7xxx_mode_set()
324 ch7xxx_writeb(dvo, CH7xxx_IDF, idf); in ch7xxx_mode_set()
/Linux-v6.6/drivers/media/dvb-frontends/
Dstv0910.c794 u32 idf = 1; in set_mclock() local
798 u32 ndiv = (fphi * odf * idf) / quartz; in set_mclock()
845 write_reg(state, RSTV0910_NCOARSE, (cp << 3) | idf); in set_mclock()
849 fvco = (quartz * 2 * ndiv) / idf; in set_mclock()