Lines Matching refs:hot_plug_info

4308     struct mptsas_hotplug_event *hot_plug_info)  in mptsas_hotplug_work()  argument
4317 switch (hot_plug_info->event_type) { in mptsas_hotplug_work()
4326 hot_plug_info->id) { in mptsas_hotplug_work()
4341 (hot_plug_info->channel << 8) + in mptsas_hotplug_work()
4342 hot_plug_info->id); in mptsas_hotplug_work()
4394 hot_plug_info->sas_address); in mptsas_hotplug_work()
4403 ioc, hot_plug_info->phys_disk_num, in mptsas_hotplug_work()
4404 hot_plug_info->channel, in mptsas_hotplug_work()
4405 hot_plug_info->id); in mptsas_hotplug_work()
4414 (hot_plug_info->channel << 8) + hot_plug_info->id)) { in mptsas_hotplug_work()
4417 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4434 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4442 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4450 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4458 ioc->name, hot_plug_info->channel, hot_plug_info->id, in mptsas_hotplug_work()
4459 hot_plug_info->phys_disk_num, (unsigned long long) in mptsas_hotplug_work()
4462 vtarget->id = hot_plug_info->phys_disk_num; in mptsas_hotplug_work()
4464 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num; in mptsas_hotplug_work()
4473 (hot_plug_info->channel << 8) + hot_plug_info->id)) { in mptsas_hotplug_work()
4477 hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4493 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4501 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4509 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4516 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4524 ioc->name, hot_plug_info->channel, hot_plug_info->id, in mptsas_hotplug_work()
4525 hot_plug_info->phys_disk_num, (unsigned long long) in mptsas_hotplug_work()
4529 vtarget->id = hot_plug_info->id; in mptsas_hotplug_work()
4533 hot_plug_info->channel, hot_plug_info->id); in mptsas_hotplug_work()
4541 hot_plug_info->id); in mptsas_hotplug_work()
4543 hot_plug_info->id, 0); in mptsas_hotplug_work()
4551 hot_plug_info->id); in mptsas_hotplug_work()
4552 scsi_remove_device(hot_plug_info->sdev); in mptsas_hotplug_work()
4553 scsi_device_put(hot_plug_info->sdev); in mptsas_hotplug_work()
4560 hot_plug_info->channel, hot_plug_info->id); in mptsas_hotplug_work()
4574 struct mptsas_hotplug_event hot_plug_info; in mptsas_send_sas_event() local
4603 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event)); in mptsas_send_sas_event()
4604 hot_plug_info.handle = le16_to_cpu(sas_event_data->DevHandle); in mptsas_send_sas_event()
4605 hot_plug_info.channel = sas_event_data->Bus; in mptsas_send_sas_event()
4606 hot_plug_info.id = sas_event_data->TargetID; in mptsas_send_sas_event()
4607 hot_plug_info.phy_id = sas_event_data->PhyNum; in mptsas_send_sas_event()
4610 hot_plug_info.sas_address = le64_to_cpu(sas_address); in mptsas_send_sas_event()
4611 hot_plug_info.device_info = device_info; in mptsas_send_sas_event()
4614 hot_plug_info.event_type = MPTSAS_ADD_DEVICE; in mptsas_send_sas_event()
4616 hot_plug_info.event_type = MPTSAS_DEL_DEVICE; in mptsas_send_sas_event()
4617 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info); in mptsas_send_sas_event()
4641 struct mptsas_hotplug_event hot_plug_info; in mptsas_send_raid_event() local
4653 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event)); in mptsas_send_raid_event()
4654 hot_plug_info.id = raid_event_data->VolumeID; in mptsas_send_raid_event()
4655 hot_plug_info.channel = raid_event_data->VolumeBus; in mptsas_send_raid_event()
4656 hot_plug_info.phys_disk_num = raid_event_data->PhysDiskNum; in mptsas_send_raid_event()
4663 hot_plug_info.id, 0); in mptsas_send_raid_event()
4664 hot_plug_info.sdev = sdev; in mptsas_send_raid_event()
4675 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK_REPROBE; in mptsas_send_raid_event()
4678 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK_REPROBE; in mptsas_send_raid_event()
4686 hot_plug_info.id = phys_disk.PhysDiskID; in mptsas_send_raid_event()
4687 hot_plug_info.channel = phys_disk.PhysDiskBus; in mptsas_send_raid_event()
4688 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK; in mptsas_send_raid_event()
4695 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK; in mptsas_send_raid_event()
4705 hot_plug_info.event_type = MPTSAS_DEL_RAID; in mptsas_send_raid_event()
4712 hot_plug_info.event_type = MPTSAS_ADD_RAID; in mptsas_send_raid_event()
4719 hot_plug_info.event_type = MPTSAS_DEL_RAID; in mptsas_send_raid_event()
4728 hot_plug_info.event_type = MPTSAS_DEL_RAID; in mptsas_send_raid_event()
4736 hot_plug_info.event_type = MPTSAS_ADD_RAID; in mptsas_send_raid_event()
4746 if (hot_plug_info.event_type != MPTSAS_IGNORE_EVENT) in mptsas_send_raid_event()
4747 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info); in mptsas_send_raid_event()
4941 struct mptsas_hotplug_event hot_plug_info; in mptsas_send_ir2_event() local
4953 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event)); in mptsas_send_ir2_event()
4954 hot_plug_info.id = ir2_data->TargetID; in mptsas_send_ir2_event()
4955 hot_plug_info.channel = ir2_data->Bus; in mptsas_send_ir2_event()
4958 hot_plug_info.event_type = MPTSAS_ADD_INACTIVE_VOLUME; in mptsas_send_ir2_event()
4961 hot_plug_info.phys_disk_num = ir2_data->PhysDiskNum; in mptsas_send_ir2_event()
4962 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK; in mptsas_send_ir2_event()
4965 hot_plug_info.phys_disk_num = ir2_data->PhysDiskNum; in mptsas_send_ir2_event()
4968 hot_plug_info.id = phys_disk.PhysDiskID; in mptsas_send_ir2_event()
4969 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK; in mptsas_send_ir2_event()
4975 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info); in mptsas_send_ir2_event()