Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
max8997-irq.c File Reference
#include <linux/err.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/mfd/max8997.h>
#include <linux/mfd/max8997-private.h>

Go to the source code of this file.

Data Structures

struct  max8997_irq_data
 

Macros

#define DECLARE_IRQ(idx, _group, _mask)   [(idx)] = { .group = (_group), .mask = (_mask) }
 
#define MAX8997_IRQSRC_PMIC   (1 << 1)
 
#define MAX8997_IRQSRC_FUELGAUGE   (1 << 2)
 
#define MAX8997_IRQSRC_MUIC   (1 << 3)
 
#define MAX8997_IRQSRC_GPIO   (1 << 4)
 
#define MAX8997_IRQSRC_FLASH   (1 << 5)
 

Functions

int max8997_irq_resume (struct max8997_dev *max8997)
 
int max8997_irq_init (struct max8997_dev *max8997)
 
void max8997_irq_exit (struct max8997_dev *max8997)
 

Macro Definition Documentation

#define DECLARE_IRQ (   idx,
  _group,
  _mask 
)    [(idx)] = { .group = (_group), .mask = (_mask) }

Definition at line 68 of file max8997-irq.c.

#define MAX8997_IRQSRC_FLASH   (1 << 5)

Definition at line 179 of file max8997-irq.c.

#define MAX8997_IRQSRC_FUELGAUGE   (1 << 2)

Definition at line 176 of file max8997-irq.c.

#define MAX8997_IRQSRC_GPIO   (1 << 4)

Definition at line 178 of file max8997-irq.c.

#define MAX8997_IRQSRC_MUIC   (1 << 3)

Definition at line 177 of file max8997-irq.c.

#define MAX8997_IRQSRC_PMIC   (1 << 1)

Definition at line 175 of file max8997-irq.c.

Function Documentation

void max8997_irq_exit ( struct max8997_dev max8997)

Definition at line 380 of file max8997-irq.c.

int max8997_irq_init ( struct max8997_dev max8997)

Definition at line 310 of file max8997-irq.c.

int max8997_irq_resume ( struct max8997_dev max8997)

Definition at line 283 of file max8997-irq.c.