Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
s5p_mfc_dev Struct Reference

#include <s5p_mfc_common.h>

Data Fields

struct v4l2_device v4l2_dev
 
struct video_devicevfd_dec
 
struct video_devicevfd_enc
 
struct platform_deviceplat_dev
 
struct devicemem_dev_l
 
struct devicemem_dev_r
 
void __iomemregs_base
 
int irq
 
struct v4l2_ctrl_handler dec_ctrl_handler
 
struct v4l2_ctrl_handler enc_ctrl_handler
 
struct s5p_mfc_pm pm
 
struct s5p_mfc_variantvariant
 
int num_inst
 
spinlock_t irqlock
 
spinlock_t condlock
 
struct mutex mfc_mutex
 
int int_cond
 
int int_type
 
unsigned int int_err
 
wait_queue_head_t queue
 
size_t fw_size
 
size_t bank1
 
size_t bank2
 
unsigned long hw_lock
 
struct s5p_mfc_ctxctx [MFC_NUM_CONTEXTS]
 
int curr_ctx
 
unsigned long ctx_work_bits
 
atomic_t watchdog_cnt
 
struct timer_list watchdog_timer
 
struct workqueue_structwatchdog_workqueue
 
struct work_struct watchdog_work
 
voidalloc_ctx [2]
 
unsigned long enter_suspend
 
struct s5p_mfc_priv_buf ctx_buf
 
int warn_start
 
struct s5p_mfc_hw_opsmfc_ops
 
struct s5p_mfc_hw_cmdsmfc_cmds
 

Detailed Description

struct s5p_mfc_dev - The struct containing driver internal parameters.

: v4l2_device : video device for decoding : video device for encoding : platform device : child device of the left memory bank (0) : child device of the right memory bank (1) : base address of the MFC hw registers : irq resource : control framework handler for decoding : control framework handler for encoding : power management control : MFC hardware variant information : couter of active MFC instances : lock for operations on videobuf2 queues : lock for changing/checking if a context is ready to be processed : lock for video_device : variable used by the waitqueue : type of last interrupt : error number for last interrupt : waitqueue for waiting for completion of device commands : size of firmware : address of the beggining of bank 1 memory : address of the beggining of bank 2 memory : used for hardware locking : array of driver contexts : number of the currently running context : used to mark which contexts are waiting for hardware : counter for the watchdog : workqueue for the watchdog : worker for the watchdog : videobuf2 allocator contexts for two memory banks : flag set when entering suspend : common context memory (MFCv6) : hardware error code from which warnings start : ops structure holding HW operation function pointers : cmd structure holding HW commands function pointers

Definition at line 297 of file s5p_mfc_common.h.

Field Documentation

void* alloc_ctx[2]

Definition at line 330 of file s5p_mfc_common.h.

size_t bank1

Definition at line 320 of file s5p_mfc_common.h.

size_t bank2

Definition at line 321 of file s5p_mfc_common.h.

spinlock_t condlock

Definition at line 312 of file s5p_mfc_common.h.

Definition at line 323 of file s5p_mfc_common.h.

Definition at line 333 of file s5p_mfc_common.h.

unsigned long ctx_work_bits

Definition at line 325 of file s5p_mfc_common.h.

int curr_ctx

Definition at line 324 of file s5p_mfc_common.h.

struct v4l2_ctrl_handler dec_ctrl_handler

Definition at line 306 of file s5p_mfc_common.h.

struct v4l2_ctrl_handler enc_ctrl_handler

Definition at line 307 of file s5p_mfc_common.h.

unsigned long enter_suspend

Definition at line 331 of file s5p_mfc_common.h.

size_t fw_size

Definition at line 319 of file s5p_mfc_common.h.

unsigned long hw_lock

Definition at line 322 of file s5p_mfc_common.h.

int int_cond

Definition at line 315 of file s5p_mfc_common.h.

unsigned int int_err

Definition at line 317 of file s5p_mfc_common.h.

Definition at line 316 of file s5p_mfc_common.h.

int irq

Definition at line 305 of file s5p_mfc_common.h.

spinlock_t irqlock

Definition at line 311 of file s5p_mfc_common.h.

struct device* mem_dev_l

Definition at line 302 of file s5p_mfc_common.h.

struct device* mem_dev_r

Definition at line 303 of file s5p_mfc_common.h.

Definition at line 336 of file s5p_mfc_common.h.

struct mutex mfc_mutex

Definition at line 314 of file s5p_mfc_common.h.

Definition at line 335 of file s5p_mfc_common.h.

int num_inst

Definition at line 310 of file s5p_mfc_common.h.

Definition at line 301 of file s5p_mfc_common.h.

Definition at line 308 of file s5p_mfc_common.h.

Definition at line 318 of file s5p_mfc_common.h.

void __iomem* regs_base

Definition at line 304 of file s5p_mfc_common.h.

struct v4l2_device v4l2_dev

Definition at line 298 of file s5p_mfc_common.h.

Definition at line 309 of file s5p_mfc_common.h.

struct video_device* vfd_dec

Definition at line 299 of file s5p_mfc_common.h.

struct video_device* vfd_enc

Definition at line 300 of file s5p_mfc_common.h.

int warn_start

Definition at line 334 of file s5p_mfc_common.h.

atomic_t watchdog_cnt

Definition at line 326 of file s5p_mfc_common.h.

struct timer_list watchdog_timer

Definition at line 327 of file s5p_mfc_common.h.

struct work_struct watchdog_work

Definition at line 329 of file s5p_mfc_common.h.

struct workqueue_struct* watchdog_workqueue

Definition at line 328 of file s5p_mfc_common.h.


The documentation for this struct was generated from the following file: