Function report |
Source Code:lib\stmp_device.c |
Create Date:2022-07-28 07:20:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:stmp_reset_block
Proto:int stmp_reset_block(void __iomem *reset_addr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void __iomem * | reset_addr |
| 41 | timeout = 0x400 |
| 45 | If Value for the false possibility is greater at compile time(ret) Then Go to error |
| 56 | When Not (readl(reset_addr) & STMP_MODULE_CLKGATE) && --timeout cycle |
| 58 | If Value for the false possibility is greater at compile time(!timeout) Then Go to error |
| 63 | If Value for the false possibility is greater at compile time(ret) Then Go to error |
| 68 | If Value for the false possibility is greater at compile time(ret) Then Go to error |
| 71 | Return 0 |
| 73 | error : |
| 74 | pr_err("%s(%p): module reset timeout\n", __func__, reset_addr) |
| 75 | Return -ETIMEDOUT |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |