Lines Matching defs:slots

66 	struct ebda_hpc_slot *slots;
73 slots = kcalloc(slot_count, sizeof(struct ebda_hpc_slot), GFP_KERNEL);
74 if (!slots)
76 controller->slots = slots;
85 kfree(controller->slots);
94 kfree(controller->slots);
198 debug("%s - physical slot#: %x\n", __func__, hpc_ptr->slots[index].slot_num);
199 debug("%s - pci bus# of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_bus_num);
200 debug("%s - index into ctlr addr: %x\n", __func__, hpc_ptr->slots[index].ctl_index);
201 debug("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap);
575 /* This routine will find out how many slots are in the chassis, so that
726 debug("count of slots controlled by this ctlr: %x\n", slot_num);
730 slot_ptr = hpc_ptr->slots;
838 hpc_ptr->starting_slot_num = hpc_ptr->slots[0].slot_num;
839 hpc_ptr->ending_slot_num = hpc_ptr->slots[slot_num-1].slot_num;
841 // register slots with hpc core as well as create linked list of ibm slot
851 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap;
852 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_133_MAX) == EBDA_SLOT_133_MAX)
854 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_100_MAX) == EBDA_SLOT_100_MAX)
856 else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_66_MAX) == EBDA_SLOT_66_MAX)
859 if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_PCIX_CAP) == EBDA_SLOT_PCIX_CAP)
865 tmp_slot->bus = hpc_ptr->slots[index].slot_bus_num;
867 bus_info_ptr1 = ibmphp_find_same_bus_num(hpc_ptr->slots[index].slot_bus_num);
876 tmp_slot->ctlr_index = hpc_ptr->slots[index].ctl_index;
877 tmp_slot->number = hpc_ptr->slots[index].slot_num;
1003 * - the total number of the slots based on each bus