Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/device.h>
Go to the source code of this file.
Data Structures | |
struct | arqb |
struct | arsb |
struct | msb |
struct | aidaw |
struct | aob |
struct | aob_rq_header |
struct | scm_device |
struct | scm_driver |
struct | eadm_ops |
Macros | |
#define | ARQB_CMD_MOVE 1 |
#define | MSB_OC_CLEAR 0 |
#define | MSB_OC_READ 1 |
#define | MSB_OC_WRITE 2 |
#define | MSB_OC_RELEASE 3 |
#define | MSB_FLAG_BNM 0x80 |
#define | MSB_FLAG_IDA 0x40 |
#define | MSB_BS_4K 0 |
#define | MSB_BS_1M 1 |
#define | AOB_NR_MSB 124 |
#define | OP_STATE_GOOD 1 |
#define | OP_STATE_TEMP_ERR 2 |
#define | OP_STATE_PERM_ERR 3 |
Functions | |
struct aob | __aligned (PAGE_SIZE) |
int | scm_driver_register (struct scm_driver *scmdrv) |
void | scm_driver_unregister (struct scm_driver *scmdrv) |
int | scm_start_aob (struct aob *aob) |
void | scm_irq_handler (struct aob *aob, int error) |
int | scm_get_ref (void) |
void | scm_put_ref (void) |
void | register_eadm_ops (struct eadm_ops *ops) |
void | unregister_eadm_ops (struct eadm_ops *ops) |
Variables | |
struct arqb | __packed |
struct arqb | request |
struct arsb | response |
struct msb | msb [AOB_NR_MSB] |
struct aob_rq_header | __aligned |
int scm_driver_register | ( | struct scm_driver * | scmdrv | ) |
scm_driver_register() - register a scm driver : driver to be registered
void scm_driver_unregister | ( | struct scm_driver * | scmdrv | ) |
scm_driver_unregister() - deregister a scm driver : driver to be deregistered
struct aob_rq_header __aligned |
struct chsc_header request |