Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/export.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <asm/udbg.h>
#include <asm/lv1call.h>
#include <asm/firmware.h>
#include <asm/cell-regs.h>
#include "platform.h"
Go to the source code of this file.
Macros | |
#define | dump_mmio_region(_a) _dump_mmio_region(_a, __func__, __LINE__) |
Variables | |
struct { | |
struct mutex mutex | |
int sb_11 | |
int sb_12 | |
int gpu | |
} | usage_hack |
struct bus_type | ps3_system_bus_type |
#define dump_mmio_region | ( | _a | ) | _dump_mmio_region(_a, __func__, __LINE__) |
Definition at line 241 of file system-bus.c.
core_initcall | ( | ps3_system_bus_init | ) |
EXPORT_SYMBOL_GPL | ( | ps3_open_hv_device | ) |
EXPORT_SYMBOL_GPL | ( | ps3_close_hv_device | ) |
EXPORT_SYMBOL_GPL | ( | ps3_mmio_region_create | ) |
EXPORT_SYMBOL_GPL | ( | ps3_free_mmio_region | ) |
EXPORT_SYMBOL_GPL | ( | ps3_mmio_region_init | ) |
EXPORT_SYMBOL_GPL | ( | ps3_system_bus_device_register | ) |
EXPORT_SYMBOL_GPL | ( | ps3_system_bus_driver_register | ) |
EXPORT_SYMBOL_GPL | ( | ps3_system_bus_driver_unregister | ) |
int ps3_close_hv_device | ( | struct ps3_system_bus_device * | dev | ) |
Definition at line 203 of file system-bus.c.
int ps3_free_mmio_region | ( | struct ps3_mmio_region * | r | ) |
Definition at line 306 of file system-bus.c.
int ps3_mmio_region_create | ( | struct ps3_mmio_region * | r | ) |
Definition at line 277 of file system-bus.c.
int ps3_mmio_region_init | ( | struct ps3_system_bus_device * | dev, |
struct ps3_mmio_region * | r, | ||
unsigned long | bus_addr, | ||
unsigned long | len, | ||
enum ps3_mmio_page_size | page_size | ||
) |
struct ps3_mmio_region_init - Helper to initialize structure variables
Helper to properly initialize variables prior to calling ps3_system_bus_device_register.
Definition at line 323 of file system-bus.c.
int ps3_open_hv_device | ( | struct ps3_system_bus_device * | dev | ) |
Definition at line 165 of file system-bus.c.
int ps3_system_bus_device_register | ( | struct ps3_system_bus_device * | dev | ) |
ps3_system_bus_device_register - add a device to the system bus
ps3_system_bus_device_register() expects the dev object to be allocated dynamically by the caller. The system bus takes ownership of the dev object and frees the object in ps3_system_bus_release_device().
Definition at line 744 of file system-bus.c.
int ps3_system_bus_driver_register | ( | struct ps3_system_bus_driver * | drv | ) |
Definition at line 788 of file system-bus.c.
void ps3_system_bus_driver_unregister | ( | struct ps3_system_bus_driver * | drv | ) |
Definition at line 806 of file system-bus.c.
int gpu |
Definition at line 44 of file system-bus.c.
Definition at line 41 of file system-bus.c.
Definition at line 480 of file system-bus.c.
int sb_11 |
Definition at line 42 of file system-bus.c.
int sb_12 |
Definition at line 43 of file system-bus.c.
struct { ... } usage_hack |