Home
last modified time | relevance | path

Searched refs:curr_buf (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/drivers/media/pci/dt3155/
H A Ddt3155.c149 struct vb2_buffer *vb = &pd->curr_buf->vb2_buf; in dt3155_start_streaming()
196 if (pd->curr_buf) { in dt3155_stop_streaming()
197 vb2_buffer_done(&pd->curr_buf->vb2_buf, VB2_BUF_STATE_ERROR); in dt3155_stop_streaming()
198 pd->curr_buf = NULL; in dt3155_stop_streaming()
216 if (pd->curr_buf) in dt3155_buf_queue()
219 pd->curr_buf = vbuf; in dt3155_buf_queue()
255 if (ipd->curr_buf && !list_empty(&ipd->dmaq)) { in dt3155_irq_handler_even()
256 ipd->curr_buf->vb2_buf.timestamp = ktime_get_ns(); in dt3155_irq_handler_even()
257 ipd->curr_buf->sequence = ipd->sequence++; in dt3155_irq_handler_even()
258 ipd->curr_buf->field = V4L2_FIELD_NONE; in dt3155_irq_handler_even()
[all …]
H A Ddt3155.h174 struct vb2_v4l2_buffer *curr_buf; member
/linux-6.15/drivers/media/pci/cx18/
H A Dcx18-fileops.c254 mdl->curr_buf = NULL; in cx18_setup_sliced_vbi_mdl()
370 if (mdl->curr_buf == NULL) in cx18_copy_mdl_to_user()
371 mdl->curr_buf = list_first_entry(&mdl->buf_list, in cx18_copy_mdl_to_user()
374 if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_copy_mdl_to_user()
384 list_for_each_entry_from(mdl->curr_buf, &mdl->buf_list, list) { in cx18_copy_mdl_to_user()
386 if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) in cx18_copy_mdl_to_user()
389 rc = cx18_copy_buf_to_user(s, mdl->curr_buf, ubuf + tot_written, in cx18_copy_mdl_to_user()
398 mdl->curr_buf->readpos < mdl->curr_buf->bytesused || in cx18_copy_mdl_to_user()
H A Dcx18-ioctl.c763 if (mdl->curr_buf == NULL) in cx18_process_idx_data()
764 mdl->curr_buf = list_first_entry(&mdl->buf_list, in cx18_process_idx_data()
767 if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_process_idx_data()
777 list_for_each_entry_from(mdl->curr_buf, &mdl->buf_list, list) { in cx18_process_idx_data()
780 if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) in cx18_process_idx_data()
783 mdl->readpos += _cx18_process_idx_data(mdl->curr_buf, idx); in cx18_process_idx_data()
787 mdl->curr_buf->readpos < mdl->curr_buf->bytesused || in cx18_process_idx_data()
H A Dcx18-queue.c52 mdl->curr_buf = NULL; in _cx18_enqueue()
213 mdl->curr_buf = NULL; in cx18_queue_flush()
H A Dcx18-driver.h311 struct cx18_buffer *curr_buf; /* current buffer in list for reading */ member
/linux-6.15/drivers/media/platform/synopsys/hdmirx/
H A Dsnps_hdmirx.c109 struct hdmirx_buffer *curr_buf; member
1494 if (stream->curr_buf) in return_all_buffers()
1498 stream->curr_buf = NULL; in return_all_buffers()
1545 stream->curr_buf = NULL; in hdmirx_start_streaming()
1552 if (!stream->curr_buf) { in hdmirx_start_streaming()
1559 stream->curr_buf = NULL; in hdmirx_start_streaming()
1564 if (!stream->curr_buf) { in hdmirx_start_streaming()
1698 stream->curr_buf = NULL; in hdmirx_register_stream_vdev()
1946 if (stream->curr_buf) in dma_idle_int_handler()
1947 vb_done = &stream->curr_buf->vb; in dma_idle_int_handler()
[all …]
/linux-6.15/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-capture.c797 struct rkisp1_buffer *curr_buf; in rkisp1_handle_buffer() local
800 curr_buf = cap->buf.curr; in rkisp1_handle_buffer()
802 if (curr_buf) { in rkisp1_handle_buffer()
803 curr_buf->vb.sequence = isp->frame_sequence; in rkisp1_handle_buffer()
804 curr_buf->vb.vb2_buf.timestamp = ktime_get_boottime_ns(); in rkisp1_handle_buffer()
805 curr_buf->vb.field = V4L2_FIELD_NONE; in rkisp1_handle_buffer()
806 vb2_buffer_done(&curr_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in rkisp1_handle_buffer()
/linux-6.15/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c2071 ia_css_ptr *curr_buf, in realloc_isp_css_mm_buf() argument
2090 if (*curr_size == needed_size && ia_css_refcount_is_single(*curr_buf)) { in realloc_isp_css_mm_buf()
2096 ia_css_refcount_decrement(id, *curr_buf); in realloc_isp_css_mm_buf()
2097 *curr_buf = ia_css_refcount_increment(id, hmm_alloc(needed_size)); in realloc_isp_css_mm_buf()
2098 if (!*curr_buf) { in realloc_isp_css_mm_buf()
2109 ia_css_ptr *curr_buf, in reallocate_buffer() argument
2119 ret = realloc_isp_css_mm_buf(curr_buf, in reallocate_buffer()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtrans.c3171 u8 *cpu_addr = (void *)trans->dbg.fw_mon.block, *curr_buf; in iwl_dbgfs_monitor_data_read() local
3202 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
3204 curr_buf, &size, in iwl_dbgfs_monitor_data_read()
3211 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
3213 curr_buf, &size, in iwl_dbgfs_monitor_data_read()