Home
last modified time | relevance | path

Searched refs:lpc_bridge (Results 1 – 2 of 2) sorted by relevance

/drivers/vfio/pci/
Dvfio_pci_igd.c272 struct pci_dev *host_bridge, *lpc_bridge; in vfio_pci_igd_cfg_init() local
295 lpc_bridge = pci_get_domain_bus_and_slot(0, 0, PCI_DEVFN(0x1f, 0)); in vfio_pci_igd_cfg_init()
296 if (!lpc_bridge) in vfio_pci_igd_cfg_init()
299 if (lpc_bridge->vendor != PCI_VENDOR_ID_INTEL || in vfio_pci_igd_cfg_init()
300 lpc_bridge->class != (PCI_CLASS_BRIDGE_ISA << 8)) { in vfio_pci_igd_cfg_init()
301 pci_dev_put(lpc_bridge); in vfio_pci_igd_cfg_init()
308 &vfio_pci_igd_cfg_regops, lpc_bridge->cfg_size, in vfio_pci_igd_cfg_init()
309 VFIO_REGION_INFO_FLAG_READ, lpc_bridge); in vfio_pci_igd_cfg_init()
311 pci_dev_put(lpc_bridge); in vfio_pci_igd_cfg_init()
/drivers/ata/
Dpata_sis.c833 struct pci_dev *lpc_bridge; in sis_init_one() local
846 lpc_bridge = pci_get_slot(pdev->bus, 0x10); /* Bus 0 Dev 2 Fn 0 */ in sis_init_one()
847 if (lpc_bridge == NULL) in sis_init_one()
850 pci_dev_put(lpc_bridge); in sis_init_one()
852 if (lpc_bridge->revision == 0x10 && (prefctl & 0x80)) { in sis_init_one()