Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
shpchp_ctrl.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include "../pci.h"
#include "shpchp.h"

Go to the source code of this file.

Data Structures

struct  pushbutton_work_info
 

Functions

u8 shpchp_handle_attention_button (u8 hp_slot, struct controller *ctrl)
 
u8 shpchp_handle_switch_change (u8 hp_slot, struct controller *ctrl)
 
u8 shpchp_handle_presence_change (u8 hp_slot, struct controller *ctrl)
 
u8 shpchp_handle_power_fault (u8 hp_slot, struct controller *ctrl)
 
void shpchp_queue_pushbutton_work (struct work_struct *work)
 
int shpchp_sysfs_enable_slot (struct slot *p_slot)
 
int shpchp_sysfs_disable_slot (struct slot *p_slot)
 

Function Documentation

u8 shpchp_handle_attention_button ( u8  hp_slot,
struct controller ctrl 
)

Definition at line 59 of file shpchp_ctrl.c.

u8 shpchp_handle_power_fault ( u8  hp_slot,
struct controller ctrl 
)

Definition at line 155 of file shpchp_ctrl.c.

u8 shpchp_handle_presence_change ( u8  hp_slot,
struct controller ctrl 
)

Definition at line 120 of file shpchp_ctrl.c.

u8 shpchp_handle_switch_change ( u8  hp_slot,
struct controller ctrl 
)

Definition at line 82 of file shpchp_ctrl.c.

void shpchp_queue_pushbutton_work ( struct work_struct work)

Definition at line 430 of file shpchp_ctrl.c.

int shpchp_sysfs_disable_slot ( struct slot p_slot)

Definition at line 695 of file shpchp_ctrl.c.

int shpchp_sysfs_enable_slot ( struct slot p_slot)

Definition at line 660 of file shpchp_ctrl.c.