Lines Matching refs:line

550 	struct vfe_line *line = container_of(output, struct vfe_line, output);
551 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
617 static void vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line,
620 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
657 /* Enforce barrier between line update and commit */
692 struct vfe_output *output = &vfe->line[line_id].output;
729 static void vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line)
741 switch (line->fmt[MSM_VFE_PAD_SINK].code) {
765 static void vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line)
767 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
775 input = line->fmt[MSM_VFE_PAD_SINK].width - 1;
776 output = line->compose.width - 1;
785 input = line->fmt[MSM_VFE_PAD_SINK].height - 1;
786 output = line->compose.height - 1;
797 input = line->fmt[MSM_VFE_PAD_SINK].width - 1;
798 output = line->compose.width / 2 - 1;
807 input = line->fmt[MSM_VFE_PAD_SINK].height - 1;
808 output = line->compose.height - 1;
810 output = line->compose.height / 2 - 1;
820 static void vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line)
822 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
826 first = line->crop.left;
827 last = line->crop.left + line->crop.width - 1;
831 first = line->crop.top;
832 last = line->crop.top + line->crop.height - 1;
836 first = line->crop.left / 2;
837 last = line->crop.left / 2 + line->crop.width / 2 - 1;
841 first = line->crop.top;
842 last = line->crop.top + line->crop.height - 1;
844 first = line->crop.top / 2;
845 last = line->crop.top / 2 + line->crop.height / 2 - 1;
871 static void vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line)
875 switch (line->fmt[MSM_VFE_PAD_SINK].code) {
894 val = line->fmt[MSM_VFE_PAD_SINK].width * 2 - 1;
895 val |= (line->fmt[MSM_VFE_PAD_SINK].height - 1) << 16;
898 val = line->fmt[MSM_VFE_PAD_SINK].width * 2 - 1;
901 val = line->fmt[MSM_VFE_PAD_SINK].height - 1;
972 * @irq: Interrupt line