Lines Matching refs:ctrl
231 struct controller *ctrl;
251 ctrl = cpqhp_ctrl_list;
254 rc = add_byte(&pFill, 1 + ctrl->push_flag, &usedbytes, &available);
263 while (ctrl) {
269 rc = add_byte(&pFill, ctrl->bus, &usedbytes, &available);
274 rc = add_byte(&pFill, PCI_SLOT(ctrl->pci_dev->devfn), &usedbytes, &available);
279 rc = add_byte(&pFill, PCI_FUNC(ctrl->pci_dev->devfn), &usedbytes, &available);
290 resNode = ctrl->mem_head;
315 resNode = ctrl->p_mem_head;
340 resNode = ctrl->io_head;
365 resNode = ctrl->bus_head;
388 ctrl = ctrl->next;
424 int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl)
454 ((p_EV_header->Version == 1) && !ctrl->push_flag)) {
468 while ((bus != ctrl->bus) ||
469 (device != PCI_SLOT(ctrl->pci_dev->devfn)) ||
470 (function != PCI_FUNC(ctrl->pci_dev->devfn))) {
533 mem_node->next = ctrl->mem_head;
534 ctrl->mem_head = mem_node;
561 p_mem_node->next = ctrl->p_mem_head;
562 ctrl->p_mem_head = p_mem_node;
589 io_node->next = ctrl->io_head;
590 ctrl->io_head = io_node;
615 bus_node->next = ctrl->bus_head;
616 ctrl->bus_head = bus_node;
623 rc &= cpqhp_resource_sort_and_combine(&(ctrl->mem_head));
624 rc &= cpqhp_resource_sort_and_combine(&(ctrl->p_mem_head));
625 rc &= cpqhp_resource_sort_and_combine(&(ctrl->io_head));
626 rc &= cpqhp_resource_sort_and_combine(&(ctrl->bus_head));
631 if ((evbuffer[0] != 0) && (!ctrl->push_flag))