Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/media/test-drivers/vivid/
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 …]
Dvivid-meta-out.c20 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_queue_setup()
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue()
80 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_start_streaming()
108 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_stop_streaming()
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_request_complete()
135 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_meta_out()
151 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_meta_out()
162 void vivid_meta_out_process(struct vivid_dev *dev, in vivid_meta_out_process()
Dvivid-vbi-out.c22 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_out_queue_setup()
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_prepare()
71 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_queue()
83 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_out_start_streaming()
109 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_out_stop_streaming()
120 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_request_complete()
139 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_vbi_out()
162 struct vivid_dev *dev = video_drvdata(file); in vidioc_s_fmt_vbi_out()
176 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_sliced_vbi_out()
188 struct vivid_dev *dev = video_drvdata(file); in vidioc_try_fmt_sliced_vbi_out()
[all …]
Dvivid-vbi-cap.c18 static void vivid_sliced_vbi_cap_fill(struct vivid_dev *dev, unsigned seqnr) in vivid_sliced_vbi_cap_fill()
66 static void vivid_g_fmt_vbi_cap(struct vivid_dev *dev, struct v4l2_vbi_format *vbi) in vivid_g_fmt_vbi_cap()
82 void vivid_raw_vbi_cap_process(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_raw_vbi_cap_process()
101 void vivid_sliced_vbi_cap_process(struct vivid_dev *dev, in vivid_sliced_vbi_cap_process()
126 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 …]
Dvivid-meta-cap.c20 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_queue_setup()
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_prepare()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_queue()
80 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_start_streaming()
108 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_cap_stop_streaming()
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_request_complete()
135 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_meta_cap()
151 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_meta_cap()
162 void vivid_meta_cap_fillbuff(struct vivid_dev *dev, in vivid_meta_cap_fillbuff()
Dvivid-vid-out.c27 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_queue_setup()
90 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_out_validate()
104 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_prepare()
146 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_queue()
158 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_start_streaming()
187 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_stop_streaming()
196 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_request_complete()
217 void vivid_update_format_out(struct vivid_dev *dev) in vivid_update_format_out()
282 static enum v4l2_field vivid_field_out(struct vivid_dev *dev, enum v4l2_field field) in vivid_field_out()
303 static enum tpg_pixel_aspect vivid_get_pixel_aspect(const struct vivid_dev *dev) in vivid_get_pixel_aspect()
[all …]
Dvivid-vid-cap.c59 static inline unsigned int webcam_ival_count(const struct vivid_dev *dev, in webcam_ival_count()
79 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_queue_setup()
134 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_prepare()
174 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_finish()
200 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_queue()
212 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_start_streaming()
244 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_stop_streaming()
253 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_request_complete()
275 void vivid_update_quality(struct vivid_dev *dev) in vivid_update_quality()
323 static enum tpg_quality vivid_get_quality(struct vivid_dev *dev, s32 *afc) in vivid_get_quality()
[all …]
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);
Dvivid-touch-cap.c15 struct vivid_dev *dev = vb2_get_drv_priv(vq); in touch_cap_queue_setup()
35 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in touch_cap_buf_prepare()
60 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in touch_cap_buf_queue()
71 struct vivid_dev *dev = vb2_get_drv_priv(vq); in touch_cap_start_streaming()
97 struct vivid_dev *dev = vb2_get_drv_priv(vq); in touch_cap_stop_streaming()
104 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in touch_cap_buf_request_complete()
131 struct vivid_dev *dev = video_drvdata(file); in vivid_g_fmt_tch()
141 struct vivid_dev *dev = video_drvdata(file); in vivid_g_fmt_tch_mplane()
155 struct vivid_dev *dev = video_drvdata(file); in vivid_g_parm_tch()
185 int vivid_set_touch(struct vivid_dev *dev, unsigned int i) in vivid_set_touch()
[all …]
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()
229 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_prepare()
255 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_queue()
267 struct vivid_dev *dev = vb2_get_drv_priv(vq); in sdr_cap_start_streaming()
300 struct vivid_dev *dev = vb2_get_drv_priv(vq); in sdr_cap_stop_streaming()
323 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_request_complete()
361 struct vivid_dev *dev = video_drvdata(file); in vivid_sdr_g_frequency()
380 struct vivid_dev *dev = video_drvdata(file); in vivid_sdr_s_frequency()
459 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_sdr_cap()
[all …]
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);
Dvivid-vid-common.h23 const struct vivid_fmt *vivid_get_format(struct vivid_dev *dev, u32 pixelformat);
25 bool vivid_vid_can_loop(struct vivid_dev *dev);
26 void vivid_send_source_change(struct vivid_dev *dev, unsigned type);
Dvivid-cec.c23 static bool find_dest_adap(struct vivid_dev *dev, in find_dest_adap()
47 static bool xfer_ready(struct vivid_dev *dev) in xfer_ready()
72 static void adjust_sfts(struct vivid_dev *dev) in adjust_sfts()
103 struct vivid_dev *dev = _dev; in vivid_cec_bus_thread()
244 struct vivid_dev *dev = cec_get_drvdata(adap); in vivid_cec_adap_transmit()
266 struct vivid_dev *dev = cec_get_drvdata(adap); in vivid_received()
314 struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev, in vivid_cec_alloc_adap()
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);
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);
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);
Dvivid-core.h120 struct vivid_dev { struct
564 static inline bool vivid_is_webcam(const struct vivid_dev *dev) in vivid_is_webcam() argument
569 static inline bool vivid_is_tv_cap(const struct vivid_dev *dev) in vivid_is_tv_cap()
574 static inline bool vivid_is_svid_cap(const struct vivid_dev *dev) in vivid_is_svid_cap()
579 static inline bool vivid_is_hdmi_cap(const struct vivid_dev *dev) in vivid_is_hdmi_cap()
584 static inline bool vivid_is_sdtv_cap(const struct vivid_dev *dev) in vivid_is_sdtv_cap()
589 static inline bool vivid_is_svid_out(const struct vivid_dev *dev) in vivid_is_svid_out()
594 static inline bool vivid_is_hdmi_out(const struct vivid_dev *dev) in vivid_is_hdmi_out()
Dvivid-ctrls.c119 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_gen); in vivid_user_gen_s_ctrl()
364 struct vivid_dev *dev = container_of(ctrl->handler, in vivid_fb_s_ctrl()
365 struct vivid_dev, ctrl_hdl_fb); in vivid_fb_s_ctrl()
391 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_vid); in vivid_user_vid_g_volatile_ctrl()
403 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_vid); in vivid_user_vid_s_ctrl()
455 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vid_cap); in vivid_vid_cap_s_ctrl()
973 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_loop_cap); in vivid_loop_cap_s_ctrl()
1004 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vbi_cap); in vivid_vbi_cap_s_ctrl()
1032 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vid_out); in vivid_vid_out_s_ctrl()
1152 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_streaming); in vivid_streaming_s_ctrl()
[all …]
Dvivid-ctrls.h17 int vivid_create_controls(struct vivid_dev *dev, bool show_ccs_cap,
20 void vivid_free_controls(struct vivid_dev *dev);
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()
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()
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);
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 enum tpg_video_aspect vivid_get_video_aspect(const struct vivid_dev *dev);
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()
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()

12