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