Home
last modified time | relevance | path

Searched refs:wm_idx (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-gen1.c56 vfe->ops_gen1->wm_enable(vfe, output->wm_idx[i], 0); in vfe_disable_output()
144 vfe->ops_gen1->bus_reload_wm(vfe, output->wm_idx[i]); in vfe_output_init_addrs()
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()
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()
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()
[all …]
H A Dcamss-vfe-170.c406 int wm_idx; in vfe_get_output() local
418 wm_idx = vfe_reserve_wm(vfe, line->id); in vfe_get_output()
419 if (wm_idx < 0) { in vfe_get_output()
423 output->wm_idx[0] = wm_idx; in vfe_get_output()
432 vfe_release_wm(vfe, output->wm_idx[0]); in vfe_get_output()
479 vfe_wm_start(vfe, output->wm_idx[0], line); in vfe_enable_output()
486 vfe_wm_update(vfe, output->wm_idx[0], output->buf[i]->addr[0], line); in vfe_enable_output()
505 vfe_wm_stop(vfe, output->wm_idx[i]); in vfe_disable_output()
654 vfe_wm_update(vfe, output->wm_idx[0], output->buf[index]->addr[0], line); in vfe_isr_wm_done()
728 vfe_wm_update(vfe, output->wm_idx[0], buf->addr[0], line); in vfe_queue_buffer()
H A Dcamss-vfe-480.c271 output->wm_idx[0] = line->id; in vfe_get_output()
313 vfe_wm_start(vfe, output->wm_idx[0], line); in vfe_enable_output()
320 vfe_wm_update(vfe, output->wm_idx[0], output->buf[i]->addr[0], line); in vfe_enable_output()
339 vfe_wm_stop(vfe, output->wm_idx[i]); in vfe_disable_output()
480 vfe_wm_update(vfe, output->wm_idx[0], output->buf[index]->addr[0], line); in vfe_isr_wm_done()
554 vfe_wm_update(vfe, output->wm_idx[0], buf->addr[0], line); in vfe_queue_buffer()
H A Dcamss-vfe-4-7.c591 if (output->wm_idx[0] % 2 == 1) in vfe_set_xbar_cfg()
596 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
600 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
607 if (output->wm_idx[1] % 2 == 1) in vfe_set_xbar_cfg()
612 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[1]), in vfe_set_xbar_cfg()
616 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[1]), in vfe_set_xbar_cfg()
629 if (output->wm_idx[0] % 2 == 1) in vfe_set_xbar_cfg()
634 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
638 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
733 output->wm_idx[i]); in vfe_enable_irq_pix_line()
[all …]
H A Dcamss-vfe-4-8.c562 if (output->wm_idx[0] % 2 == 1) in vfe_set_xbar_cfg()
567 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
571 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
578 if (output->wm_idx[1] % 2 == 1) in vfe_set_xbar_cfg()
583 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[1]), in vfe_set_xbar_cfg()
587 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[1]), in vfe_set_xbar_cfg()
600 if (output->wm_idx[0] % 2 == 1) in vfe_set_xbar_cfg()
605 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
609 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[0]), in vfe_set_xbar_cfg()
704 irq_en1 |= VFE_0_IRQ_MASK_1_IMAGE_MASTER_n_BUS_OVERFLOW(output->wm_idx[i]); in vfe_enable_irq_pix_line()
[all …]
H A Dcamss-vfe-4-1.c504 if (output->wm_idx[i] % 2 == 1) in vfe_set_xbar_cfg()
509 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[i]), in vfe_set_xbar_cfg()
513 VFE_0_BUS_XBAR_CFG_x(output->wm_idx[i]), in vfe_set_xbar_cfg()
579 output->wm_idx[i]); in vfe_enable_irq_pix_line()
580 comp_mask |= (1 << output->wm_idx[i]) << comp * 8; in vfe_enable_irq_pix_line()
H A Dcamss-vfe.h63 u8 wm_idx[3]; member
H A Dcamss-vfe.c402 vfe_release_wm(vfe, output->wm_idx[i]); in vfe_put_output()