Lines Matching refs:em28xx
3 // em28xx-video.c - driver for Empia EM2800/EM2820/2840 USB
15 #include "em28xx.h"
28 #include "em28xx-v4l.h"
126 static inline unsigned int norm_maxw(struct em28xx *dev)
139 static inline unsigned int norm_maxh(struct em28xx *dev)
152 static int em28xx_vbi_supported(struct em28xx *dev)
167 /* Version of em28xx that does not support VBI */
175 static void em28xx_wake_i2c(struct em28xx *dev)
184 static int em28xx_colorlevels_set_default(struct em28xx *dev)
202 static int em28xx_set_outfmt(struct em28xx *dev)
214 * fine without it. But the Windows driver sets it for em2710/50+em28xx
247 static int em28xx_accumulator_set(struct em28xx *dev, u8 xmin, u8 xmax,
250 em28xx_videodbg("em28xx Scale: (%d,%d)-(%d,%d)\n",
259 static void em28xx_capture_area_set(struct em28xx *dev, u8 hstart, u8 vstart,
286 static int em28xx_scaler_set(struct em28xx *dev, u16 h, u16 v)
313 static int em28xx_resolution_set(struct em28xx *dev)
348 static int em28xx_set_alternate(struct em28xx *dev)
427 static inline void finish_buffer(struct em28xx *dev,
445 static void em28xx_copy_video(struct em28xx *dev,
526 static void em28xx_copy_vbi(struct em28xx *dev,
545 static inline void print_err_status(struct em28xx *dev,
587 static inline struct em28xx_buffer *get_next_buf(struct em28xx *dev,
611 finish_field_prepare_next(struct em28xx *dev,
631 * Process data packet according to the em2710/em2750/em28xx frame data format
633 static inline void process_frame_data_em28xx(struct em28xx *dev,
718 static inline void process_frame_data_em25xx(struct em28xx *dev,
771 * header like with the other em28xx devices.
779 static inline int em28xx_urb_data_copy(struct em28xx *dev, struct urb *urb)
854 static int res_get(struct em28xx *dev, enum v4l2_buf_type f_type)
870 static void res_free(struct em28xx *dev, enum v4l2_buf_type f_type)
878 static void em28xx_v4l2_media_release(struct em28xx *dev)
895 static int em28xx_enable_analog_tuner(struct em28xx *dev)
961 static void em28xx_v4l2_create_entities(struct em28xx *dev)
1032 struct em28xx *dev = vb2_get_drv_priv(vq);
1051 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue);
1071 struct em28xx *dev = vb2_get_drv_priv(vq);
1139 struct em28xx *dev = vb2_get_drv_priv(vq);
1174 struct em28xx *dev = vb2_get_drv_priv(vq);
1211 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue);
1236 static int em28xx_vb2_setup(struct em28xx *dev)
1277 static void video_mux(struct em28xx *dev, int index)
1312 struct em28xx *dev = priv;
1316 * to do some setups at em28xx, in order to mute/unmute
1336 struct em28xx *dev = v4l2->dev;
1375 static void size_to_scale(struct em28xx *dev,
1391 static void scale_to_size(struct em28xx *dev,
1415 struct em28xx *dev = video_drvdata(file);
1448 struct em28xx *dev = video_drvdata(file);
1507 static int em28xx_set_video_format(struct em28xx *dev, unsigned int fourcc,
1533 struct em28xx *dev = video_drvdata(file);
1547 struct em28xx *dev = video_drvdata(file);
1556 struct em28xx *dev = video_drvdata(file);
1565 struct em28xx *dev = video_drvdata(file);
1598 struct em28xx *dev = video_drvdata(file);
1624 struct em28xx *dev = video_drvdata(file);
1651 struct em28xx *dev = video_drvdata(file);
1684 struct em28xx *dev = video_drvdata(file);
1693 struct em28xx *dev = video_drvdata(file);
1704 static int em28xx_fill_audio_input(struct em28xx *dev,
1761 struct em28xx *dev = video_drvdata(file);
1771 struct em28xx *dev = video_drvdata(file);
1785 struct em28xx *dev = video_drvdata(file);
1825 struct em28xx *dev = video_drvdata(file);
1839 struct em28xx *dev = video_drvdata(file);
1851 struct em28xx *dev = video_drvdata(file);
1865 struct em28xx *dev = video_drvdata(file);
1882 struct em28xx *dev = video_drvdata(file);
1909 struct em28xx *dev = video_drvdata(file);
1950 struct em28xx *dev = video_drvdata(file);
1969 struct em28xx *dev = video_drvdata(file);
1973 strscpy(cap->driver, "em28xx", sizeof(cap->driver));
2004 struct em28xx *dev = video_drvdata(file);
2048 struct em28xx *dev = video_drvdata(file);
2081 struct em28xx *dev = video_drvdata(file);
2096 struct em28xx *dev = video_drvdata(file);
2128 struct em28xx *dev = video_drvdata(filp);
2194 static int em28xx_v4l2_fini(struct em28xx *dev)
2249 static int em28xx_v4l2_suspend(struct em28xx *dev)
2262 static int em28xx_v4l2_resume(struct em28xx *dev)
2282 struct em28xx *dev = video_drvdata(filp);
2432 static void em28xx_vdev_init(struct em28xx *dev,
2449 static void em28xx_tuner_setup(struct em28xx *dev, unsigned short tuner_addr)
2510 static int em28xx_v4l2_init(struct em28xx *dev)
2642 /* install the em28xx notify callback */