Lines Matching refs:tmp_slot
692 struct slot *tmp_slot;
843 tmp_slot = kzalloc(sizeof(*tmp_slot), GFP_KERNEL);
844 if (!tmp_slot) {
849 tmp_slot->flag = 1;
851 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap;
853 tmp_slot->supported_speed = 3;
855 tmp_slot->supported_speed = 2;
857 tmp_slot->supported_speed = 1;
860 tmp_slot->supported_bus_mode = 1;
862 tmp_slot->supported_bus_mode = 0;
865 tmp_slot->bus = hpc_ptr->slots[index].slot_bus_num;
872 tmp_slot->bus_on = bus_info_ptr1;
874 tmp_slot->ctrl = hpc_ptr;
876 tmp_slot->ctlr_index = hpc_ptr->slots[index].ctl_index;
877 tmp_slot->number = hpc_ptr->slots[index].slot_num;
879 rc = fillslotinfo(&tmp_slot->hotplug_slot);
883 rc = ibmphp_init_devno(&tmp_slot);
886 tmp_slot->hotplug_slot.ops = &ibmphp_hotplug_slot_ops;
890 list_add(&tmp_slot->ibm_slot_list, &ibmphp_slot_head);
898 list_for_each_entry(tmp_slot, &ibmphp_slot_head, ibm_slot_list) {
899 snprintf(name, SLOT_NAME_SIZE, "%s", create_file_name(tmp_slot));
900 pci_hp_register(&tmp_slot->hotplug_slot,
901 pci_find_bus(0, tmp_slot->bus), tmp_slot->device, name);
909 kfree(tmp_slot);