Home
last modified time | relevance | path

Searched refs:frame_idx (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dcapture.c1981 if (stream->frame_idx == 1) in rkcif_assign_new_buffer_update_toisp()
1983 active_buf->dbufs.sequence = stream->frame_idx - 1; in rkcif_assign_new_buffer_update_toisp()
1986 stream->last_frame_idx = stream->frame_idx; in rkcif_assign_new_buffer_update_toisp()
2014 if (stream->frame_idx == 1) in rkcif_assign_new_buffer_update_toisp()
2016 active_buf->dbufs.sequence = stream->frame_idx - 1; in rkcif_assign_new_buffer_update_toisp()
2019 stream->last_frame_idx = stream->frame_idx; in rkcif_assign_new_buffer_update_toisp()
2067 if (stream->frame_idx == 1) in rkcif_assign_new_buffer_update_toisp()
2069 active_buf->dbufs.sequence = stream->frame_idx - 1; in rkcif_assign_new_buffer_update_toisp()
2072 stream->last_frame_idx = stream->frame_idx; in rkcif_assign_new_buffer_update_toisp()
2086 stream->frame_idx - 1); in rkcif_assign_new_buffer_update_toisp()
[all …]
H A Dcif-tools.c467 tools_vdev->frame_idx = 0; in rkcif_tools_stop()
523 tools_vdev->frame_idx = 0; in rkcif_tools_start()
630 tools_buf->frame_idx = buf->vb.sequence; in rkcif_tools_buf_done()
684 tools_vdev->curr_buf->vb.sequence = tools_buf->frame_idx; in rkcif_tools_buf_done()
685 tools_vdev->curr_buf->vb.vb2_buf.timestamp = tools_buf->frame_idx; in rkcif_tools_buf_done()
805 tools_vdev->frame_idx = 0; in rkcif_init_tools_vdev()
H A Ddev.h198 u32 frame_idx; member
493 unsigned int frame_idx; member
698 unsigned int frame_idx; member
749 unsigned int frame_idx; member
H A Dcif-scale.c551 scale_vdev->frame_idx = 0; in rkcif_scale_stop()
848 scale_vdev->frame_idx = 0; in rkcif_scale_start()
994 scale_vdev->frame_idx = scale_vdev->stream->frame_idx; in rkcif_scale_update_stream()
998 vb_done->sequence = scale_vdev->frame_idx; in rkcif_scale_update_stream()
1067 scale_vdev->frame_idx = 0; in rkcif_init_scale_vdev()
H A Dhw.h72 u32 frame_idx; member
H A Dprocfs.c318 seq_printf(f, "\tframe amount:%d\n", stream->frame_idx - 1); in rkcif_show_format()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dehci-brcm.c29 u32 frame_idx = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_brcm_wait_for_sof() local
35 val != frame_idx, 1, 130); in ehci_brcm_wait_for_sof()
/OK3568_Linux_fs/kernel/drivers/staging/media/tegra-vde/
H A Dvde.c93 unsigned int frame_idx; in tegra_vde_setup_mbe_frame_idx() local
107 for (idx = 0, frame_idx = 1; idx < refs_nb; idx++, frame_idx++) { in tegra_vde_setup_mbe_frame_idx()
108 tegra_vde_writel(vde, 0xD0000000 | (frame_idx << 23), in tegra_vde_setup_mbe_frame_idx()
110 tegra_vde_writel(vde, 0xD0200000 | (frame_idx << 23), in tegra_vde_setup_mbe_frame_idx()
113 frame_idx_enb_mask |= frame_idx << (6 * (idx % 4)); in tegra_vde_setup_mbe_frame_idx()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/
H A Dvehicle_cif.h131 unsigned int frame_idx; member
H A Dvehicle_cif.c3559 cif->frame_idx = 0; in vehicle_cif_s_stream()
4074 cif->irqinfo.cifirq_normal_idx, cif->frame_idx); in rk_camera_irq()
4077 if (cif->irqinfo.cifirq_normal_idx == cif->frame_idx) { in rk_camera_irq()
4080 cif->irqinfo.cifirq_normal_idx = cif->frame_idx; in rk_camera_irq()
4183 cif->frame_idx++; in rk_camera_irq()
4271 cif->frame_idx++; in rk_camera_irq()
4297 cif->irqinfo.cifirq_normal_idx, cif->frame_idx); in rk_camera_irq_v1()
4300 if (cif->irqinfo.cifirq_normal_idx == cif->frame_idx) { in rk_camera_irq_v1()
4303 cif->irqinfo.cifirq_normal_idx = cif->frame_idx; in rk_camera_irq_v1()
4409 cif->frame_idx++; in rk_camera_irq_v1()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Dhcd_ddma.c415 static u8 dwc2_frame_to_desc_idx(struct dwc2_qh *qh, u16 frame_idx) in dwc2_frame_to_desc_idx() argument
419 return (frame_idx & ((MAX_DMA_DESC_NUM_HS_ISOC / 8) - 1)) * 8; in dwc2_frame_to_desc_idx()
421 return frame_idx & (MAX_DMA_DESC_NUM_GENERIC - 1); in dwc2_frame_to_desc_idx()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/hdmirx/
H A Drk_hdmirx.c175 u32 frame_idx; member
2064 stream->frame_idx = 0; in hdmirx_start_streaming()
2620 vb_done->sequence = stream->frame_idx; in dma_idle_int_handler()
2622 stream->frame_idx++; in dma_idle_int_handler()
2623 if (stream->frame_idx == 30) in dma_idle_int_handler()