Home
last modified time | relevance | path

Searched refs:m_div (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/clk/nxp/
Dclk-lpc32xx.c326 unsigned long m_div; member
485 clk->m_div = ((val & PLL_CTRL_FEEDDIV) >> 1) + 1; in clk_pll_recalc_rate()
504 rate = cco_rate = ref_rate * clk->m_div; in clk_pll_recalc_rate()
519 clk->n_div, clk->m_div, (1 << clk->p_div), rate); in clk_pll_recalc_rate()
543 val |= (clk->m_div - 1) << 1; in clk_pll_set_rate()
545 new_rate = (parent_rate * clk->m_div) / clk->n_div; in clk_pll_set_rate()
558 val |= (clk->m_div - 1) << 1; in clk_pll_set_rate()
561 new_rate = (parent_rate * clk->m_div) / clk->n_div; in clk_pll_set_rate()
565 val |= (clk->m_div - 1) << 1; in clk_pll_set_rate()
568 new_rate = (parent_rate * clk->m_div) / in clk_pll_set_rate()
[all …]
/linux-6.1.9/drivers/media/dvb-frontends/
Dstv0900_core.c287 u32 m_div, clk_sel; in stv0900_set_mclk() local
299 m_div = ((clk_sel * mclk) / intp->quartz) - 1; in stv0900_set_mclk()
300 stv0900_write_bits(intp, F0900_M_DIV, m_div); in stv0900_set_mclk()
310 m_div = intp->mclk / 704000; in stv0900_set_mclk()
311 stv0900_write_reg(intp, R0900_P1_F22TX, m_div); in stv0900_set_mclk()
312 stv0900_write_reg(intp, R0900_P1_F22RX, m_div); in stv0900_set_mclk()
314 stv0900_write_reg(intp, R0900_P2_F22TX, m_div); in stv0900_set_mclk()
315 stv0900_write_reg(intp, R0900_P2_F22RX, m_div); in stv0900_set_mclk()
/linux-6.1.9/drivers/media/i2c/
Dov8865.c523 unsigned int m_div; member
720 .m_div = 1,
731 .m_div = 1,
1646 OV8865_PLL_CTRL3_M_DIV(config->m_div)); in ov8865_mode_pll1_configure()
2120 return pll1_rate / config->m_div / 2; in ov8865_mode_mipi_clk_rate()