Lines Matching refs:output

547 static void vfe_set_xbar_cfg(struct vfe_device *vfe, struct vfe_output *output,  in vfe_set_xbar_cfg()  argument
550 struct vfe_line *line = container_of(output, struct vfe_line, output); in vfe_set_xbar_cfg()
562 if (output->wm_idx[0] % 2 == 1) in vfe_set_xbar_cfg()
567 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
571 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
578 if (output->wm_idx[1] % 2 == 1) in vfe_set_xbar_cfg()
583 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[1]), in vfe_set_xbar_cfg()
587 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[1]), in vfe_set_xbar_cfg()
600 if (output->wm_idx[0] % 2 == 1) in vfe_set_xbar_cfg()
605 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
609 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
692 struct vfe_output *output = &vfe->line[line_id].output; in vfe_enable_irq_pix_line() local
703 for (i = 0; i < output->wm_num; i++) { in vfe_enable_irq_pix_line()
704 irq_en1 |= VFE_0_IRQ_MASK_1_IMAGE_MASTER_n_BUS_OVERFLOW(output->wm_idx[i]); in vfe_enable_irq_pix_line()
705 comp_mask |= (1 << output->wm_idx[i]) << comp * 8; in vfe_enable_irq_pix_line()
769 u16 input, output; in vfe_set_scale_cfg() local
776 output = line->compose.width - 1; in vfe_set_scale_cfg()
777 reg = (output << 16) | input; in vfe_set_scale_cfg()
780 interp_reso = vfe_calc_interp_reso(input, output); in vfe_set_scale_cfg()
781 phase_mult = input * (1 << (14 + interp_reso)) / output; in vfe_set_scale_cfg()
786 output = line->compose.height - 1; in vfe_set_scale_cfg()
787 reg = (output << 16) | input; in vfe_set_scale_cfg()
790 interp_reso = vfe_calc_interp_reso(input, output); in vfe_set_scale_cfg()
791 phase_mult = input * (1 << (14 + interp_reso)) / output; in vfe_set_scale_cfg()
798 output = line->compose.width / 2 - 1; in vfe_set_scale_cfg()
799 reg = (output << 16) | input; in vfe_set_scale_cfg()
802 interp_reso = vfe_calc_interp_reso(input, output); in vfe_set_scale_cfg()
803 phase_mult = input * (1 << (14 + interp_reso)) / output; in vfe_set_scale_cfg()
808 output = line->compose.height - 1; in vfe_set_scale_cfg()
810 output = line->compose.height / 2 - 1; in vfe_set_scale_cfg()
811 reg = (output << 16) | input; in vfe_set_scale_cfg()
814 interp_reso = vfe_calc_interp_reso(input, output); in vfe_set_scale_cfg()
815 phase_mult = input * (1 << (14 + interp_reso)) / output; in vfe_set_scale_cfg()