Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/driver/pci/
Dpci.c245 common_header->Status = (tmp32 >> 16) & 0xffff; in pci_read_header()
440 if (ptr->Status & 0x10) in pci_init()
442 … vendor=%#08x, device id=%#08x", i, ptr->Class_code, ptr->SubClass, ptr->Status, ((struct pci_devi… in pci_init()
449 …] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, ptr->Status); in pci_init()
454 if (ptr->Status & 0x10) in pci_init()
456 …s=%#010lx\tcap_pointer=%#010lx", i, ptr->Class_code, ptr->SubClass, ptr->Status, ((struct pci_devi… in pci_init()
461 …] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, ptr->Status); in pci_init()
466 …] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, ptr->Status); in pci_init()
Dpci.rs20 pub struct Status: u16 {
79 let status: Status = unsafe { in capabilities_offset()
86 Status::from_bits_truncate((temp >> 16) as u16) in capabilities_offset()
88 if status.contains(Status::CAPABILITIES_LIST) { in capabilities_offset()
Dmsi.c240 if (!(ptr->Status & 0x10)) in pci_start_msi()
257 if (!(ptr->Status & 0x10)) in pci_start_msi()
298 if (!(ptr->Status & 0x10)) in pci_disable_msi()
315 if (!(ptr->Status & 0x10)) in pci_disable_msi()
Dpci.h38 uint16_t Status; // 用于记录pci总线相关时间的状态信息寄存器 member