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

mx27_csi.c File Reference

Detailed Description

CMOS Sensor interface functions.

Definition in file mx27_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 <linux/io.h>
#include <mach/clock.h>
#include <mach/hardware.h>
#include "mx27_csi.h"

Go to the source code of this file.


static void _mclk_disable (struct clk *clk)
static int _mclk_enable (struct clk *clk)
static void _mclk_recalc (struct clk *clk)
static unsigned long _mclk_round_rate (struct clk *clk, unsigned long rate)
static int _mclk_set_rate (struct clk *clk, unsigned long rate)
void __exit csi_cleanup_module (void)
int32_t csi_enable_mclk (int src, bool flag, bool wait)
void csi_enable_prpif (uint32_t enable)
int32_t csi_init_interface (uint16_t width, uint16_t height, uint32_t pixel_fmt, csi_signal_cfg_t sig)
int32_t __init csi_init_module (void)
static irqreturn_t csi_irq_handler (int irq, void *data)
int csi_read_mclk_flag (void)
void csi_set_callback (csi_irq_callback_t callback, void *data)
static void csihw_reset (void)
static void csihw_reset_frame_count (void)
static void csihw_set_config (csi_config_t *cfg)
 EXPORT_SYMBOL (csi_enable_prpif)
 EXPORT_SYMBOL (csi_set_callback)
 EXPORT_SYMBOL (csi_read_mclk_flag)
 EXPORT_SYMBOL (csi_enable_mclk)
 EXPORT_SYMBOL (csi_init_interface)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 module_exit (csi_cleanup_module)
 module_init (csi_init_module)


static struct clk csi_mclk
static csi_irq_callback_t g_callback = 0
static void * g_callback_data = 0
static csi_config_t g_csi_cfg
static bool gcsi_mclk_on = false

Generated by  Doxygen 1.6.0   Back to index