Lines Matching defs:device
190 // and don't activate it. Attempts to use legacy IRQs for the device
310 * Returns the pci config of a device.
355 auto device = pci_device->device();
356 auto cfg_size = device->is_pcie() ? PCIE_EXTENDED_CONFIG_SIZE : PCIE_BASE_CONFIG_SIZE;
364 auto config = device->config();
390 // Writes to the PCI header or outside of the device's config space are not allowed.
391 auto device = pci_device->device();
392 auto cfg_size = device->is_pcie() ? PCIE_EXTENDED_CONFIG_SIZE : PCIE_BASE_CONFIG_SIZE;
397 auto config = device->config();
444 * Enables or disables bus mastering for the PCI device associated with the handle.
445 * @param handle Handle associated with a PCI device
462 * Resets the PCI device associated with the handle.
463 * @param handle Handle associated with a PCI device
487 // Grab the PCI device object
496 // Get bar info from the device via the dispatcher and make sure it makes sense
524 auto dev = pci_device->device();
562 * @param handle Handle associated with a PCI device
587 * Gets info about the capabilities of a PCI device's IRQ modes.
588 * @param handle Handle associated with a PCI device.
617 * Selects an IRQ mode for a PCI device.
618 * @param handle Handle associated with a PCI device.