Searched refs:Class_code (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.5/kernel/src/driver/pci/ |
D | pci.c | 251 common_header->Class_code = (tmp32 >> 24) & 0xff; in pci_read_header() 321 if ((header->Class_code == 0x6) && (header->SubClass == 0x4)) in pci_checkFunction() 442 …pointer=%#010lx\tbar5=%#010lx, vendor=%#08x, device id=%#08x", i, ptr->Class_code, ptr->SubClass, … in pci_init() 449 …i device %d ] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, … in pci_init() 456 … code = %d\tsubclass=%d\tstatus=%#010lx\tcap_pointer=%#010lx", i, ptr->Class_code, ptr->SubClass, … in pci_init() 461 …i device %d ] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, … in pci_init() 466 …i device %d ] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, … in pci_init() 490 if ((ptr->Class_code == class_code) && (ptr->SubClass == sub_class)) in pci_get_device_structure() 492 …kdebug("[%d] class_code=%d, sub_class=%d, progIF=%d, bar5=%#010lx", i, ptr->Class_code, ptr->SubC… in pci_get_device_structure()
|
D | pci.h | 43 uint8_t Class_code; // 类代码,一个只读寄存器,指定设备执行的功能类型 member
|