Home
last modified time | relevance | path

Searched refs:curr_buf (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/pci/dt3155/
H A 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 in dt3155_irq_handler_even()
[all...]
H A Ddt3155.h156 * @curr_buf: pointer to curren buffer
175 struct vb2_v4l2_buffer *curr_buf; member
/kernel/linux/linux-6.6/drivers/media/pci/dt3155/
H A 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 in dt3155_irq_handler_even()
[all...]
H A Ddt3155.h156 * @curr_buf: pointer to curren buffer
175 struct vb2_v4l2_buffer *curr_buf; member
/kernel/linux/linux-6.6/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 in cx18_copy_mdl_to_user()
[all...]
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()
180 /* 0'ed readpos, m_flags & curr_buf when mdl went on q_busy */ in cx18_queue_get_mdl()
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
/kernel/linux/linux-5.10/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 in cx18_copy_mdl_to_user()
[all...]
H A Dcx18-ioctl.c730 if (mdl->curr_buf == NULL) in cx18_process_idx_data()
731 mdl->curr_buf = list_first_entry(&mdl->buf_list, in cx18_process_idx_data()
734 if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_process_idx_data()
744 list_for_each_entry_from(mdl->curr_buf, &mdl->buf_list, list) { in cx18_process_idx_data()
747 if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) in cx18_process_idx_data()
750 mdl->readpos += _cx18_process_idx_data(mdl->curr_buf, idx); in cx18_process_idx_data()
754 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()
180 /* 0'ed readpos, m_flags & curr_buf when mdl went on q_busy */ in cx18_queue_get_mdl()
213 mdl->curr_buf = NULL; in cx18_queue_flush()
H A Dcx18-driver.h304 struct cx18_buffer *curr_buf; /* current buffer in list for reading */ member
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
H A Drkisp1-capture.c670 struct rkisp1_buffer *curr_buf; in rkisp1_handle_buffer() local
673 curr_buf = cap->buf.curr; in rkisp1_handle_buffer()
675 if (curr_buf) { in rkisp1_handle_buffer()
676 curr_buf->vb.sequence = isp->frame_sequence; in rkisp1_handle_buffer()
677 curr_buf->vb.vb2_buf.timestamp = ktime_get_boottime_ns(); in rkisp1_handle_buffer()
678 curr_buf->vb.field = V4L2_FIELD_NONE; in rkisp1_handle_buffer()
679 vb2_buffer_done(&curr_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in rkisp1_handle_buffer()
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/
H A 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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c2173 ia_css_ptr *curr_buf, in realloc_isp_css_mm_buf()
2193 if (*curr_size == needed_size && ia_css_refcount_is_single(*curr_buf)) { in realloc_isp_css_mm_buf()
2199 ia_css_refcount_decrement(id, *curr_buf); in realloc_isp_css_mm_buf()
2200 *curr_buf = ia_css_refcount_increment(id, hmm_alloc(needed_size, in realloc_isp_css_mm_buf()
2205 if (!*curr_buf) { in realloc_isp_css_mm_buf()
2216 ia_css_ptr *curr_buf, in reallocate_buffer()
2226 ret = realloc_isp_css_mm_buf(curr_buf, in reallocate_buffer()
2172 realloc_isp_css_mm_buf( ia_css_ptr *curr_buf, size_t *curr_size, size_t needed_size, bool force, int *err, uint16_t mmgr_attribute) realloc_isp_css_mm_buf() argument
2215 reallocate_buffer( ia_css_ptr *curr_buf, size_t *curr_size, size_t needed_size, bool force, int *err) reallocate_buffer() argument
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c2080 ia_css_ptr *curr_buf, in realloc_isp_css_mm_buf()
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()
2128 ret = realloc_isp_css_mm_buf(curr_buf, in reallocate_buffer()
2079 realloc_isp_css_mm_buf( ia_css_ptr *curr_buf, size_t *curr_size, size_t needed_size, bool force, int *err) realloc_isp_css_mm_buf() argument
2117 reallocate_buffer( ia_css_ptr *curr_buf, size_t *curr_size, size_t needed_size, bool force, int *err) reallocate_buffer() argument
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtrans.c2858 void *cpu_addr = (void *)trans->dbg.fw_mon.block, *curr_buf; in iwl_dbgfs_monitor_data_read() local
2889 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
2891 curr_buf, &size, in iwl_dbgfs_monitor_data_read()
2898 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
2900 curr_buf, &size, in iwl_dbgfs_monitor_data_read()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtrans.c2932 u8 *cpu_addr = (void *)trans->dbg.fw_mon.block, *curr_buf; in iwl_dbgfs_monitor_data_read() local
2963 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
2965 curr_buf, &size, in iwl_dbgfs_monitor_data_read()
2972 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
2974 curr_buf, &size, in iwl_dbgfs_monitor_data_read()

Completed in 35 milliseconds