Home
last modified time | relevance | path

Searched refs:max_m (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/clk/sunxi-ng/
A Dccu_mp.c14 unsigned int max_m, unsigned int max_p, in ccu_mp_find_best() argument
22 for (_m = 1; _m <= max_m; _m++) { in ccu_mp_find_best()
43 unsigned int max_m, in ccu_mp_find_best_with_parent_adj() argument
58 maxdiv = max_m * max_p; in ccu_mp_find_best_with_parent_adj()
62 for (_m = 1; _m <= max_m; _m++) { in ccu_mp_find_best_with_parent_adj()
102 unsigned int max_m, max_p; in ccu_mp_round_rate() local
108 max_m = cmp->m.max ?: 1 << cmp->m.width; in ccu_mp_round_rate()
116 max_m, max_p); in ccu_mp_round_rate()
190 unsigned int max_m, max_p; in ccu_mp_set_rate() local
198 max_m = cmp->m.max ?: 1 << cmp->m.width; in ccu_mp_set_rate()
[all …]
A Dccu_nkm.c16 unsigned long m, min_m, max_m; member
28 for (_m = nkm->min_m; _m <= nkm->max_m; _m++) { in ccu_nkm_find_best()
120 _nkm.max_m = nkm->m.max ?: 1 << nkm->m.width; in ccu_nkm_round_rate()
160 _nkm.max_m = nkm->m.max ?: 1 << nkm->m.width; in ccu_nkm_set_rate()
A Dccu_nm.c16 unsigned long m, min_m, max_m; member
38 for (_m = nm->min_m; _m <= nm->max_m; _m++) { in ccu_nm_find_best()
158 _nm.max_m = nm->m.max ?: 1 << nm->m.width; in ccu_nm_round_rate()
202 _nm.max_m = nm->m.max ?: 1 << nm->m.width; in ccu_nm_set_rate()
A Dccu_nkmp.c16 unsigned long m, min_m, max_m; member
41 for (_m = nkmp->min_m; _m <= nkmp->max_m; _m++) { in ccu_nkmp_find_best()
149 _nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width; in ccu_nkmp_round_rate()
180 _nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width; in ccu_nkmp_set_rate()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dpll.c280 info->vco1.max_m = 0xd; in nvbios_pll_parse()
299 info->vco2.max_m = 0x4; in nvbios_pll_parse()
314 info->vco1.max_m = nvbios_rd08(bios, data + 23); in nvbios_pll_parse()
318 info->vco2.max_m = nvbios_rd08(bios, data + 27); in nvbios_pll_parse()
343 info->vco1.max_m = nvbios_rd08(bios, data + 19); in nvbios_pll_parse()
347 info->vco2.max_m = nvbios_rd08(bios, data + 23); in nvbios_pll_parse()
361 info->vco1.max_m = nvbios_rd08(bios, data + 9); in nvbios_pll_parse()
375 info->vco1.max_m = nvbios_rd08(bios, data + 14); in nvbios_pll_parse()
423 info->vco1.max_m = 0xd; in nvbios_pll_parse()
427 info->vco1.max_m = 0xe; in nvbios_pll_parse()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A Dpllnv04.c42 int minM = info->vco1.min_m, maxM = info->vco1.max_m; in getMNP_single()
144 int minM1 = info->vco1.min_m, maxM1 = info->vco1.max_m; in getMNP_double()
146 int minM2 = info->vco2.min_m, maxM2 = info->vco2.max_m; in getMNP_double()
A Dgk20a.c59 .min_m = 1, .max_m = 255,
119 best_m = clk->params->max_m; in gk20a_pllg_calc_mnp()
144 for (m = clk->params->min_m; m <= clk->params->max_m; m++) { in gk20a_pllg_calc_mnp()
A Dpllgt215.c45 hM = min(hM, (int)info->vco1.max_m); in gt215_pll_calc()
A Dgk20a.h105 u32 min_m, max_m; member
A Dgm20b.c154 .min_m = 1, .max_m = 255,
1045 clk_params->max_m = clk_params->min_m = DIV_ROUND_UP(clk_params->max_u, in gm20b_clk_new()
1047 if (clk_params->max_m == 0) { in gm20b_clk_new()
/linux/sound/soc/codecs/
A Drl6231.c143 int max_n = RL6231_PLL_N_MAX, max_m = RL6231_PLL_M_MAX; in rl6231_pll_calc() local
202 for (m_t = 0; m_t <= max_m; m_t++) { in rl6231_pll_calc()
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
A Dpll.h69 u8 max_m; member
/linux/drivers/media/i2c/ccs/
A Dccs-core.c2362 u32 min, max, a, b, max_m; in ccs_set_compose_scaler() local
2379 max_m = crops[CCS_PAD_SINK]->width in ccs_set_compose_scaler()
2387 max_m = clamp(max_m, CCS_LIM(sensor, SCALER_M_MIN), in ccs_set_compose_scaler()
2390 dev_dbg(&client->dev, "scaling: a %d b %d max_m %d\n", a, b, max_m); in ccs_set_compose_scaler()
2392 min = min(max_m, min(a, b)); in ccs_set_compose_scaler()
2393 max = min(max_m, max(a, b)); in ccs_set_compose_scaler()
2401 if (max != max_m) { in ccs_set_compose_scaler()
/linux/drivers/gpu/drm/nouveau/dispnv04/
A Dhw.c272 if (pv.M1 >= pll_lim.vco1.min_m && pv.M1 <= pll_lim.vco1.max_m && in nouveau_hw_fix_bad_vpll()
280 pv.M1 = pll_lim.vco1.max_m; in nouveau_hw_fix_bad_vpll()
/linux/drivers/video/fbdev/intelfb/
A Dintelfbhw.c42 int min_m, max_m, min_m1, max_m1; member
975 if (m > pll->max_m) in calc_pll_params()
976 m = pll->max_m - 1; in calc_pll_params()

Completed in 27 milliseconds