Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cpci_hotplug.h File Reference
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/pci_hotplug.h>

Go to the source code of this file.

Data Structures

struct  slot
 
struct  cpci_hp_controller_ops
 
struct  cpci_hp_controller
 

Macros

#define HS_CSR_INS   0x0080
 
#define HS_CSR_EXT   0x0040
 
#define HS_CSR_PI   0x0030
 
#define HS_CSR_LOO   0x0008
 
#define HS_CSR_PIE   0x0004
 
#define HS_CSR_EIM   0x0002
 
#define HS_CSR_DHA   0x0001
 

Functions

int cpci_hp_register_controller (struct cpci_hp_controller *controller)
 
int cpci_hp_unregister_controller (struct cpci_hp_controller *controller)
 
int cpci_hp_register_bus (struct pci_bus *bus, u8 first, u8 last)
 
int cpci_hp_unregister_bus (struct pci_bus *bus)
 
int cpci_hp_start (void)
 
int cpci_hp_stop (void)
 
u8 cpci_get_attention_status (struct slot *slot)
 
u8 cpci_get_latch_status (struct slot *slot)
 
u8 cpci_get_adapter_status (struct slot *slot)
 
u16 cpci_get_hs_csr (struct slot *slot)
 
int cpci_set_attention_status (struct slot *slot, int status)
 
int cpci_check_and_clear_ins (struct slot *slot)
 
int cpci_check_ext (struct slot *slot)
 
int cpci_clear_ext (struct slot *slot)
 
int cpci_led_on (struct slot *slot)
 
int cpci_led_off (struct slot *slot)
 
int cpci_configure_slot (struct slot *slot)
 
int cpci_unconfigure_slot (struct slot *slot)
 

Macro Definition Documentation

#define HS_CSR_DHA   0x0001

Definition at line 42 of file cpci_hotplug.h.

#define HS_CSR_EIM   0x0002

Definition at line 41 of file cpci_hotplug.h.

#define HS_CSR_EXT   0x0040

Definition at line 37 of file cpci_hotplug.h.

#define HS_CSR_INS   0x0080

Definition at line 36 of file cpci_hotplug.h.

#define HS_CSR_LOO   0x0008

Definition at line 39 of file cpci_hotplug.h.

#define HS_CSR_PI   0x0030

Definition at line 38 of file cpci_hotplug.h.

#define HS_CSR_PIE   0x0004

Definition at line 40 of file cpci_hotplug.h.

Function Documentation

int cpci_check_and_clear_ins ( struct slot slot)

Definition at line 114 of file cpci_hotplug_pci.c.

int cpci_check_ext ( struct slot slot)

Definition at line 143 of file cpci_hotplug_pci.c.

int cpci_clear_ext ( struct slot slot)

Definition at line 164 of file cpci_hotplug_pci.c.

int cpci_configure_slot ( struct slot slot)

Definition at line 253 of file cpci_hotplug_pci.c.

u8 cpci_get_adapter_status ( struct slot slot)
u8 cpci_get_attention_status ( struct slot slot)

Definition at line 49 of file cpci_hotplug_pci.c.

u16 cpci_get_hs_csr ( struct slot slot)

Definition at line 96 of file cpci_hotplug_pci.c.

u8 cpci_get_latch_status ( struct slot slot)
int cpci_hp_register_bus ( struct pci_bus bus,
u8  first,
u8  last 
)

Definition at line 222 of file cpci_hotplug_core.c.

int cpci_hp_register_controller ( struct cpci_hp_controller controller)

Definition at line 589 of file cpci_hotplug_core.c.

int cpci_hp_start ( void  )

Definition at line 658 of file cpci_hotplug_core.c.

int cpci_hp_stop ( void  )

Definition at line 695 of file cpci_hotplug_core.c.

int cpci_hp_unregister_bus ( struct pci_bus bus)

Definition at line 304 of file cpci_hotplug_core.c.

int cpci_hp_unregister_controller ( struct cpci_hp_controller controller)

Definition at line 641 of file cpci_hotplug_core.c.

int cpci_led_off ( struct slot slot)

Definition at line 219 of file cpci_hotplug_pci.c.

int cpci_led_on ( struct slot slot)

Definition at line 190 of file cpci_hotplug_pci.c.

int cpci_set_attention_status ( struct slot slot,
int  status 
)

Definition at line 69 of file cpci_hotplug_pci.c.

int cpci_unconfigure_slot ( struct slot slot)

Definition at line 306 of file cpci_hotplug_pci.c.