Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
acpiphp_glue.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/pci_hotplug.h>
#include <linux/pci-acpi.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/acpi.h>
#include "../pci.h"
#include "acpiphp.h"

Go to the source code of this file.

Data Structures

struct  acpiphp_hp_work
 

Macros

#define MY_NAME   "acpiphp_glue"
 

Functions

int acpiphp_eject_slot (struct acpiphp_slot *slot)
 
int __init acpiphp_glue_init (void)
 
void acpiphp_glue_exit (void)
 
int __init acpiphp_get_num_slots (void)
 
int acpiphp_enable_slot (struct acpiphp_slot *slot)
 
int acpiphp_disable_slot (struct acpiphp_slot *slot)
 
u8 acpiphp_get_power_status (struct acpiphp_slot *slot)
 
u8 acpiphp_get_latch_status (struct acpiphp_slot *slot)
 
u8 acpiphp_get_adapter_status (struct acpiphp_slot *slot)
 

Macro Definition Documentation

#define MY_NAME   "acpiphp_glue"

Definition at line 58 of file acpiphp_glue.c.

Function Documentation

int acpiphp_disable_slot ( struct acpiphp_slot slot)

acpiphp_disable_slot - power off slot : ACPI PHP slot

Definition at line 1521 of file acpiphp_glue.c.

int acpiphp_eject_slot ( struct acpiphp_slot slot)

acpiphp_eject_slot - physically eject the slot : ACPI PHP slot

Definition at line 1004 of file acpiphp_glue.c.

int acpiphp_enable_slot ( struct acpiphp_slot slot)

acpiphp_enable_slot - power on slot : ACPI PHP slot

Definition at line 1491 of file acpiphp_glue.c.

u8 acpiphp_get_adapter_status ( struct acpiphp_slot slot)

Definition at line 1571 of file acpiphp_glue.c.

u8 acpiphp_get_latch_status ( struct acpiphp_slot slot)

Definition at line 1557 of file acpiphp_glue.c.

int __init acpiphp_get_num_slots ( void  )

acpiphp_get_num_slots - count number of slots in a system

Definition at line 1469 of file acpiphp_glue.c.

u8 acpiphp_get_power_status ( struct acpiphp_slot slot)

Definition at line 1547 of file acpiphp_glue.c.

void acpiphp_glue_exit ( void  )

acpiphp_glue_exit - terminates all PCI hotplug - ACPI glue data structures

This function frees all data allocated in acpiphp_glue_init().

Definition at line 1460 of file acpiphp_glue.c.

int __init acpiphp_glue_init ( void  )

acpiphp_glue_init - initializes all PCI hotplug - ACPI glue data structures

Definition at line 1439 of file acpiphp_glue.c.