Home
last modified time | relevance | path

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

/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 Dpll.c222 n_stop = min((unsigned)(clkin / fint_hw_min), hw->n_max); in dss_pll_calc_a()
/linux/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c151 int i, o, n, n_min, n_max; in dsi_pll_get_params() local
166 n_max = (fvco_max * i) / (2 * clkin_khz); in dsi_pll_get_params()
175 if (n_max > NDIV_MAX) in dsi_pll_get_params()
176 n_max = NDIV_MAX; in dsi_pll_get_params()
181 if (n < n_min || n > n_max) in dsi_pll_get_params()
/linux/drivers/media/i2c/
H A Daptina-pll.h30 unsigned int n_max; member
H A Dmt9p031.c224 .n_max = 64, in mt9p031_clk_setup()
H A Dmt9m114.c2384 .n_max = 64, in mt9m114_clk_init()
/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
/linux/drivers/clk/ingenic/
H A Dx1000-cgu.c179 const unsigned long n_max = GENMASK(pll_info->n_bits - 1, 0); in x1000_i2spll_calc_m_n_od() local
182 rational_best_approximation(rate, parent_rate, m_max, n_max, &m, &n); in x1000_i2spll_calc_m_n_od()
/linux/include/linux/
H A Dsvga.h60 u16 n_max; member
/linux/drivers/clk/qcom/
H A Dclk-rcg2.c440 u16 m, n = 1, n_candidate = 1, n_max; in clk_rcg2_calc_mnd() local
459 n_max = m + mnd_max; in clk_rcg2_calc_mnd()
464 if (n_candidate < n_max) in clk_rcg2_calc_mnd()
/linux/drivers/video/fbdev/core/
H A Dsvgalib.c414 while ((am <= pll->m_max) && (an <= pll->n_max)) { in svga_compute_pll()
/linux/sound/soc/codecs/
H A Dmadera.c370 u32 *dest, int n_max, in madera_get_variable_u32_array()
390 if (n > n_max) in madera_get_variable_u32_array()
391 n = n_max; in madera_get_variable_u32_array()
369 madera_get_variable_u32_array(struct device * dev,const char * propname,u32 * dest,int n_max,int multiple) madera_get_variable_u32_array() argument
H A Dcs48l32.c3559 int n_max)
3564 ret = device_property_read_u32_array(cs48l32->dev, propname, dest, n_max); in cs48l32_prop_read_u32_array()
3565 cs48l32_prop_read_u32_array(struct cs48l32_codec * cs48l32_codec,const char * propname,u32 * dest,int n_max) cs48l32_prop_read_u32_array() argument
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c1706 int i, j, n = 2, n_max; in cnic_setup_bnx2x_ctx() local
1713 n_max = req2->num_additional_wqes + 2; in cnic_setup_bnx2x_ctx()
1814 if (n >= n_max) in cnic_setup_bnx2x_ctx()