Lines Matching refs:phys_disk
659 RaidPhysDiskPage0_t phys_disk; in mptsas_add_device_component_starget_ir() local
698 buffer->PhysDisk[i].PhysDiskNum, &phys_disk) != 0) in mptsas_add_device_component_starget_ir()
701 mptsas_add_device_component_by_fw(ioc, phys_disk.PhysDiskBus, in mptsas_add_device_component_starget_ir()
702 phys_disk.PhysDiskID); in mptsas_add_device_component_starget_ir()
708 (sas_info->fw.channel == phys_disk.PhysDiskBus && in mptsas_add_device_component_starget_ir()
709 sas_info->fw.id == phys_disk.PhysDiskID)) { in mptsas_add_device_component_starget_ir()
4145 RaidPhysDiskPage1_t *phys_disk = NULL; in mptsas_find_phyinfo_by_phys_disk_num() local
4157 phys_disk = kzalloc(offsetof(RaidPhysDiskPage1_t, Path) + in mptsas_find_phyinfo_by_phys_disk_num()
4159 if (!phys_disk) in mptsas_find_phyinfo_by_phys_disk_num()
4161 mpt_raid_phys_disk_pg1(ioc, phys_disk_num, phys_disk); in mptsas_find_phyinfo_by_phys_disk_num()
4163 if ((phys_disk->Path[i].Flags & 1) != 0) in mptsas_find_phyinfo_by_phys_disk_num()
4166 if ((id == phys_disk->Path[i].PhysDiskID) && in mptsas_find_phyinfo_by_phys_disk_num()
4167 (channel == phys_disk->Path[i].PhysDiskBus)) { in mptsas_find_phyinfo_by_phys_disk_num()
4168 memcpy(&sas_address, &phys_disk->Path[i].WWID, in mptsas_find_phyinfo_by_phys_disk_num()
4177 kfree(phys_disk); in mptsas_find_phyinfo_by_phys_disk_num()
4228 RaidPhysDiskPage0_t phys_disk; in mptsas_adding_inactive_raid_components() local
4269 buffer->PhysDisk[i].PhysDiskNum, &phys_disk) != 0) in mptsas_adding_inactive_raid_components()
4275 (phys_disk.PhysDiskBus << 8) + in mptsas_adding_inactive_raid_components()
4276 phys_disk.PhysDiskID)) in mptsas_adding_inactive_raid_components()
4640 RaidPhysDiskPage0_t phys_disk; in mptsas_send_raid_event() local
4679 raid_event_data->PhysDiskNum, &phys_disk); 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()
4938 RaidPhysDiskPage0_t phys_disk; in mptsas_send_ir2_event() local
4961 ir2_data->PhysDiskNum, &phys_disk); in mptsas_send_ir2_event()
4962 hot_plug_info.id = phys_disk.PhysDiskID; in mptsas_send_ir2_event()