Lines Matching refs:vtarget

392 mptscsih_issue_sep_command(MPT_ADAPTER *ioc, VirtTarget *vtarget,  in mptscsih_issue_sep_command()  argument
403 if (vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) in mptscsih_issue_sep_command()
414 SEPMsg->Bus = vtarget->channel; in mptscsih_issue_sep_command()
415 SEPMsg->TargetID = vtarget->id; in mptscsih_issue_sep_command()
596 VirtTarget *vtarget; in mptscsih_io_done() local
635 if (!vdevice || !vdevice->vtarget || in mptscsih_io_done()
636 vdevice->vtarget->deleted) { in mptscsih_io_done()
732 vtarget = vdevice->vtarget; in mptscsih_io_done()
733 if (vtarget->tflags & MPT_TARGET_FLAGS_LED_ON) { in mptscsih_io_done()
734 mptscsih_issue_sep_command(ioc, vtarget, in mptscsih_io_done()
736 vtarget->tflags &= ~MPT_TARGET_FLAGS_LED_ON; in mptscsih_io_done()
757 vtarget && in mptscsih_io_done()
758 vdevice->vtarget-> in mptscsih_io_done()
764 vdevice->vtarget) in mptscsih_io_done()
765 vdevice->vtarget-> in mptscsih_io_done()
1093 if (vdevice->vtarget->tflags & in mptscsih_search_running_cmds()
1099 if ((mf->Bus != vdevice->vtarget->channel) || in mptscsih_search_running_cmds()
1100 (mf->TargetID != vdevice->vtarget->id) || in mptscsih_search_running_cmds()
1116 vdevice->vtarget->channel, vdevice->vtarget->id, in mptscsih_search_running_cmds()
1458 && (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_Q_YES) in mptscsih_qcmd()
1472 pScsiReq->TargetID = (u8) vdevice->vtarget->id; in mptscsih_qcmd()
1473 pScsiReq->Bus = vdevice->vtarget->channel; in mptscsih_qcmd()
1475 if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) in mptscsih_qcmd()
1795 if (!vdevice || !vdevice->vtarget) { in mptscsih_abort()
1807 if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) { in mptscsih_abort()
1818 if (vdevice->vtarget->raidVolume) { in mptscsih_abort()
1858 vdevice->vtarget->channel, in mptscsih_abort()
1859 vdevice->vtarget->id, vdevice->lun, in mptscsih_abort()
1914 if (!vdevice || !vdevice->vtarget) { in mptscsih_dev_reset()
1921 if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) { in mptscsih_dev_reset()
1928 vdevice->vtarget->channel, in mptscsih_dev_reset()
1929 vdevice->vtarget->id, 0, 0, in mptscsih_dev_reset()
1977 if (!vdevice || !vdevice->vtarget) in mptscsih_bus_reset()
1981 vdevice->vtarget->channel, 0, 0, 0, in mptscsih_bus_reset()
2375 VirtTarget *vtarget; in mptscsih_slave_destroy() local
2380 vtarget = starget->hostdata; in mptscsih_slave_destroy()
2386 vtarget->num_luns--; in mptscsih_slave_destroy()
2405 VirtTarget *vtarget; in mptscsih_change_queue_depth() local
2412 vtarget = starget->hostdata; in mptscsih_change_queue_depth()
2418 if (!(vtarget->tflags & MPT_TARGET_FLAGS_Q_YES)) in mptscsih_change_queue_depth()
2421 vtarget->minSyncFactor <= MPT_ULTRA160) in mptscsih_change_queue_depth()
2452 VirtTarget *vtarget; in mptscsih_slave_configure() local
2459 vtarget = starget->hostdata; in mptscsih_slave_configure()
2475 ioc->name, sdev->queue_depth, vtarget->tflags)); in mptscsih_slave_configure()
2480 ioc->name, vtarget->negoFlags, vtarget->maxOffset, in mptscsih_slave_configure()
2481 vtarget->minSyncFactor)); in mptscsih_slave_configure()
2530 if ((sense_data[12] == 0x5D) && (vdevice->vtarget->raidVolume == 0)) { in mptscsih_copy_sense_data()
2547 vdevice->vtarget, MPI_SEP_REQ_SLOTSTATUS_PREDICTED_FAULT); in mptscsih_copy_sense_data()
2548 vdevice->vtarget->tflags |= in mptscsih_copy_sense_data()
3117 if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) in mptscsih_synchronize_cache()
3120 if (vdevice->vtarget->type != TYPE_DISK || vdevice->vtarget->deleted || in mptscsih_synchronize_cache()
3134 iocmd.channel = vdevice->vtarget->channel; in mptscsih_synchronize_cache()
3135 iocmd.id = vdevice->vtarget->id; in mptscsih_synchronize_cache()