Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dot_command.c File Reference
#include "ibmasm.h"
#include "dot_command.h"

Go to the source code of this file.

Data Structures

struct  os_state_command
 

Macros

#define INIT_BUFFER_SIZE   32
 

Functions

void ibmasm_receive_message (struct service_processor *sp, void *message, int message_size)
 
int ibmasm_send_driver_vpd (struct service_processor *sp)
 
int ibmasm_send_os_state (struct service_processor *sp, int os_state)
 

Macro Definition Documentation

#define INIT_BUFFER_SIZE   32

Definition at line 62 of file dot_command.c.

Function Documentation

void ibmasm_receive_message ( struct service_processor sp,
void message,
int  message_size 
)

Dispatch an incoming message to the specific handler for the message. Called from interrupt context.

Definition at line 31 of file dot_command.c.

int ibmasm_send_driver_vpd ( struct service_processor sp)

send the 4.3.5.10 dot command (driver VPD) to the service processor

Definition at line 68 of file dot_command.c.

int ibmasm_send_os_state ( struct service_processor sp,
int  os_state 
)

send the 4.3.6 dot command (os state) to the service processor During driver init this function is called with os state "up". This causes the service processor to start sending heartbeats the driver. During driver exit the function is called with os state "down", causing the service processor to stop the heartbeats.

Definition at line 124 of file dot_command.c.