Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
wm5110-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 WM5110_NUM_AOD_ISR   2
 
#define WM5110_NUM_ISR   5
 

Functions

int wm5110_patch (struct arizona *arizona)
 
 EXPORT_SYMBOL_GPL (wm5110_patch)
 
 EXPORT_SYMBOL_GPL (wm5110_aod)
 
 EXPORT_SYMBOL_GPL (wm5110_irq)
 
 EXPORT_SYMBOL_GPL (wm5110_spi_regmap)
 
 EXPORT_SYMBOL_GPL (wm5110_i2c_regmap)
 

Variables

struct regmap_irq_chip wm5110_aod
 
struct regmap_irq_chip wm5110_irq
 
struct regmap_config wm5110_spi_regmap
 
struct regmap_config wm5110_i2c_regmap
 

Macro Definition Documentation

#define WM5110_NUM_AOD_ISR   2

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

#define WM5110_NUM_ISR   5

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

Function Documentation

EXPORT_SYMBOL_GPL ( wm5110_patch  )
EXPORT_SYMBOL_GPL ( wm5110_aod  )
EXPORT_SYMBOL_GPL ( wm5110_irq  )
EXPORT_SYMBOL_GPL ( wm5110_spi_regmap  )
EXPORT_SYMBOL_GPL ( wm5110_i2c_regmap  )
int wm5110_patch ( struct arizona arizona)

Definition at line 227 of file wm5110-tables.c.

Variable Documentation

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

Definition at line 252 of file wm5110-tables.c.

struct regmap_config wm5110_i2c_regmap
Initial value:
= {
.reg_bits = 32,
.val_bits = 16,
.max_register = ARIZONA_DSP1_STATUS_2,
.readable_reg = wm5110_readable_register,
.volatile_reg = wm5110_volatile_register,
.cache_type = REGCACHE_RBTREE,
.reg_defaults = wm5110_reg_default,
.num_reg_defaults = ARRAY_SIZE(wm5110_reg_default),
}

Definition at line 2363 of file wm5110-tables.c.

struct regmap_irq_chip wm5110_irq
Initial value:
= {
.name = "wm5110 IRQ",
.num_regs = 5,
.irqs = wm5110_irqs,
.num_irqs = ARRAY_SIZE(wm5110_irqs),
}

Definition at line 401 of file wm5110-tables.c.

struct regmap_config wm5110_spi_regmap
Initial value:
= {
.reg_bits = 32,
.pad_bits = 16,
.val_bits = 16,
.max_register = ARIZONA_DSP1_STATUS_2,
.readable_reg = wm5110_readable_register,
.volatile_reg = wm5110_volatile_register,
.cache_type = REGCACHE_RBTREE,
.reg_defaults = wm5110_reg_default,
.num_reg_defaults = ARRAY_SIZE(wm5110_reg_default),
}

Definition at line 2348 of file wm5110-tables.c.