Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ipic.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/reboot.h>
#include <linux/slab.h>
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/syscore_ops.h>
#include <linux/device.h>
#include <linux/bootmem.h>
#include <linux/spinlock.h>
#include <linux/fsl_devices.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/ipic.h>
#include "ipic.h"

Go to the source code of this file.

Macros

#define IPIC_SIVCR_VECTOR_MASK   0x7f
 
#define ipic_suspend   NULL
 
#define ipic_resume   NULL
 

Functions

struct ipic *__init ipic_init (struct device_node *node, unsigned int flags)
 
int ipic_set_priority (unsigned int virq, unsigned int priority)
 
void ipic_set_highest_priority (unsigned int virq)
 
void ipic_set_default_priority (void)
 
void ipic_enable_mcp (enum ipic_mcp_irq mcp_irq)
 
void ipic_disable_mcp (enum ipic_mcp_irq mcp_irq)
 
u32 ipic_get_mcp_status (void)
 
void ipic_clear_mcp_status (u32 mask)
 
unsigned int ipic_get_irq (void)
 
 subsys_initcall (init_ipic_syscore)
 

Macro Definition Documentation

#define ipic_resume   NULL

Definition at line 934 of file ipic.c.

#define IPIC_SIVCR_VECTOR_MASK   0x7f
#define ipic_suspend   NULL

Definition at line 933 of file ipic.c.

Function Documentation

void ipic_clear_mcp_status ( u32  mask)

Definition at line 850 of file ipic.c.

void ipic_disable_mcp ( enum ipic_mcp_irq  mcp_irq)

Definition at line 835 of file ipic.c.

void ipic_enable_mcp ( enum ipic_mcp_irq  mcp_irq)

Definition at line 825 of file ipic.c.

unsigned int ipic_get_irq ( void  )

Definition at line 856 of file ipic.c.

u32 ipic_get_mcp_status ( void  )

Definition at line 845 of file ipic.c.

struct ipic* __init ipic_init ( struct device_node node,
unsigned int  flags 
)
read

Definition at line 701 of file ipic.c.

void ipic_set_default_priority ( void  )

Definition at line 815 of file ipic.c.

void ipic_set_highest_priority ( unsigned int  virq)

Definition at line 800 of file ipic.c.

int ipic_set_priority ( unsigned int  virq,
unsigned int  priority 
)

Definition at line 772 of file ipic.c.

subsys_initcall ( init_ipic_syscore  )