Go to the documentation of this file.
23 #include <linux/i2c.h>
28 #include <linux/videodev2.h>
43 #define DRIVER_NAME "au0828"
45 #define URB_BUFSIZE (0xe522)
48 #define NTSC_STD_W 720
49 #define NTSC_STD_H 480
51 #define AU0828_INTERLACED_DEFAULT 1
52 #define V4L2_CID_PRIVATE_SHARPNESS (V4L2_CID_PRIVATE_BASE + 0)
55 #define AU0828_MAX_ISO_BUFS 12
56 #define AU0828_ISO_PACKETS_PER_URB 128
58 #define AU0828_MIN_BUF 4
59 #define AU0828_DEF_BUF 8
61 #define AU0828_MAX_INPUT 4
64 #define AU0828_RESOURCE_VIDEO 0x01
65 #define AU0828_RESOURCE_VBI 0x02
111 #define AUVI_INPUT(nr) (dev->board.input[nr])
257 #define au0828_read(dev, reg) au0828_readreg(dev, reg)
258 #define au0828_write(dev, reg, value) au0828_writereg(dev, reg, value)
259 #define au0828_andor(dev, reg, mask, value) \
260 au0828_writereg(dev, reg, \
261 (au0828_readreg(dev, reg) & ~(mask)) | ((value) & (mask)))
263 #define au0828_set(dev, reg, bit) au0828_andor(dev, (reg), (bit), (bit))
264 #define au0828_clear(dev, reg, bit) au0828_andor(dev, (reg), (bit), 0)
301 #define dprintk(level, fmt, arg...)\
302 do { if (au0828_debug & level)\
303 printk(KERN_DEBUG DRIVER_NAME "/0: " fmt, ## arg);\