Lines Matching refs:wm_idx

362 		vfe->ops->wm_set_ping_addr(vfe, output->wm_idx[i], ping_addr);  in vfe_output_init_addrs()
363 vfe->ops->wm_set_pong_addr(vfe, output->wm_idx[i], pong_addr); in vfe_output_init_addrs()
365 vfe->ops->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_output_init_addrs()
381 vfe->ops->wm_set_ping_addr(vfe, output->wm_idx[i], addr); in vfe_output_update_ping_addr()
383 vfe->ops->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_output_update_ping_addr()
399 vfe->ops->wm_set_pong_addr(vfe, output->wm_idx[i], addr); in vfe_output_update_pong_addr()
401 vfe->ops->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_output_update_pong_addr()
445 vfe->ops->wm_set_framedrop_period(vfe, output->wm_idx[i], in vfe_output_frame_drop()
447 vfe->ops->wm_set_framedrop_pattern(vfe, output->wm_idx[i], in vfe_output_frame_drop()
589 int wm_idx; in vfe_get_output() local
615 wm_idx = vfe_reserve_wm(vfe, line->id); in vfe_get_output()
616 if (wm_idx < 0) { in vfe_get_output()
620 output->wm_idx[i] = wm_idx; in vfe_get_output()
631 vfe_release_wm(vfe, output->wm_idx[i]); in vfe_get_output()
649 vfe_release_wm(vfe, output->wm_idx[i]); in vfe_put_output()
717 ops->set_cgc_override(vfe, output->wm_idx[0], 1); in vfe_enable_output()
718 ops->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 1); in vfe_enable_output()
719 ops->bus_connect_wm_to_rdi(vfe, output->wm_idx[0], line->id); in vfe_enable_output()
720 ops->wm_set_subsample(vfe, output->wm_idx[0]); in vfe_enable_output()
722 ops->wm_set_ub_cfg(vfe, output->wm_idx[0], in vfe_enable_output()
723 (ub_size + 1) * output->wm_idx[0], ub_size); in vfe_enable_output()
724 ops->wm_frame_based(vfe, output->wm_idx[0], 1); in vfe_enable_output()
725 ops->wm_enable(vfe, output->wm_idx[0], 1); in vfe_enable_output()
726 ops->bus_reload_wm(vfe, output->wm_idx[0]); in vfe_enable_output()
730 ops->set_cgc_override(vfe, output->wm_idx[i], 1); in vfe_enable_output()
731 ops->wm_set_subsample(vfe, output->wm_idx[i]); in vfe_enable_output()
732 ops->wm_set_ub_cfg(vfe, output->wm_idx[i], in vfe_enable_output()
733 (ub_size + 1) * output->wm_idx[i], in vfe_enable_output()
735 ops->wm_line_based(vfe, output->wm_idx[i], in vfe_enable_output()
738 ops->wm_enable(vfe, output->wm_idx[i], 1); in vfe_enable_output()
739 ops->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_enable_output()
781 ops->wm_enable(vfe, output->wm_idx[i], 0); in vfe_disable_output()
795 ops->wm_frame_based(vfe, output->wm_idx[0], 0); in vfe_disable_output()
796 ops->bus_disconnect_wm_from_rdi(vfe, output->wm_idx[0], in vfe_disable_output()
798 ops->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 0); in vfe_disable_output()
799 ops->set_cgc_override(vfe, output->wm_idx[0], 0); in vfe_disable_output()
803 ops->wm_line_based(vfe, output->wm_idx[i], NULL, i, 0); in vfe_disable_output()
804 ops->set_cgc_override(vfe, output->wm_idx[i], 0); in vfe_disable_output()
1045 vfe->ops->wm_set_ping_addr(vfe, output->wm_idx[i], in vfe_isr_wm_done()
1049 vfe->ops->wm_set_pong_addr(vfe, output->wm_idx[i], in vfe_isr_wm_done()