#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/dmapool.h>
#include <linux/bootmem.h>
#include <linux/vmalloc.h>
#include <linux/highmem.h>
#include <linux/jiffies.h>
#include <linux/interrupt.h>
#include <linux/rtc.h>
#include <linux/completion.h>
#include <linux/miscdevice.h>
#include <linux/delay.h>
#include <linux/poll.h>
#include <linux/mutex.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <linux/slab.h>
#include <asm/byteorder.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/pmac_feature.h>
#include <asm/smu.h>
#include <asm/sections.h>
#include <asm/uaccess.h>
Go to the source code of this file.
|
int | smu_queue_cmd (struct smu_cmd *cmd) |
|
| EXPORT_SYMBOL (smu_queue_cmd) |
|
int | smu_queue_simple (struct smu_simple_cmd *scmd, u8 command, unsigned int data_len, void(*done)(struct smu_cmd *cmd, void *misc), void *misc,...) |
|
| EXPORT_SYMBOL (smu_queue_simple) |
|
void | smu_poll (void) |
|
| EXPORT_SYMBOL (smu_poll) |
|
void | smu_done_complete (struct smu_cmd *cmd, void *misc) |
|
| EXPORT_SYMBOL (smu_done_complete) |
|
void | smu_spinwait_cmd (struct smu_cmd *cmd) |
|
| EXPORT_SYMBOL (smu_spinwait_cmd) |
|
int | smu_get_rtc_time (struct rtc_time *time, int spinwait) |
|
int | smu_set_rtc_time (struct rtc_time *time, int spinwait) |
|
void | smu_shutdown (void) |
|
void | smu_restart (void) |
|
int | smu_present (void) |
|
| EXPORT_SYMBOL (smu_present) |
|
int __init | smu_init (void) |
|
| core_initcall (smu_late_init) |
|
| device_initcall (smu_init_sysfs) |
|
struct platform_device * | smu_get_ofdev (void) |
|
| EXPORT_SYMBOL_GPL (smu_get_ofdev) |
|
int | smu_queue_i2c (struct smu_i2c_cmd *cmd) |
|
struct smu_sdbp_header * | __smu_get_sdb_partition (int id, unsigned int *size, int interruptible) |
|
struct smu_sdbp_header * | smu_get_sdb_partition (int id, unsigned int *size) |
|
| EXPORT_SYMBOL (smu_get_sdb_partition) |
|
| device_initcall (smu_device_init) |
|
#define AUTHOR "(c) 2005 Benjamin Herrenschmidt, IBM Corp." |
Definition at line 51 of file smu.c.
#define DPRINTK |
( |
|
fmt, |
|
|
|
args... |
|
) |
| do { } while (0) |
Definition at line 58 of file smu.c.
Definition at line 64 of file smu.c.
Definition at line 50 of file smu.c.
- Enumerator:
smu_file_commands |
|
smu_file_events |
|
smu_file_closing |
|
Definition at line 1062 of file smu.c.
core_initcall |
( |
smu_late_init |
| ) |
|
device_initcall |
( |
smu_init_sysfs |
| ) |
|
device_initcall |
( |
smu_device_init |
| ) |
|
int smu_queue_i2c |
( |
struct smu_i2c_cmd * |
cmd | ) |
|