/drivers/media/test-drivers/vivid/ |
D | vivid-osd.c | 48 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() 265 static int vivid_fb_init_vidmode(struct vivid_dev *dev) in vivid_fb_init_vidmode() 339 void vivid_fb_release_buffers(struct vivid_dev *dev) in vivid_fb_release_buffers() [all …]
|
D | vivid-vbi-cap.c | 18 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 …]
|
D | vivid-vbi-out.c | 22 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 …]
|
D | vivid-meta-out.c | 20 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()
|
D | vivid-meta-cap.c | 20 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()
|
D | vivid-vid-cap.c | 86 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_queue_setup() 141 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_prepare() 181 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_finish() 207 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_queue() 219 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_start_streaming() 251 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_stop_streaming() 260 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_request_complete() 282 void vivid_update_quality(struct vivid_dev *dev) in vivid_update_quality() 330 static enum tpg_quality vivid_get_quality(struct vivid_dev *dev, s32 *afc) in vivid_get_quality() 352 enum tpg_video_aspect vivid_get_video_aspect(const struct vivid_dev *dev) in vivid_get_video_aspect() [all …]
|
D | vivid-vid-out.c | 27 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 …]
|
D | vivid-touch-cap.c | 15 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 …]
|
D | vivid-sdr-cap.c | 85 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 …]
|
D | vivid-osd.h | 11 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);
|
D | vivid-ctrls.c | 117 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_gen); in vivid_user_gen_s_ctrl() 338 struct vivid_dev *dev = container_of(ctrl->handler, in vivid_fb_s_ctrl() 339 struct vivid_dev, ctrl_hdl_fb); in vivid_fb_s_ctrl() 365 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_vid); in vivid_user_vid_g_volatile_ctrl() 377 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_vid); in vivid_user_vid_s_ctrl() 429 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vid_cap); in vivid_vid_cap_s_ctrl() 947 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_loop_cap); in vivid_loop_cap_s_ctrl() 978 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vbi_cap); in vivid_vbi_cap_s_ctrl() 1006 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vid_out); in vivid_vid_out_s_ctrl() 1126 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_streaming); in vivid_streaming_s_ctrl() [all …]
|
D | vivid-cec.c | 23 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()
|
D | vivid-vbi-cap.h | 12 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);
|
D | vivid-vid-common.h | 23 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);
|
D | vivid-core.h | 122 struct vivid_dev { struct 581 static inline bool vivid_is_webcam(const struct vivid_dev *dev) in vivid_is_webcam() argument 586 static inline bool vivid_is_tv_cap(const struct vivid_dev *dev) in vivid_is_tv_cap() 591 static inline bool vivid_is_svid_cap(const struct vivid_dev *dev) in vivid_is_svid_cap() 596 static inline bool vivid_is_hdmi_cap(const struct vivid_dev *dev) in vivid_is_hdmi_cap() 601 static inline bool vivid_is_sdtv_cap(const struct vivid_dev *dev) in vivid_is_sdtv_cap() 606 static inline bool vivid_is_svid_out(const struct vivid_dev *dev) in vivid_is_svid_out() 611 static inline bool vivid_is_hdmi_out(const struct vivid_dev *dev) in vivid_is_hdmi_out()
|
D | vivid-kthread-touch.c | 13 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()
|
D | vivid-kthread-touch.h | 10 int vivid_start_generating_touch_cap(struct vivid_dev *dev); 11 void vivid_stop_generating_touch_cap(struct vivid_dev *dev);
|
D | vivid-kthread-cap.h | 11 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);
|
D | vivid-kthread-out.h | 11 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);
|
D | vivid-ctrls.h | 17 int vivid_create_controls(struct vivid_dev *dev, bool show_ccs_cap, 20 void vivid_free_controls(struct vivid_dev *dev);
|
D | vivid-radio-tx.c | 26 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()
|
D | vivid-kthread-cap.c | 45 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() 101 static void blend_line(struct vivid_dev *dev, unsigned y_offset, unsigned x_offset, in blend_line() 166 static void vivid_precalc_copy_rects(struct vivid_dev *dev) in vivid_precalc_copy_rects() 237 static noinline_for_stack int vivid_copy_buffer(struct vivid_dev *dev, unsigned p, in vivid_copy_buffer() 407 static void vivid_fillbuff(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_fillbuff() 560 static bool valid_pix(struct vivid_dev *dev, int win_y, int win_x, int fb_y, int fb_x) in valid_pix() 595 static void vivid_overlay(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_overlay() 660 static void vivid_cap_update_frame_period(struct vivid_dev *dev) in vivid_cap_update_frame_period() 679 static noinline_for_stack void vivid_thread_vid_cap_tick(struct vivid_dev *dev, in vivid_thread_vid_cap_tick() [all …]
|
D | vivid-vid-cap.h | 11 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);
|
D | vivid-vid-common.c | 757 const struct vivid_fmt *vivid_get_format(struct vivid_dev *dev, u32 pixelformat) in vivid_get_format() 772 bool vivid_vid_can_loop(struct vivid_dev *dev) in vivid_vid_can_loop() 799 void vivid_send_source_change(struct vivid_dev *dev, unsigned type) in vivid_send_source_change() 928 struct vivid_dev *dev = video_drvdata(file); in vivid_enum_fmt_vid() 968 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_std() 986 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_dv_timings() 1004 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_dv_timings() 1021 struct vivid_dev *dev = video_drvdata(file); in vidioc_dv_timings_cap() 1038 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_edid()
|
D | vivid-kthread-out.c | 44 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()
|