Lines Matching defs:index
194 u16 index;
197 for (index = 0; index < hpc_ptr->slot_count; index++) {
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);
204 for (index = 0; index < hpc_ptr->bus_count; index++)
205 debug("%s - bus# of each bus controlled by this ctlr: %x\n", __func__, hpc_ptr->buses[index].bus_num);
686 u16 slot_num, bus_num, index;
750 bus_info_ptr1->index = bus_index++;
842 for (index = 0; index < hpc_ptr->slot_count; index++) {
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;
1026 return ptr->index;