Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
pciehp_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 "pciehp.h"

Go to the source code of this file.

Data Structures

struct  power_work_info
 

Functions

u8 pciehp_handle_attention_button (struct slot *p_slot)
 
u8 pciehp_handle_switch_change (struct slot *p_slot)
 
u8 pciehp_handle_presence_change (struct slot *p_slot)
 
u8 pciehp_handle_power_fault (struct slot *p_slot)
 
void pciehp_queue_pushbutton_work (struct work_struct *work)
 
int pciehp_enable_slot (struct slot *p_slot)
 
int pciehp_disable_slot (struct slot *p_slot)
 
int pciehp_sysfs_enable_slot (struct slot *p_slot)
 
int pciehp_sysfs_disable_slot (struct slot *p_slot)
 

Function Documentation

int pciehp_disable_slot ( struct slot p_slot)

Definition at line 518 of file pciehp_ctrl.c.

int pciehp_enable_slot ( struct slot p_slot)

Definition at line 479 of file pciehp_ctrl.c.

u8 pciehp_handle_attention_button ( struct slot p_slot)

Definition at line 57 of file pciehp_ctrl.c.

u8 pciehp_handle_power_fault ( struct slot p_slot)

Definition at line 138 of file pciehp_ctrl.c.

u8 pciehp_handle_presence_change ( struct slot p_slot)

Definition at line 105 of file pciehp_ctrl.c.

u8 pciehp_handle_switch_change ( struct slot p_slot)

Definition at line 76 of file pciehp_ctrl.c.

void pciehp_queue_pushbutton_work ( struct work_struct work)

Definition at line 321 of file pciehp_ctrl.c.

int pciehp_sysfs_disable_slot ( struct slot p_slot)

Definition at line 592 of file pciehp_ctrl.c.

int pciehp_sysfs_enable_slot ( struct slot p_slot)

Definition at line 557 of file pciehp_ctrl.c.