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

Go to the source code of this file.

Functions

int cpqhp_configure_device (struct controller *ctrl, struct pci_func *func)
 
int cpqhp_unconfigure_device (struct pci_func *func)
 
int cpqhp_set_irq (u8 bus_num, u8 dev_num, u8 int_pin, u8 irq_num)
 
int cpqhp_get_bus_dev (struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot)
 
int cpqhp_save_config (struct controller *ctrl, int busnumber, int is_hot_plug)
 
int cpqhp_save_slot_config (struct controller *ctrl, struct pci_func *new_slot)
 
int cpqhp_save_base_addr_length (struct controller *ctrl, struct pci_func *func)
 
int cpqhp_save_used_resources (struct controller *ctrl, struct pci_func *func)
 
int cpqhp_configure_board (struct controller *ctrl, struct pci_func *func)
 
int cpqhp_valid_replace (struct controller *ctrl, struct pci_func *func)
 
int cpqhp_find_available_resources (struct controller *ctrl, void __iomem *rom_start)
 
int cpqhp_return_board_resources (struct pci_func *func, struct resource_lists *resources)
 
void cpqhp_destroy_resource_list (struct resource_lists *resources)
 
void cpqhp_destroy_board_resources (struct pci_func *func)
 

Variables

u8 cpqhp_nic_irq
 
u8 cpqhp_disk_irq
 

Function Documentation

int cpqhp_configure_board ( struct controller ctrl,
struct pci_func func 
)

Definition at line 946 of file cpqphp_pci.c.

int cpqhp_configure_device ( struct controller ctrl,
struct pci_func func 
)

Definition at line 84 of file cpqphp_pci.c.

void cpqhp_destroy_board_resources ( struct pci_func func)

Definition at line 1519 of file cpqphp_pci.c.

void cpqhp_destroy_resource_list ( struct resource_lists resources)

Definition at line 1472 of file cpqphp_pci.c.

int cpqhp_find_available_resources ( struct controller ctrl,
void __iomem rom_start 
)

Definition at line 1166 of file cpqphp_pci.c.

int cpqhp_get_bus_dev ( struct controller ctrl,
u8 bus_num,
u8 dev_num,
u8  slot 
)

Definition at line 277 of file cpqphp_pci.c.

int cpqhp_return_board_resources ( struct pci_func func,
struct resource_lists resources 
)

Definition at line 1416 of file cpqphp_pci.c.

int cpqhp_save_base_addr_length ( struct controller ctrl,
struct pci_func func 
)

Definition at line 546 of file cpqphp_pci.c.

int cpqhp_save_config ( struct controller ctrl,
int  busnumber,
int  is_hot_plug 
)

Definition at line 298 of file cpqphp_pci.c.

int cpqhp_save_slot_config ( struct controller ctrl,
struct pci_func new_slot 
)

Definition at line 462 of file cpqphp_pci.c.

int cpqhp_save_used_resources ( struct controller ctrl,
struct pci_func func 
)

Definition at line 683 of file cpqphp_pci.c.

int cpqhp_set_irq ( u8  bus_num,
u8  dev_num,
u8  int_pin,
u8  irq_num 
)

Definition at line 155 of file cpqphp_pci.c.

int cpqhp_unconfigure_device ( struct pci_func func)

Definition at line 120 of file cpqphp_pci.c.

int cpqhp_valid_replace ( struct controller ctrl,
struct pci_func func 
)

Definition at line 1024 of file cpqphp_pci.c.

Variable Documentation

u8 cpqhp_disk_irq

Definition at line 43 of file cpqphp_pci.c.

u8 cpqhp_nic_irq

Definition at line 42 of file cpqphp_pci.c.