Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
omap_prcm_irq_setup Struct Reference

#include <prcm-common.h>

Data Fields

u16 ack
 
u16 mask
 
u8 nr_regs
 
u8 nr_irqs
 
struct omap_prcm_irqirqs
 
int irq
 
void(* read_pending_irqs )(unsigned long *events)
 
void(* ocp_barrier )(void)
 
void(* save_and_clear_irqen )(u32 *saved_mask)
 
void(* restore_irqen )(u32 *saved_mask)
 
u32saved_mask
 
u32priority_mask
 
int base_irq
 
bool suspended
 
bool suspend_save_flag
 

Detailed Description

struct omap_prcm_irq_setup - PRCM interrupt controller details : PRM register offset for the first PRM_IRQSTATUS_MPU register : PRM register offset for the first PRM_IRQENABLE_MPU register : number of PRM_IRQ{STATUS,ENABLE}_MPU* registers : number of entries in the array : ptr to an array of PRCM interrupt bits (see ) : MPU IRQ asserted when a PRCM interrupt arrives : fn ptr to determine if any PRCM IRQs are pending : fn ptr to force buffered PRM writes to complete : fn ptr to save and clear IRQENABLE regs : fn ptr to save and clear IRQENABLE regs : IRQENABLE regs are saved here during suspend : 1 bit per IRQ, set to 1 if omap_prcm_irq.priority = true : base dynamic IRQ number, returned from irq_alloc_descs() in init : set to true after Linux suspend code has called our ->prepare() : set to true after IRQ masks have been saved and disabled

, , , , and are populated dynamically, and are not to be specified in static initializers.

Definition at line 481 of file prcm-common.h.

Field Documentation

u16 ack

Definition at line 482 of file prcm-common.h.

int base_irq

Definition at line 494 of file prcm-common.h.

int irq

Definition at line 487 of file prcm-common.h.

Definition at line 486 of file prcm-common.h.

u16 mask

Definition at line 483 of file prcm-common.h.

u8 nr_irqs

Definition at line 485 of file prcm-common.h.

u8 nr_regs

Definition at line 484 of file prcm-common.h.

void(* ocp_barrier)(void)

Definition at line 489 of file prcm-common.h.

u32* priority_mask

Definition at line 493 of file prcm-common.h.

void(* read_pending_irqs)(unsigned long *events)

Definition at line 488 of file prcm-common.h.

void(* restore_irqen)(u32 *saved_mask)

Definition at line 491 of file prcm-common.h.

void(* save_and_clear_irqen)(u32 *saved_mask)

Definition at line 490 of file prcm-common.h.

u32* saved_mask

Definition at line 492 of file prcm-common.h.

bool suspend_save_flag

Definition at line 496 of file prcm-common.h.

bool suspended

Definition at line 495 of file prcm-common.h.


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