#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/pm_runtime.h>
#include <linux/mutex.h>
#include <linux/mfd/core.h>
#include <linux/mfd/max8998.h>
#include <linux/mfd/max8998-private.h>
Go to the source code of this file.
|
int | max8998_read_reg (struct i2c_client *i2c, u8 reg, u8 *dest) |
|
| EXPORT_SYMBOL (max8998_read_reg) |
|
int | max8998_bulk_read (struct i2c_client *i2c, u8 reg, int count, u8 *buf) |
|
| EXPORT_SYMBOL (max8998_bulk_read) |
|
int | max8998_write_reg (struct i2c_client *i2c, u8 reg, u8 value) |
|
| EXPORT_SYMBOL (max8998_write_reg) |
|
int | max8998_bulk_write (struct i2c_client *i2c, u8 reg, int count, u8 *buf) |
|
| EXPORT_SYMBOL (max8998_bulk_write) |
|
int | max8998_update_reg (struct i2c_client *i2c, u8 reg, u8 val, u8 mask) |
|
| EXPORT_SYMBOL (max8998_update_reg) |
|
| MODULE_DEVICE_TABLE (i2c, max8998_i2c_id) |
|
| subsys_initcall (max8998_i2c_init) |
|
| module_exit (max8998_i2c_exit) |
|
| MODULE_DESCRIPTION ("MAXIM 8998 multi-function core driver") |
|
| MODULE_AUTHOR ("Kyungmin Park <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
#define RTC_I2C_ADDR (0x0c >> 1) |
#define SAVE_ITEM |
( |
|
x | ) |
{ .addr = (x), .val = 0x0, } |
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
max8998_i2c_id |
|
|
) |
| |
module_exit |
( |
max8998_i2c_exit |
| ) |
|
subsys_initcall |
( |
max8998_i2c_init |
| ) |
|