Lines Matching refs:p_slot
37 int shpchp_configure_device(struct slot *p_slot) in shpchp_configure_device() argument
40 struct controller *ctrl = p_slot->ctrl; in shpchp_configure_device()
47 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device()
51 p_slot->bus, p_slot->device); in shpchp_configure_device()
57 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device()
65 if (PCI_SLOT(dev->devfn) != p_slot->device) in shpchp_configure_device()
80 int shpchp_unconfigure_device(struct slot *p_slot) in shpchp_unconfigure_device() argument
84 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; in shpchp_unconfigure_device()
86 struct controller *ctrl = p_slot->ctrl; in shpchp_unconfigure_device()
89 __func__, pci_domain_nr(parent), p_slot->bus, p_slot->device); in shpchp_unconfigure_device()
94 if (PCI_SLOT(dev->devfn) != p_slot->device) in shpchp_unconfigure_device()