Lines Matching defs:slot
34 * controllers (ctlr#, slot#, bus&slot features...)
172 struct slot *ptr;
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);
201 debug("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap);
522 /* Since we don't know the max slot number per each chassis, hence go
524 * Arguments: slot_num, 1st slot number of the chassis we think we are on,
576 * the slot numbers for rxe100 would start from 1, and not from 7, or 6 etc
581 struct slot *slot_cur;
595 static char *create_file_name(struct slot *slot_cur)
666 struct slot *slot;
669 slot = to_slot(hotplug_slot);
670 rc = ibmphp_hpc_readslot(slot, READ_ALLSTAT, NULL);
677 * map info (ctlr-id, slot count, slot#.. bus count, bus#, ctlr type...) of
685 u16 ctlr, slot, bus;
692 struct slot *tmp_slot;
703 addr_slot = addr; /* offset of slot structure */
729 /* init slot structure, fetch slot, bus, cap... */
731 for (slot = 0; slot < slot_num; slot++) {
737 // create bus_info lined list --- if only one slot per bus: slot_min = slot_max
841 // register slots with hpc core as well as create linked list of ibm slot
888 // end of registering ibm slot with hotplug core
989 struct slot *ibmphp_get_slot_from_physical_num(u8 physical_num)
991 struct slot *slot;
993 list_for_each_entry(slot, &ibmphp_slot_head, ibm_slot_list) {
994 if (slot->number == physical_num)
995 return slot;
1001 * - the smallest slot number
1002 * - the largest slot number
1004 * (if only one slot per bus slot_min = slot_max )