Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
ipmi_smi.h File Reference
#include <linux/ipmi_msgdefs.h>
#include <linux/proc_fs.h>
#include <linux/platform_device.h>
#include <linux/ipmi.h>

Go to the source code of this file.

Data Structures

struct  ipmi_smi_msg
 
struct  ipmi_smi_handlers
 
struct  ipmi_device_id
 

Macros

#define ipmi_version_major(v)   ((v)->ipmi_version & 0xf)
 
#define ipmi_version_minor(v)   ((v)->ipmi_version >> 4)
 

Typedefs

typedef struct ipmi_smiipmi_smi_t
 

Functions

int ipmi_register_smi (struct ipmi_smi_handlers *handlers, void *send_info, struct ipmi_device_id *device_id, struct device *dev, const char *sysfs_name, unsigned char slave_addr)
 
int ipmi_unregister_smi (ipmi_smi_t intf)
 
void ipmi_smi_msg_received (ipmi_smi_t intf, struct ipmi_smi_msg *msg)
 
void ipmi_smi_watchdog_pretimeout (ipmi_smi_t intf)
 
struct ipmi_smi_msgipmi_alloc_smi_msg (void)
 
int ipmi_smi_add_proc_entry (ipmi_smi_t smi, char *name, const struct file_operations *proc_ops, void *data)
 

Macro Definition Documentation

#define ipmi_version_major (   v)    ((v)->ipmi_version & 0xf)

Definition at line 151 of file ipmi_smi.h.

#define ipmi_version_minor (   v)    ((v)->ipmi_version >> 4)

Definition at line 152 of file ipmi_smi.h.

Typedef Documentation

Definition at line 48 of file ipmi_smi.h.

Function Documentation

struct ipmi_smi_msg* ipmi_alloc_smi_msg ( void  )
read

Definition at line 4166 of file ipmi_msghandler.c.

int ipmi_register_smi ( struct ipmi_smi_handlers handlers,
void send_info,
struct ipmi_device_id device_id,
struct device dev,
const char sysfs_name,
unsigned char  slave_addr 
)

Definition at line 2810 of file ipmi_msghandler.c.

int ipmi_smi_add_proc_entry ( ipmi_smi_t  smi,
char name,
const struct file_operations proc_ops,
void data 
)

Definition at line 2027 of file ipmi_msghandler.c.

void ipmi_smi_msg_received ( ipmi_smi_t  intf,
struct ipmi_smi_msg msg 
)

Definition at line 3865 of file ipmi_msghandler.c.

void ipmi_smi_watchdog_pretimeout ( ipmi_smi_t  intf)

Definition at line 3932 of file ipmi_msghandler.c.

int ipmi_unregister_smi ( ipmi_smi_t  intf)

Definition at line 2986 of file ipmi_msghandler.c.