Lines Matching refs:output

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