Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

shw_internals.h File Reference

Detailed Description

This file contains definitions which are internal to the SHW driver.

This header file should only ever be included by shw_driver.c

Compile-time flags minimally needed:

Definition in file shw_internals.h.

#include "portable_os.h"
#include "shw_driver.h"

Go to the source code of this file.


#define SHW_DRIVER_NAME   "fsl_shw"
#define SHW_MAJOR_NODE   0


static os_error_code add_entropy (fsl_shw_uco_t *user_ctx, void *user_mode_add_entropy_req)
static os_error_code get_capabilities (fsl_shw_uco_t *user_ctx, void *user_mode_pco_request)
static os_error_code get_random (fsl_shw_uco_t *user_ctx, void *user_mode_get_random_req)
static os_error_code get_results (fsl_shw_uco_t *user_ctx, void *user_mode_result_req)
static os_error_code init_uco (fsl_shw_uco_t *user_ctx, void *user_mode_uco)
os_error_code map_user_memory (struct vm_area_struct *vma, uint32_t physical_addr, uint32_t size)
static void SHW_ADD_USER (fsl_shw_uco_t *ctx)
static void shw_cleanup (void)
static void SHW_REMOVE_USER (fsl_shw_uco_t *ctx)
static os_error_code shw_setup_user_driver_interaction (void)
static void shw_user_callback (fsl_shw_uco_t *uco)
os_error_code unmap_user_memory (uint32_t user_addr, uint32_t size)
void unwire_user_memory (void **page_ctx)
void * wire_user_memory (void *address, uint32_t length, void **page_ctx)

Generated by  Doxygen 1.6.0   Back to index