em28xx.h (4a7126a25b4dfd07d61c699f724118275acc0c25) em28xx.h (8314d40233f3790e4cfa704087bb2a43c18144d7)
1/*
2 em28xx.h - driver for Empia EM2800/EM2820/2840 USB video capture devices
3
4 Copyright (C) 2005 Markus Rechberger <mrechberger@gmail.com>
5 Ludovico Cavedon <cavedon@sssup.it>
6 Mauro Carvalho Chehab <mchehab@infradead.org>
7 Copyright (C) 2012 Frank Schäfer <fschaefer.oss@googlemail.com>
8

--- 15 unchanged lines hidden (view full) ---

24 */
25
26#ifndef _EM28XX_H
27#define _EM28XX_H
28
29#define EM28XX_VERSION "0.2.2"
30#define DRIVER_DESC "Empia em28xx device driver"
31
1/*
2 em28xx.h - driver for Empia EM2800/EM2820/2840 USB video capture devices
3
4 Copyright (C) 2005 Markus Rechberger <mrechberger@gmail.com>
5 Ludovico Cavedon <cavedon@sssup.it>
6 Mauro Carvalho Chehab <mchehab@infradead.org>
7 Copyright (C) 2012 Frank Schäfer <fschaefer.oss@googlemail.com>
8

--- 15 unchanged lines hidden (view full) ---

24 */
25
26#ifndef _EM28XX_H
27#define _EM28XX_H
28
29#define EM28XX_VERSION "0.2.2"
30#define DRIVER_DESC "Empia em28xx device driver"
31
32#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
33
32#include <linux/workqueue.h>
33#include <linux/i2c.h>
34#include <linux/mutex.h>
35#include <linux/kref.h>
36#include <linux/videodev2.h>
37
38#include <media/videobuf2-v4l2.h>
39#include <media/videobuf2-vmalloc.h>

--- 752 unchanged lines hidden (view full) ---

792int em28xx_tuner_callback(void *ptr, int component, int command, int arg);
793void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl);
794void em28xx_free_device(struct kref *ref);
795
796/* Provided by em28xx-camera.c */
797int em28xx_detect_sensor(struct em28xx *dev);
798int em28xx_init_camera(struct em28xx *dev);
799
34#include <linux/workqueue.h>
35#include <linux/i2c.h>
36#include <linux/mutex.h>
37#include <linux/kref.h>
38#include <linux/videodev2.h>
39
40#include <media/videobuf2-v4l2.h>
41#include <media/videobuf2-vmalloc.h>

--- 752 unchanged lines hidden (view full) ---

794int em28xx_tuner_callback(void *ptr, int component, int command, int arg);
795void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl);
796void em28xx_free_device(struct kref *ref);
797
798/* Provided by em28xx-camera.c */
799int em28xx_detect_sensor(struct em28xx *dev);
800int em28xx_init_camera(struct em28xx *dev);
801
800/* printk macros */
801
802#define em28xx_err(fmt, arg...) do {\
803 printk(KERN_ERR fmt , ##arg); } while (0)
804
805#define em28xx_errdev(fmt, arg...) do {\
806 printk(KERN_ERR "%s: "fmt,\
807 dev->name , ##arg); } while (0)
808
809#define em28xx_info(fmt, arg...) do {\
810 printk(KERN_INFO "%s: "fmt,\
811 dev->name , ##arg); } while (0)
812#define em28xx_warn(fmt, arg...) do {\
813 printk(KERN_WARNING "%s: "fmt,\
814 dev->name , ##arg); } while (0)
815
816#endif
802#endif