Searched refs:master_pdev (Results 1 – 2 of 2) sorted by relevance
141 struct pci_dev *pdev = ahd->dev_softc, *master_pdev; in ahd_linux_pci_inherit_flags() local144 master_pdev = pci_get_slot(pdev->bus, master_devfn); in ahd_linux_pci_inherit_flags()145 if (master_pdev) { in ahd_linux_pci_inherit_flags()146 struct ahd_softc *master = pci_get_drvdata(master_pdev); in ahd_linux_pci_inherit_flags()152 pci_dev_put(master_pdev); in ahd_linux_pci_inherit_flags()
184 struct pci_dev *pdev = ahc->dev_softc, *master_pdev; in ahc_linux_pci_inherit_flags() local187 master_pdev = pci_get_slot(pdev->bus, master_devfn); in ahc_linux_pci_inherit_flags()188 if (master_pdev) { in ahc_linux_pci_inherit_flags()189 struct ahc_softc *master = pci_get_drvdata(master_pdev); in ahc_linux_pci_inherit_flags()198 pci_dev_put(master_pdev); in ahc_linux_pci_inherit_flags()