Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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.c720 if (mdl->curr_buf == NULL) in cx18_process_idx_data()
721 mdl->curr_buf = list_first_entry(&mdl->buf_list, in cx18_process_idx_data()
724 if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_process_idx_data()
734 list_for_each_entry_from(mdl->curr_buf, &mdl->buf_list, list) { in cx18_process_idx_data()
737 if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) in cx18_process_idx_data()
740 mdl->readpos += _cx18_process_idx_data(mdl->curr_buf, idx); in cx18_process_idx_data()
744 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.h304 struct cx18_buffer *curr_buf; /* current buffer in list for reading */ member
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c2804 void *cpu_addr = (void *)trans->dbg.fw_mon[0].block, *curr_buf; in iwl_dbgfs_monitor_data_read() local
2835 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
2837 curr_buf, &size, in iwl_dbgfs_monitor_data_read()
2844 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
2846 curr_buf, &size, in iwl_dbgfs_monitor_data_read()