Lines Matching defs:ctrl
26 * @ctrl: PCIe hotplug controller
32 int pciehp_configure_device(struct controller *ctrl)
35 struct pci_dev *bridge = ctrl->pcie->port;
47 ctrl_dbg(ctrl, "Device %s already exists at %04x:%02x:00, skipping hot-add\n",
56 ctrl_err(ctrl, "No new device found\n");
71 up_read(&ctrl->reset_lock);
73 down_read_nested(&ctrl->reset_lock, ctrl->depth);
82 * @ctrl: PCIe hotplug controller
91 void pciehp_unconfigure_device(struct controller *ctrl, bool presence)
94 struct pci_bus *parent = ctrl->pcie->port->subordinate;
97 ctrl_dbg(ctrl, "%s: domain:bus:dev = %04x:%02x:00\n",
119 up_read(&ctrl->reset_lock);
121 down_read_nested(&ctrl->reset_lock, ctrl->depth);