Home
last modified time | relevance | path

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

/linux/drivers/media/i2c/
H A 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()
H A Daptina-pll.h30 unsigned int n_max; member
H A Dmt9p031.c220 .n_max = 64, in mt9p031_clk_setup()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_pll.c80 .n_max = 255,
105 .n_max = 255,
H A Dvideo-pll.c105 .n_max = (1 << 8) - 1,
H A Ddss.h153 unsigned int n_max; member
H A Dpll.c222 n_stop = min((unsigned)(clkin / fint_hw_min), hw->n_max); in dss_pll_calc_a()
H A Ddsi.c4450 .n_max = (1 << 7) - 1,
4477 .n_max = (1 << 8) - 1,
4504 .n_max = (1 << 8) - 1,
/linux/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c152 int i, o, n, n_min, n_max; in dsi_pll_get_params() local
167 n_max = (fvco_max * i) / (2 * clkin_khz); in dsi_pll_get_params()
176 if (n_max > NDIV_MAX) in dsi_pll_get_params()
177 n_max = NDIV_MAX; in dsi_pll_get_params()
182 if (n < n_min || n > n_max) in dsi_pll_get_params()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_pll.c126 .n_max = 255,
149 .n_max = 255,
H A Dvideo-pll.c105 .n_max = (1 << 8) - 1,
H A Dpll.c163 n_stop = min((unsigned)(clkin / fint_hw_min), hw->n_max); in dss_pll_calc()
H A Ddss.h130 unsigned n_max; member
H A Ddsi.c5135 .n_max = (1 << 7) - 1,
5160 .n_max = (1 << 8) - 1,
5185 .n_max = (1 << 8) - 1,
/linux/drivers/clk/ingenic/
H A 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/drivers/gpu/drm/renesas/rcar-du/
H A 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,
H A 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/include/linux/
H A Dsvga.h60 u16 n_max; member
/linux/drivers/video/fbdev/core/
H A Dsvgalib.c417 while ((am <= pll->m_max) && (an <= pll->n_max)) { in svga_compute_pll()
/linux/sound/soc/codecs/
H A 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/drivers/net/ethernet/broadcom/
H A Dcnic.c1708 int i, j, n = 2, n_max; in cnic_setup_bnx2x_ctx() local
1715 n_max = req2->num_additional_wqes + 2; in cnic_setup_bnx2x_ctx()
1816 if (n >= n_max) in cnic_setup_bnx2x_ctx()