IPMUX1IPMUX2IPMUX3: function_description(ipmux_interrupt.c)

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.c95行定义。

参考 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.c165行定义。

参考 OPL_IPMUX_IRQREG_INT_EN_ATBREG_INT_EN_BRGREG_INT_EN_DNTMREG_INT_EN_IWFREG_INT_EN_MCREG_INT_EN_POS_UPTREG_INT_EN_PPEREG_INT_EN_UPTMturn_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.c139行定义。

参考 intr_statusipmux_interrupt_handler()OPL_IPMUX_IRQREG_INT_EN_ATBREG_INT_EN_BRGREG_INT_EN_DNTMREG_INT_EN_IWFREG_INT_EN_MCREG_INT_EN_POS_UPTREG_INT_EN_PPEREG_INT_EN_UPTMturn_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.c87行定义。

参考 g_opl_chip_irq_eventg_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.c127行定义。

参考 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.c115行定义。

参考 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.c51行定义。

参考自 ipmux_hw0_irqinit().


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