Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ispstat.h File Reference
#include <linux/types.h>
#include <linux/omap3isp.h>
#include <plat/dma.h>
#include <media/v4l2-event.h>
#include "isp.h"
#include "ispvideo.h"

Go to the source code of this file.

Data Structures

struct  ispstat_buffer
 
struct  ispstat_ops
 
struct  ispstat
 
struct  ispstat_generic_config
 

Macros

#define STAT_MAX_BUFS   5
 
#define STAT_NEVENTS   8
 
#define STAT_BUF_DONE   0 /* Buffer is ready */
 
#define STAT_NO_BUF   1 /* An error has occurred */
 
#define STAT_BUF_WAITING_DMA   2 /* Histogram only: DMA is running */
 

Enumerations

enum  ispstat_state_t {
  ISPSTAT_DISABLED = 0, ISPSTAT_DISABLING, ISPSTAT_ENABLED, ISPSTAT_ENABLING,
  ISPSTAT_SUSPENDED
}
 

Functions

int omap3isp_stat_config (struct ispstat *stat, void *new_conf)
 
int omap3isp_stat_request_statistics (struct ispstat *stat, struct omap3isp_stat_data *data)
 
int omap3isp_stat_init (struct ispstat *stat, const char *name, const struct v4l2_subdev_ops *sd_ops)
 
void omap3isp_stat_cleanup (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)
 
int omap3isp_stat_s_stream (struct v4l2_subdev *subdev, int enable)
 
int omap3isp_stat_busy (struct ispstat *stat)
 
int omap3isp_stat_pcr_busy (struct ispstat *stat)
 
void omap3isp_stat_suspend (struct ispstat *stat)
 
void omap3isp_stat_resume (struct ispstat *stat)
 
int omap3isp_stat_enable (struct ispstat *stat, u8 enable)
 
void omap3isp_stat_sbl_overflow (struct ispstat *stat)
 
void omap3isp_stat_isr (struct ispstat *stat)
 
void omap3isp_stat_isr_frame_sync (struct ispstat *stat)
 
void omap3isp_stat_dma_isr (struct ispstat *stat)
 
int omap3isp_stat_register_entities (struct ispstat *stat, struct v4l2_device *vdev)
 
void omap3isp_stat_unregister_entities (struct ispstat *stat)
 

Macro Definition Documentation

#define STAT_BUF_DONE   0 /* Buffer is ready */

Definition at line 42 of file ispstat.h.

#define STAT_BUF_WAITING_DMA   2 /* Histogram only: DMA is running */

Definition at line 44 of file ispstat.h.

#define STAT_MAX_BUFS   5

Definition at line 39 of file ispstat.h.

#define STAT_NEVENTS   8

Definition at line 40 of file ispstat.h.

#define STAT_NO_BUF   1 /* An error has occurred */

Definition at line 43 of file ispstat.h.

Enumeration Type Documentation

Enumerator:
ISPSTAT_DISABLED 
ISPSTAT_DISABLING 
ISPSTAT_ENABLED 
ISPSTAT_ENABLING 
ISPSTAT_SUSPENDED 

Definition at line 90 of file ispstat.h.

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.