Lines Matching full:line

36 static int vfe_disable_output(struct vfe_line *line)  in vfe_disable_output()  argument
38 struct vfe_device *vfe = to_vfe(line); in vfe_disable_output()
39 struct vfe_output *output = &line->output; in vfe_disable_output()
58 ops->reg_update(vfe, line->id); in vfe_disable_output()
68 if (line->id != VFE_LINE_PIX) { in vfe_disable_output()
70 vfe->ops_gen1->bus_disconnect_wm_from_rdi(vfe, output->wm_idx[0], line->id); in vfe_disable_output()
71 vfe->ops_gen1->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 0); in vfe_disable_output()
80 vfe->ops_gen1->enable_irq_pix_line(vfe, 0, line->id, 0); in vfe_disable_output()
82 vfe->ops_gen1->set_realign_cfg(vfe, line, 0); in vfe_disable_output()
95 * vfe_gen1_disable - Disable streaming on VFE line
96 * @line: VFE line
100 int vfe_gen1_disable(struct vfe_line *line) in vfe_gen1_disable() argument
102 struct vfe_device *vfe = to_vfe(line); in vfe_gen1_disable()
104 vfe_disable_output(line); in vfe_gen1_disable()
106 vfe_put_output(line); in vfe_gen1_disable()
122 struct vfe_line *line) in vfe_output_init_addrs() argument
168 static int vfe_enable_output(struct vfe_line *line) in vfe_enable_output() argument
170 struct vfe_device *vfe = to_vfe(line); in vfe_enable_output()
171 struct vfe_output *output = &line->output; in vfe_enable_output()
183 sensor_pad = camss_find_sensor_pad(&line->subdev.entity); in vfe_enable_output()
196 ops->reg_update_clear(vfe, line->id); in vfe_enable_output()
237 vfe_output_init_addrs(vfe, output, 0, line); in vfe_enable_output()
239 if (line->id != VFE_LINE_PIX) { in vfe_enable_output()
241 vfe->ops_gen1->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 1); in vfe_enable_output()
242 vfe->ops_gen1->bus_connect_wm_to_rdi(vfe, output->wm_idx[0], line->id); in vfe_enable_output()
244 vfe->ops_gen1->set_rdi_cid(vfe, line->id, 0); in vfe_enable_output()
258 &line->video_out.active_fmt.fmt.pix_mp, i, 1); in vfe_enable_output()
262 vfe->ops_gen1->enable_irq_pix_line(vfe, 0, line->id, 1); in vfe_enable_output()
264 vfe->ops_gen1->set_camif_cfg(vfe, line); in vfe_enable_output()
265 vfe->ops_gen1->set_realign_cfg(vfe, line, 1); in vfe_enable_output()
267 vfe->ops_gen1->set_demux_cfg(vfe, line); in vfe_enable_output()
268 vfe->ops_gen1->set_scale_cfg(vfe, line); in vfe_enable_output()
269 vfe->ops_gen1->set_crop_cfg(vfe, line); in vfe_enable_output()
274 ops->reg_update(vfe, line->id); in vfe_enable_output()
281 static int vfe_get_output(struct vfe_line *line) in vfe_get_output() argument
283 struct vfe_device *vfe = to_vfe(line); in vfe_get_output()
285 struct v4l2_format *f = &line->video_out.active_fmt; in vfe_get_output()
292 output = &line->output; in vfe_get_output()
314 wm_idx = vfe_reserve_wm(vfe, line->id); in vfe_get_output()
338 int vfe_gen1_enable(struct vfe_line *line) in vfe_gen1_enable() argument
340 struct vfe_device *vfe = to_vfe(line); in vfe_gen1_enable()
356 ret = vfe_get_output(line); in vfe_gen1_enable()
360 ret = vfe_enable_output(line); in vfe_gen1_enable()
369 vfe_put_output(line); in vfe_gen1_enable()
386 struct vfe_line *line) in vfe_output_update_ping_addr() argument
405 struct vfe_line *line) in vfe_output_update_pong_addr() argument
461 struct vfe_line *line) in vfe_buf_update_wm_on_new() argument
473 vfe_output_update_pong_addr(vfe, output, 0, line); in vfe_buf_update_wm_on_new()
475 vfe_output_update_ping_addr(vfe, output, 0, line); in vfe_buf_update_wm_on_new()
490 vfe_output_init_addrs(vfe, output, 1, line); in vfe_buf_update_wm_on_new()
521 * @line_id: VFE line
529 output = &vfe->line[line_id].output; in vfe_isr_sof()
540 * @line_id: VFE line
545 struct vfe_line *line = &vfe->line[line_id]; in vfe_isr_reg_update() local
551 output = &line->output; in vfe_isr_reg_update()
598 vfe_output_init_addrs(vfe, output, 1, &vfe->line[line_id]); in vfe_isr_reg_update()
628 output = &vfe->line[vfe->wm_output_map[wm]].output; in vfe_isr_wm_done()
691 struct vfe_line *line = container_of(vid, struct vfe_line, video_out); in vfe_queue_buffer() local
692 struct vfe_device *vfe = to_vfe(line); in vfe_queue_buffer()
696 output = &line->output; in vfe_queue_buffer()
700 vfe_buf_update_wm_on_new(vfe, output, buf, line); in vfe_queue_buffer()