Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <linux/regmap.h>
#include <linux/mfd/wm8350/audio.h>
#include <linux/mfd/wm8350/gpio.h>
#include <linux/mfd/wm8350/pmic.h>
#include <linux/mfd/wm8350/rtc.h>
#include <linux/mfd/wm8350/supply.h>
#include <linux/mfd/wm8350/wdt.h>
Go to the source code of this file.
Data Structures | |
struct | wm8350_hwmon |
struct | wm8350 |
struct | wm8350_platform_data |
Functions | |
int | wm8350_device_init (struct wm8350 *wm8350, int irq, struct wm8350_platform_data *pdata) |
void | wm8350_device_exit (struct wm8350 *wm8350) |
int | wm8350_clear_bits (struct wm8350 *wm8350, u16 reg, u16 mask) |
int | wm8350_set_bits (struct wm8350 *wm8350, u16 reg, u16 mask) |
u16 | wm8350_reg_read (struct wm8350 *wm8350, int reg) |
int | wm8350_reg_write (struct wm8350 *wm8350, int reg, u16 val) |
int | wm8350_reg_lock (struct wm8350 *wm8350) |
int | wm8350_reg_unlock (struct wm8350 *wm8350) |
int | wm8350_block_read (struct wm8350 *wm8350, int reg, int size, u16 *dest) |
int | wm8350_block_write (struct wm8350 *wm8350, int reg, int size, u16 *src) |
int | wm8350_irq_init (struct wm8350 *wm8350, int irq, struct wm8350_platform_data *pdata) |
int | wm8350_irq_exit (struct wm8350 *wm8350) |
Variables | |
struct regmap_config | wm8350_regmap |
Definition at line 105 of file wm8350-core.c.
Definition at line 119 of file wm8350-core.c.
Definition at line 68 of file wm8350-core.c.
Definition at line 446 of file wm8350-core.c.
Definition at line 277 of file wm8350-core.c.
Definition at line 549 of file wm8350-irq.c.
Definition at line 469 of file wm8350-irq.c.
The WM8350 has a hardware lock which can be used to prevent writes to some registers (generally those which can cause particularly serious problems if misused). This function enables that lock.
Definition at line 140 of file wm8350-core.c.
Definition at line 80 of file wm8350-core.c.
The WM8350 has a hardware lock which can be used to prevent writes to some registers (generally those which can cause particularly serious problems if misused). This function disables that lock so updates can be performed. For maximum safety this should be done only when required.
Definition at line 169 of file wm8350-core.c.
Definition at line 93 of file wm8350-core.c.
Definition at line 74 of file wm8350-core.c.
struct regmap_config wm8350_regmap |
Definition at line 328 of file wm8350-regmap.c.