Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
wm5102-tables.c File Reference
#include <linux/module.h>
#include <linux/mfd/arizona/core.h>
#include <linux/mfd/arizona/registers.h>
#include "arizona.h"

Go to the source code of this file.

Macros

#define WM5102_NUM_AOD_ISR   2
 
#define WM5102_NUM_ISR   5
 

Functions

int wm5102_patch (struct arizona *arizona)
 
 EXPORT_SYMBOL_GPL (wm5102_spi_regmap)
 
 EXPORT_SYMBOL_GPL (wm5102_i2c_regmap)
 

Variables

struct regmap_irq_chip wm5102_aod
 
struct regmap_irq_chip wm5102_irq
 
struct regmap_config wm5102_spi_regmap
 
struct regmap_config wm5102_i2c_regmap
 

Macro Definition Documentation

#define WM5102_NUM_AOD_ISR   2

Definition at line 20 of file wm5102-tables.c.

#define WM5102_NUM_ISR   5

Definition at line 21 of file wm5102-tables.c.

Function Documentation

EXPORT_SYMBOL_GPL ( wm5102_spi_regmap  )
EXPORT_SYMBOL_GPL ( wm5102_i2c_regmap  )
int wm5102_patch ( struct arizona arizona)

Definition at line 60 of file wm5102-tables.c.

Variable Documentation

struct regmap_irq_chip wm5102_aod
Initial value:
= {
.name = "wm5102 AOD",
.status_base = ARIZONA_AOD_IRQ1,
.ack_base = ARIZONA_AOD_IRQ1,
.wake_base = ARIZONA_WAKE_CONTROL,
.num_regs = 1,
.irqs = wm5102_aod_irqs,
.num_irqs = ARRAY_SIZE(wm5102_aod_irqs),
}

Definition at line 79 of file wm5102-tables.c.

struct regmap_config wm5102_i2c_regmap
Initial value:
= {
.reg_bits = 32,
.val_bits = 16,
.max_register = ARIZONA_DSP1_STATUS_2,
.readable_reg = wm5102_readable_register,
.volatile_reg = wm5102_volatile_register,
.cache_type = REGCACHE_RBTREE,
.reg_defaults = wm5102_reg_default,
.num_reg_defaults = ARRAY_SIZE(wm5102_reg_default),
}

Definition at line 1870 of file wm5102-tables.c.

struct regmap_irq_chip wm5102_irq
Initial value:
= {
.name = "wm5102 IRQ",
.num_regs = 5,
.irqs = wm5102_irqs,
.num_irqs = ARRAY_SIZE(wm5102_irqs),
}

Definition at line 200 of file wm5102-tables.c.

struct regmap_config wm5102_spi_regmap
Initial value:
= {
.reg_bits = 32,
.pad_bits = 16,
.val_bits = 16,
.max_register = ARIZONA_DSP1_STATUS_2,
.readable_reg = wm5102_readable_register,
.volatile_reg = wm5102_volatile_register,
.cache_type = REGCACHE_RBTREE,
.reg_defaults = wm5102_reg_default,
.num_reg_defaults = ARRAY_SIZE(wm5102_reg_default),
}

Definition at line 1855 of file wm5102-tables.c.