Lines Matching refs:tmp_slot
768 struct slot *tmp_slot;
939 tmp_slot = kzalloc(sizeof(*tmp_slot), GFP_KERNEL);
940 if (!tmp_slot) {
945 tmp_slot->flag = 1;
947 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap;
949 tmp_slot->supported_speed = 3;
951 tmp_slot->supported_speed = 2;
953 tmp_slot->supported_speed = 1;
956 tmp_slot->supported_bus_mode = 1;
958 tmp_slot->supported_bus_mode = 0;
961 tmp_slot->bus = hpc_ptr->slots[index].slot_bus_num;
968 tmp_slot->bus_on = bus_info_ptr1;
970 tmp_slot->ctrl = hpc_ptr;
972 tmp_slot->ctlr_index = hpc_ptr->slots[index].ctl_index;
973 tmp_slot->number = hpc_ptr->slots[index].slot_num;
974 tmp_slot->hotplug_slot = hp_slot_ptr;
976 hp_slot_ptr->private = tmp_slot;
999 tmp_slot = list_entry (list, struct slot, ibm_slot_list);
1001 snprintf (tmp_slot->hotplug_slot->name, 30, "%s", create_file_name (tmp_slot));
1002 pci_hp_register (tmp_slot->hotplug_slot);