Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ispccdc.h File Reference
#include <linux/omap3isp.h>
#include <linux/workqueue.h>
#include "ispvideo.h"

Go to the source code of this file.

Data Structures

struct  ispccdc_lsc_config_req
 
struct  ispccdc_lsc
 
struct  isp_ccdc_device
 

Macros

#define CCDC_OUTPUT_MEMORY   (1 << 0)
 
#define CCDC_OUTPUT_PREVIEW   (1 << 1)
 
#define CCDC_OUTPUT_RESIZER   (1 << 2)
 
#define OMAP3ISP_CCDC_NEVENTS   16
 
#define CCDC_STOP_NOT_REQUESTED   0x00
 
#define CCDC_STOP_REQUEST   0x01
 
#define CCDC_STOP_EXECUTED   (0x02 | CCDC_STOP_REQUEST)
 
#define CCDC_STOP_CCDC_FINISHED   0x04
 
#define CCDC_STOP_LSC_FINISHED   0x08
 
#define CCDC_STOP_FINISHED   (CCDC_STOP_EXECUTED | CCDC_STOP_CCDC_FINISHED | CCDC_STOP_LSC_FINISHED)
 
#define CCDC_EVENT_VD1   0x10
 
#define CCDC_EVENT_VD0   0x20
 
#define CCDC_EVENT_LSC_DONE   0x40
 
#define CCDC_PAD_SINK   0
 
#define CCDC_PAD_SOURCE_OF   1
 
#define CCDC_PAD_SOURCE_VP   2
 
#define CCDC_PADS_NUM   3
 

Enumerations

enum  ccdc_input_entity {
  CCDC_INPUT_NONE, CCDC_INPUT_PARALLEL, CCDC_INPUT_CSI2A, CCDC_INPUT_CCP2B,
  CCDC_INPUT_CSI2C
}
 
enum  ispccdc_lsc_state { LSC_STATE_STOPPED = 0, LSC_STATE_STOPPING = 1, LSC_STATE_RUNNING = 2, LSC_STATE_RECONFIG = 3 }
 

Functions

int omap3isp_ccdc_init (struct isp_device *isp)
 
void omap3isp_ccdc_cleanup (struct isp_device *isp)
 
int omap3isp_ccdc_register_entities (struct isp_ccdc_device *ccdc, struct v4l2_device *vdev)
 
void omap3isp_ccdc_unregister_entities (struct isp_ccdc_device *ccdc)
 
int omap3isp_ccdc_busy (struct isp_ccdc_device *isp_ccdc)
 
int omap3isp_ccdc_isr (struct isp_ccdc_device *isp_ccdc, u32 events)
 
void omap3isp_ccdc_restore_context (struct isp_device *isp)
 
void omap3isp_ccdc_max_rate (struct isp_ccdc_device *ccdc, unsigned int *max_rate)
 

Macro Definition Documentation

#define CCDC_EVENT_LSC_DONE   0x40

Definition at line 94 of file ispccdc.h.

#define CCDC_EVENT_VD0   0x20

Definition at line 93 of file ispccdc.h.

#define CCDC_EVENT_VD1   0x10

Definition at line 92 of file ispccdc.h.

#define CCDC_OUTPUT_MEMORY   (1 << 0)

Definition at line 43 of file ispccdc.h.

#define CCDC_OUTPUT_PREVIEW   (1 << 1)

Definition at line 44 of file ispccdc.h.

#define CCDC_OUTPUT_RESIZER   (1 << 2)

Definition at line 45 of file ispccdc.h.

#define CCDC_PAD_SINK   0

Definition at line 97 of file ispccdc.h.

#define CCDC_PAD_SOURCE_OF   1

Definition at line 98 of file ispccdc.h.

#define CCDC_PAD_SOURCE_VP   2

Definition at line 99 of file ispccdc.h.

#define CCDC_PADS_NUM   3

Definition at line 100 of file ispccdc.h.

#define CCDC_STOP_CCDC_FINISHED   0x04

Definition at line 87 of file ispccdc.h.

#define CCDC_STOP_EXECUTED   (0x02 | CCDC_STOP_REQUEST)

Definition at line 86 of file ispccdc.h.

#define CCDC_STOP_FINISHED   (CCDC_STOP_EXECUTED | CCDC_STOP_CCDC_FINISHED | CCDC_STOP_LSC_FINISHED)

Definition at line 89 of file ispccdc.h.

#define CCDC_STOP_LSC_FINISHED   0x08

Definition at line 88 of file ispccdc.h.

#define CCDC_STOP_NOT_REQUESTED   0x00

Definition at line 84 of file ispccdc.h.

#define CCDC_STOP_REQUEST   0x01

Definition at line 85 of file ispccdc.h.

#define OMAP3ISP_CCDC_NEVENTS   16

Definition at line 47 of file ispccdc.h.

Enumeration Type Documentation

Enumerator:
CCDC_INPUT_NONE 
CCDC_INPUT_PARALLEL 
CCDC_INPUT_CSI2A 
CCDC_INPUT_CCP2B 
CCDC_INPUT_CSI2C 

Definition at line 35 of file ispccdc.h.

Enumerator:
LSC_STATE_STOPPED 
LSC_STATE_STOPPING 
LSC_STATE_RUNNING 
LSC_STATE_RECONFIG 

Definition at line 49 of file ispccdc.h.

Function Documentation

int omap3isp_ccdc_busy ( struct isp_ccdc_device isp_ccdc)

Definition at line 125 of file ispccdc.c.

void omap3isp_ccdc_cleanup ( struct isp_device isp)

Definition at line 2565 of file ispccdc.c.

int omap3isp_ccdc_init ( struct isp_device isp)

Definition at line 2530 of file ispccdc.c.

int omap3isp_ccdc_isr ( struct isp_ccdc_device isp_ccdc,
u32  events 
)

Definition at line 1632 of file ispccdc.c.

void omap3isp_ccdc_max_rate ( struct isp_ccdc_device ccdc,
unsigned int max_rate 
)

Definition at line 946 of file ispccdc.c.

int omap3isp_ccdc_register_entities ( struct isp_ccdc_device ccdc,
struct v4l2_device vdev 
)

Definition at line 2439 of file ispccdc.c.

void omap3isp_ccdc_restore_context ( struct isp_device isp)

Definition at line 797 of file ispccdc.c.

void omap3isp_ccdc_unregister_entities ( struct isp_ccdc_device ccdc)

Definition at line 2433 of file ispccdc.c.