Lines Matching refs:hot_plug_info
4331 struct mptsas_hotplug_event *hot_plug_info)
4340 switch (hot_plug_info->event_type) {
4349 hot_plug_info->id) {
4365 (hot_plug_info->channel << 8) +
4366 hot_plug_info->id);
4417 hot_plug_info->sas_address);
4426 ioc, hot_plug_info->phys_disk_num,
4427 hot_plug_info->channel,
4428 hot_plug_info->id);
4437 (hot_plug_info->channel << 8) + hot_plug_info->id)) {
4440 __func__, hot_plug_info->id, __LINE__));
4457 __func__, hot_plug_info->id, __LINE__));
4465 __func__, hot_plug_info->id, __LINE__));
4473 __func__, hot_plug_info->id, __LINE__));
4481 ioc->name, hot_plug_info->channel, hot_plug_info->id,
4482 hot_plug_info->phys_disk_num, (unsigned long long)
4485 vtarget->id = hot_plug_info->phys_disk_num;
4487 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num;
4496 (hot_plug_info->channel << 8) + hot_plug_info->id)) {
4500 hot_plug_info->id, __LINE__));
4516 __func__, hot_plug_info->id, __LINE__));
4524 __func__, hot_plug_info->id, __LINE__));
4532 __func__, hot_plug_info->id, __LINE__));
4539 __func__, hot_plug_info->id, __LINE__));
4547 ioc->name, hot_plug_info->channel, hot_plug_info->id,
4548 hot_plug_info->phys_disk_num, (unsigned long long)
4552 vtarget->id = hot_plug_info->id;
4556 hot_plug_info->channel, hot_plug_info->id);
4564 hot_plug_info->id);
4566 hot_plug_info->id, 0);
4574 hot_plug_info->id);
4575 scsi_remove_device(hot_plug_info->sdev);
4576 scsi_device_put(hot_plug_info->sdev);
4583 hot_plug_info->channel, hot_plug_info->id);
4597 struct mptsas_hotplug_event hot_plug_info;
4626 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event));
4627 hot_plug_info.handle = le16_to_cpu(sas_event_data->DevHandle);
4628 hot_plug_info.channel = sas_event_data->Bus;
4629 hot_plug_info.id = sas_event_data->TargetID;
4630 hot_plug_info.phy_id = sas_event_data->PhyNum;
4633 hot_plug_info.sas_address = le64_to_cpu(sas_address);
4634 hot_plug_info.device_info = device_info;
4637 hot_plug_info.event_type = MPTSAS_ADD_DEVICE;
4639 hot_plug_info.event_type = MPTSAS_DEL_DEVICE;
4640 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info);
4664 struct mptsas_hotplug_event hot_plug_info;
4676 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event));
4677 hot_plug_info.id = raid_event_data->VolumeID;
4678 hot_plug_info.channel = raid_event_data->VolumeBus;
4679 hot_plug_info.phys_disk_num = raid_event_data->PhysDiskNum;
4686 hot_plug_info.id, 0);
4687 hot_plug_info.sdev = sdev;
4698 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK_REPROBE;
4701 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK_REPROBE;
4709 hot_plug_info.id = phys_disk.PhysDiskID;
4710 hot_plug_info.channel = phys_disk.PhysDiskBus;
4711 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK;
4718 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK;
4728 hot_plug_info.event_type = MPTSAS_DEL_RAID;
4735 hot_plug_info.event_type = MPTSAS_ADD_RAID;
4742 hot_plug_info.event_type = MPTSAS_DEL_RAID;
4751 hot_plug_info.event_type = MPTSAS_DEL_RAID;
4759 hot_plug_info.event_type = MPTSAS_ADD_RAID;
4769 if (hot_plug_info.event_type != MPTSAS_IGNORE_EVENT)
4770 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info);
4965 struct mptsas_hotplug_event hot_plug_info;
4977 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event));
4978 hot_plug_info.id = ir2_data->TargetID;
4979 hot_plug_info.channel = ir2_data->Bus;
4982 hot_plug_info.event_type = MPTSAS_ADD_INACTIVE_VOLUME;
4985 hot_plug_info.phys_disk_num = ir2_data->PhysDiskNum;
4986 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK;
4989 hot_plug_info.phys_disk_num = ir2_data->PhysDiskNum;
4992 hot_plug_info.id = phys_disk.PhysDiskID;
4993 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK;
4999 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info);