Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.c20 list_add(pci_device_structure_list, &(ret->header.list)); \
25 list_init(&(ret->header.list)); \
26 pci_device_structure_list = &(ret->header.list); \
88 static void pci_read_general_device_header(struct pci_device_structure_general_device_t *header, uc… 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()
96 header->BAR5 = pci_read_config(bus, slot, func, 0x24); in pci_read_general_device_header()
[all …]
Dmsi.h102 int pci_disable_msi(void *header);
110 int pci_start_msi(void *header);
Dpci.h61 struct pci_device_structure_header_t header; member
93 struct pci_device_structure_header_t header; member
137 struct pci_device_structure_header_t header; member
Dpci.rs764 let header = PciDeviceStructureHeader { in pci_read_header() localVariable
781 let general_device = pci_read_general_device_header(header, &bus_device_function); in pci_read_header()
790 let pci_to_pci_bridge = pci_read_pci_to_pci_bridge_header(header, &bus_device_function); in pci_read_header()
800 pci_read_pci_to_cardbus_bridge_header(header, &bus_device_function); in pci_read_header()
1020 let header = pci_read_header(busdevicefunction, false)?; in pci_check_all_buses() localVariable
1021 let common_header = header.common_header(); in pci_check_all_buses()
1034 let header = match pci_read_header(busdevicefunction, true) { in pci_check_function() localVariable
1035 Ok(header) => header, in pci_check_function()
1043 let common_header = header.common_header(); in pci_check_function()
1047 let pci_to_pci_bridge = header in pci_check_function()
[all …]
Dmsi.c231 int pci_start_msi(void *header) in pci_start_msi() argument
233 struct pci_device_structure_header_t *ptr = (struct pci_device_structure_header_t *)header; in pci_start_msi()
289 int pci_disable_msi(void *header) in pci_disable_msi() argument
291 struct pci_device_structure_header_t *ptr = (struct pci_device_structure_header_t *)header; in pci_disable_msi()
/DragonOS-0.1.8/kernel/src/driver/acpi/
Dacpi.h79 struct acpi_system_description_table_header_t header; member
104 struct acpi_system_description_table_header_t header; member
124 struct apic_Interrupt_Controller_Structure_header_t header; member
135 struct apic_Interrupt_Controller_Structure_header_t header; member
150 struct acpi_system_description_table_header_t header; member
161 struct acpi_system_description_table_header_t header; member
Dacpi.c191 kdebug("offset=%d", sizeof(rsdt->header)); in acpi_init()
192 acpi_RSDT_Entry_num = (rsdt->header.Length - 36) / 4; in acpi_init()
194 printk_color(ORANGE, BLACK, "RSDT Length=%dbytes.\n", rsdt->header.Length); in acpi_init()
235 acpi_RSDT_Entry_num = (rsdt->header.Length - 36) / 4; in acpi_init()
237 printk_color(ORANGE, BLACK, "RSDT Length=%dbytes.\n", rsdt->header.Length); in acpi_init()
/DragonOS-0.1.8/docs/kernel/boot/
Dmultiboot2.md17   由于Multiboot2的信息存储在自`multiboot2_boot_info_addr`开始的一段连续的内存空间之中,且不同类型的header的长度不同,因此设计了一迭代…
28   指定的handler。当某个header的tag与该handler所处理的tag相同时,handler将处理该header,并返回true。
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio.rs95 let header = &standard_device.common_header; in get_virtio_net_device() localVariable
96 if header.vendor_id == 0x1AF4 in get_virtio_net_device()
97 && header.device_id >= 0x1000 in get_virtio_net_device()
98 && header.device_id <= 0x103F in get_virtio_net_device()
Dtransport_pci.rs100 let header = &device.common_header; in new() localVariable
101 let bus_device_function = header.bus_device_function; in new()
102 if header.vendor_id != VIRTIO_VENDOR_ID { in new()
103 return Err(VirtioPciError::InvalidVendorId(header.vendor_id)); in new()
105 let device_type = device_type(header.device_id); in new()
/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/
Dapic.c65 struct apic_Interrupt_Controller_Structure_header_t *header = in apic_io_apic_init() local
67 while (header->length > 2) in apic_io_apic_init()
69 header = (struct apic_Interrupt_Controller_Structure_header_t *)ent; in apic_io_apic_init()
70 if (header->type == 1) in apic_io_apic_init()
78 ent += header->length; in apic_io_apic_init()
603 struct apic_Interrupt_Controller_Structure_header_t *header = in apic_get_ics() local
609 while (header->length > 2) in apic_get_ics()
611 header = (struct apic_Interrupt_Controller_Structure_header_t *)ent; in apic_get_ics()
612 if (header->type == type) in apic_get_ics()
617 ent += header->length; in apic_get_ics()
/DragonOS-0.1.8/user/libs/libc/
Dbuild.rs23 .header("src/include/internal/bindings/wrapper.h") in main()
/DragonOS-0.1.8/kernel/
Dbuild.rs24 .header("src/include/bindings/wrapper.h") in main()
/DragonOS-0.1.8/kernel/src/driver/multiboot2/
Dmultiboot2.h297 struct multiboot_tag_framebuffer_info_t header; member
305 struct multiboot_tag_framebuffer_info_t header; member