function_description(opl_reg_mmap.c)
[register mmap module]
local function declaration | |
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. | |
函数 | |
int __init | opl_reg_init (void) |
description: The driver module entry.to register the chrdev and request irq. | |
void __exit | opl_reg_exit (void) |
description: it is called when the module removed. | |
module_init (opl_reg_init) | |
module_exit (opl_reg_exit) | |
MODULE_LICENSE ("GPL2") | |
MODULE_AUTHOR ("stephanxu <[email protected]>") | |
MODULE_DESCRIPTION ("dedicated the module for mmap the opulan switch chip register.") |
函数文档
|
|
|
|
|
|
|
|
|
|
|
description: it is called when the module removed. do the reverse of opl_reg_module_init.
在文件opl_reg_mmap.c第193行定义。 参考 OPL_REG_DEVICE及OPL_REG_MAJOR. 参考自 main(). |
|
description: The driver module entry.to register the chrdev and request irq. and some essential initialization.
在文件opl_reg_mmap.c第176行定义。 参考 OPL_REG_DEVICE、opl_reg_fops及OPL_REG_MAJOR. 参考自 main(). |
|
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行定义。 |
|
description:
在文件opl_reg_mmap.c第102行定义。 |
Generated at Mon Jul 30 16:43:48 2007 for IPMUX1IPMUX2IPMUX3 by
