Lines Matching refs:controller
77 static struct controller *alloc_ebda_hpc (u32 slot_count, u32 bus_count) in alloc_ebda_hpc()
79 struct controller *controller; in alloc_ebda_hpc() local
83 controller = kzalloc(sizeof(struct controller), GFP_KERNEL); in alloc_ebda_hpc()
84 if (!controller) in alloc_ebda_hpc()
90 controller->slots = slots; in alloc_ebda_hpc()
95 controller->buses = buses; in alloc_ebda_hpc()
97 return controller; in alloc_ebda_hpc()
99 kfree(controller->slots); in alloc_ebda_hpc()
101 kfree(controller); in alloc_ebda_hpc()
106 static void free_ebda_hpc (struct controller *controller) in free_ebda_hpc() argument
108 kfree (controller->slots); in free_ebda_hpc()
109 kfree (controller->buses); in free_ebda_hpc()
110 kfree (controller); in free_ebda_hpc()
207 struct controller *hpc_ptr; in print_ebda_hpc()
750 struct controller *hpc_ptr; in ebda_rsrc_controller()
1133 struct controller *controller = NULL; in ibmphp_free_ebda_hpc_queue() local
1139 controller = list_entry (list, struct controller, ebda_hpc_list); in ibmphp_free_ebda_hpc_queue()
1140 if (controller->ctlr_type == 0) in ibmphp_free_ebda_hpc_queue()
1141 …release_region (controller->u.isa_ctlr.io_start, (controller->u.isa_ctlr.io_end - controller->u.is… in ibmphp_free_ebda_hpc_queue()
1142 else if ((controller->ctlr_type == 1) && (!pci_flag)) { in ibmphp_free_ebda_hpc_queue()
1146 free_ebda_hpc (controller); in ibmphp_free_ebda_hpc_queue()
1184 struct controller *ctrl; in ibmphp_register_pci()
1197 struct controller *ctrl; in ibmphp_probe()