Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/list.h>
Go to the source code of this file.
Data Structures | |
struct | pmf_args |
struct | pmf_handlers |
struct | pmf_function |
struct | pmf_irq_client |
Macros | |
#define | PMF_FLAGS_ON_INIT 0x80000000u |
#define | PMF_FLGAS_ON_TERM 0x40000000u |
#define | PMF_FLAGS_ON_SLEEP 0x20000000u |
#define | PMF_FLAGS_ON_WAKE 0x10000000u |
#define | PMF_FLAGS_ON_DEMAND 0x08000000u |
#define | PMF_FLAGS_INT_GEN 0x04000000u |
#define | PMF_FLAGS_HIGH_SPEED 0x02000000u |
#define | PMF_FLAGS_LOW_SPEED 0x01000000u |
#define | PMF_FLAGS_SIDE_EFFECTS 0x00800000u |
#define | PMF_STD_ARGS |
Functions | |
int | pmf_register_driver (struct device_node *np, struct pmf_handlers *handlers, void *driverdata) |
void | pmf_unregister_driver (struct device_node *np) |
int | pmf_register_irq_client (struct device_node *np, const char *name, struct pmf_irq_client *client) |
void | pmf_unregister_irq_client (struct pmf_irq_client *client) |
void | pmf_do_irq (struct pmf_function *func) |
int | pmf_do_functions (struct device_node *np, const char *name, u32 phandle, u32 flags, struct pmf_args *args) |
int | pmf_call_function (struct device_node *target, const char *name, struct pmf_args *args) |
struct pmf_function * | pmf_find_function (struct device_node *target, const char *name) |
struct pmf_function * | pmf_get_function (struct pmf_function *func) |
void | pmf_put_function (struct pmf_function *func) |
int | pmf_call_one (struct pmf_function *func, struct pmf_args *args) |
void | pmac_pfunc_base_suspend (void) |
void | pmac_pfunc_base_resume (void) |
#define PMF_FLAGS_HIGH_SPEED 0x02000000u |
Definition at line 14 of file pmac_pfunc.h.
#define PMF_FLAGS_INT_GEN 0x04000000u |
Definition at line 13 of file pmac_pfunc.h.
#define PMF_FLAGS_LOW_SPEED 0x01000000u |
Definition at line 15 of file pmac_pfunc.h.
#define PMF_FLAGS_ON_DEMAND 0x08000000u |
Definition at line 12 of file pmac_pfunc.h.
#define PMF_FLAGS_ON_INIT 0x80000000u |
Definition at line 8 of file pmac_pfunc.h.
#define PMF_FLAGS_ON_SLEEP 0x20000000u |
Definition at line 10 of file pmac_pfunc.h.
#define PMF_FLAGS_ON_WAKE 0x10000000u |
Definition at line 11 of file pmac_pfunc.h.
#define PMF_FLAGS_SIDE_EFFECTS 0x00800000u |
Definition at line 16 of file pmac_pfunc.h.
#define PMF_FLGAS_ON_TERM 0x40000000u |
Definition at line 9 of file pmac_pfunc.h.
#define PMF_STD_ARGS |
Definition at line 51 of file pmac_pfunc.h.
Definition at line 1008 of file pfunc_core.c.
int pmf_call_one | ( | struct pmf_function * | func, |
struct pmf_args * | args | ||
) |
Definition at line 938 of file pfunc_core.c.
int pmf_do_functions | ( | struct device_node * | np, |
const char * | name, | ||
u32 | phandle, | ||
u32 | flags, | ||
struct pmf_args * | args | ||
) |
Definition at line 956 of file pfunc_core.c.
void pmf_do_irq | ( | struct pmf_function * | func | ) |
Definition at line 918 of file pfunc_core.c.
|
read |
Definition at line 993 of file pfunc_core.c.
|
read |
Definition at line 749 of file pfunc_core.c.
void pmf_put_function | ( | struct pmf_function * | func | ) |
Definition at line 771 of file pfunc_core.c.
int pmf_register_driver | ( | struct device_node * | np, |
struct pmf_handlers * | handlers, | ||
void * | driverdata | ||
) |
Definition at line 701 of file pfunc_core.c.
int pmf_register_irq_client | ( | struct device_node * | np, |
const char * | name, | ||
struct pmf_irq_client * | client | ||
) |
Definition at line 862 of file pfunc_core.c.
void pmf_unregister_driver | ( | struct device_node * | np | ) |
Definition at line 780 of file pfunc_core.c.
void pmf_unregister_irq_client | ( | struct pmf_irq_client * | client | ) |
Definition at line 894 of file pfunc_core.c.