Home
last modified time | relevance | path

Searched refs:odf (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/clk/st/
H A Dclkgen-pll.c52 struct clkgen_field odf[C32_MAX_ODFS]; member
83 .odf = { CLKGEN_FIELD(0x2b4, C32_ODF_MASK, 0) },
118 .odf = { CLKGEN_FIELD(0x2dc, C32_ODF_MASK, 0) },
144 .odf = { CLKGEN_FIELD(0x1b0, C32_ODF_MASK, 8) },
170 .odf = { CLKGEN_FIELD(0x1b0, C28_ODF_MASK, 8) },
222 unsigned long odf; member
702 unsigned long pll_flags, int odf, in clkgen_odf_register() argument
718 gate->reg = reg + pll_data->odf_gate[odf].offset; in clkgen_odf_register()
719 gate->bit_idx = pll_data->odf_gate[odf].shift; in clkgen_odf_register()
729 div->reg = reg + pll_data->odf[odf].offset; in clkgen_odf_register()
[all …]
/linux/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c137 static int dsi_pll_get_clkout_khz(int clkin_khz, int idf, int ndiv, int odf) in dsi_pll_get_clkout_khz() argument
139 int divisor = idf * odf; in dsi_pll_get_clkout_khz()
150 int *idf, int *ndiv, int *odf) in dsi_pll_get_params() argument
192 *odf = o; in dsi_pll_get_params()
256 unsigned int idf, ndiv, odf, pll_in_khz, pll_out_khz; in dw_mipi_dsi_clk_recalc_rate() local
269 odf = int_pow(2, (val & WRPCR_ODF) >> 16); in dw_mipi_dsi_clk_recalc_rate()
272 pll_out_khz = dsi_pll_get_clkout_khz(pll_in_khz, idf, ndiv, odf); in dw_mipi_dsi_clk_recalc_rate()
281 unsigned int idf, ndiv, odf, pll_in_khz, pll_out_khz; in dw_mipi_dsi_clk_round_rate() local
291 odf = 0; in dw_mipi_dsi_clk_round_rate()
294 &idf, &ndiv, &odf); in dw_mipi_dsi_clk_round_rate()
[all …]
/linux/drivers/gpu/drm/sti/
H A Dsti_hdmi_tx3g4c28phy.c48 uint32_t odf; member
79 u32 val, tmdsck, idf, odf, pllctrl = 0; in sti_hdmi_tx3g4c28phy_start() local
89 odf = plldividers[i].odf; in sti_hdmi_tx3g4c28phy_start()
111 pllctrl |= odf << PLL_CFG_ODF_SHIFT; in sti_hdmi_tx3g4c28phy_start()
/linux/drivers/clk/
H A Dclk-stm32h7.c1306 int odf; in stm32h7_rcc_init() local
1315 for (odf = 0; odf < 3; odf++) { in stm32h7_rcc_init()
1316 int idx = n * 3 + odf; in stm32h7_rcc_init()
1318 get_cfg_composite_div(&odf_clk_gcfg, &stm32_odf[n][odf], in stm32h7_rcc_init()
1322 stm32_odf[n][odf].name, in stm32h7_rcc_init()
1323 stm32_odf[n][odf].parent_name, in stm32h7_rcc_init()
1324 stm32_odf[n][odf].num_parents, in stm32h7_rcc_init()
1328 stm32_odf[n][odf].flags); in stm32h7_rcc_init()
/linux/Documentation/devicetree/bindings/clock/st/
H A Dst,clkgen-pll.txt38 clock-output-names = "clockgen-a9-pll-odf";
/linux/drivers/media/dvb-frontends/
H A Dstv0910.c790 u32 odf = 4; in set_mclock() local
793 u32 ndiv = (fphi * odf * idf) / quartz; in set_mclock()
841 write_reg(state, RSTV0910_NCOARSE2, odf); in set_mclock()
845 state->base->mclk = fvco / (2 * odf) * 1000000; in set_mclock()