Linux Kernel
3.7.1
|
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <asm/machdep.h>
#include <asm/macio.h>
#include <asm/pmac_feature.h>
#include <asm/prom.h>
#include <asm/pci-bridge.h>
Go to the source code of this file.
Data Structures | |
struct | macio_devres |
Macros | |
#define | MAX_NODE_NAME_SIZE (20 - 12) |
Functions | |
struct macio_dev * | macio_dev_get (struct macio_dev *dev) |
void | macio_dev_put (struct macio_dev *dev) |
postcore_initcall (macio_bus_driver_init) | |
int | macio_register_driver (struct macio_driver *drv) |
void | macio_unregister_driver (struct macio_driver *drv) |
int | macio_enable_devres (struct macio_dev *dev) |
. Do not access | |
any address inside the memory regions unless this call returns successfully. Returns 0 on success, or EBUSY on error. A warning message is also printed on failure. | |
int | macio_request_resource (struct macio_dev *dev, int resource_no, const char *name) |
void | macio_release_resource (struct macio_dev *dev, int resource_no) |
. Do not access any address inside | |
the memory regions unless this call returns successfully. Returns 0 on success, or EBUSY on error. A warning message is also printed on failure. | |
int | macio_request_resources (struct macio_dev *dev, const char *name) |
void | macio_release_resources (struct macio_dev *dev) |
module_init (macio_module_init) | |
EXPORT_SYMBOL (macio_register_driver) | |
EXPORT_SYMBOL (macio_unregister_driver) | |
EXPORT_SYMBOL (macio_dev_get) | |
EXPORT_SYMBOL (macio_dev_put) | |
EXPORT_SYMBOL (macio_request_resource) | |
EXPORT_SYMBOL (macio_release_resource) | |
EXPORT_SYMBOL (macio_request_resources) | |
EXPORT_SYMBOL (macio_release_resources) | |
EXPORT_SYMBOL (macio_enable_devres) | |
Variables | |
struct device_attribute | macio_dev_attrs [] |
struct bus_type | macio_bus_type |
#define MAX_NODE_NAME_SIZE (20 - 12) |
Definition at line 36 of file macio_asic.c.
EXPORT_SYMBOL | ( | macio_register_driver | ) |
EXPORT_SYMBOL | ( | macio_unregister_driver | ) |
EXPORT_SYMBOL | ( | macio_dev_get | ) |
EXPORT_SYMBOL | ( | macio_dev_put | ) |
EXPORT_SYMBOL | ( | macio_request_resource | ) |
EXPORT_SYMBOL | ( | macio_release_resource | ) |
EXPORT_SYMBOL | ( | macio_request_resources | ) |
EXPORT_SYMBOL | ( | macio_release_resources | ) |
EXPORT_SYMBOL | ( | macio_enable_devres | ) |
Definition at line 50 of file macio_asic.c.
Definition at line 63 of file macio_asic.c.
Definition at line 561 of file macio_asic.c.
macio_register_driver - Registers a new MacIO device driver : pointer to the driver definition structure
Definition at line 525 of file macio_asic.c.
macio_release_resource - Release an MMIO resource : pointer to the device holding the resource : resource number to release
Definition at line 626 of file macio_asic.c.
macio_release_resources - Release reserved memory resources : MacIO device whose resources were previously reserved
Definition at line 671 of file macio_asic.c.
Definition at line 593 of file macio_asic.c.
Definition at line 650 of file macio_asic.c.
macio_unregister_driver - Unregisters a new MacIO device driver : pointer to the driver definition structure
Definition at line 538 of file macio_asic.c.
module_init | ( | macio_module_init | ) |
postcore_initcall | ( | macio_bus_driver_init | ) |
Definition at line 137 of file macio_asic.c.
struct device_attribute macio_dev_attrs[] |
Definition at line 64 of file macio_sysfs.c.