Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Variables
hw.h File Reference
#include <linux/uuid.h>

Go to the source code of this file.

Data Structures

struct  mei_msg_hdr
 
struct  mei_bus_message
 
struct  hbm_version
 
struct  hbm_host_version_request
 
struct  hbm_host_version_response
 
struct  hbm_host_stop_request
 
struct  hbm_host_stop_response
 
struct  hbm_me_stop_request
 
struct  hbm_host_enum_request
 
struct  hbm_host_enum_response
 
struct  mei_client_properties
 
struct  hbm_props_request
 
struct  hbm_props_response
 
struct  hbm_client_connect_request
 
struct  hbm_client_connect_response
 
struct  hbm_client_disconnect_request
 
struct  hbm_flow_control
 
struct  mei_me_client
 

Macros

#define MEI_INTEROP_TIMEOUT   (HZ * 7)
 
#define MEI_CONNECT_TIMEOUT   3 /* at least 2 seconds */
 
#define CONNECT_TIMEOUT   15 /* HPS definition */
 
#define INIT_CLIENTS_TIMEOUT   15 /* HPS definition */
 
#define IAMTHIF_STALL_TIMER   12 /* seconds */
 
#define IAMTHIF_READ_TIMER   10000 /* ms */
 
#define MEI_WD_HOST_CLIENT_ID   1
 
#define MEI_IAMTHIF_HOST_CLIENT_ID   2
 
#define MEI_DEV_ID_82946GZ   0x2974 /* 82946GZ/GL */
 
#define MEI_DEV_ID_82G35   0x2984 /* 82G35 Express */
 
#define MEI_DEV_ID_82Q965   0x2994 /* 82Q963/Q965 */
 
#define MEI_DEV_ID_82G965   0x29A4 /* 82P965/G965 */
 
#define MEI_DEV_ID_82GM965   0x2A04 /* Mobile PM965/GM965 */
 
#define MEI_DEV_ID_82GME965   0x2A14 /* Mobile GME965/GLE960 */
 
#define MEI_DEV_ID_ICH9_82Q35   0x29B4 /* 82Q35 Express */
 
#define MEI_DEV_ID_ICH9_82G33   0x29C4 /* 82G33/G31/P35/P31 Express */
 
#define MEI_DEV_ID_ICH9_82Q33   0x29D4 /* 82Q33 Express */
 
#define MEI_DEV_ID_ICH9_82X38   0x29E4 /* 82X38/X48 Express */
 
#define MEI_DEV_ID_ICH9_3200   0x29F4 /* 3200/3210 Server */
 
#define MEI_DEV_ID_ICH9_6   0x28B4 /* Bearlake */
 
#define MEI_DEV_ID_ICH9_7   0x28C4 /* Bearlake */
 
#define MEI_DEV_ID_ICH9_8   0x28D4 /* Bearlake */
 
#define MEI_DEV_ID_ICH9_9   0x28E4 /* Bearlake */
 
#define MEI_DEV_ID_ICH9_10   0x28F4 /* Bearlake */
 
#define MEI_DEV_ID_ICH9M_1   0x2A44 /* Cantiga */
 
#define MEI_DEV_ID_ICH9M_2   0x2A54 /* Cantiga */
 
#define MEI_DEV_ID_ICH9M_3   0x2A64 /* Cantiga */
 
#define MEI_DEV_ID_ICH9M_4   0x2A74 /* Cantiga */
 
#define MEI_DEV_ID_ICH10_1   0x2E04 /* Eaglelake */
 
#define MEI_DEV_ID_ICH10_2   0x2E14 /* Eaglelake */
 
#define MEI_DEV_ID_ICH10_3   0x2E24 /* Eaglelake */
 
#define MEI_DEV_ID_ICH10_4   0x2E34 /* Eaglelake */
 
#define MEI_DEV_ID_IBXPK_1   0x3B64 /* Calpella */
 
#define MEI_DEV_ID_IBXPK_2   0x3B65 /* Calpella */
 
#define MEI_DEV_ID_CPT_1   0x1C3A /* Couger Point */
 
#define MEI_DEV_ID_PBG_1   0x1D3A /* C600/X79 Patsburg */
 
#define MEI_DEV_ID_PPT_1   0x1E3A /* Panther Point */
 
#define MEI_DEV_ID_PPT_2   0x1CBA /* Panther Point */
 
#define MEI_DEV_ID_PPT_3   0x1DBA /* Panther Point */
 
#define MEI_DEV_ID_LPT   0x8C3A /* Lynx Point */
 
#define MEI_DEV_ID_LPT_LP   0x9C3A /* Lynx Point LP */
 
#define H_CB_WW   0
 
#define H_CSR   4
 
#define ME_CB_RW   8
 
#define ME_CSR_HA   0xC
 
#define H_CBD   0xFF000000
 
#define H_CBWP   0x00FF0000
 
#define H_CBRP   0x0000FF00
 
#define H_RST   0x00000010
 
#define H_RDY   0x00000008
 
#define H_IG   0x00000004
 
#define H_IS   0x00000002
 
#define H_IE   0x00000001
 
#define ME_CBD_HRA   0xFF000000
 
#define ME_CBWP_HRA   0x00FF0000
 
#define ME_CBRP_HRA   0x0000FF00
 
#define ME_RST_HRA   0x00000010
 
#define ME_RDY_HRA   0x00000008
 
#define ME_IG_HRA   0x00000004
 
#define ME_IS_HRA   0x00000002
 
#define ME_IE_HRA   0x00000001
 
#define HBM_MINOR_VERSION   0
 
#define HBM_MAJOR_VERSION   1
 
#define HBM_TIMEOUT   1 /* 1 second */
 
#define MEI_HBM_CMD_OP_MSK   0x7f
 
#define MEI_HBM_CMD_RES_MSK   0x80
 
#define HOST_START_REQ_CMD   0x01
 
#define HOST_START_RES_CMD   0x81
 
#define HOST_STOP_REQ_CMD   0x02
 
#define HOST_STOP_RES_CMD   0x82
 
#define ME_STOP_REQ_CMD   0x03
 
#define HOST_ENUM_REQ_CMD   0x04
 
#define HOST_ENUM_RES_CMD   0x84
 
#define HOST_CLIENT_PROPERTIES_REQ_CMD   0x05
 
#define HOST_CLIENT_PROPERTIES_RES_CMD   0x85
 
#define CLIENT_CONNECT_REQ_CMD   0x06
 
#define CLIENT_CONNECT_RES_CMD   0x86
 
#define CLIENT_DISCONNECT_REQ_CMD   0x07
 
#define CLIENT_DISCONNECT_RES_CMD   0x87
 
#define MEI_FLOW_CONTROL_CMD   0x08
 
#define MEI_FC_MESSAGE_RESERVED_LENGTH   5
 

Enumerations

enum  mei_stop_reason_types {
  DRIVER_STOP_REQUEST = 0x00, DEVICE_D1_ENTRY = 0x01, DEVICE_D2_ENTRY = 0x02, DEVICE_D3_ENTRY = 0x03,
  SYSTEM_S1_ENTRY = 0x04, SYSTEM_S2_ENTRY = 0x05, SYSTEM_S3_ENTRY = 0x06, SYSTEM_S4_ENTRY = 0x07,
  SYSTEM_S5_ENTRY = 0x08
}
 
enum  client_connect_status_types {
  CCS_SUCCESS = 0x00, CCS_NOT_FOUND = 0x01, CCS_ALREADY_STARTED = 0x02, CCS_OUT_OF_RESOURCES = 0x03,
  CCS_MESSAGE_SMALL = 0x04
}
 
enum  client_disconnect_status_types { CDS_SUCCESS = 0x00 }
 

Variables

struct mei_msg_hdr __packed
 

Macro Definition Documentation

#define CLIENT_CONNECT_REQ_CMD   0x06

Definition at line 167 of file hw.h.

#define CLIENT_CONNECT_RES_CMD   0x86

Definition at line 168 of file hw.h.

#define CLIENT_DISCONNECT_REQ_CMD   0x07

Definition at line 170 of file hw.h.

#define CLIENT_DISCONNECT_RES_CMD   0x87

Definition at line 171 of file hw.h.

#define CONNECT_TIMEOUT   15 /* HPS definition */

Definition at line 28 of file hw.h.

#define H_CB_WW   0

Definition at line 91 of file hw.h.

#define H_CBD   0xFF000000

Definition at line 102 of file hw.h.

#define H_CBRP   0x0000FF00

Definition at line 106 of file hw.h.

#define H_CBWP   0x00FF0000

Definition at line 104 of file hw.h.

#define H_CSR   4

Definition at line 93 of file hw.h.

#define H_IE   0x00000001

Definition at line 116 of file hw.h.

#define H_IG   0x00000004

Definition at line 112 of file hw.h.

#define H_IS   0x00000002

Definition at line 114 of file hw.h.

#define H_RDY   0x00000008

Definition at line 110 of file hw.h.

#define H_RST   0x00000010

Definition at line 108 of file hw.h.

#define HBM_MAJOR_VERSION   1

Definition at line 142 of file hw.h.

#define HBM_MINOR_VERSION   0

Definition at line 141 of file hw.h.

#define HBM_TIMEOUT   1 /* 1 second */

Definition at line 143 of file hw.h.

#define HOST_CLIENT_PROPERTIES_REQ_CMD   0x05

Definition at line 164 of file hw.h.

#define HOST_CLIENT_PROPERTIES_RES_CMD   0x85

Definition at line 165 of file hw.h.

#define HOST_ENUM_REQ_CMD   0x04

Definition at line 161 of file hw.h.

#define HOST_ENUM_RES_CMD   0x84

Definition at line 162 of file hw.h.

#define HOST_START_REQ_CMD   0x01

Definition at line 153 of file hw.h.

#define HOST_START_RES_CMD   0x81

Definition at line 154 of file hw.h.

#define HOST_STOP_REQ_CMD   0x02

Definition at line 156 of file hw.h.

#define HOST_STOP_RES_CMD   0x82

Definition at line 157 of file hw.h.

#define IAMTHIF_READ_TIMER   10000 /* ms */

Definition at line 32 of file hw.h.

#define IAMTHIF_STALL_TIMER   12 /* seconds */

Definition at line 31 of file hw.h.

#define INIT_CLIENTS_TIMEOUT   15 /* HPS definition */

Definition at line 29 of file hw.h.

#define ME_CB_RW   8

Definition at line 95 of file hw.h.

#define ME_CBD_HRA   0xFF000000

Definition at line 122 of file hw.h.

#define ME_CBRP_HRA   0x0000FF00

Definition at line 126 of file hw.h.

#define ME_CBWP_HRA   0x00FF0000

Definition at line 124 of file hw.h.

#define ME_CSR_HA   0xC

Definition at line 97 of file hw.h.

#define ME_IE_HRA   0x00000001

Definition at line 136 of file hw.h.

#define ME_IG_HRA   0x00000004

Definition at line 132 of file hw.h.

#define ME_IS_HRA   0x00000002

Definition at line 134 of file hw.h.

#define ME_RDY_HRA   0x00000008

Definition at line 130 of file hw.h.

#define ME_RST_HRA   0x00000010

Definition at line 128 of file hw.h.

#define ME_STOP_REQ_CMD   0x03

Definition at line 159 of file hw.h.

#define MEI_CONNECT_TIMEOUT   3 /* at least 2 seconds */

Definition at line 26 of file hw.h.

#define MEI_DEV_ID_82946GZ   0x2974 /* 82946GZ/GL */

Definition at line 43 of file hw.h.

#define MEI_DEV_ID_82G35   0x2984 /* 82G35 Express */

Definition at line 44 of file hw.h.

#define MEI_DEV_ID_82G965   0x29A4 /* 82P965/G965 */

Definition at line 46 of file hw.h.

#define MEI_DEV_ID_82GM965   0x2A04 /* Mobile PM965/GM965 */

Definition at line 48 of file hw.h.

#define MEI_DEV_ID_82GME965   0x2A14 /* Mobile GME965/GLE960 */

Definition at line 49 of file hw.h.

#define MEI_DEV_ID_82Q965   0x2994 /* 82Q963/Q965 */

Definition at line 45 of file hw.h.

#define MEI_DEV_ID_CPT_1   0x1C3A /* Couger Point */

Definition at line 76 of file hw.h.

#define MEI_DEV_ID_IBXPK_1   0x3B64 /* Calpella */

Definition at line 73 of file hw.h.

#define MEI_DEV_ID_IBXPK_2   0x3B65 /* Calpella */

Definition at line 74 of file hw.h.

#define MEI_DEV_ID_ICH10_1   0x2E04 /* Eaglelake */

Definition at line 68 of file hw.h.

#define MEI_DEV_ID_ICH10_2   0x2E14 /* Eaglelake */

Definition at line 69 of file hw.h.

#define MEI_DEV_ID_ICH10_3   0x2E24 /* Eaglelake */

Definition at line 70 of file hw.h.

#define MEI_DEV_ID_ICH10_4   0x2E34 /* Eaglelake */

Definition at line 71 of file hw.h.

#define MEI_DEV_ID_ICH9_10   0x28F4 /* Bearlake */

Definition at line 61 of file hw.h.

#define MEI_DEV_ID_ICH9_3200   0x29F4 /* 3200/3210 Server */

Definition at line 55 of file hw.h.

#define MEI_DEV_ID_ICH9_6   0x28B4 /* Bearlake */

Definition at line 57 of file hw.h.

#define MEI_DEV_ID_ICH9_7   0x28C4 /* Bearlake */

Definition at line 58 of file hw.h.

#define MEI_DEV_ID_ICH9_8   0x28D4 /* Bearlake */

Definition at line 59 of file hw.h.

#define MEI_DEV_ID_ICH9_82G33   0x29C4 /* 82G33/G31/P35/P31 Express */

Definition at line 52 of file hw.h.

#define MEI_DEV_ID_ICH9_82Q33   0x29D4 /* 82Q33 Express */

Definition at line 53 of file hw.h.

#define MEI_DEV_ID_ICH9_82Q35   0x29B4 /* 82Q35 Express */

Definition at line 51 of file hw.h.

#define MEI_DEV_ID_ICH9_82X38   0x29E4 /* 82X38/X48 Express */

Definition at line 54 of file hw.h.

#define MEI_DEV_ID_ICH9_9   0x28E4 /* Bearlake */

Definition at line 60 of file hw.h.

#define MEI_DEV_ID_ICH9M_1   0x2A44 /* Cantiga */

Definition at line 63 of file hw.h.

#define MEI_DEV_ID_ICH9M_2   0x2A54 /* Cantiga */

Definition at line 64 of file hw.h.

#define MEI_DEV_ID_ICH9M_3   0x2A64 /* Cantiga */

Definition at line 65 of file hw.h.

#define MEI_DEV_ID_ICH9M_4   0x2A74 /* Cantiga */

Definition at line 66 of file hw.h.

#define MEI_DEV_ID_LPT   0x8C3A /* Lynx Point */

Definition at line 83 of file hw.h.

#define MEI_DEV_ID_LPT_LP   0x9C3A /* Lynx Point LP */

Definition at line 84 of file hw.h.

#define MEI_DEV_ID_PBG_1   0x1D3A /* C600/X79 Patsburg */

Definition at line 77 of file hw.h.

#define MEI_DEV_ID_PPT_1   0x1E3A /* Panther Point */

Definition at line 79 of file hw.h.

#define MEI_DEV_ID_PPT_2   0x1CBA /* Panther Point */

Definition at line 80 of file hw.h.

#define MEI_DEV_ID_PPT_3   0x1DBA /* Panther Point */

Definition at line 81 of file hw.h.

#define MEI_FC_MESSAGE_RESERVED_LENGTH   5

Definition at line 317 of file hw.h.

#define MEI_FLOW_CONTROL_CMD   0x08

Definition at line 173 of file hw.h.

#define MEI_HBM_CMD_OP_MSK   0x7f

Definition at line 146 of file hw.h.

#define MEI_HBM_CMD_RES_MSK   0x80

Definition at line 148 of file hw.h.

#define MEI_IAMTHIF_HOST_CLIENT_ID   2

Definition at line 38 of file hw.h.

#define MEI_INTEROP_TIMEOUT   (HZ * 7)

Definition at line 25 of file hw.h.

#define MEI_WD_HOST_CLIENT_ID   1

Definition at line 37 of file hw.h.

Enumeration Type Documentation

Enumerator:
CCS_SUCCESS 
CCS_NOT_FOUND 
CCS_ALREADY_STARTED 
CCS_OUT_OF_RESOURCES 
CCS_MESSAGE_SMALL 

Definition at line 195 of file hw.h.

Enumerator:
CDS_SUCCESS 

Definition at line 206 of file hw.h.

Enumerator:
DRIVER_STOP_REQUEST 
DEVICE_D1_ENTRY 
DEVICE_D2_ENTRY 
DEVICE_D3_ENTRY 
SYSTEM_S1_ENTRY 
SYSTEM_S2_ENTRY 
SYSTEM_S3_ENTRY 
SYSTEM_S4_ENTRY 
SYSTEM_S5_ENTRY 

Definition at line 179 of file hw.h.

Variable Documentation