Lines Matching defs:params
327 const struct analog_parameters *params,
352 params->num_lines,
355 max_hact = params->hact_ns.max / pixel_duration_ns;
366 result = (u64)params->line_duration_ns * pixel_clock_hz;
374 (hact_duration_ns < params->hact_ns.min ||
375 hact_duration_ns > params->hact_ns.max)) {
377 hact_duration_ns, params->hact_ns.min, params->hact_ns.max);
386 (hblk_duration_ns < params->hblk_ns.min ||
387 hblk_duration_ns > params->hblk_ns.max)) {
389 hblk_duration_ns, params->hblk_ns.min, params->hblk_ns.max);
393 hslen = DIV_ROUND_UP(params->hslen_ns.typ, pixel_duration_ns);
398 (hslen_duration_ns < params->hslen_ns.min ||
399 hslen_duration_ns > params->hslen_ns.max)) {
401 hslen_duration_ns, params->hslen_ns.min, params->hslen_ns.max);
410 (porches_duration_ns > (params->hfp_ns.max + params->hbp_ns.max) ||
411 porches_duration_ns < (params->hfp_ns.min + params->hbp_ns.min))) {
417 hfp = params->bt601_hfp;
419 unsigned int hfp_min = DIV_ROUND_UP(params->hfp_ns.min,
421 unsigned int hbp_min = DIV_ROUND_UP(params->hbp_ns.min,
432 (hfp_duration_ns < params->hfp_ns.min ||
433 hfp_duration_ns > params->hfp_ns.max)) {
435 hfp_duration_ns, params->hfp_ns.min, params->hfp_ns.max);
444 (hbp_duration_ns < params->hbp_ns.min ||
445 hbp_duration_ns > params->hbp_ns.max)) {
447 hbp_duration_ns, params->hbp_ns.min, params->hbp_ns.max);
461 vfp_min = params->vfp_lines.even + params->vfp_lines.odd;
462 vbp_min = params->vbp_lines.even + params->vbp_lines.odd;
463 vslen = params->vslen_lines.even + params->vslen_lines.odd;
479 vfp_min = params->vfp_lines.odd;
480 vbp_min = params->vbp_lines.odd;
481 vslen = params->vslen_lines.odd;
486 porches = params->num_lines - vactive - vslen;
497 if (params->num_lines != vtotal) {
499 vtotal, params->num_lines);
508 if (mode->vtotal != params->num_lines)