Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

mt9v111.c File Reference


Detailed Description

mt9v111 camera driver functions

Definition in file mt9v111.c.

#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/ctype.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/i2c.h>
#include <linux/clk.h>
#include <media/v4l2-int-device.h>
#include "mxc_v4l2_capture.h"
#include "mt9v111.h"

Go to the source code of this file.

Classes

struct  sensor

Functions

void gpio_sensor_active (void)
void gpio_sensor_inactive (void)
static int ioctl_dev_init (struct v4l2_int_device *s)
static int ioctl_g_ctrl (struct v4l2_int_device *s, struct v4l2_control *vc)
static int ioctl_g_fmt_cap (struct v4l2_int_device *s, struct v4l2_format *f)
static int ioctl_g_ifparm (struct v4l2_int_device *s, struct v4l2_ifparm *p)
static int ioctl_g_parm (struct v4l2_int_device *s, struct v4l2_streamparm *a)
static int ioctl_init (struct v4l2_int_device *s)
static int ioctl_queryctrl (struct v4l2_int_device *s, struct v4l2_queryctrl *qc)
static int ioctl_s_ctrl (struct v4l2_int_device *s, struct v4l2_control *vc)
static int ioctl_s_parm (struct v4l2_int_device *s, struct v4l2_streamparm *a)
static int ioctl_s_power (struct v4l2_int_device *s, int on)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 MODULE_DESCRIPTION ("Mt9v111 Camera Driver")
 MODULE_DEVICE_TABLE (i2c, mt9v111_id)
 module_exit (mt9v111_clean)
 module_init (mt9v111_init)
 MODULE_LICENSE ("GPL")
static void __exit mt9v111_clean (void)
void mt9v111_config (void)
static void mt9v111_get_ae_mode (int *ae_mode)
static __init int mt9v111_init (void)
static int mt9v111_probe (struct i2c_client *client, const struct i2c_device_id *id)
static void mt9v111_rate_cal (int *frame_rate, int mclk)
static int mt9v111_remove (struct i2c_client *client)
static u8 mt9v111_sensor_lib (mt9v111_coreReg *coreReg, mt9v111_IFPReg *ifpReg)
static int mt9v111_set_ae_mode (int ae_mode)
static int mt9v111_set_saturation (int saturation)
static int mt9v111_write_reg (u8 reg, u16 val)

Variables

struct sensor mt9v111_data
static mt9v111_conf mt9v111_device
static struct i2c_driver mt9v111_i2c_driver
static struct i2c_device_id mt9v111_id []
static struct v4l2_int_device mt9v111_int_device
static struct v4l2_int_ioctl_desc mt9v111_ioctl_desc []
static struct v4l2_int_slave mt9v111_slave
static int reset_frame_rate = MT9V111_FRAME_RATE


Generated by  Doxygen 1.6.0   Back to index