#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/cs5535.h>
#include <linux/slab.h>
Go to the source code of this file.
|
| module_param_named (mfgptfix, mfgpt_reset_timers, int, 0644) |
|
| MODULE_PARM_DESC (mfgptfix,"Reset the MFGPT timers during init; ""required by some broken BIOSes (ie, TinyBIOS < 0.99).") |
|
int | cs5535_mfgpt_toggle_event (struct cs5535_mfgpt_timer *timer, int cmp, int event, int enable) |
|
| EXPORT_SYMBOL_GPL (cs5535_mfgpt_toggle_event) |
|
int | cs5535_mfgpt_set_irq (struct cs5535_mfgpt_timer *timer, int cmp, int *irq, int enable) |
|
| EXPORT_SYMBOL_GPL (cs5535_mfgpt_set_irq) |
|
struct cs5535_mfgpt_timer * | cs5535_mfgpt_alloc_timer (int timer_nr, int domain) |
|
| EXPORT_SYMBOL_GPL (cs5535_mfgpt_alloc_timer) |
|
void | cs5535_mfgpt_free_timer (struct cs5535_mfgpt_timer *timer) |
|
| EXPORT_SYMBOL_GPL (cs5535_mfgpt_free_timer) |
|
uint16_t | cs5535_mfgpt_read (struct cs5535_mfgpt_timer *timer, uint16_t reg) |
|
| EXPORT_SYMBOL_GPL (cs5535_mfgpt_read) |
|
void | cs5535_mfgpt_write (struct cs5535_mfgpt_timer *timer, uint16_t reg, uint16_t value) |
|
| EXPORT_SYMBOL_GPL (cs5535_mfgpt_write) |
|
| module_init (cs5535_mfgpt_init) |
|
| MODULE_AUTHOR ("Andres Salomon <[email protected]>") |
|
| MODULE_DESCRIPTION ("CS5535/CS5536 MFGPT timer driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS ("platform:"DRV_NAME) |
|
#define DRV_NAME "cs5535-mfgpt" |
MODULE_ALIAS |
( |
"platform:" |
DRV_NAME | ) |
|
MODULE_DESCRIPTION |
( |
"CS5535/CS5536 MFGPT timer driver" |
| ) |
|
module_init |
( |
cs5535_mfgpt_init |
| ) |
|
module_param_named |
( |
mfgptfix |
, |
|
|
mfgpt_reset_timers |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mfgptfix |
, |
|
|
"Reset the MFGPT timers during init; ""required by some broken BIOSes (ie, TinyBIOS < 0.99)." |
|
|
) |
| |