Home
last modified time | relevance | path

Searched refs:n_max (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/media/i2c/
Daptina-pll.c61 (pll->ext_clock / limits->n_max * pll->m)); in aptina_pll_calculate()
62 mf_max = min(mf_max, DIV_ROUND_UP(limits->n_max * limits->p1_max, div)); in aptina_pll_calculate()
Daptina-pll.h30 unsigned int n_max; member
Dmt9p031.c224 .n_max = 64, in mt9p031_clk_setup()
/linux-6.6.21/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c145 int i, o, n, n_min, n_max; in dsi_pll_get_params() local
160 n_max = (fvco_max * i) / (2 * clkin_khz); in dsi_pll_get_params()
169 if (n_max > NDIV_MAX) in dsi_pll_get_params()
170 n_max = NDIV_MAX; in dsi_pll_get_params()
175 if (n < n_min || n > n_max) in dsi_pll_get_params()
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/
Dhdmi_pll.c80 .n_max = 255,
105 .n_max = 255,
Dvideo-pll.c105 .n_max = (1 << 8) - 1,
Ddss.h153 unsigned int n_max; member
Dpll.c222 n_stop = min((unsigned)(clkin / fint_hw_min), hw->n_max); in dss_pll_calc_a()
Ddsi.c4450 .n_max = (1 << 7) - 1,
4477 .n_max = (1 << 8) - 1,
4504 .n_max = (1 << 8) - 1,
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_pll.c126 .n_max = 255,
149 .n_max = 255,
Dvideo-pll.c105 .n_max = (1 << 8) - 1,
Dpll.c163 n_stop = min((unsigned)(clkin / fint_hw_min), hw->n_max); in dss_pll_calc()
Ddss.h130 unsigned n_max; member
Ddsi.c5134 .n_max = (1 << 7) - 1,
5159 .n_max = (1 << 8) - 1,
5184 .n_max = (1 << 8) - 1,
/linux-6.6.21/drivers/clk/ingenic/
Dx1000-cgu.c178 const unsigned long n_max = GENMASK(pll_info->n_bits - 1, 0); in x1000_i2spll_calc_m_n_od() local
181 rational_best_approximation(rate, parent_rate, m_max, n_max, &m, &n); in x1000_i2spll_calc_m_n_od()
/linux-6.6.21/drivers/gpu/drm/renesas/rcar-du/
Drcar_mipi_dsi.c46 u8 n_max; member
344 for (unsigned int n = info->n_min; n <= info->n_max; n++) { in rcar_mipi_dsi_pll_calc()
1056 .n_max = 8,
1071 .n_max = 8,
Drcar_lvds.c202 unsigned int n_max; in rcar_lvds_d3_e3_pll_calc() local
214 n_max = min_t(unsigned int, 120, 1800000000 / fpfd); in rcar_lvds_d3_e3_pll_calc()
216 for (n = n_min; n < n_max; ++n) { in rcar_lvds_d3_e3_pll_calc()
/linux-6.6.21/include/linux/
Dsvga.h60 u16 n_max; member
/linux-6.6.21/drivers/video/fbdev/core/
Dsvgalib.c410 while ((am <= pll->m_max) && (an <= pll->n_max)) { in svga_compute_pll()
/linux-6.6.21/sound/soc/codecs/
Dmadera.c368 u32 *dest, int n_max, in madera_get_variable_u32_array() argument
388 if (n > n_max) in madera_get_variable_u32_array()
389 n = n_max; in madera_get_variable_u32_array()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dcnic.c1699 int i, j, n = 2, n_max; in cnic_setup_bnx2x_ctx() local
1706 n_max = req2->num_additional_wqes + 2; in cnic_setup_bnx2x_ctx()
1807 if (n >= n_max) in cnic_setup_bnx2x_ctx()