Home
last modified time | relevance | path

Searched refs:func (Results 1 – 14 of 14) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.c40 uint32_t pci_read_config(uchar bus, uchar slot, uchar func, uchar offset) in pci_read_config() argument
44 uint lfunc = ((uint)func) & 7; in pci_read_config()
64 uint pci_write_config(uchar bus, uchar slot, uchar func, uchar offset, uint32_t data) in pci_write_config() argument
68 uint lfunc = ((uint)func) & 7; in pci_write_config()
88 …ice_header(struct pci_device_structure_general_device_t *header, uchar bus, uchar slot, uchar func) in pci_read_general_device_header() argument
91 header->BAR0 = pci_read_config(bus, slot, func, 0x10); in pci_read_general_device_header()
92 header->BAR1 = pci_read_config(bus, slot, func, 0x14); in pci_read_general_device_header()
93 header->BAR2 = pci_read_config(bus, slot, func, 0x18); in pci_read_general_device_header()
94 header->BAR3 = pci_read_config(bus, slot, func, 0x1c); in pci_read_general_device_header()
95 header->BAR4 = pci_read_config(bus, slot, func, 0x20); in pci_read_general_device_header()
[all …]
Dmsi.c25 …i_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_off); in __msi_read_msix_cap_list()
32 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_msix_cap_list()
34 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_msix_cap_list()
42 …i_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_off); in __msi_read_cap_list()
48 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list()
53 …_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_off + 0x8); in __msi_read_cap_list()
61 …_data = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, in __msi_read_cap_list()
66 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list()
68 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list()
94 uint32_t bar = pci_read_config(pci_dev->bus, pci_dev->device, pci_dev->func, bar_off); in __msix_map_table()
[all …]
Dpci.h32 uint8_t func; member
179 uint32_t pci_read_config(uchar bus, uchar slot, uchar func, uchar offset);
190 uint pci_write_config(uchar bus, uchar slot, uchar func, uchar offset, uint32_t data);
201 void *pci_read_header(int *type, uchar bus, uchar slot, uchar func, bool add_to_list);
/DragonOS-0.1.8/kernel/src/ktest/
Dktest.c11 pid_t ktest_start(int (*func)(void* arg), void* arg) in ktest_start()
13 return kernel_thread(func, arg, 0); in ktest_start()
Dktest.h16 pid_t ktest_start(int (*func)(void* arg), void* arg);
/DragonOS-0.1.8/user/apps/shell/
Dcmd_help.c7 void (*func)(); member
19 help_table[i].func(); in shell_help()
Dcmd.h14 int (*func)(int argc, char **argv); member
Dcmd.c121 shell_cmds[index].func(argc, argv); in shell_run_built_in_command()
/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.rs101 let func = guard.f_ops.read.unwrap(); in read_at() localVariable
103 func( in read_at()
132 let func = guard.f_ops.open.unwrap(); in open() localVariable
133 let _ = unsafe { func(0 as *mut vfs_index_node_t, 0 as *mut vfs_file_t) }; in open()
146 let func = guard.f_ops.close.unwrap(); in close() localVariable
147 let _ = unsafe { func(0 as *mut vfs_index_node_t, 0 as *mut vfs_file_t) }; in close()
/DragonOS-0.1.8/user/libs/libc/src/
Dcxa.c4 int __cxa_atexit(void (*func)(void *), void *arg, void *d) in __cxa_atexit()
/DragonOS-0.1.8/kernel/src/process/
Dptrace.h24 unsigned long func; member
/DragonOS-0.1.8/docs/kernel/ktest/
Dktest-framework.md68 `pid_t ktest_start(uint64_t (*func)(uint64_t arg), uint64_t arg)`
76 **func**
/DragonOS-0.1.8/docs/community/code_contribution/
Dc-coding-style.md126 void *func(char* s, int **p);
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.3.md458 Patch add abort func (#120)