Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
wd.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/watchdog.h>
#include "mei_dev.h"
#include "hw.h"
#include "interface.h"
#include <linux/mei.h>

Go to the source code of this file.

Macros

#define INTEL_AMT_WATCHDOG_ID   "INTCAMT"
 

Functions

int mei_wd_host_init (struct mei_device *dev)
 
int mei_wd_send (struct mei_device *dev)
 
int mei_wd_stop (struct mei_device *dev)
 
void mei_watchdog_register (struct mei_device *dev)
 
void mei_watchdog_unregister (struct mei_device *dev)
 

Variables

const u8 mei_wd_state_independence_msg [3][4]
 
const uuid_le mei_wd_guid
 

Macro Definition Documentation

#define INTEL_AMT_WATCHDOG_ID   "INTCAMT"

Definition at line 41 of file wd.c.

Function Documentation

void mei_watchdog_register ( struct mei_device dev)

Definition at line 358 of file wd.c.

void mei_watchdog_unregister ( struct mei_device dev)

Definition at line 373 of file wd.c.

int mei_wd_host_init ( struct mei_device dev)

mei_wd_host_init - connect to the watchdog client

: the device structure returns -ENENT if wd client cannot be found -EIO if write has failed 0 on success

Definition at line 63 of file wd.c.

int mei_wd_send ( struct mei_device dev)

mei_wd_send - sends watch dog message to fw.

: the device structure

returns 0 if success, -EIO when message send fails -EINVAL when invalid message is to be sent

Definition at line 102 of file wd.c.

int mei_wd_stop ( struct mei_device dev)

mei_wd_stop - sends watchdog stop message to fw.

: the device structure : indicate if to keep the timeout value

returns 0 if success, -EIO when message send fails -EINVAL when invalid message is to be sent

Definition at line 132 of file wd.c.

Variable Documentation

const uuid_le mei_wd_guid
Initial value:
= UUID_LE(0x05B79A6F, 0x4628, 0x4D7F, 0x89,
0x9D, 0xA9, 0x15, 0x14, 0xCB,
0x32, 0xAB)

Definition at line 44 of file wd.c.

const u8 mei_wd_state_independence_msg[3][4]
Initial value:
= {
{0x05, 0x02, 0x51, 0x10},
{0x05, 0x02, 0x52, 0x10},
{0x07, 0x02, 0x01, 0x10}
}

Definition at line 32 of file wd.c.