Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hlwd-pic.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/of.h>
#include <asm/io.h>
#include "hlwd-pic.h"

Go to the source code of this file.

Macros

#define DRV_MODULE_NAME   "hlwd-pic"
 
#define pr_fmt(fmt)   DRV_MODULE_NAME ": " fmt
 
#define HLWD_NR_IRQS   32
 
#define HW_BROADWAY_ICR   0x00
 
#define HW_BROADWAY_IMR   0x04
 

Functions

struct irq_domainhlwd_pic_init (struct device_node *np)
 
unsigned int hlwd_pic_get_irq (void)
 
void hlwd_pic_probe (void)
 
void hlwd_quiesce (void)
 

Macro Definition Documentation

#define DRV_MODULE_NAME   "hlwd-pic"

Definition at line 14 of file hlwd-pic.c.

#define HLWD_NR_IRQS   32

Definition at line 25 of file hlwd-pic.c.

#define HW_BROADWAY_ICR   0x00

Definition at line 35 of file hlwd-pic.c.

#define HW_BROADWAY_IMR   0x04

Definition at line 36 of file hlwd-pic.c.

#define pr_fmt (   fmt)    DRV_MODULE_NAME ": " fmt

Definition at line 15 of file hlwd-pic.c.

Function Documentation

unsigned int hlwd_pic_get_irq ( void  )

Definition at line 190 of file hlwd-pic.c.

struct irq_domain* hlwd_pic_init ( struct device_node np)
read

Definition at line 158 of file hlwd-pic.c.

void hlwd_pic_probe ( void  )

Definition at line 200 of file hlwd-pic.c.

void hlwd_quiesce ( void  )

hlwd_quiesce() - quiesce hollywood irq controller

Mask and ack all interrupt sources.

Definition at line 228 of file hlwd-pic.c.