Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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()
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
Dpci.rs159 pub struct Status: u16 {
315 fn status_command(&self) -> (Status, Command) { in status_command() argument
317 let status = Status::from_bits_truncate(common_header.status); in status_command()
724 let status: Status = Status::from_bits_truncate((result >> 16) as u16); in capabilities_offset()
725 if status.contains(Status::CAPABILITIES_LIST) { in capabilities_offset()