Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
smiapp-core.c File Reference
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/regulator/consumer.h>
#include <linux/v4l2-mediabus.h>
#include <media/v4l2-device.h>
#include "smiapp.h"

Go to the source code of this file.

Macros

#define SMIAPP_ALIGN_DIM(dim, flags)
 
#define to_csi_format_idx(fmt)
 
#define SCALING_GOODNESS   100000
 
#define SCALING_GOODNESS_EXTREME   100000000
 
#define smiapp_suspend   NULL
 
#define smiapp_resume   NULL
 

Functions

 MODULE_DEVICE_TABLE (i2c, smiapp_id_table)
 
 module_i2c_driver (smiapp_i2c_driver)
 
 MODULE_AUTHOR ("Sakari Ailus <[email protected]>")
 
 MODULE_DESCRIPTION ("Generic SMIA/SMIA++ camera module driver")
 
 MODULE_LICENSE ("GPL")
 

Variables

const charpixel_order_str [] = { "GRBG", "RGGB", "BGGR", "GBRG" }
 

Macro Definition Documentation

#define SCALING_GOODNESS   100000

Definition at line 1740 of file smiapp-core.c.

#define SCALING_GOODNESS_EXTREME   100000000

Definition at line 1741 of file smiapp-core.c.

#define SMIAPP_ALIGN_DIM (   dim,
  flags 
)
Value:
? ALIGN((dim), 2) \
: (dim) & ~1)

Definition at line 41 of file smiapp-core.c.

#define smiapp_resume   NULL

Definition at line 2811 of file smiapp-core.c.

#define smiapp_suspend   NULL

Definition at line 2810 of file smiapp-core.c.

#define to_csi_format_idx (   fmt)
Value:
(((unsigned long)(fmt) \
- (unsigned long)smiapp_csi_data_formats) \
/ sizeof(*smiapp_csi_data_formats))

Definition at line 379 of file smiapp-core.c.

Function Documentation

MODULE_AUTHOR ( "Sakari Ailus <[email protected]>"  )
MODULE_DESCRIPTION ( "Generic SMIA/SMIA++ camera module driver )
MODULE_DEVICE_TABLE ( i2c  ,
smiapp_id_table   
)
module_i2c_driver ( smiapp_i2c_driver  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

const char* pixel_order_str[] = { "GRBG", "RGGB", "BGGR", "GBRG" }

Definition at line 377 of file smiapp-core.c.