Lines Matching refs:wm_idx

56 		vfe->ops_gen1->wm_enable(vfe, output->wm_idx[i], 0);  in vfe_disable_output()
69 vfe->ops_gen1->wm_frame_based(vfe, output->wm_idx[0], 0); 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()
72 vfe->ops_gen1->set_cgc_override(vfe, output->wm_idx[0], 0); in vfe_disable_output()
76 vfe->ops_gen1->wm_line_based(vfe, output->wm_idx[i], NULL, i, 0); in vfe_disable_output()
77 vfe->ops_gen1->set_cgc_override(vfe, output->wm_idx[i], 0); in vfe_disable_output()
141 vfe->ops_gen1->wm_set_ping_addr(vfe, output->wm_idx[i], ping_addr); in vfe_output_init_addrs()
142 vfe->ops_gen1->wm_set_pong_addr(vfe, output->wm_idx[i], pong_addr); in vfe_output_init_addrs()
144 vfe->ops_gen1->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_output_init_addrs()
161 vfe->ops_gen1->wm_set_framedrop_period(vfe, output->wm_idx[i], drop_period); in vfe_output_frame_drop()
162 vfe->ops_gen1->wm_set_framedrop_pattern(vfe, output->wm_idx[i], drop_pattern); in vfe_output_frame_drop()
239 vfe->ops_gen1->set_cgc_override(vfe, output->wm_idx[0], 1); 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()
242 vfe->ops_gen1->wm_set_subsample(vfe, output->wm_idx[0]); in vfe_enable_output()
244 vfe->ops_gen1->wm_set_ub_cfg(vfe, output->wm_idx[0], in vfe_enable_output()
245 (ub_size + 1) * output->wm_idx[0], ub_size); in vfe_enable_output()
246 vfe->ops_gen1->wm_frame_based(vfe, output->wm_idx[0], 1); in vfe_enable_output()
247 vfe->ops_gen1->wm_enable(vfe, output->wm_idx[0], 1); in vfe_enable_output()
248 vfe->ops_gen1->bus_reload_wm(vfe, output->wm_idx[0]); in vfe_enable_output()
252 vfe->ops_gen1->set_cgc_override(vfe, output->wm_idx[i], 1); in vfe_enable_output()
253 vfe->ops_gen1->wm_set_subsample(vfe, output->wm_idx[i]); in vfe_enable_output()
254 vfe->ops_gen1->wm_set_ub_cfg(vfe, output->wm_idx[i], in vfe_enable_output()
255 (ub_size + 1) * output->wm_idx[i], ub_size); in vfe_enable_output()
256 vfe->ops_gen1->wm_line_based(vfe, output->wm_idx[i], in vfe_enable_output()
258 vfe->ops_gen1->wm_enable(vfe, output->wm_idx[i], 1); in vfe_enable_output()
259 vfe->ops_gen1->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_enable_output()
287 int wm_idx; in vfe_get_output() local
313 wm_idx = vfe_reserve_wm(vfe, line->id); in vfe_get_output()
314 if (wm_idx < 0) { in vfe_get_output()
318 output->wm_idx[i] = wm_idx; in vfe_get_output()
329 vfe_release_wm(vfe, output->wm_idx[i]); in vfe_get_output()
396 vfe->ops_gen1->wm_set_ping_addr(vfe, output->wm_idx[i], addr); in vfe_output_update_ping_addr()
398 vfe->ops_gen1->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_output_update_ping_addr()
415 vfe->ops_gen1->wm_set_pong_addr(vfe, output->wm_idx[i], addr); in vfe_output_update_pong_addr()
417 vfe->ops_gen1->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_output_update_pong_addr()
660 vfe->ops_gen1->wm_set_ping_addr(vfe, output->wm_idx[i], new_addr[i]); in vfe_isr_wm_done()
663 vfe->ops_gen1->wm_set_pong_addr(vfe, output->wm_idx[i], new_addr[i]); in vfe_isr_wm_done()