Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
pm8001_ctl.c File Reference
#include <linux/firmware.h>
#include <linux/slab.h>
#include "pm8001_sas.h"
#include "pm8001_ctl.h"

Go to the source code of this file.

Data Structures

struct  flash_command
 
struct  error_fw
 

Macros

#define SAS_1_0   0x1
 
#define SAS_1_1   0x2
 
#define SAS_2_0   0x4
 
#define AAP1_MEMMAP(r, c)
 
#define IOP_MEMMAP(r, c)
 
#define FLASH_CMD_NONE   0x00
 
#define FLASH_CMD_UPDATE   0x01
 
#define FLASH_CMD_SET_NVMD   0x02
 

Variables

struct device_attributepm8001_host_attrs []
 

Macro Definition Documentation

#define AAP1_MEMMAP (   r,
  c 
)
Value:
(*(u32 *)((u8*)pm8001_ha->memoryMap.region[AAP1].virt_ptr + (r) * 32 \
+ (c)))
#define FLASH_CMD_NONE   0x00

Definition at line 308 of file pm8001_ctl.c.

#define FLASH_CMD_SET_NVMD   0x02

Definition at line 310 of file pm8001_ctl.c.

#define FLASH_CMD_UPDATE   0x01

Definition at line 309 of file pm8001_ctl.c.

#define IOP_MEMMAP (   r,
  c 
)
Value:
(*(u32 *)((u8*)pm8001_ha->memoryMap.region[IOP].virt_ptr + (r) * 32 \
+ (c)))
#define SAS_1_0   0x1

Definition at line 144 of file pm8001_ctl.c.

#define SAS_1_1   0x2

Definition at line 145 of file pm8001_ctl.c.

#define SAS_2_0   0x4

Definition at line 146 of file pm8001_ctl.c.

Variable Documentation

struct device_attribute* pm8001_host_attrs[]
Initial value:
= {
&dev_attr_interface_rev,
&dev_attr_fw_version,
&dev_attr_update_fw,
&dev_attr_aap_log,
&dev_attr_iop_log,
&dev_attr_max_out_io,
&dev_attr_max_devices,
&dev_attr_max_sg_list,
&dev_attr_sas_spec_support,
&dev_attr_logging_level,
&dev_attr_host_sas_address,
}

Definition at line 560 of file pm8001_ctl.c.