Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/media/platform/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()
265 static int vivid_fb_init_vidmode(struct vivid_dev *dev) in vivid_fb_init_vidmode()
340 void vivid_fb_release_buffers(struct vivid_dev *dev) in vivid_fb_release_buffers()
[all …]
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()
131 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_vbi_out()
154 struct vivid_dev *dev = video_drvdata(file); in vidioc_s_fmt_vbi_out()
168 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_sliced_vbi_out()
180 struct vivid_dev *dev = video_drvdata(file); in vidioc_try_fmt_sliced_vbi_out()
197 struct vivid_dev *dev = video_drvdata(file); in vidioc_s_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()
103 void vivid_sliced_vbi_cap_process(struct vivid_dev *dev, in vivid_sliced_vbi_cap_process()
130 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_cap_queue_setup()
150 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_prepare()
179 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_cap_buf_queue()
191 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_cap_start_streaming()
217 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vbi_cap_stop_streaming()
236 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_vbi_cap()
[all …]
Dvivid-vid-cap.c88 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_queue_setup()
142 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_prepare()
180 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_finish()
206 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_queue()
218 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_start_streaming()
253 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_stop_streaming()
276 void vivid_update_quality(struct vivid_dev *dev) in vivid_update_quality()
322 static enum tpg_quality vivid_get_quality(struct vivid_dev *dev, s32 *afc) in vivid_get_quality()
344 enum tpg_video_aspect vivid_get_video_aspect(const struct vivid_dev *dev) in vivid_get_video_aspect()
355 static enum tpg_pixel_aspect vivid_get_pixel_aspect(const struct vivid_dev *dev) in vivid_get_pixel_aspect()
[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-cec.h9 struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev,
12 void vivid_cec_bus_free_work(struct vivid_dev *dev);
16 static inline void vivid_cec_bus_free_work(struct vivid_dev *dev) in vivid_cec_bus_free_work()
Dvivid-vid-out.c27 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_queue_setup()
87 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_prepare()
131 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_queue()
143 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_start_streaming()
175 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_stop_streaming()
196 void vivid_update_format_out(struct vivid_dev *dev) in vivid_update_format_out()
261 static enum v4l2_field vivid_field_out(struct vivid_dev *dev, enum v4l2_field field) in vivid_field_out()
282 static enum tpg_pixel_aspect vivid_get_pixel_aspect(const struct vivid_dev *dev) in vivid_get_pixel_aspect()
299 struct vivid_dev *dev = video_drvdata(file); in vivid_g_fmt_vid_out()
330 struct vivid_dev *dev = video_drvdata(file); in vivid_try_fmt_vid_out()
[all …]
Dvivid-cec.c22 void vivid_cec_bus_free_work(struct vivid_dev *dev) in vivid_cec_bus_free_work()
40 static bool vivid_cec_find_dest_adap(struct vivid_dev *dev, in vivid_cec_find_dest_adap()
112 static void vivid_cec_pin_events(struct vivid_dev *dev, in vivid_cec_pin_events()
127 struct vivid_dev *dev = cw->dev; in vivid_cec_xfer_done_worker()
159 struct vivid_dev *dev = cw->dev; in vivid_cec_xfer_try_worker()
196 struct vivid_dev *dev = cec_get_drvdata(adap); in vivid_cec_adap_transmit()
227 struct vivid_dev *dev = cec_get_drvdata(adap); in vivid_received()
275 struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev, in vivid_cec_alloc_adap()
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-sdr-cap.c84 static void vivid_thread_sdr_cap_tick(struct vivid_dev *dev) in vivid_thread_sdr_cap_tick()
116 struct vivid_dev *dev = data; in vivid_thread_sdr_cap()
214 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_prepare()
240 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_queue()
252 struct vivid_dev *dev = vb2_get_drv_priv(vq); in sdr_cap_start_streaming()
285 struct vivid_dev *dev = vb2_get_drv_priv(vq); in sdr_cap_stop_streaming()
338 struct vivid_dev *dev = video_drvdata(file); in vivid_sdr_g_frequency()
357 struct vivid_dev *dev = video_drvdata(file); in vivid_sdr_s_frequency()
436 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_sdr_cap()
446 struct vivid_dev *dev = video_drvdata(file); in vidioc_s_fmt_sdr_cap()
[all …]
Dvivid-core.h129 struct vivid_dev *dev;
136 struct vivid_dev { struct
519 static inline bool vivid_is_webcam(const struct vivid_dev *dev) in vivid_is_webcam() argument
524 static inline bool vivid_is_tv_cap(const struct vivid_dev *dev) in vivid_is_tv_cap()
529 static inline bool vivid_is_svid_cap(const struct vivid_dev *dev) in vivid_is_svid_cap()
534 static inline bool vivid_is_hdmi_cap(const struct vivid_dev *dev) in vivid_is_hdmi_cap()
539 static inline bool vivid_is_sdtv_cap(const struct vivid_dev *dev) in vivid_is_sdtv_cap()
544 static inline bool vivid_is_svid_out(const struct vivid_dev *dev) in vivid_is_svid_out()
549 static inline bool vivid_is_hdmi_out(const struct vivid_dev *dev) in vivid_is_hdmi_out()
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-ctrls.c98 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_gen); in vivid_user_gen_s_ctrl()
267 struct vivid_dev *dev = container_of(ctrl->handler, in vivid_fb_s_ctrl()
268 struct vivid_dev, ctrl_hdl_fb); in vivid_fb_s_ctrl()
294 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_vid); in vivid_user_vid_g_volatile_ctrl()
306 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_vid); in vivid_user_vid_s_ctrl()
358 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vid_cap); in vivid_vid_cap_s_ctrl()
849 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_loop_cap); in vivid_loop_cap_s_ctrl()
880 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vbi_cap); in vivid_vbi_cap_s_ctrl()
908 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vid_out); in vivid_vid_out_s_ctrl()
986 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_streaming); in vivid_streaming_s_ctrl()
[all …]
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-ctrls.h17 int vivid_create_controls(struct vivid_dev *dev, bool show_ccs_cap,
20 void vivid_free_controls(struct vivid_dev *dev);
Dvivid-vid-common.c558 const struct vivid_fmt *vivid_get_format(struct vivid_dev *dev, u32 pixelformat) in vivid_get_format()
573 bool vivid_vid_can_loop(struct vivid_dev *dev) in vivid_vid_can_loop()
600 void vivid_send_source_change(struct vivid_dev *dev, unsigned type) in vivid_send_source_change()
729 struct vivid_dev *dev = video_drvdata(file); in vivid_enum_fmt_vid()
745 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_vid_mplane()
755 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_vid()
764 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_std()
782 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_dv_timings()
800 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_dv_timings()
817 struct vivid_dev *dev = video_drvdata(file); in vidioc_dv_timings_cap()
[all …]
Dvivid-kthread-out.c42 static void vivid_thread_vid_out_tick(struct vivid_dev *dev) in vivid_thread_vid_out_tick()
111 struct vivid_dev *dev = data; in vivid_thread_vid_out()
206 static void vivid_grab_controls(struct vivid_dev *dev, bool grab) in vivid_grab_controls()
215 int vivid_start_generating_vid_out(struct vivid_dev *dev, bool *pstreaming) in vivid_start_generating_vid_out()
249 void vivid_stop_generating_vid_out(struct vivid_dev *dev, bool *pstreaming) in vivid_stop_generating_vid_out()
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-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-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()
Dvivid-kthread-cap.c43 static inline v4l2_std_id vivid_get_std_cap(const struct vivid_dev *dev) in vivid_get_std_cap()
50 static void copy_pix(struct vivid_dev *dev, int win_y, int win_x, in copy_pix()
99 static void blend_line(struct vivid_dev *dev, unsigned y_offset, unsigned x_offset, in blend_line()
164 static void vivid_precalc_copy_rects(struct vivid_dev *dev) in vivid_precalc_copy_rects()
235 static int vivid_copy_buffer(struct vivid_dev *dev, unsigned p, u8 *vcapbuf, in vivid_copy_buffer()
405 static void vivid_fillbuff(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_fillbuff()
570 static bool valid_pix(struct vivid_dev *dev, int win_y, int win_x, int fb_y, int fb_x) in valid_pix()
605 static void vivid_overlay(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_overlay()
670 static void vivid_thread_vid_cap_tick(struct vivid_dev *dev, int dropped_bufs) in vivid_thread_vid_cap_tick()
742 struct vivid_dev *dev = data; in vivid_thread_vid_cap()
[all …]
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()
Dvivid-radio-common.h26 void vivid_radio_rds_init(struct vivid_dev *dev);
Dvivid-vbi-out.h11 void vivid_sliced_vbi_out_process(struct vivid_dev *dev, struct vivid_buffer *buf);

12