Home
last modified time | relevance | path

Searched refs:wmax (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-common.c337 void v4l_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, in v4l_bound_align_image() argument
342 *w = clamp_align(*w, wmin, wmax, walign); in v4l_bound_align_image()
355 unsigned int wmaxa = __fls(wmax ^ (wmin - 1)); in v4l_bound_align_image()
363 *w = clamp_align(*w, wmin, wmax, walign + 1); in v4l_bound_align_image()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event.c663 int num, int wmin, int wmax, int gpmax) in perf_sched_init() argument
669 sched->max_weight = wmax; in perf_sched_init()
796 int wmin, int wmax, int gpmax, int *assign) in perf_assign_events() argument
800 perf_sched_init(&sched, constraints, n, wmin, wmax, gpmax); in perf_assign_events()
818 int i, wmin, wmax, unsched = 0; in x86_schedule_events() local
826 for (i = 0, wmin = X86_PMC_IDX_MAX, wmax = 0; i < n; i++) { in x86_schedule_events()
832 wmax = max(wmax, c->weight); in x86_schedule_events()
878 wmax, gpmax, assign); in x86_schedule_events()
Dperf_event_intel_uncore.c362 int i, wmin, wmax, ret = 0; in uncore_assign_events() local
367 for (i = 0, wmin = UNCORE_PMC_IDX_MAX, wmax = 0; i < n; i++) { in uncore_assign_events()
371 wmax = max(wmax, c->weight); in uncore_assign_events()
398 wmin, wmax, n, assign); in uncore_assign_events()
Dperf_event.h731 int wmin, int wmax, int gpmax, int *assign);
/linux-4.1.27/include/media/
Dv4l2-common.h176 unsigned int wmax, unsigned int walign,
/linux-4.1.27/drivers/mtd/nand/
Dnandsim.c455 unsigned long wmin = -1, wmax = 0, avg; in nandsim_debugfs_show() local
464 if (wear > wmax) in nandsim_debugfs_show()
465 wmax = wear; in nandsim_debugfs_show()
471 decile_max[i] = (wmax * (i + 1) + 5) / 10; in nandsim_debugfs_show()
474 decile_max[9] = wmax; in nandsim_debugfs_show()
490 seq_printf(m, "Maximum number of erases: %lu\n", wmax); in nandsim_debugfs_show()
/linux-4.1.27/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1133 u32 *w, unsigned int wmin, unsigned int wmax, in jpeg_bound_align_image() argument
1155 wmax = width; in jpeg_bound_align_image()
1160 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()
1162 if (*w < width && (*w + w_step) < wmax) in jpeg_bound_align_image()