IPMUX1IPMUX2IPMUX3: function_description(ipmux_interrupt.c)

From RTL96xx (RTL9607,...)

function_description(ipmux_interrupt.c)
[ipmux module]


local variable declaration and definition.

void turn_on_level2_intr (u32 regID, char *bitmap)
 description: To enable the level2 interrupt.
void turn_off_level2_intr (u32 regID)
 description:
u32 get_mask (char *bitmap)
char intr_status [8][32]

函数

void ipmux_interrupt_handler (int irq, void *dev_id, struct pt_regs *regs)
 description: the ipmux interrupt handler,only wake up the process,which to read the irqpending.
int ipmux_hw0_irqinit (void)
 description: request the ipmux irq and enable the its intr.
void ipmux_hw0_irqexit (void)
 description: free irq,and disable ipmux interrupt.

函数文档

u32 get_mask (  char *  bitmap  )  [static]
 

在文件ipmux_interrupt.c第95行定义。

参考 u32.

参考自 turn_on_level2_intr().

void ipmux_hw0_irqexit (  void   ) 
 

description: free irq,and disable ipmux interrupt.

参数:
void 
返回:
NULL
参见:
ipmux_module_exit()
Deprecated:

在文件ipmux_interrupt.c第165行定义。

参考 OPL_IPMUX_IRQ、REG_INT_EN_ATB、REG_INT_EN_BRG、REG_INT_EN_DNTM、REG_INT_EN_IWF、REG_INT_EN_MC、REG_INT_EN_POS_UPT、REG_INT_EN_PPE、REG_INT_EN_UPTM及turn_off_level2_intr().

int ipmux_hw0_irqinit (  void   ) 
 

description: request the ipmux irq and enable the its intr.

参数:
void 
返回值:
0 success
-1 failure
参见:
ipmux_module_init
Deprecated:

在文件ipmux_interrupt.c第139行定义。

参考 intr_status、ipmux_interrupt_handler()、OPL_IPMUX_IRQ、REG_INT_EN_ATB、REG_INT_EN_BRG、REG_INT_EN_DNTM、REG_INT_EN_IWF、REG_INT_EN_MC、REG_INT_EN_POS_UPT、REG_INT_EN_PPE、REG_INT_EN_UPTM及turn_on_level2_intr().

void ipmux_interrupt_handler (  int  irq,
void *  dev_id,
struct pt_regs *  regs
) 
 

description: the ipmux interrupt handler,only wake up the process,which to read the irqpending.

参数:
int irq
void *dev_id
struct pt_regs regs
返回:
NULL
参见:
ipmux_hw0_irqinit
Deprecated:

在文件ipmux_interrupt.c第87行定义。

参考 g_opl_chip_irq_event及g_opl_chip_waitq.

参考自 ipmux_hw0_irqinit().

void turn_off_level2_intr (  u32  regID  )  [static]
 

description:

参数:
unsigned long regID it is the register address offset.
返回:
NULL
参见:
Deprecated:

在文件ipmux_interrupt.c第127行定义。

参考 ipMuxRegWrite().

参考自 ipmux_hw0_irqexit().

void turn_on_level2_intr (  u32  regID,
char *  bitmap
)  [static]
 

description: To enable the level2 interrupt.

参数:
unsigned long regID it is the register address offset.
*bitmap transfer the bitmap[] into 32bit mask.
返回:
NULL
参见:
Deprecated:

在文件ipmux_interrupt.c第115行定义。

参考 get_mask()、ipMuxRegWrite()及u32.

参考自 ipmux_hw0_irqinit().


变量文档

char intr_status[8][32] [static]
 

初始化序列:

 {

        {0, 0, 0, 0,-1,-1,-1,-1, 0, 0, 0, 0,-1,-1,-1,-1, 0, 0, 0, 0, 0, 0,-1, 0, 0, 0, 0, 0, 0, 0,-1, 0},
{0, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},
        {0, 0, 0, 0, 0,-1, 0, 0,-1,-1,-1, 0,-1, 0,-1, 0,-1, 0, 0,-1, 0, 0, 0, 0,-1, 0, 0,-1, 0, 0,-1,-1},
        {0, 0, 0,-1, 0, 0, 0, 0,-1,-1, 0, 0,-1, 0,-1, 0, 0, 0, 0, 0,-1, 0, 0, 0,-1,-1,-1, 0, 0, 0, 0,-1},
        {0, 0, 0, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},
{0,-1, 0,-1,-1,-1,-1,-1,-1,-1, 0, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},
{0,-1, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},
        {0, 0, 0, 0,-1, 0, 0, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
}

在文件ipmux_interrupt.c第51行定义。

参考自 ipmux_hw0_irqinit().


Generated at Mon Jul 30 16:43:48 2007 for IPMUX1IPMUX2IPMUX3 by  doxygen 1.3.9.1