Lines Matching refs:output
483 static void vfe_set_xbar_cfg(struct vfe_device *vfe, struct vfe_output *output, in vfe_set_xbar_cfg() argument
486 struct vfe_line *line = container_of(output, struct vfe_line, output); in vfe_set_xbar_cfg()
491 for (i = 0; i < output->wm_num; i++) { in vfe_set_xbar_cfg()
504 if (output->wm_idx[i] % 2 == 1) in vfe_set_xbar_cfg()
509 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[i]), in vfe_set_xbar_cfg()
513 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[i]), in vfe_set_xbar_cfg()
566 struct vfe_output *output = &vfe->line[line_id].output; in vfe_enable_irq_pix_line() local
577 for (i = 0; i < output->wm_num; i++) { in vfe_enable_irq_pix_line()
579 output->wm_idx[i]); in vfe_enable_irq_pix_line()
580 comp_mask |= (1 << output->wm_idx[i]) << comp * 8; in vfe_enable_irq_pix_line()
644 u16 input, output; in vfe_set_scale_cfg() local
651 output = line->compose.width; in vfe_set_scale_cfg()
652 reg = (output << 16) | input; in vfe_set_scale_cfg()
655 interp_reso = vfe_calc_interp_reso(input, output); in vfe_set_scale_cfg()
656 phase_mult = input * (1 << (13 + interp_reso)) / output; in vfe_set_scale_cfg()
661 output = line->compose.height; in vfe_set_scale_cfg()
662 reg = (output << 16) | input; in vfe_set_scale_cfg()
665 interp_reso = vfe_calc_interp_reso(input, output); in vfe_set_scale_cfg()
666 phase_mult = input * (1 << (13 + interp_reso)) / output; in vfe_set_scale_cfg()
673 output = line->compose.width / 2; in vfe_set_scale_cfg()
674 reg = (output << 16) | input; in vfe_set_scale_cfg()
677 interp_reso = vfe_calc_interp_reso(input, output); in vfe_set_scale_cfg()
678 phase_mult = input * (1 << (13 + interp_reso)) / output; in vfe_set_scale_cfg()
683 output = line->compose.height; in vfe_set_scale_cfg()
685 output = line->compose.height / 2; in vfe_set_scale_cfg()
686 reg = (output << 16) | input; in vfe_set_scale_cfg()
689 interp_reso = vfe_calc_interp_reso(input, output); in vfe_set_scale_cfg()
690 phase_mult = input * (1 << (13 + interp_reso)) / output; in vfe_set_scale_cfg()