Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ispstat.c File Reference
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include "isp.h"

Go to the source code of this file.

Macros

#define IS_COHERENT_BUF(stat)   ((stat)->dma_ch >= 0)
 
#define MAGIC_SIZE   16
 
#define MAGIC_NUM   0x55
 
#define AF_EXTRA_DATA   OMAP3ISP_AF_PAXEL_SIZE
 
#define NUM_H3A_RECOVER_BUFS   10
 
#define IS_H3A_AF(stat)   ((stat) == &(stat)->isp->isp_af)
 
#define IS_H3A_AEWB(stat)   ((stat) == &(stat)->isp->isp_aewb)
 
#define IS_H3A(stat)   (IS_H3A_AF(stat) || IS_H3A_AEWB(stat))
 

Functions

int omap3isp_stat_request_statistics (struct ispstat *stat, struct omap3isp_stat_data *data)
 
int omap3isp_stat_config (struct ispstat *stat, void *new_conf)
 
int omap3isp_stat_pcr_busy (struct ispstat *stat)
 
int omap3isp_stat_busy (struct ispstat *stat)
 
void omap3isp_stat_suspend (struct ispstat *stat)
 
void omap3isp_stat_resume (struct ispstat *stat)
 
void omap3isp_stat_isr_frame_sync (struct ispstat *stat)
 
void omap3isp_stat_sbl_overflow (struct ispstat *stat)
 
int omap3isp_stat_enable (struct ispstat *stat, u8 enable)
 
int omap3isp_stat_s_stream (struct v4l2_subdev *subdev, int enable)
 
void omap3isp_stat_isr (struct ispstat *stat)
 
void omap3isp_stat_dma_isr (struct ispstat *stat)
 
int omap3isp_stat_subscribe_event (struct v4l2_subdev *subdev, struct v4l2_fh *fh, struct v4l2_event_subscription *sub)
 
int omap3isp_stat_unsubscribe_event (struct v4l2_subdev *subdev, struct v4l2_fh *fh, struct v4l2_event_subscription *sub)
 
void omap3isp_stat_unregister_entities (struct ispstat *stat)
 
int omap3isp_stat_register_entities (struct ispstat *stat, struct v4l2_device *vdev)
 
int omap3isp_stat_init (struct ispstat *stat, const char *name, const struct v4l2_subdev_ops *sd_ops)
 
void omap3isp_stat_cleanup (struct ispstat *stat)
 

Macro Definition Documentation

#define AF_EXTRA_DATA   OMAP3ISP_AF_PAXEL_SIZE

Definition at line 44 of file ispstat.c.

#define IS_COHERENT_BUF (   stat)    ((stat)->dma_ch >= 0)

Definition at line 34 of file ispstat.c.

#define IS_H3A (   stat)    (IS_H3A_AF(stat) || IS_H3A_AEWB(stat))

Definition at line 70 of file ispstat.c.

#define IS_H3A_AEWB (   stat)    ((stat) == &(stat)->isp->isp_aewb)

Definition at line 69 of file ispstat.c.

#define IS_H3A_AF (   stat)    ((stat) == &(stat)->isp->isp_af)

Definition at line 68 of file ispstat.c.

#define MAGIC_NUM   0x55

Definition at line 41 of file ispstat.c.

#define MAGIC_SIZE   16

Definition at line 40 of file ispstat.c.

#define NUM_H3A_RECOVER_BUFS   10

Definition at line 62 of file ispstat.c.

Function Documentation

int omap3isp_stat_busy ( struct ispstat stat)

Definition at line 670 of file ispstat.c.

void omap3isp_stat_cleanup ( struct ispstat stat)

Definition at line 1096 of file ispstat.c.

int omap3isp_stat_config ( struct ispstat stat,
void new_conf 
)

Definition at line 559 of file ispstat.c.

void omap3isp_stat_dma_isr ( struct ispstat stat)

Definition at line 1021 of file ispstat.c.

int omap3isp_stat_enable ( struct ispstat stat,
u8  enable 
)

Definition at line 790 of file ispstat.c.

int omap3isp_stat_init ( struct ispstat stat,
const char name,
const struct v4l2_subdev_ops sd_ops 
)

Definition at line 1074 of file ispstat.c.

void omap3isp_stat_isr ( struct ispstat stat)

Definition at line 1016 of file ispstat.c.

void omap3isp_stat_isr_frame_sync ( struct ispstat stat)

Definition at line 756 of file ispstat.c.

int omap3isp_stat_pcr_busy ( struct ispstat stat)

Definition at line 665 of file ispstat.c.

int omap3isp_stat_register_entities ( struct ispstat stat,
struct v4l2_device vdev 
)

Definition at line 1050 of file ispstat.c.

int omap3isp_stat_request_statistics ( struct ispstat stat,
struct omap3isp_stat_data data 
)

Definition at line 521 of file ispstat.c.

void omap3isp_stat_resume ( struct ispstat stat)

Definition at line 711 of file ispstat.c.

int omap3isp_stat_s_stream ( struct v4l2_subdev subdev,
int  enable 
)

Definition at line 835 of file ispstat.c.

void omap3isp_stat_sbl_overflow ( struct ispstat stat)

Definition at line 761 of file ispstat.c.

int omap3isp_stat_subscribe_event ( struct v4l2_subdev subdev,
struct v4l2_fh fh,
struct v4l2_event_subscription sub 
)

Definition at line 1026 of file ispstat.c.

void omap3isp_stat_suspend ( struct ispstat stat)

Definition at line 697 of file ispstat.c.

void omap3isp_stat_unregister_entities ( struct ispstat stat)

Definition at line 1045 of file ispstat.c.

int omap3isp_stat_unsubscribe_event ( struct v4l2_subdev subdev,
struct v4l2_fh fh,
struct v4l2_event_subscription sub 
)

Definition at line 1038 of file ispstat.c.