Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
timblogiw.c File Reference
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/dmaengine.h>
#include <linux/scatterlist.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-device.h>
#include <media/videobuf-dma-contig.h>
#include <media/timb_video.h>

Go to the source code of this file.

Data Structures

struct  timblogiw
 
struct  timblogiw_tvnorm
 
struct  timblogiw_fh
 
struct  timblogiw_buffer
 

Macros

#define DRIVER_NAME   "timb-video"
 
#define TIMBLOGIWIN_NAME   "Timberdale Video-In"
 
#define TIMBLOGIW_VERSION_CODE   0x04
 
#define TIMBLOGIW_LINES_PER_DESC   44
 
#define TIMBLOGIW_MAX_VIDEO_MEM   16
 
#define TIMBLOGIW_HAS_DECODER(lw)   (lw->pdata.encoder.module_name)
 

Functions

 module_platform_driver (timblogiw_platform_driver)
 
 MODULE_DESCRIPTION (TIMBLOGIWIN_NAME)
 
 MODULE_AUTHOR ("Pelagicore AB <info@pelagicore.com>")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("platform:"DRIVER_NAME)
 

Variables

struct timblogiw_tvnorm timblogiw_tvnorms []
 

Macro Definition Documentation

#define DRIVER_NAME   "timb-video"

Definition at line 36 of file timblogiw.c.

#define TIMBLOGIW_HAS_DECODER (   lw)    (lw->pdata.encoder.module_name)

Definition at line 44 of file timblogiw.c.

#define TIMBLOGIW_LINES_PER_DESC   44

Definition at line 41 of file timblogiw.c.

#define TIMBLOGIW_MAX_VIDEO_MEM   16

Definition at line 42 of file timblogiw.c.

#define TIMBLOGIW_VERSION_CODE   0x04

Definition at line 39 of file timblogiw.c.

#define TIMBLOGIWIN_NAME   "Timberdale Video-In"

Definition at line 38 of file timblogiw.c.

Function Documentation

MODULE_ALIAS ( "platform:"  DRIVER_NAME)
MODULE_AUTHOR ( "Pelagicore AB <info@pelagicore.com>"  )
MODULE_DESCRIPTION ( TIMBLOGIWIN_NAME  )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( timblogiw_platform_driver  )

Variable Documentation

struct timblogiw_tvnorm timblogiw_tvnorms[]
Initial value:
= {
{
.std = V4L2_STD_PAL,
.width = 720,
.height = 576,
.fps = 25
},
{
.std = V4L2_STD_NTSC,
.width = 720,
.height = 480,
.fps = 30
}
}

Definition at line 81 of file timblogiw.c.