btdh 1332 drivers/scsi/mpt3sas/mpt3sas_ctl.c struct mpt3_ioctl_btdh_mapping *btdh) btdh 1343 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (btdh->bus == 0xFFFFFFFF && btdh->id == 0xFFFFFFFF && btdh 1344 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->handle == sas_device->handle) { btdh 1345 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->bus = sas_device->channel; btdh 1346 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->id = sas_device->id; btdh 1349 drivers/scsi/mpt3sas/mpt3sas_ctl.c } else if (btdh->bus == sas_device->channel && btdh->id == btdh 1350 drivers/scsi/mpt3sas/mpt3sas_ctl.c sas_device->id && btdh->handle == 0xFFFF) { btdh 1351 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->handle = sas_device->handle; btdh 1368 drivers/scsi/mpt3sas/mpt3sas_ctl.c struct mpt3_ioctl_btdh_mapping *btdh) btdh 1379 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (btdh->bus == 0xFFFFFFFF && btdh->id == 0xFFFFFFFF && btdh 1380 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->handle == pcie_device->handle) { btdh 1381 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->bus = pcie_device->channel; btdh 1382 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->id = pcie_device->id; btdh 1385 drivers/scsi/mpt3sas/mpt3sas_ctl.c } else if (btdh->bus == pcie_device->channel && btdh->id == btdh 1386 drivers/scsi/mpt3sas/mpt3sas_ctl.c pcie_device->id && btdh->handle == 0xFFFF) { btdh 1387 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->handle = pcie_device->handle; btdh 1404 drivers/scsi/mpt3sas/mpt3sas_ctl.c struct mpt3_ioctl_btdh_mapping *btdh) btdh 1415 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (btdh->bus == 0xFFFFFFFF && btdh->id == 0xFFFFFFFF && btdh 1416 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->handle == raid_device->handle) { btdh 1417 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->bus = raid_device->channel; btdh 1418 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->id = raid_device->id; btdh 1421 drivers/scsi/mpt3sas/mpt3sas_ctl.c } else if (btdh->bus == raid_device->channel && btdh->id == btdh 1422 drivers/scsi/mpt3sas/mpt3sas_ctl.c raid_device->id && btdh->handle == 0xFFFF) { btdh 1423 drivers/scsi/mpt3sas/mpt3sas_ctl.c btdh->handle = raid_device->handle;