Lines Matching refs:phys_disk
5652 RaidPhysDiskPage0_t phys_disk; in mpt_inactive_raid_volumes() local
5696 buffer->PhysDisk[i].PhysDiskNum, &phys_disk) != 0) in mpt_inactive_raid_volumes()
5705 component_info->d.PhysDiskNum = phys_disk.PhysDiskNum; in mpt_inactive_raid_volumes()
5706 component_info->d.PhysDiskBus = phys_disk.PhysDiskBus; in mpt_inactive_raid_volumes()
5707 component_info->d.PhysDiskID = phys_disk.PhysDiskID; in mpt_inactive_raid_volumes()
5708 component_info->d.PhysDiskIOC = phys_disk.PhysDiskIOC; in mpt_inactive_raid_volumes()
5734 RaidPhysDiskPage0_t *phys_disk) in mpt_raid_phys_disk_pg0() argument
5744 memset(phys_disk, 0, sizeof(RaidPhysDiskPage0_t)); in mpt_raid_phys_disk_pg0()
5780 memcpy(phys_disk, buffer, sizeof(*buffer)); in mpt_raid_phys_disk_pg0()
5781 phys_disk->MaxLBA = le32_to_cpu(buffer->MaxLBA); in mpt_raid_phys_disk_pg0()
5870 RaidPhysDiskPage1_t *phys_disk) in mpt_raid_phys_disk_pg1() argument
5918 phys_disk->NumPhysDiskPaths = buffer->NumPhysDiskPaths; in mpt_raid_phys_disk_pg1()
5919 phys_disk->PhysDiskNum = phys_disk_num; in mpt_raid_phys_disk_pg1()
5920 for (i = 0; i < phys_disk->NumPhysDiskPaths; i++) { in mpt_raid_phys_disk_pg1()
5921 phys_disk->Path[i].PhysDiskID = buffer->Path[i].PhysDiskID; in mpt_raid_phys_disk_pg1()
5922 phys_disk->Path[i].PhysDiskBus = buffer->Path[i].PhysDiskBus; in mpt_raid_phys_disk_pg1()
5923 phys_disk->Path[i].OwnerIdentifier = in mpt_raid_phys_disk_pg1()
5925 phys_disk->Path[i].Flags = le16_to_cpu(buffer->Path[i].Flags); in mpt_raid_phys_disk_pg1()
5928 memcpy(&phys_disk->Path[i].WWID, &sas_address, sizeof(__le64)); in mpt_raid_phys_disk_pg1()
5932 memcpy(&phys_disk->Path[i].OwnerWWID, in mpt_raid_phys_disk_pg1()