function_description(opl_reg_test.c)
[register mmap test module]
local variable declaration and definition | |
u32 | reg_read (char *reg_base, int offset) |
description: use to read the value of (reg_base + offset); | |
void | reg_write (char *reg_base, int offset, u32 value) |
description: write the u32 value into regbase + offset,if the offset is not alignment of 4, it will return and print error message. | |
void | opl_reg_main (int argc, char **argv) |
description: the body unit testing of regmmap module ,it will be completed. | |
int | opl_reg_init (int *opl_reg_initialized) |
description: use to open the /dev/opl_reg device and do mmap() it. | |
int | opl_reg_exit (int *opl_reg_initialized) |
description: do close file and unmap the memory mmaped before. | |
函数 | |
int | main (int argc, char **argv) |
description:the Entry of the unit testing for opl_regmmap module. |
函数文档
|
description:the Entry of the unit testing for opl_regmmap module.
在文件opl_regmmap_test.c第247行定义。 |
|
description: do close file and unmap the memory mmaped before.
在文件opl_regmmap_test.c第227行定义。 |
|
description: use to open the /dev/opl_reg device and do mmap() it.
在文件opl_regmmap_test.c第203行定义。 |
|
description: the body unit testing of regmmap module ,it will be completed.
在文件opl_regmmap_test.c第151行定义。 参考 opl_reg_base、OPL_REG_USAGE、reg_read()、reg_write()及u32. 参考自 main(). |
|
description: use to read the value of (reg_base + offset);
在文件opl_regmmap_test.c第115行定义。 参考 u32. 参考自 opl_reg_main(). |
|
description: write the u32 value into regbase + offset,if the offset is not alignment of 4, it will return and print error message.
在文件opl_regmmap_test.c第134行定义。 参考 u32. 参考自 opl_reg_main(). |
Generated at Mon Jul 30 16:43:48 2007 for IPMUX1IPMUX2IPMUX3 by
