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 = camss_find_sensor(&line->subdev.entity); in vfe_enable_output()
195 ops->reg_update_clear(vfe, line->id); in vfe_enable_output()
236 vfe_output_init_addrs(vfe, output, 0, line); in vfe_enable_output()
238 if (line->id != VFE_LINE_PIX) { in vfe_enable_output()
240 vfe->ops_gen1->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 1); in vfe_enable_output()
241 vfe->ops_gen1->bus_connect_wm_to_rdi(vfe, output->wm_idx[0], line->id); in vfe_enable_output()
243 vfe->ops_gen1->set_rdi_cid(vfe, line->id, 0); in vfe_enable_output()
257 &line->video_out.active_fmt.fmt.pix_mp, i, 1); in vfe_enable_output()
261 vfe->ops_gen1->enable_irq_pix_line(vfe, 0, line->id, 1); in vfe_enable_output()
263 vfe->ops_gen1->set_camif_cfg(vfe, line); in vfe_enable_output()
264 vfe->ops_gen1->set_realign_cfg(vfe, line, 1); in vfe_enable_output()
266 vfe->ops_gen1->set_demux_cfg(vfe, line); in vfe_enable_output()
267 vfe->ops_gen1->set_scale_cfg(vfe, line); in vfe_enable_output()
268 vfe->ops_gen1->set_crop_cfg(vfe, line); in vfe_enable_output()
273 ops->reg_update(vfe, line->id); in vfe_enable_output()
280 static int vfe_get_output(struct vfe_line *line) in vfe_get_output() argument
282 struct vfe_device *vfe = to_vfe(line); in vfe_get_output()
284 struct v4l2_format *f = &line->video_out.active_fmt; in vfe_get_output()
291 output = &line->output; in vfe_get_output()
313 wm_idx = vfe_reserve_wm(vfe, line->id); in vfe_get_output()
337 int vfe_gen1_enable(struct vfe_line *line) in vfe_gen1_enable() argument
339 struct vfe_device *vfe = to_vfe(line); in vfe_gen1_enable()
355 ret = vfe_get_output(line); in vfe_gen1_enable()
359 ret = vfe_enable_output(line); in vfe_gen1_enable()
368 vfe_put_output(line); in vfe_gen1_enable()
385 struct vfe_line *line) in vfe_output_update_ping_addr() argument
404 struct vfe_line *line) in vfe_output_update_pong_addr() argument
460 struct vfe_line *line) in vfe_buf_update_wm_on_new() argument
472 vfe_output_update_pong_addr(vfe, output, 0, line); in vfe_buf_update_wm_on_new()
474 vfe_output_update_ping_addr(vfe, output, 0, line); in vfe_buf_update_wm_on_new()
489 vfe_output_init_addrs(vfe, output, 1, line); in vfe_buf_update_wm_on_new()
520 * @line_id: VFE line
528 output = &vfe->line[line_id].output; in vfe_isr_sof()
539 * @line_id: VFE line
544 struct vfe_line *line = &vfe->line[line_id]; in vfe_isr_reg_update() local
550 output = &line->output; in vfe_isr_reg_update()
597 vfe_output_init_addrs(vfe, output, 1, &vfe->line[line_id]); in vfe_isr_reg_update()
627 output = &vfe->line[vfe->wm_output_map[wm]].output; in vfe_isr_wm_done()
690 struct vfe_line *line = container_of(vid, struct vfe_line, video_out); in vfe_queue_buffer() local
691 struct vfe_device *vfe = to_vfe(line); in vfe_queue_buffer()
695 output = &line->output; in vfe_queue_buffer()
699 vfe_buf_update_wm_on_new(vfe, output, buf, line); in vfe_queue_buffer()