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;
421 int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl)
451 ((p_EV_header->Version == 1) && !ctrl->push_flag)) {
465 while ((bus != ctrl->bus) ||
466 (device != PCI_SLOT(ctrl->pci_dev->devfn)) ||
467 (function != PCI_FUNC(ctrl->pci_dev->devfn))) {
530 mem_node->next = ctrl->mem_head;
531 ctrl->mem_head = mem_node;
558 p_mem_node->next = ctrl->p_mem_head;
559 ctrl->p_mem_head = p_mem_node;
586 io_node->next = ctrl->io_head;
587 ctrl->io_head = io_node;
612 bus_node->next = ctrl->bus_head;
613 ctrl->bus_head = bus_node;
620 rc &= cpqhp_resource_sort_and_combine(&(ctrl->mem_head));
621 rc &= cpqhp_resource_sort_and_combine(&(ctrl->p_mem_head));
622 rc &= cpqhp_resource_sort_and_combine(&(ctrl->io_head));
623 rc &= cpqhp_resource_sort_and_combine(&(ctrl->bus_head));
628 if ((evbuffer[0] != 0) && (!ctrl->push_flag))