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

fsl_csi.c File Reference


Detailed Description

mx25 CMOS Sensor interface functions

, this file is derived from mx27_csi.c

Definition in file fsl_csi.c.

#include <linux/types.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <mach/clock.h>
#include <mach/hardware.h>
#include "mxc_v4l2_capture.h"
#include "fsl_csi.h"

Go to the source code of this file.

Functions

void __exit csi_cleanup_module (void)
void csi_disable_int (void)
void csi_enable_int (int arg)
int32_t csi_enable_mclk (int src, bool flag, bool wait)
void csi_init_interface (void)
int32_t __init csi_init_module (void)
static irqreturn_t csi_irq_handler (int irq, void *data)
void csi_mclk_disable (void)
void csi_mclk_enable (void)
static void csi_mclk_recalc (struct clk *clk)
int csi_read_mclk_flag (void)
void csi_set_12bit_imagpara (int width, int height)
void csi_set_16bit_imagpara (int width, int height)
void csi_start_callback (void *data)
void csi_stop_callback (void *data)
static void csihw_reset (void)
static void csihw_reset_frame_count (void)
 EXPORT_SYMBOL (csi_set_12bit_imagpara)
 EXPORT_SYMBOL (csi_set_16bit_imagpara)
 EXPORT_SYMBOL (csi_disable_int)
 EXPORT_SYMBOL (csi_enable_int)
 EXPORT_SYMBOL (csi_stop_callback)
 EXPORT_SYMBOL (csi_start_callback)
 EXPORT_SYMBOL (csi_read_mclk_flag)
 EXPORT_SYMBOL (csi_enable_mclk)
 EXPORT_SYMBOL (csi_init_interface)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 MODULE_DESCRIPTION ("fsl CSI driver")
 module_exit (csi_cleanup_module)
 module_init (csi_init_module)
 MODULE_LICENSE ("GPL")

Variables

static struct clk csi_mclk
static csi_irq_callback_t g_callback
static void * g_callback_data
static bool g_csi_mclk_on


Generated by  Doxygen 1.6.0   Back to index