rng_work_entry Struct Reference

Data Fields

struct shw_queue_entry_t hdr
uint32_t length
uint32_t * data_local
uint8_t * data_user
unsigned completed

Detailed Description

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.


Field Documentation

unsigned completed

Non-zero if job is done.

Referenced by fsl_shw_get_random(), OS_DEV_TASK(), and RNG_ADD_WORK_ENTRY().

uint32_t* data_local

Where data from RNG FIFO gets placed.

Referenced by finish_random(), fsl_shw_get_random(), and OS_DEV_TASK().

uint8_t* data_user

Ultimate target of data.

Referenced by finish_random(), and fsl_shw_get_random().

struct shw_queue_entry_t hdr

Standards SHW queue info.

Referenced by finish_random(), fsl_shw_get_random(), and OS_DEV_TASK().

uint32_t length

Number of bytes still needed to satisfy request.

Referenced by finish_random(), fsl_shw_get_random(), and OS_DEV_TASK().

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