Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/pci/
Dpci.c90 uint32_t tmp32; in pci_read_general_device_header() local
99 tmp32 = pci_read_config(bus, slot, func, 0x2c); in pci_read_general_device_header()
100 header->Subsystem_Vendor_ID = tmp32 & 0xffff; in pci_read_general_device_header()
101 header->Subsystem_ID = (tmp32 >> 16) & 0xffff; in pci_read_general_device_header()
105 tmp32 = pci_read_config(bus, slot, func, 0x34); in pci_read_general_device_header()
106 header->Capabilities_Pointer = tmp32 & 0xff; in pci_read_general_device_header()
107 header->reserved0 = (tmp32 >> 8) & 0xff; in pci_read_general_device_header()
108 header->reserved1 = (tmp32 >> 16) & 0xffff; in pci_read_general_device_header()
112 tmp32 = pci_read_config(bus, slot, func, 0x3c); in pci_read_general_device_header()
113 header->Interrupt_Line = tmp32 & 0xff; in pci_read_general_device_header()
[all …]