/Linux-v5.4/drivers/media/platform/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() 340 void vivid_fb_release_buffers(struct vivid_dev *dev) in vivid_fb_release_buffers() [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-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-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() 254 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_cap_stop_streaming() 263 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_cap_buf_request_complete() 285 void vivid_update_quality(struct vivid_dev *dev) in vivid_update_quality() 333 static enum tpg_quality vivid_get_quality(struct vivid_dev *dev, s32 *afc) in vivid_get_quality() 355 enum tpg_video_aspect vivid_get_video_aspect(const struct vivid_dev *dev) in vivid_get_video_aspect() [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-cec.h | 9 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()
|
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() 190 struct vivid_dev *dev = vb2_get_drv_priv(vq); in vid_out_stop_streaming() 199 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vid_out_buf_request_complete() 220 void vivid_update_format_out(struct vivid_dev *dev) in vivid_update_format_out() 285 static enum v4l2_field vivid_field_out(struct vivid_dev *dev, enum v4l2_field field) in vivid_field_out() 306 static enum tpg_pixel_aspect vivid_get_pixel_aspect(const struct vivid_dev *dev) in vivid_get_pixel_aspect() [all …]
|
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-cec.c | 22 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()
|
D | vivid-sdr-cap.c | 84 static void vivid_thread_sdr_cap_tick(struct vivid_dev *dev) in vivid_thread_sdr_cap_tick() 120 struct vivid_dev *dev = data; in vivid_thread_sdr_cap() 218 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_prepare() 244 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_queue() 256 struct vivid_dev *dev = vb2_get_drv_priv(vq); in sdr_cap_start_streaming() 289 struct vivid_dev *dev = vb2_get_drv_priv(vq); in sdr_cap_stop_streaming() 314 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in sdr_cap_buf_request_complete() 352 struct vivid_dev *dev = video_drvdata(file); in vivid_sdr_g_frequency() 371 struct vivid_dev *dev = video_drvdata(file); in vivid_sdr_s_frequency() 450 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_sdr_cap() [all …]
|
D | vivid-core.h | 117 struct vivid_dev *dev; 124 struct vivid_dev { struct 532 static inline bool vivid_is_webcam(const struct vivid_dev *dev) in vivid_is_webcam() argument 537 static inline bool vivid_is_tv_cap(const struct vivid_dev *dev) in vivid_is_tv_cap() 542 static inline bool vivid_is_svid_cap(const struct vivid_dev *dev) in vivid_is_svid_cap() 547 static inline bool vivid_is_hdmi_cap(const struct vivid_dev *dev) in vivid_is_hdmi_cap() 552 static inline bool vivid_is_sdtv_cap(const struct vivid_dev *dev) in vivid_is_sdtv_cap() 557 static inline bool vivid_is_svid_out(const struct vivid_dev *dev) in vivid_is_svid_out() 562 static inline bool vivid_is_hdmi_out(const struct vivid_dev *dev) in vivid_is_hdmi_out()
|
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-ctrls.c | 101 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_gen); in vivid_user_gen_s_ctrl() 270 struct vivid_dev *dev = container_of(ctrl->handler, in vivid_fb_s_ctrl() 271 struct vivid_dev, ctrl_hdl_fb); in vivid_fb_s_ctrl() 297 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_vid); in vivid_user_vid_g_volatile_ctrl() 309 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_user_vid); in vivid_user_vid_s_ctrl() 361 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vid_cap); in vivid_vid_cap_s_ctrl() 867 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_loop_cap); in vivid_loop_cap_s_ctrl() 898 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vbi_cap); in vivid_vbi_cap_s_ctrl() 926 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_vid_out); in vivid_vid_out_s_ctrl() 1046 struct vivid_dev *dev = container_of(ctrl->handler, struct vivid_dev, ctrl_hdl_streaming); in vivid_streaming_s_ctrl() [all …]
|
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-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-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-kthread-out.c | 42 static void vivid_thread_vid_out_tick(struct vivid_dev *dev) in vivid_thread_vid_out_tick() 119 struct vivid_dev *dev = data; in vivid_thread_vid_out() 214 static void vivid_grab_controls(struct vivid_dev *dev, bool grab) in vivid_grab_controls() 223 int vivid_start_generating_vid_out(struct vivid_dev *dev, bool *pstreaming) in vivid_start_generating_vid_out() 260 void vivid_stop_generating_vid_out(struct vivid_dev *dev, bool *pstreaming) in vivid_stop_generating_vid_out()
|
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-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 | 742 const struct vivid_fmt *vivid_get_format(struct vivid_dev *dev, u32 pixelformat) in vivid_get_format() 757 bool vivid_vid_can_loop(struct vivid_dev *dev) in vivid_vid_can_loop() 784 void vivid_send_source_change(struct vivid_dev *dev, unsigned type) in vivid_send_source_change() 913 struct vivid_dev *dev = video_drvdata(file); in vivid_enum_fmt_vid() 928 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_std() 946 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_dv_timings() 964 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_dv_timings() 981 struct vivid_dev *dev = video_drvdata(file); in vidioc_dv_timings_cap() 998 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_edid()
|
D | vivid-kthread-cap.c | 43 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 noinline_for_stack int vivid_copy_buffer(struct vivid_dev *dev, unsigned p, in vivid_copy_buffer() 405 static void vivid_fillbuff(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_fillbuff() 556 static bool valid_pix(struct vivid_dev *dev, int win_y, int win_x, int fb_y, int fb_x) in valid_pix() 591 static void vivid_overlay(struct vivid_dev *dev, struct vivid_buffer *buf) in vivid_overlay() 656 static void vivid_cap_update_frame_period(struct vivid_dev *dev) in vivid_cap_update_frame_period() 675 static noinline_for_stack void vivid_thread_vid_cap_tick(struct vivid_dev *dev, in vivid_thread_vid_cap_tick() [all …]
|
D | vivid-radio-common.c | 59 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()
|
D | vivid-radio-rx.c | 28 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()
|
D | vivid-radio-common.h | 26 void vivid_radio_rds_init(struct vivid_dev *dev);
|
D | vivid-vbi-out.h | 11 void vivid_sliced_vbi_out_process(struct vivid_dev *dev, struct vivid_buffer *buf);
|