Lines Matching refs:device
234 common_header->device = slot; in pci_read_header()
308 static void pci_checkFunction(uint8_t bus, uint8_t device, uint8_t function) in pci_checkFunction() argument
311 …struct pci_device_structure_header_t *header = pci_read_header(&header_type, bus, device, function… in pci_checkFunction()
328 static int pci_checkDevice(uint8_t bus, uint8_t device) in pci_checkDevice() argument
332 …struct pci_device_structure_header_t *header = pci_read_header(&header_type, bus, device, 0, false… in pci_checkDevice()
351 pci_checkFunction(bus, device, 0); in pci_checkDevice()
361 … = (struct pci_device_structure_header_t *)pci_read_header(&header_type, bus, device, func, false); in pci_checkDevice()
364 pci_checkFunction(bus, device, func); in pci_checkDevice()
377 for (uint8_t device = 0; device < 32; ++device) in pci_checkBus() local
379 pci_checkDevice(bus, device); in pci_checkBus()
444 …uint32_t tmp = pci_read_config(ptr->bus, ptr->device, ptr->func, ((struct pci_device_structure_gen… in pci_init()
528 tmp = pci_read_config(pci_dev->bus, pci_dev->device, pci_dev->func, cap_offset); in pci_enumerate_capability_list()