Searched refs:curr_buf (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/media/pci/dt3155/ |
D | dt3155.c | 151 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 …]
|
D | dt3155.h | 175 struct vb2_v4l2_buffer *curr_buf; member
|
/Linux-v6.1/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 254 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()
|
D | cx18-ioctl.c | 728 if (mdl->curr_buf == NULL) in cx18_process_idx_data() 729 mdl->curr_buf = list_first_entry(&mdl->buf_list, in cx18_process_idx_data() 732 if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_process_idx_data() 742 list_for_each_entry_from(mdl->curr_buf, &mdl->buf_list, list) { in cx18_process_idx_data() 745 if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) in cx18_process_idx_data() 748 mdl->readpos += _cx18_process_idx_data(mdl->curr_buf, idx); in cx18_process_idx_data() 752 mdl->curr_buf->readpos < mdl->curr_buf->bytesused || in cx18_process_idx_data()
|
D | cx18-queue.c | 52 mdl->curr_buf = NULL; in _cx18_enqueue() 213 mdl->curr_buf = NULL; in cx18_queue_flush()
|
D | cx18-driver.h | 304 struct cx18_buffer *curr_buf; /* current buffer in list for reading */ member
|
/Linux-v6.1/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-capture.c | 679 struct rkisp1_buffer *curr_buf; in rkisp1_handle_buffer() local 682 curr_buf = cap->buf.curr; in rkisp1_handle_buffer() 684 if (curr_buf) { in rkisp1_handle_buffer() 685 curr_buf->vb.sequence = isp->frame_sequence; in rkisp1_handle_buffer() 686 curr_buf->vb.vb2_buf.timestamp = ktime_get_boottime_ns(); in rkisp1_handle_buffer() 687 curr_buf->vb.field = V4L2_FIELD_NONE; in rkisp1_handle_buffer() 688 vb2_buffer_done(&curr_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in rkisp1_handle_buffer()
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/ |
D | sh_css_params.c | 2071 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-v6.1/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 2877 u8 *cpu_addr = (void *)trans->dbg.fw_mon.block, *curr_buf; in iwl_dbgfs_monitor_data_read() local 2908 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read() 2910 curr_buf, &size, in iwl_dbgfs_monitor_data_read() 2917 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read() 2919 curr_buf, &size, in iwl_dbgfs_monitor_data_read()
|