Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/pci/dt3155/
Ddt3155.c151 struct vb2_buffer *vb = &pd->curr_buf->vb2_buf; in dt3155_start_streaming()
198 if (pd->curr_buf) { in dt3155_stop_streaming()
199 vb2_buffer_done(&pd->curr_buf->vb2_buf, VB2_BUF_STATE_ERROR); in dt3155_stop_streaming()
200 pd->curr_buf = NULL; in dt3155_stop_streaming()
218 if (pd->curr_buf) in dt3155_buf_queue()
221 pd->curr_buf = vbuf; in dt3155_buf_queue()
259 if (ipd->curr_buf && !list_empty(&ipd->dmaq)) { in dt3155_irq_handler_even()
260 ipd->curr_buf->vb2_buf.timestamp = ktime_get_ns(); in dt3155_irq_handler_even()
261 ipd->curr_buf->sequence = ipd->sequence++; in dt3155_irq_handler_even()
262 ipd->curr_buf->field = V4L2_FIELD_NONE; in dt3155_irq_handler_even()
[all …]
Ddt3155.h175 struct vb2_v4l2_buffer *curr_buf; member
/Linux-v6.6/drivers/media/pci/cx18/
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()
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()
Dcx18-queue.c52 mdl->curr_buf = NULL; in _cx18_enqueue()
213 mdl->curr_buf = NULL; in cx18_queue_flush()
Dcx18-driver.h311 struct cx18_buffer *curr_buf; /* current buffer in list for reading */ member
/Linux-v6.6/drivers/media/platform/rockchip/rkisp1/
Drkisp1-capture.c701 struct rkisp1_buffer *curr_buf; in rkisp1_handle_buffer() local
704 curr_buf = cap->buf.curr; in rkisp1_handle_buffer()
706 if (curr_buf) { in rkisp1_handle_buffer()
707 curr_buf->vb.sequence = isp->frame_sequence; in rkisp1_handle_buffer()
708 curr_buf->vb.vb2_buf.timestamp = ktime_get_boottime_ns(); in rkisp1_handle_buffer()
709 curr_buf->vb.field = V4L2_FIELD_NONE; in rkisp1_handle_buffer()
710 vb2_buffer_done(&curr_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in rkisp1_handle_buffer()
/Linux-v6.6/drivers/staging/media/atomisp/pci/
Dsh_css_params.c2080 ia_css_ptr *curr_buf, in realloc_isp_css_mm_buf() argument
2099 if (*curr_size == needed_size && ia_css_refcount_is_single(*curr_buf)) { in realloc_isp_css_mm_buf()
2105 ia_css_refcount_decrement(id, *curr_buf); in realloc_isp_css_mm_buf()
2106 *curr_buf = ia_css_refcount_increment(id, hmm_alloc(needed_size)); in realloc_isp_css_mm_buf()
2107 if (!*curr_buf) { in realloc_isp_css_mm_buf()
2118 ia_css_ptr *curr_buf, in reallocate_buffer() argument
2128 ret = realloc_isp_css_mm_buf(curr_buf, in reallocate_buffer()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c2930 u8 *cpu_addr = (void *)trans->dbg.fw_mon.block, *curr_buf; in iwl_dbgfs_monitor_data_read() local
2961 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
2963 curr_buf, &size, in iwl_dbgfs_monitor_data_read()
2970 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
2972 curr_buf, &size, in iwl_dbgfs_monitor_data_read()