|
Linux Kernel
3.7.1
|
#include <linux/types.h>#include <linux/kernel.h>#include <linux/slab.h>#include <linux/device.h>#include <linux/interrupt.h>#include <linux/module.h>#include <linux/pci.h>#include <linux/dma-mapping.h>#include <linux/kernel_stat.h>#include <asm/io.h>#include <asm/prom.h>#include <asm/machdep.h>#include <asm/pmac_feature.h>#include <asm/dbdma.h>#include <asm/macio.h>#include <asm/keylargo.h>Go to the source code of this file.
Data Structures | |
| struct | rackmeter_dma |
| struct | rackmeter_cpu |
| struct | rackmeter |
Macros | |
| #define | SAMPLE_COUNT 256 |
| #define | CPU_SAMPLING_RATE 250 |
| #define | RACKMETER_MAGIC_GPIO 0x78 |
Functions | |
| module_init (rackmeter_init) | |
| module_exit (rackmeter_exit) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>") | |
| MODULE_DESCRIPTION ("RackMeter: Support vu-meter on XServe front panel") | |
Variables | |
| struct rackmeter_dma | ____cacheline_aligned |
| #define CPU_SAMPLING_RATE 250 |
Definition at line 41 of file rack-meter.c.
| #define RACKMETER_MAGIC_GPIO 0x78 |
Definition at line 77 of file rack-meter.c.
| #define SAMPLE_COUNT 256 |
Definition at line 38 of file rack-meter.c.
| MODULE_AUTHOR | ( | "Benjamin Herrenschmidt <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "RackMeter: Support vu-meter on XServe front panel" | ) |
| module_exit | ( | rackmeter_exit | ) |
| module_init | ( | rackmeter_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2