Lines Matching defs:output

576 static void vfe_set_xbar_cfg(struct vfe_device *vfe, struct vfe_output *output,
579 struct vfe_line *line = container_of(output, struct vfe_line, output);
591 if (output->wm_idx[0] % 2 == 1)
596 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]),
600 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]),
607 if (output->wm_idx[1] % 2 == 1)
612 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[1]),
616 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[1]),
629 if (output->wm_idx[0] % 2 == 1)
634 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]),
638 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]),
720 struct vfe_output *output = &vfe->line[line_id].output;
731 for (i = 0; i < output->wm_num; i++) {
733 output->wm_idx[i]);
734 comp_mask |= (1 << output->wm_idx[i]) << comp * 8;
798 u16 input, output;
805 output = line->compose.width - 1;
806 reg = (output << 16) | input;
809 interp_reso = vfe_calc_interp_reso(input, output);
810 phase_mult = input * (1 << (14 + interp_reso)) / output;
815 output = line->compose.height - 1;
816 reg = (output << 16) | input;
819 interp_reso = vfe_calc_interp_reso(input, output);
820 phase_mult = input * (1 << (14 + interp_reso)) / output;
827 output = line->compose.width / 2 - 1;
828 reg = (output << 16) | input;
831 interp_reso = vfe_calc_interp_reso(input, output);
832 phase_mult = input * (1 << (14 + interp_reso)) / output;
837 output = line->compose.height - 1;
839 output = line->compose.height / 2 - 1;
840 reg = (output << 16) | input;
843 interp_reso = vfe_calc_interp_reso(input, output);
844 phase_mult = input * (1 << (14 + interp_reso)) / output;