Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
hpi6000.h File Reference

Go to the source code of this file.

Data Structures

struct  hpi_hif_6000
 

Macros

#define HPI_NMIXER_CONTROLS   200
 
#define HPI_HIF_PACK_ADAPTER_INFO(adapter, version_major, version_minor)   ((adapter << 16) | (version_major << 8) | version_minor)
 
#define HPI_HIF_ADAPTER_INFO_EXTRACT_ADAPTER(adapterinfo)   ((adapterinfo >> 16) & 0xffff)
 
#define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION_MAJOR(adapterinfo)   ((adapterinfo >> 8) & 0xff)
 
#define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION_MINOR(adapterinfo)   (adapterinfo & 0xff)
 
#define HPI_HIF_IDLE   0
 
#define HPI_HIF_SEND_MSG   1
 
#define HPI_HIF_GET_RESP   2
 
#define HPI_HIF_DATA_MASK   0x10
 
#define HPI_HIF_SEND_DATA   0x13
 
#define HPI_HIF_GET_DATA   0x14
 
#define HPI_HIF_SEND_DONE   5
 
#define HPI_HIF_RESET   9
 

Macro Definition Documentation

#define HPI_HIF_ADAPTER_INFO_EXTRACT_ADAPTER (   adapterinfo)    ((adapterinfo >> 16) & 0xffff)

Definition at line 53 of file hpi6000.h.

#define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION_MAJOR (   adapterinfo)    ((adapterinfo >> 8) & 0xff)

Definition at line 55 of file hpi6000.h.

#define HPI_HIF_ADAPTER_INFO_EXTRACT_HWVERSION_MINOR (   adapterinfo)    (adapterinfo & 0xff)

Definition at line 57 of file hpi6000.h.

#define HPI_HIF_DATA_MASK   0x10

Definition at line 64 of file hpi6000.h.

#define HPI_HIF_GET_DATA   0x14

Definition at line 66 of file hpi6000.h.

#define HPI_HIF_GET_RESP   2

Definition at line 63 of file hpi6000.h.

#define HPI_HIF_IDLE   0

Definition at line 61 of file hpi6000.h.

#define HPI_HIF_PACK_ADAPTER_INFO (   adapter,
  version_major,
  version_minor 
)    ((adapter << 16) | (version_major << 8) | version_minor)

Definition at line 51 of file hpi6000.h.

#define HPI_HIF_RESET   9

Definition at line 68 of file hpi6000.h.

#define HPI_HIF_SEND_DATA   0x13

Definition at line 65 of file hpi6000.h.

#define HPI_HIF_SEND_DONE   5

Definition at line 67 of file hpi6000.h.

#define HPI_HIF_SEND_MSG   1

Definition at line 62 of file hpi6000.h.

#define HPI_NMIXER_CONTROLS   200

Definition at line 29 of file hpi6000.h.