s3c_mfc_irq分析
来源:互联网 发布:mysql in share mode 编辑:程序博客网 时间:2024/05/16 19:04
源码比较简单
1:
2: static irqreturn_t s3c_mfc_irq(int irq, void *dev_id)
3: {
4: unsigned int intReason;
5: s3c_mfc_inst_context_t *pMfcInst;
6:
7:
8: pMfcInst = (s3c_mfc_inst_context_t *)dev_id;
9:
10: intReason = s3c_mfc_intr_reason();
11:
12: /* if PIC_RUN, buffer full and buffer empty interrupt */
13: if (intReason & S3C_MFC_INTR_ENABLE_RESET) {
14: s3c_mfc_intr_type = intReason;
15: wake_up_interruptible(&s3c_mfc_wait_queue);
16: }
17:
18: s3c_mfc_clear_intr();
19:
20: return IRQ_HANDLED;
21: }
s3c_mfc_intr_reason函数检查INT_REASON寄存器(the interrupt reason register) 的值
wake_up_interruptible为wait.h(include/linux)下,故和系统有关,需要修改。
- s3c_mfc_irq分析
- 分析
- 分析
- 分析
- 分析
- 分析
- 分析
- 分析
- 分析
- 分析
- 大家帮忙分析分析!
- FFMpeg分析详细分析
- FFMpeg分析详细分析
- core 分析的分析
- 写给自己,分析分析
- FFMpeg分析详细分析
- 图像分析------直方图分析
- 静态分析 - 数据流分析
- struts2 ognl 访问静态方法 传参
- 数学公式的计算
- boost lexical_cast使用
- oracle 启动不起来
- C_语法_宏定义define和函数的作用对比
- s3c_mfc_irq分析
- DataList内容详解
- Longest Repeated Substring
- .Net 自定义应用程序配置
- 窗体间传值练习
- IOS开发网络篇之──ASIHTTPRequest详解
- COM Interop Presentation comments
- 手机短信PDU字符串中用到的7bit加密解密函数
- Win7下使用双屏 显示不同分辨率的桌面