Lines Matching refs:p_slot
23 int shpchp_configure_device(struct slot *p_slot) in shpchp_configure_device() argument
26 struct controller *ctrl = p_slot->ctrl; in shpchp_configure_device()
33 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device()
37 p_slot->bus, p_slot->device); in shpchp_configure_device()
43 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device()
51 if (PCI_SLOT(dev->devfn) == p_slot->device) in shpchp_configure_device()
64 int shpchp_unconfigure_device(struct slot *p_slot) in shpchp_unconfigure_device() argument
67 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; in shpchp_unconfigure_device()
69 struct controller *ctrl = p_slot->ctrl; in shpchp_unconfigure_device()
72 __func__, pci_domain_nr(parent), p_slot->bus, p_slot->device); in shpchp_unconfigure_device()
77 if (PCI_SLOT(dev->devfn) != p_slot->device) in shpchp_unconfigure_device()