Lines Matching refs:hot_plug_info
4302 struct mptsas_hotplug_event *hot_plug_info) in mptsas_hotplug_work() argument
4311 switch (hot_plug_info->event_type) { in mptsas_hotplug_work()
4320 hot_plug_info->id) { in mptsas_hotplug_work()
4336 (hot_plug_info->channel << 8) + in mptsas_hotplug_work()
4337 hot_plug_info->id); in mptsas_hotplug_work()
4388 hot_plug_info->sas_address); in mptsas_hotplug_work()
4397 ioc, hot_plug_info->phys_disk_num, in mptsas_hotplug_work()
4398 hot_plug_info->channel, in mptsas_hotplug_work()
4399 hot_plug_info->id); in mptsas_hotplug_work()
4408 (hot_plug_info->channel << 8) + hot_plug_info->id)) { in mptsas_hotplug_work()
4411 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4428 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4436 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4444 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4452 ioc->name, hot_plug_info->channel, hot_plug_info->id, in mptsas_hotplug_work()
4453 hot_plug_info->phys_disk_num, (unsigned long long) in mptsas_hotplug_work()
4456 vtarget->id = hot_plug_info->phys_disk_num; in mptsas_hotplug_work()
4458 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num; in mptsas_hotplug_work()
4467 (hot_plug_info->channel << 8) + hot_plug_info->id)) { in mptsas_hotplug_work()
4471 hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4487 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4495 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4503 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4510 __func__, hot_plug_info->id, __LINE__)); in mptsas_hotplug_work()
4518 ioc->name, hot_plug_info->channel, hot_plug_info->id, in mptsas_hotplug_work()
4519 hot_plug_info->phys_disk_num, (unsigned long long) in mptsas_hotplug_work()
4523 vtarget->id = hot_plug_info->id; in mptsas_hotplug_work()
4527 hot_plug_info->channel, hot_plug_info->id); in mptsas_hotplug_work()
4535 hot_plug_info->id); in mptsas_hotplug_work()
4537 hot_plug_info->id, 0); in mptsas_hotplug_work()
4545 hot_plug_info->id); in mptsas_hotplug_work()
4546 scsi_remove_device(hot_plug_info->sdev); in mptsas_hotplug_work()
4547 scsi_device_put(hot_plug_info->sdev); in mptsas_hotplug_work()
4554 hot_plug_info->channel, hot_plug_info->id); in mptsas_hotplug_work()
4568 struct mptsas_hotplug_event hot_plug_info; in mptsas_send_sas_event() local
4597 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event)); in mptsas_send_sas_event()
4598 hot_plug_info.handle = le16_to_cpu(sas_event_data->DevHandle); in mptsas_send_sas_event()
4599 hot_plug_info.channel = sas_event_data->Bus; in mptsas_send_sas_event()
4600 hot_plug_info.id = sas_event_data->TargetID; in mptsas_send_sas_event()
4601 hot_plug_info.phy_id = sas_event_data->PhyNum; in mptsas_send_sas_event()
4604 hot_plug_info.sas_address = le64_to_cpu(sas_address); in mptsas_send_sas_event()
4605 hot_plug_info.device_info = device_info; in mptsas_send_sas_event()
4608 hot_plug_info.event_type = MPTSAS_ADD_DEVICE; in mptsas_send_sas_event()
4610 hot_plug_info.event_type = MPTSAS_DEL_DEVICE; in mptsas_send_sas_event()
4611 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info); in mptsas_send_sas_event()
4635 struct mptsas_hotplug_event hot_plug_info; in mptsas_send_raid_event() local
4647 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event)); in mptsas_send_raid_event()
4648 hot_plug_info.id = raid_event_data->VolumeID; in mptsas_send_raid_event()
4649 hot_plug_info.channel = raid_event_data->VolumeBus; in mptsas_send_raid_event()
4650 hot_plug_info.phys_disk_num = raid_event_data->PhysDiskNum; in mptsas_send_raid_event()
4657 hot_plug_info.id, 0); in mptsas_send_raid_event()
4658 hot_plug_info.sdev = sdev; in mptsas_send_raid_event()
4669 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK_REPROBE; in mptsas_send_raid_event()
4672 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK_REPROBE; in mptsas_send_raid_event()
4680 hot_plug_info.id = phys_disk.PhysDiskID; in mptsas_send_raid_event()
4681 hot_plug_info.channel = phys_disk.PhysDiskBus; in mptsas_send_raid_event()
4682 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK; in mptsas_send_raid_event()
4689 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK; in mptsas_send_raid_event()
4699 hot_plug_info.event_type = MPTSAS_DEL_RAID; in mptsas_send_raid_event()
4706 hot_plug_info.event_type = MPTSAS_ADD_RAID; in mptsas_send_raid_event()
4713 hot_plug_info.event_type = MPTSAS_DEL_RAID; in mptsas_send_raid_event()
4722 hot_plug_info.event_type = MPTSAS_DEL_RAID; in mptsas_send_raid_event()
4730 hot_plug_info.event_type = MPTSAS_ADD_RAID; in mptsas_send_raid_event()
4740 if (hot_plug_info.event_type != MPTSAS_IGNORE_EVENT) in mptsas_send_raid_event()
4741 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info); in mptsas_send_raid_event()
4935 struct mptsas_hotplug_event hot_plug_info; in mptsas_send_ir2_event() local
4947 memset(&hot_plug_info, 0, sizeof(struct mptsas_hotplug_event)); in mptsas_send_ir2_event()
4948 hot_plug_info.id = ir2_data->TargetID; in mptsas_send_ir2_event()
4949 hot_plug_info.channel = ir2_data->Bus; in mptsas_send_ir2_event()
4952 hot_plug_info.event_type = MPTSAS_ADD_INACTIVE_VOLUME; in mptsas_send_ir2_event()
4955 hot_plug_info.phys_disk_num = ir2_data->PhysDiskNum; in mptsas_send_ir2_event()
4956 hot_plug_info.event_type = MPTSAS_DEL_PHYSDISK; in mptsas_send_ir2_event()
4959 hot_plug_info.phys_disk_num = ir2_data->PhysDiskNum; in mptsas_send_ir2_event()
4962 hot_plug_info.id = phys_disk.PhysDiskID; in mptsas_send_ir2_event()
4963 hot_plug_info.event_type = MPTSAS_ADD_PHYSDISK; in mptsas_send_ir2_event()
4969 mptsas_hotplug_work(ioc, fw_event, &hot_plug_info); in mptsas_send_ir2_event()