register mmap module
详细描述
THE FORMAT is FOR DOXYGEN to Generate the document opulan.com.
- 版本:
- v0.2
- 日期:
- June-29-2007 author date description ------------------------------------------------------------------- hxu June-29-2007 mainly from the old version and rewrite the opulan_read function.
hxu July-05-2007 distill the piece of the ipmux driver code dedicated for the opl switch chip register map.
模块 | |
组 | function_description(opl_reg_mmap.c) |
#define | OPL_REG_MAJOR 110 |
#define | OPL_REG_DEVICE "opl_reg" |
local function declaration | |
int | opl_reg_open (struct inode *inode, struct file *filp) |
ssize_t | opl_reg_write (struct file *filp, const char *buffer, size_t length, loff_t *offset) |
int | opl_reg_release (struct inode *inode, struct file *filp) |
ssize_t | opl_reg_read (struct file *filp, char *buffer, size_t length, loff_t *offset) |
description: | |
int | opl_reg_mmap (struct file *file, struct vm_area_struct *vma) |
description: memory map the ipmux register into user space to access it. | |
local variable declaration and definition | |
u32 | opl_reg_open_count = 0 |
u32 | opl_reg_is_open = 0 |
file_operations | opl_reg_fops |
宏定义文档
|
在文件opl_reg_mmap.c第32行定义。 |
|
在文件opl_reg_mmap.c第31行定义。 |
函数文档
|
description: memory map the ipmux register into user space to access it. which will reduce the spense on copy value between kernel space with user space. and reduce the dependency on interface of OS. the ipmux register must be NOcached and NO swap out and NO Coredump.
在文件opl_reg_mmap.c第124行定义。 |
|
在文件opl_reg_mmap.c第150行定义。 |
|
description:
在文件opl_reg_mmap.c第102行定义。 |
|
在文件opl_reg_mmap.c第159行定义。 |
|
在文件opl_reg_mmap.c第107行定义。 |
变量文档
|
初始化序列: { .read = opl_reg_read, .write = opl_reg_write, .mmap = opl_reg_mmap, .open = opl_reg_open, .release = opl_reg_release, } 在文件opl_reg_mmap.c第75行定义。 参考自 opl_reg_init(). |
|
在文件opl_reg_mmap.c第74行定义。 |
|
在文件opl_reg_mmap.c第73行定义。 |
Generated at Mon Jul 30 16:43:48 2007 for IPMUX1IPMUX2IPMUX3 by 1.3.9.1