Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm8350-irq.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/bug.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/mfd/wm8350/core.h>
#include <linux/mfd/wm8350/audio.h>
#include <linux/mfd/wm8350/comparator.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_irq_data
 

Macros

#define WM8350_INT_OFFSET_1   0
 
#define WM8350_INT_OFFSET_2   1
 
#define WM8350_POWER_UP_INT_OFFSET   2
 
#define WM8350_UNDER_VOLTAGE_INT_OFFSET   3
 
#define WM8350_OVER_CURRENT_INT_OFFSET   4
 
#define WM8350_GPIO_INT_OFFSET   5
 
#define WM8350_COMPARATOR_INT_OFFSET   6
 

Functions

int wm8350_irq_init (struct wm8350 *wm8350, int irq, struct wm8350_platform_data *pdata)
 
int wm8350_irq_exit (struct wm8350 *wm8350)
 

Macro Definition Documentation

#define WM8350_COMPARATOR_INT_OFFSET   6

Definition at line 38 of file wm8350-irq.c.

#define WM8350_GPIO_INT_OFFSET   5

Definition at line 37 of file wm8350-irq.c.

#define WM8350_INT_OFFSET_1   0

Definition at line 32 of file wm8350-irq.c.

#define WM8350_INT_OFFSET_2   1

Definition at line 33 of file wm8350-irq.c.

#define WM8350_OVER_CURRENT_INT_OFFSET   4

Definition at line 36 of file wm8350-irq.c.

#define WM8350_POWER_UP_INT_OFFSET   2

Definition at line 34 of file wm8350-irq.c.

#define WM8350_UNDER_VOLTAGE_INT_OFFSET   3

Definition at line 35 of file wm8350-irq.c.

Function Documentation

int wm8350_irq_exit ( struct wm8350 wm8350)

Definition at line 549 of file wm8350-irq.c.

int wm8350_irq_init ( struct wm8350 wm8350,
int  irq,
struct wm8350_platform_data pdata 
)

Definition at line 469 of file wm8350-irq.c.