Lines Matching refs:slot
186 struct slot *ptr; in print_ibm_slot()
595 struct slot *slot_cur; in calculate_first_slot()
609 static char *create_file_name (struct slot *slot_cur) in create_file_name()
680 struct slot *slot; in fillslotinfo() local
686 slot = hotplug_slot->private; in fillslotinfo()
687 rc = ibmphp_hpc_readslot(slot, READ_ALLSTAT, NULL); in fillslotinfo()
692 hotplug_slot->info->power_status = SLOT_POWER(slot->status); in fillslotinfo()
695 hotplug_slot->info->attention_status = SLOT_ATTN(slot->status, slot->ext_status); in fillslotinfo()
698 hotplug_slot->info->latch_status = SLOT_LATCH(slot->status); in fillslotinfo()
701 if (SLOT_PRESENT (slot->status)) in fillslotinfo()
718 struct slot *slot; in release_slot() local
723 slot = hotplug_slot->private; in release_slot()
724 kfree(slot->hotplug_slot->info); in release_slot()
725 kfree(slot->hotplug_slot); in release_slot()
726 slot->ctrl = NULL; in release_slot()
727 slot->bus_on = NULL; in release_slot()
730 ibmphp_unconfigure_card(&slot, -1); in release_slot()
732 kfree (slot); in release_slot()
746 u16 ctlr, slot, bus; in ebda_rsrc_controller() local
754 struct slot *tmp_slot; in ebda_rsrc_controller()
794 for (slot = 0; slot < slot_num; slot++) { in ebda_rsrc_controller()
964 rc = ibmphp_init_devno ((struct slot **) &hp_slot_ptr->private); in ebda_rsrc_controller()
971 list_add (& ((struct slot *)(hp_slot_ptr->private))->ibm_slot_list, &ibmphp_slot_head); in ebda_rsrc_controller()
1076 struct slot *ibmphp_get_slot_from_physical_num (u8 physical_num) in ibmphp_get_slot_from_physical_num()
1078 struct slot *slot; in ibmphp_get_slot_from_physical_num() local
1080 list_for_each_entry(slot, &ibmphp_slot_head, ibm_slot_list) { in ibmphp_get_slot_from_physical_num()
1081 if (slot->number == physical_num) in ibmphp_get_slot_from_physical_num()
1082 return slot; in ibmphp_get_slot_from_physical_num()