Home
last modified time | relevance | path

Searched refs:vivid_dev (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/media/test-drivers/vivid/
H A Dvivid-vid-common.h23 const struct vivid_fmt *vivid_get_format(struct vivid_dev *dev, u32 pixelformat);
25 struct vivid_dev *vivid_input_is_connected_to(struct vivid_dev *dev);
26 struct vivid_dev *vivid_output_is_connected_to(struct vivid_dev *dev);
27 bool vivid_vid_can_loop(struct vivid_dev *dev);
28 void vivid_send_source_change(struct vivid_dev *dev, unsigned int type);
29 void vivid_send_input_source_change(struct vivid_dev *dev, unsigned int input_index);
H A Dvivid-osd.c48 void vivid_clear_fb(struct vivid_dev *dev) in vivid_clear_fb()
70 struct vivid_dev *dev = (struct vivid_dev *)info->par; in vivid_fb_ioctl()
96 static int vivid_fb_set_var(struct vivid_dev *dev, struct fb_var_screeninfo *var) in vivid_fb_set_var()
109 static int vivid_fb_get_fix(struct vivid_dev *dev, struct fb_fix_screeninfo *fix) in vivid_fb_get_fix()
129 static int _vivid_fb_check_var(struct fb_var_screeninfo *var, struct vivid_dev *dev) in _vivid_fb_check_var()
171 struct vivid_dev *dev = (struct vivid_dev *) info->par; in vivid_fb_check_var()
185 struct vivid_dev *dev = (struct vivid_dev *) info->par; in vivid_fb_set_par()
232 struct vivid_dev *dev = (struct vivid_dev *)info->par; in vivid_fb_blank()
263 static int vivid_fb_init_vidmode(struct vivid_dev *dev) in vivid_fb_init_vidmode()
336 void vivid_fb_release_buffers(struct vivid_dev *dev) in vivid_fb_release_buffers()
[all …]
H A Dvivid-meta-out.c20 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_queue_setup()
39 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare()
65 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue()
77 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_start_streaming()
105 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_stop_streaming()
113 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_request_complete()
132 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_meta_out()
148 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_meta_out()
159 void vivid_meta_out_process(struct vivid_dev *dev, in vivid_meta_out_process()
H A Dvivid-vbi-cap.c19 static void vivid_sliced_vbi_cap_fill(struct vivid_dev *dev, unsigned seqnr) in vivid_sliced_vbi_cap_fill()
67 static void vivid_g_fmt_vbi_cap(struct vivid_dev *dev, struct v4l2_vbi_format *vbi) in vivid_g_fmt_vbi_cap()
83 void vivid_raw_vbi_cap_process(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_raw_vbi_cap_process()
102 void vivid_sliced_vbi_cap_process(struct vivid_dev *dev, in vivid_sliced_vbi_cap_process()
127 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_cap_queue_setup()
146 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_prepare()
175 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_queue()
187 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_cap_start_streaming()
213 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_cap_stop_streaming()
221 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_request_complete()
[all …]
H A Dvivid-vbi-out.c22 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_out_queue_setup()
41 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_prepare()
70 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_queue()
82 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_out_start_streaming()
108 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_out_stop_streaming()
119 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_request_complete()
138 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_vbi_out()
161 struct vivid_dev *dev = video_drvdata(file); in vidioc_s_fmt_vbi_out()
175 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_sliced_vbi_out()
187 struct vivid_dev *dev = video_drvdata(file); in vidioc_try_fmt_sliced_vbi_out()
[all …]
H A Dvivid-meta-cap.c20 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_queue_setup()
39 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_prepare()
65 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_queue()
77 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_start_streaming()
105 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_stop_streaming()
113 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_request_complete()
132 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_meta_cap()
148 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_meta_cap()
159 void vivid_meta_cap_fillbuff(struct vivid_dev *dev, in vivid_meta_cap_fillbuff()
H A Dvivid-vid-out.c27 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_queue_setup()
89 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_out_validate()
103 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_prepare()
145 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_queue()
157 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_start_streaming()
183 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_stop_streaming()
191 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_request_complete()
212 void vivid_update_format_out(struct vivid_dev *dev) in vivid_update_format_out()
277 static enum v4l2_field vivid_field_out(struct vivid_dev *dev, enum v4l2_field field) in vivid_field_out()
298 static enum tpg_pixel_aspect vivid_get_pixel_aspect(const struct vivid_dev *dev) in vivid_get_pixel_aspect()
[all …]
H A Dvivid-touch-cap.c15 struct vivid_dev *dev = vb2_get_drv_priv(vq); in touch_cap_queue_setup()
32 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in touch_cap_buf_prepare()
57 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in touch_cap_buf_queue()
68 struct vivid_dev *dev = vb2_get_drv_priv(vq); in touch_cap_start_streaming()
94 struct vivid_dev *dev = vb2_get_drv_priv(vq); in touch_cap_stop_streaming()
101 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in touch_cap_buf_request_complete()
128 struct vivid_dev *dev = video_drvdata(file); in vivid_g_fmt_tch()
138 struct vivid_dev *dev = video_drvdata(file); in vivid_g_fmt_tch_mplane()
152 struct vivid_dev *dev = video_drvdata(file); in vivid_g_parm_tch()
182 int vivid_set_touch(struct vivid_dev *dev, unsigned int i) in vivid_set_touch()
[all …]
H A Dvivid-osd.h11 int vivid_fb_init(struct vivid_dev *dev);
12 void vivid_fb_release_buffers(struct vivid_dev *dev);
13 void vivid_clear_fb(struct vivid_dev *dev);
H A Dvivid-cec.c23 static bool find_dest_adap(struct vivid_dev *dev, in find_dest_adap()
46 struct vivid_dev *dev_tx = vivid_ctrl_hdmi_to_output_instance[menu_idx]; in find_dest_adap()
64 static bool xfer_ready(struct vivid_dev *dev) in xfer_ready()
89 static void adjust_sfts(struct vivid_dev *dev) in adjust_sfts()
120 struct vivid_dev *dev = _dev; in vivid_cec_bus_thread()
223 struct vivid_dev *dev_tx = vivid_ctrl_hdmi_to_output_instance[menu_idx]; in vivid_cec_bus_thread()
279 struct vivid_dev *dev = cec_get_drvdata(adap); in vivid_cec_adap_transmit()
280 struct vivid_dev *dev_rx = dev; in vivid_cec_adap_transmit()
316 struct vivid_dev *dev = cec_get_drvdata(adap); in vivid_received()
406 struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev, in vivid_cec_alloc_adap()
H A Dvivid-vid-common.c757 const struct vivid_fmt *vivid_get_format(struct vivid_dev *dev, u32 pixelformat) in vivid_get_format()
772 struct vivid_dev *vivid_output_is_connected_to(struct vivid_dev *dev) in vivid_output_is_connected_to()
774 struct vivid_dev *input_inst = dev->output_to_input_instance[dev->output]; in vivid_output_is_connected_to()
783 struct vivid_dev *vivid_input_is_connected_to(struct vivid_dev *dev) in vivid_input_is_connected_to()
789 struct vivid_dev *output_inst = NULL; in vivid_input_is_connected_to()
807 bool vivid_vid_can_loop(struct vivid_dev *dev) in vivid_vid_can_loop()
809 struct vivid_dev *output_inst = vivid_input_is_connected_to(dev); in vivid_vid_can_loop()
837 void vivid_send_input_source_change(struct vivid_dev *dev, unsigned int input_index) in vivid_send_input_source_change()
852 void vivid_send_source_change(struct vivid_dev *dev, unsigned int type) in vivid_send_source_change()
969 struct vivid_dev *dev = video_drvdata(file); in vivid_enum_fmt_vid()
[all …]
H A Dvivid-vid-cap.h11 void vivid_update_quality(struct vivid_dev *dev);
12 void vivid_update_format_cap(struct vivid_dev *dev, bool keep_controls);
13 void vivid_update_outputs(struct vivid_dev *dev);
14 void vivid_update_connected_outputs(struct vivid_dev *dev);
15 enum tpg_video_aspect vivid_get_video_aspect(const struct vivid_dev *dev);
H A Dvivid-sdr-cap.c85 static void vivid_thread_sdr_cap_tick(struct vivid_dev *dev) in vivid_thread_sdr_cap_tick()
121 struct vivid_dev *dev = data; in vivid_thread_sdr_cap()
234 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_prepare()
260 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_queue()
272 struct vivid_dev *dev = vb2_get_drv_priv(vq); in sdr_cap_start_streaming()
305 struct vivid_dev *dev = vb2_get_drv_priv(vq); in sdr_cap_stop_streaming()
328 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_request_complete()
366 struct vivid_dev *dev = video_drvdata(file); in vivid_sdr_g_frequency()
385 struct vivid_dev *dev = video_drvdata(file); in vivid_sdr_s_frequency()
464 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_sdr_cap()
[all …]
H A Dvivid-vbi-cap.h12 void vivid_raw_vbi_cap_process(struct vivid_dev *dev, struct vivid_buffer *buf);
13 void vivid_sliced_vbi_cap_process(struct vivid_dev *dev, struct vivid_buffer *buf);
14 void vivid_sliced_vbi_out_process(struct vivid_dev *dev, struct vivid_buffer *buf);
H A Dvivid-kthread-touch.h10 int vivid_start_generating_touch_cap(struct vivid_dev *dev);
11 void vivid_stop_generating_touch_cap(struct vivid_dev *dev);
H A Dvivid-kthread-out.h11 int vivid_start_generating_vid_out(struct vivid_dev *dev, bool *pstreaming);
12 void vivid_stop_generating_vid_out(struct vivid_dev *dev, bool *pstreaming);
H A Dvivid-kthread-cap.h11 int vivid_start_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming);
12 void vivid_stop_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming);
H A Dvivid-ctrls.h17 int vivid_create_controls(struct vivid_dev *dev, bool show_ccs_cap,
20 void vivid_free_controls(struct vivid_dev *dev);
H A Dvivid-kthread-touch.c13 static noinline_for_stack void vivid_thread_tch_cap_tick(struct vivid_dev *dev, in vivid_thread_tch_cap_tick()
46 struct vivid_dev *dev = data; in vivid_thread_touch_cap()
146 int vivid_start_generating_touch_cap(struct vivid_dev *dev) in vivid_start_generating_touch_cap()
169 void vivid_stop_generating_touch_cap(struct vivid_dev *dev) in vivid_stop_generating_touch_cap()
H A Dvivid-radio-tx.c26 struct vivid_dev *dev = video_drvdata(file); in vivid_radio_tx_write()
101 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_modulator()
120 struct vivid_dev *dev = video_drvdata(file); in vidioc_s_modulator()
H A Dvivid-kthread-cap.c45 static inline v4l2_std_id vivid_get_std_cap(const struct vivid_dev *dev) in vivid_get_std_cap()
52 static void copy_pix(struct vivid_dev *dev, int win_y, int win_x, in copy_pix()
80 static void blend_line(struct vivid_dev *dev, unsigned y_offset, unsigned x_offset, in blend_line()
145 static void vivid_precalc_copy_rects(struct vivid_dev *dev, struct vivid_dev *out_dev) in vivid_precalc_copy_rects()
216 static noinline_for_stack int vivid_copy_buffer(struct vivid_dev *dev, in vivid_copy_buffer()
217 struct vivid_dev *out_dev, unsigned p, in vivid_copy_buffer()
387 static void vivid_fillbuff(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_fillbuff()
389 struct vivid_dev *out_dev = NULL; in vivid_fillbuff()
560 static void vivid_cap_update_frame_period(struct vivid_dev *dev) in vivid_cap_update_frame_period()
579 static noinline_for_stack void vivid_thread_vid_cap_tick(struct vivid_dev *dev, in vivid_thread_vid_cap_tick()
[all …]
H A Dvivid-touch-cap.h35 void vivid_fillbuff_tch(struct vivid_dev *dev, struct vivid_buffer *buf);
36 int vivid_set_touch(struct vivid_dev *dev, unsigned int i);
H A Dvivid-kthread-out.c44 static void vivid_thread_vid_out_tick(struct vivid_dev *dev) in vivid_thread_vid_out_tick()
142 struct vivid_dev *dev = data; in vivid_thread_vid_out()
246 static void vivid_grab_controls(struct vivid_dev *dev, bool grab) in vivid_grab_controls()
255 int vivid_start_generating_vid_out(struct vivid_dev *dev, bool *pstreaming) in vivid_start_generating_vid_out()
295 void vivid_stop_generating_vid_out(struct vivid_dev *dev, bool *pstreaming) in vivid_stop_generating_vid_out()
H A Dvivid-radio-common.c59 void vivid_radio_rds_init(struct vivid_dev *dev) in vivid_radio_rds_init()
106 static void vivid_radio_calc_sig_qual(struct vivid_dev *dev) in vivid_radio_calc_sig_qual()
151 struct vivid_dev *dev = video_drvdata(file); in vivid_radio_s_frequency()
H A Dvivid-radio-rx.c28 struct vivid_dev *dev = video_drvdata(file); in vivid_radio_rx_read()
150 struct vivid_dev *dev = video_drvdata(file); in vivid_radio_rx_s_hw_freq_seek()
219 struct vivid_dev *dev = video_drvdata(file); in vivid_radio_rx_g_tuner()
272 struct vivid_dev *dev = video_drvdata(file); in vivid_radio_rx_s_tuner()

12