Linux Kernel
3.7.1
|
#include <linux/pci.h>
Go to the source code of this file.
Data Structures | |
struct | dca_provider |
struct | dca_domain |
struct | dca_ops |
Macros | |
#define | DCA_PROVIDER_ADD 0x0001 |
#define | DCA_PROVIDER_REMOVE 0x0002 |
#define | DCA_GET_TAG_TWO_ARGS |
Functions | |
void | dca_register_notify (struct notifier_block *nb) |
void | dca_unregister_notify (struct notifier_block *nb) |
struct dca_provider * | alloc_dca_provider (struct dca_ops *ops, int priv_size) |
void | free_dca_provider (struct dca_provider *dca) |
int | register_dca_provider (struct dca_provider *dca, struct device *dev) |
void | unregister_dca_provider (struct dca_provider *dca, struct device *dev) |
int | dca_add_requester (struct device *dev) |
int | dca_remove_requester (struct device *dev) |
u8 | dca_get_tag (int cpu) |
u8 | dca3_get_tag (struct device *dev, int cpu) |
int __init | dca_sysfs_init (void) |
void __exit | dca_sysfs_exit (void) |
int | dca_sysfs_add_provider (struct dca_provider *dca, struct device *dev) |
void | dca_sysfs_remove_provider (struct dca_provider *dca) |
int | dca_sysfs_add_req (struct dca_provider *dca, struct device *dev, int slot) |
void | dca_sysfs_remove_req (struct dca_provider *dca, int slot) |
|
read |
alloc_dca_provider - get data struct for describing a dca provider - pointer to struct of dca operation function pointers - size of extra mem to be added for provider's needs
Definition at line 324 of file dca-core.c.
dca_add_requester - add a dca client to the list - the device that wants dca service
Definition at line 186 of file dca-core.c.
void dca_register_notify | ( | struct notifier_block * | nb | ) |
dca_register_notify - register a client's notifier callback
Definition at line 439 of file dca-core.c.
dca_remove_requester - remove a dca client from the list - the device that wants dca service
Definition at line 241 of file dca-core.c.
int dca_sysfs_add_provider | ( | struct dca_provider * | dca, |
struct device * | dev | ||
) |
Definition at line 53 of file dca-sysfs.c.
Definition at line 36 of file dca-sysfs.c.
Definition at line 106 of file dca-sysfs.c.
Definition at line 93 of file dca-sysfs.c.
void dca_sysfs_remove_provider | ( | struct dca_provider * | dca | ) |
Definition at line 84 of file dca-sysfs.c.
void dca_sysfs_remove_req | ( | struct dca_provider * | dca, |
int | slot | ||
) |
Definition at line 48 of file dca-sysfs.c.
void dca_unregister_notify | ( | struct notifier_block * | nb | ) |
dca_unregister_notify - remove a client's notifier callback
Definition at line 448 of file dca-core.c.
void free_dca_provider | ( | struct dca_provider * | dca | ) |
free_dca_provider - release the dca provider data struct - pointer to struct of dca operation function pointers - size of extra mem to be added for provider's needs
Definition at line 344 of file dca-core.c.
int register_dca_provider | ( | struct dca_provider * | dca, |
struct device * | dev | ||
) |
register_dca_provider - register a dca provider - struct created by alloc_dca_provider() - device providing dca services
Definition at line 355 of file dca-core.c.
void unregister_dca_provider | ( | struct dca_provider * | dca, |
struct device * | dev | ||
) |
unregister_dca_provider - remove a dca provider - struct created by alloc_dca_provider()
Definition at line 412 of file dca-core.c.