Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
fimc-mdevice.c File Reference
#include <linux/bug.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <media/v4l2-ctrls.h>
#include <media/media-device.h>
#include <media/s5p_fimc.h>
#include "fimc-core.h"
#include "fimc-lite.h"
#include "fimc-mdevice.h"
#include "mipi-csis.h"

Go to the source code of this file.

Functions

int fimc_pipeline_s_stream (struct fimc_pipeline *p, bool on)
 
int fimc_md_set_camclk (struct v4l2_subdev *sd, bool on)
 
 module_init (fimc_md_init)
 
 module_exit (fimc_md_exit)
 
 MODULE_AUTHOR ("Sylwester Nawrocki <[email protected]>")
 
 MODULE_DESCRIPTION ("S5P FIMC camera host interface/video postprocessor driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION ("2.0.1")
 

Function Documentation

int fimc_md_set_camclk ( struct v4l2_subdev sd,
bool  on 
)

fimc_md_set_camclk - peripheral sensor clock setup : sensor subdev to configure sclk_cam clock for : 1 to enable or 0 to disable the clock

There are 2 separate clock outputs available in the SoC for external image processors. These clocks are shared between all registered FIMC devices to which sensors can be attached, either directly or through the MIPI CSI receiver. The clock is allowed here to be used by multiple sensors concurrently if they use same frequency. This function should only be called when the graph mutex is held.

Definition at line 808 of file fimc-mdevice.c.

int fimc_pipeline_s_stream ( struct fimc_pipeline p,
bool  on 
)

fimc_pipeline_s_stream - invoke s_stream on pipeline subdevs : video pipeline structure : passed as the s_stream call argument

Definition at line 216 of file fimc-mdevice.c.

MODULE_AUTHOR ( "Sylwester Nawrocki <[email protected]>"  )
MODULE_DESCRIPTION ( "S5P FIMC camera host interface/video postprocessor driver )
module_exit ( fimc_md_exit  )
module_init ( fimc_md_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "2.0.1"  )