Function report |
Source Code:arch\x86\kernel\amd_nb.c |
Create Date:2022-07-28 08:43:40 |
Last Modify:2020-03-16 21:36:56 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__amd_smn_rw
Proto:static int __amd_smn_rw(u16 node, unsigned int address, unsigned int *value, bool write)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
u16 | node | |
unsigned int | address | |
unsigned int * | value | |
bool | write |
140 | err = pci_write_config_dword(root, 0x60, address) |
141 | If err Then |
143 | Go to out_unlock |
146 | err = If write Then pci_write_config_dword(root, 0x64, * value) Else pci_read_config_dword(root, 0x64, value) |
148 | If err Then pr_warn("Error %s SMN address 0x%x.\n", (write ? "writing to" : "reading from"), address) |
152 | out_unlock : |
155 | out : |
156 | Return err |
Name | Describe |
---|---|
amd_smn_read | |
amd_smn_write |
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 |