Lines Matching refs:line

579 	struct vfe_line *line = container_of(output, struct vfe_line, output);
580 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
646 static void vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line,
649 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
686 /* Enforce barrier between line update and commit */
720 struct vfe_output *output = &vfe->line[line_id].output;
758 static void vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line)
770 switch (line->fmt[MSM_VFE_PAD_SINK].code) {
794 static void vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line)
796 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
804 input = line->fmt[MSM_VFE_PAD_SINK].width - 1;
805 output = line->compose.width - 1;
814 input = line->fmt[MSM_VFE_PAD_SINK].height - 1;
815 output = line->compose.height - 1;
826 input = line->fmt[MSM_VFE_PAD_SINK].width - 1;
827 output = line->compose.width / 2 - 1;
836 input = line->fmt[MSM_VFE_PAD_SINK].height - 1;
837 output = line->compose.height - 1;
839 output = line->compose.height / 2 - 1;
849 static void vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line)
851 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
855 first = line->crop.left;
856 last = line->crop.left + line->crop.width - 1;
860 first = line->crop.top;
861 last = line->crop.top + line->crop.height - 1;
865 first = line->crop.left / 2;
866 last = line->crop.left / 2 + line->crop.width / 2 - 1;
870 first = line->crop.top;
871 last = line->crop.top + line->crop.height - 1;
873 first = line->crop.top / 2;
874 last = line->crop.top / 2 + line->crop.height / 2 - 1;
939 static void vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line)
943 switch (line->fmt[MSM_VFE_PAD_SINK].code) {
962 val = line->fmt[MSM_VFE_PAD_SINK].width * 2 - 1;
963 val |= (line->fmt[MSM_VFE_PAD_SINK].height - 1) << 16;
966 val = line->fmt[MSM_VFE_PAD_SINK].width * 2 - 1;
969 val = line->fmt[MSM_VFE_PAD_SINK].height - 1;
1042 * @irq: Interrupt line