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

#include <cryp.h>

Data Fields

struct cryp_register __iomembase
 
struct devicedev
 
struct clkclk
 
struct regulatorpwr_regulator
 
int power_status
 
struct spinlock ctx_lock
 
struct cryp_ctxcurrent_ctx
 
struct klist_node list_node
 
struct cryp_dma dma
 
bool power_state
 
struct spinlock power_state_spinlock
 
bool restore_dev_ctx
 

Detailed Description

struct cryp_device_data - structure for a cryp device. : Pointer to the hardware base address. : Pointer to the devices dev structure. : Pointer to the device's clock control. : Pointer to the device's power control. : Current status of the power. : Lock for current_ctx. : Pointer to the currently allocated context. : For inclusion into a klist. : The dma structure holding channel configuration. : TRUE = power state on, FALSE = power state off. : Spinlock for power_state. : TRUE = saved ctx, FALSE = no saved ctx.

Definition at line 233 of file cryp.h.

Field Documentation

Definition at line 234 of file cryp.h.

Definition at line 236 of file cryp.h.

struct spinlock ctx_lock

Definition at line 239 of file cryp.h.

struct cryp_ctx* current_ctx

Definition at line 240 of file cryp.h.

struct device* dev

Definition at line 235 of file cryp.h.

Definition at line 242 of file cryp.h.

struct klist_node list_node

Definition at line 241 of file cryp.h.

Definition at line 243 of file cryp.h.

struct spinlock power_state_spinlock

Definition at line 244 of file cryp.h.

int power_status

Definition at line 238 of file cryp.h.

struct regulator* pwr_regulator

Definition at line 237 of file cryp.h.

bool restore_dev_ctx

Definition at line 245 of file cryp.h.


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