Searched refs:header_type (Results 1 – 7 of 7) sorted by relevance
| /dev/bus/pci/ |
| A D | debug.cpp | 59 … config.vendor_id, config.device_id, config.header_type, config.base_class, in pci_list() 64 if ((fn == 0) && ~config.header_type & PCI_HEADER_TYPE_MULTI_FN) { in pci_list() 112 config.sub_class, config.base_class, config.header_type & PCI_HEADER_TYPE_MASK); in pci_config() 115 uint8_t header_type = config.header_type & PCI_HEADER_TYPE_MASK; in pci_config() local 116 if (header_type == PCI_HEADER_TYPE_STANDARD) { // type 0 in pci_config() 121 } else if (header_type == PCI_HEADER_TYPE_PCI_BRIDGE) { // type 1 in pci_config()
|
| A D | pci.cpp | 162 config->header_type = read_byte(); if (err < 0) return err; in pci_read_config() 167 const uint8_t type = config->header_type & 0x7f; in pci_read_config()
|
| /dev/bus/pci/bus_mgr/ |
| A D | bus.cpp | 85 uint8_t header_type; in probe() local 86 err = pci_read_config_byte(loc, PCI_CONFIG_HEADER_TYPE, &header_type); in probe() 92 if (loc.fn == 0 && header_type & PCI_HEADER_TYPE_MULTI_FN) { in probe() 97 header_type &= PCI_HEADER_TYPE_MASK; in probe()
|
| A D | device.cpp | 72 uint8_t header_type; in probe() local 73 err = pci_read_config_byte(loc, PCI_CONFIG_HEADER_TYPE, &header_type); in probe() 78 header_type &= PCI_HEADER_TYPE_MASK; in probe() 80 if (header_type != 0) { in probe() 81 LTRACEF("type %d header on device we don't understand, skipping\n", header_type); in probe() 94 LTRACEF_LEVEL(2, "type %#hhx\n", header_type); in probe() 330 if (header_type() == 0) { in load_bars() 332 } else if (header_type() == 1) { in load_bars()
|
| A D | bridge.cpp | 55 uint8_t header_type; in probe() local 56 err = pci_read_config_byte(loc, PCI_CONFIG_HEADER_TYPE, &header_type); in probe() 61 header_type &= PCI_HEADER_TYPE_MASK; in probe() 63 if (header_type != 1) { in probe() 64 LTRACEF("type %d header on bridge we don't understand, skipping\n", header_type); in probe()
|
| A D | device.h | 90 uint8_t header_type() const { return config_.header_type & PCI_HEADER_TYPE_MASK; } in header_type() function
|
| /dev/include/hw/ |
| A D | pci.h | 101 uint8_t header_type; member
|
Completed in 35 milliseconds