linux/drivers/mxc/security/rng/include/rng_driver.h File Reference

Header file to use the RNG driver. More...

Data Structures

struct  rng_work_entry

Typedefs

typedef enum rng_return rng_return_t
typedef struct rng_work_entry rng_work_entry_t

Enumerations

enum  rng_type {
  RNG_TYPE_RNGA = 0,
  RNG_TYPE_RNGB = 1,
  RNG_TYPE_RNGC = 2
}
enum  rng_return {
  RNG_RET_OK = 0,
  RNG_RET_FAIL
}

Detailed Description

Header file to use the RNG driver.


Typedef Documentation

typedef enum rng_return rng_return_t

Return values (error codes) for kernel register interface functions

An entry in the RNG Work Queue. Based upon standard SHW queue entry.

This entry also gets saved (for non-blocking requests) in the user's result pool. When the user picks up the request, the final processing (copy from data_local to data_user) will get made if status was good.


Enumeration Type Documentation

enum rng_return

Return values (error codes) for kernel register interface functions

Enumerator:
RNG_RET_OK 

Function succeeded

RNG_RET_FAIL 

Non-specific failure

enum rng_type

Values from Version ID register

Enumerator:
RNG_TYPE_RNGA 

Type RNGA.

RNG_TYPE_RNGB 

Type RNGB.

RNG_TYPE_RNGC 

Type RNGC

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen