#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqdomain.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/of.h>
#include <linux/mfd/core.h>
#include <linux/mfd/tc3589x.h>
Go to the source code of this file.
|
int | tc3589x_reg_read (struct tc3589x *tc3589x, u8 reg) |
|
| EXPORT_SYMBOL_GPL (tc3589x_reg_read) |
|
int | tc3589x_reg_write (struct tc3589x *tc3589x, u8 reg, u8 data) |
|
| EXPORT_SYMBOL_GPL (tc3589x_reg_write) |
|
int | tc3589x_block_read (struct tc3589x *tc3589x, u8 reg, u8 length, u8 *values) |
|
| EXPORT_SYMBOL_GPL (tc3589x_block_read) |
|
int | tc3589x_block_write (struct tc3589x *tc3589x, u8 reg, u8 length, const u8 *values) |
|
| EXPORT_SYMBOL_GPL (tc3589x_block_write) |
|
int | tc3589x_set_bits (struct tc3589x *tc3589x, u8 reg, u8 mask, u8 val) |
|
| EXPORT_SYMBOL_GPL (tc3589x_set_bits) |
|
| MODULE_DEVICE_TABLE (i2c, tc3589x_id) |
|
| subsys_initcall (tc3589x_init) |
|
| module_exit (tc3589x_exit) |
|
| MODULE_LICENSE ("GPL v2") |
|
| MODULE_DESCRIPTION ("TC3589x MFD core driver") |
|
| MODULE_AUTHOR ("Hanumath Prasad, Rabin Vincent") |
|
#define TC3589x_CLKMODE_MODCTL_OPERATION (1 << 0) |
#define TC3589x_CLKMODE_MODCTL_SLEEP 0x0 |
MODULE_AUTHOR |
( |
"Hanumath |
Prasad, |
|
|
Rabin Vincent" |
|
|
) |
| |
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
tc3589x_id |
|
|
) |
| |
module_exit |
( |
tc3589x_exit |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
subsys_initcall |
( |
tc3589x_init |
| ) |
|
tc3589x_block_read() - read multiple TC3589x registers : Device to read from : First register : Number of registers : Buffer to write to
Definition at line 66 of file tc3589x.c.
tc3589x_block_write() - write multiple TC3589x registers : Device to write to : First register : Number of registers : Values to write
Definition at line 86 of file tc3589x.c.
tc3589x_reg_read() - write a single TC3589x register : Device to write to : Register to read : Value to write
Definition at line 46 of file tc3589x.c.
tc3589x_set_bits() - set the value of a bitfield in a TC3589x register : Device to write to : Register to write : Mask of bits to set : Value to set
Definition at line 108 of file tc3589x.c.