Lines Matching refs:controller
63 static struct controller *alloc_ebda_hpc(u32 slot_count, u32 bus_count)
65 struct controller *controller;
69 controller = kzalloc(sizeof(struct controller), GFP_KERNEL);
70 if (!controller)
76 controller->slots = slots;
81 controller->buses = buses;
83 return controller;
85 kfree(controller->slots);
87 kfree(controller);
92 static void free_ebda_hpc(struct controller *controller)
94 kfree(controller->slots);
95 kfree(controller->buses);
96 kfree(controller);
193 struct controller *hpc_ptr;
317 debug("num of controller: %x\n", num_ctlrs);
687 struct controller *hpc_ptr;
1043 struct controller *controller = NULL, *next;
1046 list_for_each_entry_safe(controller, next, &ebda_hpc_head,
1048 if (controller->ctlr_type == 0)
1049 release_region(controller->u.isa_ctlr.io_start, (controller->u.isa_ctlr.io_end - controller->u.isa_ctlr.io_start + 1));
1050 else if ((controller->ctlr_type == 1) && (!pci_flag)) {
1054 free_ebda_hpc(controller);
1090 struct controller *ctrl;
1103 struct controller *ctrl;