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()
730 ops->set_cgc_override(vfe, output->wm_idx[0], 1); in vfe_enable_output()
731 ops->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 1); in vfe_enable_output()
732 ops->bus_connect_wm_to_rdi(vfe, output->wm_idx[0], line->id); in vfe_enable_output()
733 ops->wm_set_subsample(vfe, output->wm_idx[0]); in vfe_enable_output()
735 ops->wm_set_ub_cfg(vfe, output->wm_idx[0], in vfe_enable_output()
736 (ub_size + 1) * output->wm_idx[0], ub_size); in vfe_enable_output()
737 ops->wm_frame_based(vfe, output->wm_idx[0], 1); in vfe_enable_output()
738 ops->wm_enable(vfe, output->wm_idx[0], 1); in vfe_enable_output()
739 ops->bus_reload_wm(vfe, output->wm_idx[0]); in vfe_enable_output()
743 ops->set_cgc_override(vfe, output->wm_idx[i], 1); in vfe_enable_output()
744 ops->wm_set_subsample(vfe, output->wm_idx[i]); in vfe_enable_output()
745 ops->wm_set_ub_cfg(vfe, output->wm_idx[i], in vfe_enable_output()
746 (ub_size + 1) * output->wm_idx[i], in vfe_enable_output()
748 ops->wm_line_based(vfe, output->wm_idx[i], in vfe_enable_output()
751 ops->wm_enable(vfe, output->wm_idx[i], 1); in vfe_enable_output()
752 ops->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_enable_output()
794 ops->wm_enable(vfe, output->wm_idx[i], 0); in vfe_disable_output()
808 ops->wm_frame_based(vfe, output->wm_idx[0], 0); in vfe_disable_output()
809 ops->bus_disconnect_wm_from_rdi(vfe, output->wm_idx[0], in vfe_disable_output()
811 ops->enable_irq_wm_line(vfe, output->wm_idx[0], line->id, 0); in vfe_disable_output()
812 ops->set_cgc_override(vfe, output->wm_idx[0], 0); in vfe_disable_output()
816 ops->wm_line_based(vfe, output->wm_idx[i], NULL, i, 0); in vfe_disable_output()
817 ops->set_cgc_override(vfe, output->wm_idx[i], 0); in vfe_disable_output()
1058 vfe->ops->wm_set_ping_addr(vfe, output->wm_idx[i], in vfe_isr_wm_done()
1062 vfe->ops->wm_set_pong_addr(vfe, output->wm_idx[i], in vfe_isr_wm_done()