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

sah_driver_common.h File Reference


Detailed Description

Provides types and defined values for use in the Driver Interface.

Definition in file sah_driver_common.h.

#include "fsl_platform.h"
#include <sahara.h>
#include <adaptor.h>

Go to the source code of this file.

Defines

#define SAH_DESC_PROCESSED(status)
#define SAHARA_DEVICE_MODE   S_IFCHR | S_IRUGO | S_IWUGO

Enumerations

enum  sah_Queue_Status {
  SAH_STATE_PENDING, SAH_STATE_ON_SAHARA, SAH_STATE_OFF_SAHARA, SAH_STATE_COMPLETE,
  SAH_STATE_FAILED, SAH_STATE_RESET, SAH_STATE_IGNORE, SAH_STATE_IGNORED
}

Functions

fsl_shw_return_t sah_get_results_from_pool (volatile fsl_shw_uco_t *user_ctx, sah_results *arg)
 Extract results from results pool.
int sah_get_results_pointers (fsl_shw_uco_t *user_ctx, uint32_t arg)
 Sets up memory to extract results from results pool.
fsl_shw_return_t sah_handle_deregistration (fsl_shw_uco_t *user_cts)
 Deregister a user.
unsigned long sah_Handle_Poll (sah_Head_Desc *entry)
fsl_shw_return_t sah_handle_registration (fsl_shw_uco_t *user_cts)
 Register a user.
int sah_Queue_Manager_Count_Entries (int ignore_state, sah_Queue_Status state)

Variables

uint32_t dar_count
os_lock_t desc_queue_lock
uint32_t done1_count
uint32_t done1busy2_count
uint32_t done1done2_count
uint32_t interrupt_count


Generated by  Doxygen 1.6.0   Back to index