#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <mach/hardware.h>
#include "cryp_p.h"
#include "cryp.h"
Go to the source code of this file.
|
void | cryp_wait_until_done (struct cryp_device_data *device_data) |
|
int | cryp_check (struct cryp_device_data *device_data) |
|
void | cryp_activity (struct cryp_device_data *device_data, enum cryp_crypen cryp_crypen) |
|
void | cryp_flush_inoutfifo (struct cryp_device_data *device_data) |
|
int | cryp_set_configuration (struct cryp_device_data *device_data, struct cryp_config *cryp_config, u32 *control_register) |
|
int | cryp_configure_protection (struct cryp_device_data *device_data, struct cryp_protection_config *p_protect_config) |
|
int | cryp_is_logic_busy (struct cryp_device_data *device_data) |
|
void | cryp_configure_for_dma (struct cryp_device_data *device_data, enum cryp_dma_req_type dma_req) |
|
int | cryp_configure_key_values (struct cryp_device_data *device_data, enum cryp_key_reg_index key_reg_index, struct cryp_key_value key_value) |
|
int | cryp_configure_init_vector (struct cryp_device_data *device_data, enum cryp_init_vector_index init_vector_index, struct cryp_init_vector_value init_vector_value) |
|
void | cryp_save_device_context (struct cryp_device_data *device_data, struct cryp_device_context *ctx, int cryp_mode) |
|
void | cryp_restore_device_context (struct cryp_device_data *device_data, struct cryp_device_context *ctx) |
|
cryp_activity - This routine enables/disable the cryptography function. : Pointer to the device data struct for base address. : Enable/Disable functionality
Definition at line 71 of file cryp.c.
cryp_check - This routine checks Peripheral and PCell Id : Pointer to the device data struct for base address.
Definition at line 33 of file cryp.c.
cryp_configure_for_dma - configures the CRYP IP for DMA operation : Pointer to the device data struct for base address. : Specifies the DMA request type value.
Definition at line 198 of file cryp.c.
cryp_configure_init_vector - configures the initialization vector register : Pointer to the device data struct for base address. : Specifies the index of the init vector. : Specifies the value for the init vector.
Definition at line 256 of file cryp.c.
cryp_configure_key_values - configures the key values for CRYP operations : Pointer to the device data struct for base address. : Key value index register : The key value struct
Definition at line 211 of file cryp.c.
cryp_configure_protection - set the protection bits in the CRYP logic. : Pointer to the device data struct for base address. : Pointer to the protection mode and secure mode configuration
Definition at line 166 of file cryp.c.
cryp_flush_inoutfifo - Resets both the input and the output FIFOs : Pointer to the device data struct for base address.
Definition at line 84 of file cryp.c.
cryp_is_logic_busy - returns the busy status of the CRYP logic : Pointer to the device data struct for base address.
Definition at line 187 of file cryp.c.
cryp_restore_device_context - Restore hardware registers and other device context parameter : Pointer to the device data struct for base address. : Crypto device context
Definition at line 351 of file cryp.c.
cryp_save_device_context - Store hardware registers and other device context parameter : Pointer to the device data struct for base address. : Crypto device context
Definition at line 291 of file cryp.c.
cryp_set_configuration - This routine set the cr CRYP IP : Pointer to the device data struct for base address. : Pointer to the configuration parameter : The control register to be written later on.
Definition at line 112 of file cryp.c.