Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
msm_gpio_dev Struct Reference

Public Member Functions

 DECLARE_BITMAP (enabled_irqs, NR_GPIO_IRQS)
 
 DECLARE_BITMAP (wake_irqs, NR_GPIO_IRQS)
 
 DECLARE_BITMAP (dual_edge_irqs, NR_GPIO_IRQS)
 

Data Fields

struct gpio_chip gpio_chip
 

Detailed Description

struct msm_gpio_dev: the MSM8660 SoC GPIO device structure

: a bitmap used to optimize the summary-irq handler. By keeping track of which gpios are unmasked as irq sources, we avoid having to do readl calls on hundreds of iomapped registers each time the summary interrupt fires in order to locate the active interrupts.

: a bitmap for tracking which interrupt lines are enabled as wakeup sources. When the device is suspended, interrupts which are not wakeup sources are disabled.

: a bitmap used to track which irqs are configured as dual-edge, as this is not supported by the hardware and requires some special handling in the driver.

Definition at line 104 of file gpio-msm-v2.c.

Member Function Documentation

DECLARE_BITMAP ( enabled_irqs  ,
NR_GPIO_IRQS   
)
DECLARE_BITMAP ( wake_irqs  ,
NR_GPIO_IRQS   
)
DECLARE_BITMAP ( dual_edge_irqs  ,
NR_GPIO_IRQS   
)

Field Documentation

struct gpio_chip gpio_chip

Definition at line 105 of file gpio-msm-v2.c.


The documentation for this struct was generated from the following file: