Lines Matching refs:em28xx

3 // em28xx-video.c - driver for Empia EM2800/EM2820/2840 USB
25 #include "em28xx.h"
38 #include "em28xx-v4l.h"
136 static inline unsigned int norm_maxw(struct em28xx *dev)
149 static inline unsigned int norm_maxh(struct em28xx *dev)
162 static int em28xx_vbi_supported(struct em28xx *dev)
177 /* Version of em28xx that does not support VBI */
185 static void em28xx_wake_i2c(struct em28xx *dev)
194 static int em28xx_colorlevels_set_default(struct em28xx *dev)
212 static int em28xx_set_outfmt(struct em28xx *dev)
224 * fine without it. But the Windows driver sets it for em2710/50+em28xx
257 static int em28xx_accumulator_set(struct em28xx *dev, u8 xmin, u8 xmax,
260 em28xx_videodbg("em28xx Scale: (%d,%d)-(%d,%d)\n",
269 static void em28xx_capture_area_set(struct em28xx *dev, u8 hstart, u8 vstart,
296 static int em28xx_scaler_set(struct em28xx *dev, u16 h, u16 v)
323 static int em28xx_resolution_set(struct em28xx *dev)
358 static int em28xx_set_alternate(struct em28xx *dev)
437 static inline void finish_buffer(struct em28xx *dev,
455 static void em28xx_copy_video(struct em28xx *dev,
536 static void em28xx_copy_vbi(struct em28xx *dev,
555 static inline void print_err_status(struct em28xx *dev,
597 static inline struct em28xx_buffer *get_next_buf(struct em28xx *dev,
621 finish_field_prepare_next(struct em28xx *dev,
641 * Process data packet according to the em2710/em2750/em28xx frame data format
643 static inline void process_frame_data_em28xx(struct em28xx *dev,
728 static inline void process_frame_data_em25xx(struct em28xx *dev,
781 * header like with the other em28xx devices.
789 static inline int em28xx_urb_data_copy(struct em28xx *dev, struct urb *urb)
864 static int res_get(struct em28xx *dev, enum v4l2_buf_type f_type)
880 static void res_free(struct em28xx *dev, enum v4l2_buf_type f_type)
888 static void em28xx_v4l2_media_release(struct em28xx *dev)
905 static int em28xx_enable_analog_tuner(struct em28xx *dev)
971 static void em28xx_v4l2_create_entities(struct em28xx *dev)
1042 struct em28xx *dev = vb2_get_drv_priv(vq);
1061 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue);
1081 struct em28xx *dev = vb2_get_drv_priv(vq);
1149 struct em28xx *dev = vb2_get_drv_priv(vq);
1184 struct em28xx *dev = vb2_get_drv_priv(vq);
1221 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue);
1246 static int em28xx_vb2_setup(struct em28xx *dev)
1287 static void video_mux(struct em28xx *dev, int index)
1322 struct em28xx *dev = priv;
1326 * to do some setups at em28xx, in order to mute/unmute
1346 struct em28xx *dev = v4l2->dev;
1385 static void size_to_scale(struct em28xx *dev,
1401 static void scale_to_size(struct em28xx *dev,
1425 struct em28xx *dev = video_drvdata(file);
1458 struct em28xx *dev = video_drvdata(file);
1517 static int em28xx_set_video_format(struct em28xx *dev, unsigned int fourcc,
1543 struct em28xx *dev = video_drvdata(file);
1557 struct em28xx *dev = video_drvdata(file);
1566 struct em28xx *dev = video_drvdata(file);
1575 struct em28xx *dev = video_drvdata(file);
1608 struct em28xx *dev = video_drvdata(file);
1634 struct em28xx *dev = video_drvdata(file);
1661 struct em28xx *dev = video_drvdata(file);
1694 struct em28xx *dev = video_drvdata(file);
1703 struct em28xx *dev = video_drvdata(file);
1714 static int em28xx_fill_audio_input(struct em28xx *dev,
1771 struct em28xx *dev = video_drvdata(file);
1781 struct em28xx *dev = video_drvdata(file);
1795 struct em28xx *dev = video_drvdata(file);
1835 struct em28xx *dev = video_drvdata(file);
1849 struct em28xx *dev = video_drvdata(file);
1861 struct em28xx *dev = video_drvdata(file);
1875 struct em28xx *dev = video_drvdata(file);
1892 struct em28xx *dev = video_drvdata(file);
1919 struct em28xx *dev = video_drvdata(file);
1960 struct em28xx *dev = video_drvdata(file);
1979 struct em28xx *dev = video_drvdata(file);
1983 strscpy(cap->driver, "em28xx", sizeof(cap->driver));
2014 struct em28xx *dev = video_drvdata(file);
2058 struct em28xx *dev = video_drvdata(file);
2091 struct em28xx *dev = video_drvdata(file);
2106 struct em28xx *dev = video_drvdata(file);
2138 struct em28xx *dev = video_drvdata(filp);
2204 static int em28xx_v4l2_fini(struct em28xx *dev)
2259 static int em28xx_v4l2_suspend(struct em28xx *dev)
2272 static int em28xx_v4l2_resume(struct em28xx *dev)
2292 struct em28xx *dev = video_drvdata(filp);
2442 static void em28xx_vdev_init(struct em28xx *dev,
2459 static void em28xx_tuner_setup(struct em28xx *dev, unsigned short tuner_addr)
2520 static int em28xx_v4l2_init(struct em28xx *dev)
2652 /* install the em28xx notify callback */