vtarget 406 drivers/message/fusion/mptbase.h VirtTarget *vtarget; vtarget 1313 drivers/message/fusion/mptctl.c if (vdevice == NULL || vdevice->vtarget == NULL) vtarget 1315 drivers/message/fusion/mptctl.c if (vdevice->vtarget->tflags & vtarget 1427 drivers/message/fusion/mptctl.c if (vdevice == NULL || vdevice->vtarget == NULL) vtarget 1429 drivers/message/fusion/mptctl.c if (vdevice->vtarget->tflags & vtarget 1432 drivers/message/fusion/mptctl.c lun = (vdevice->vtarget->raidVolume) ? 0x80 : vdevice->lun; vtarget 1433 drivers/message/fusion/mptctl.c *pdata = (((u8)lun << 16) + (vdevice->vtarget->channel << 8) + vtarget 1434 drivers/message/fusion/mptctl.c (vdevice->vtarget->id )); vtarget 1898 drivers/message/fusion/mptctl.c VirtTarget *vtarget = starget->hostdata; vtarget 1900 drivers/message/fusion/mptctl.c if (vtarget == NULL) vtarget 1903 drivers/message/fusion/mptctl.c if ((pScsiReq->TargetID == vtarget->id) && vtarget 1904 drivers/message/fusion/mptctl.c (pScsiReq->Bus == vtarget->channel) && vtarget 1905 drivers/message/fusion/mptctl.c (vtarget->tflags & MPT_TARGET_FLAGS_Q_YES)) vtarget 429 drivers/message/fusion/mptfc.c VirtTarget *vtarget; vtarget 472 drivers/message/fusion/mptfc.c vtarget = ri->starget->hostdata; vtarget 473 drivers/message/fusion/mptfc.c if (vtarget) { vtarget 474 drivers/message/fusion/mptfc.c vtarget->id = pg0->CurrentTargetID; vtarget 475 drivers/message/fusion/mptfc.c vtarget->channel = pg0->CurrentBus; vtarget 476 drivers/message/fusion/mptfc.c vtarget->deleted = 0; vtarget 532 drivers/message/fusion/mptfc.c VirtTarget *vtarget; vtarget 537 drivers/message/fusion/mptfc.c vtarget = kzalloc(sizeof(VirtTarget), GFP_KERNEL); vtarget 538 drivers/message/fusion/mptfc.c if (!vtarget) vtarget 540 drivers/message/fusion/mptfc.c starget->hostdata = vtarget; vtarget 547 drivers/message/fusion/mptfc.c vtarget->id = ri->pg0.CurrentTargetID; vtarget 548 drivers/message/fusion/mptfc.c vtarget->channel = ri->pg0.CurrentBus; vtarget 554 drivers/message/fusion/mptfc.c kfree(vtarget); vtarget 569 drivers/message/fusion/mptfc.c VirtTarget *vtarget) vtarget 582 drivers/message/fusion/mptfc.c vtarget->num_luns, vtarget 600 drivers/message/fusion/mptfc.c VirtTarget *vtarget; vtarget 624 drivers/message/fusion/mptfc.c vtarget = starget->hostdata; vtarget 626 drivers/message/fusion/mptfc.c if (vtarget->num_luns == 0) { vtarget 627 drivers/message/fusion/mptfc.c vtarget->ioc_id = ioc->id; vtarget 628 drivers/message/fusion/mptfc.c vtarget->tflags = MPT_TARGET_FLAGS_Q_YES; vtarget 631 drivers/message/fusion/mptfc.c vdevice->vtarget = vtarget; vtarget 634 drivers/message/fusion/mptfc.c vtarget->num_luns++; vtarget 637 drivers/message/fusion/mptfc.c mptfc_dump_lun_info(ioc, rport, sdev, vtarget); vtarget 650 drivers/message/fusion/mptfc.c if (!vdevice || !vdevice->vtarget) { vtarget 1087 drivers/message/fusion/mptfc.c VirtTarget *vtarget; vtarget 1097 drivers/message/fusion/mptfc.c vtarget = starget->hostdata; vtarget 1098 drivers/message/fusion/mptfc.c if (vtarget) vtarget 1099 drivers/message/fusion/mptfc.c vtarget->deleted = 1; vtarget 1122 drivers/message/fusion/mptfc.c VirtTarget *vtarget; vtarget 1152 drivers/message/fusion/mptfc.c vtarget = starget->hostdata; vtarget 1153 drivers/message/fusion/mptfc.c if (vtarget) vtarget 1154 drivers/message/fusion/mptfc.c vtarget->deleted = 1; vtarget 758 drivers/message/fusion/mptsas.c VirtTarget *vtarget; vtarget 764 drivers/message/fusion/mptsas.c vtarget = starget->hostdata; vtarget 970 drivers/message/fusion/mptsas.c VirtTarget *vtarget = NULL; vtarget 975 drivers/message/fusion/mptsas.c (vdevice->vtarget == NULL)) vtarget 977 drivers/message/fusion/mptsas.c if ((vdevice->vtarget->tflags & vtarget 979 drivers/message/fusion/mptsas.c vdevice->vtarget->raidVolume)) vtarget 981 drivers/message/fusion/mptsas.c if (vdevice->vtarget->id == id && vtarget 982 drivers/message/fusion/mptsas.c vdevice->vtarget->channel == channel) vtarget 983 drivers/message/fusion/mptsas.c vtarget = vdevice->vtarget; vtarget 985 drivers/message/fusion/mptsas.c return vtarget; vtarget 1114 drivers/message/fusion/mptsas.c VirtTarget *vtarget = NULL; vtarget 1121 drivers/message/fusion/mptsas.c vtarget = mptsas_find_vtarget(ioc, channel, id); vtarget 1122 drivers/message/fusion/mptsas.c if (vtarget) { vtarget 1123 drivers/message/fusion/mptsas.c mptsas_block_io_starget(vtarget->starget); vtarget 1124 drivers/message/fusion/mptsas.c vtarget->deleted = 1; /* block IO */ vtarget 1692 drivers/message/fusion/mptsas.c if (vdevice->vtarget->deleted) { vtarget 1694 drivers/message/fusion/mptsas.c vdevice->vtarget->deleted = 0; vtarget 1719 drivers/message/fusion/mptsas.c VirtTarget *vtarget; vtarget 1726 drivers/message/fusion/mptsas.c vtarget = kzalloc(sizeof(VirtTarget), GFP_KERNEL); vtarget 1727 drivers/message/fusion/mptsas.c if (!vtarget) vtarget 1730 drivers/message/fusion/mptsas.c vtarget->starget = starget; vtarget 1731 drivers/message/fusion/mptsas.c vtarget->ioc_id = ioc->id; vtarget 1732 drivers/message/fusion/mptsas.c vtarget->tflags = MPT_TARGET_FLAGS_Q_YES; vtarget 1741 drivers/message/fusion/mptsas.c kfree(vtarget); vtarget 1751 drivers/message/fusion/mptsas.c vtarget->raidVolume = 1; vtarget 1772 drivers/message/fusion/mptsas.c vtarget->tflags |= vtarget 1782 drivers/message/fusion/mptsas.c kfree(vtarget); vtarget 1786 drivers/message/fusion/mptsas.c vtarget->id = id; vtarget 1787 drivers/message/fusion/mptsas.c vtarget->channel = channel; vtarget 1788 drivers/message/fusion/mptsas.c starget->hostdata = vtarget; vtarget 1801 drivers/message/fusion/mptsas.c VirtTarget *vtarget; vtarget 1806 drivers/message/fusion/mptsas.c vtarget = starget->hostdata; vtarget 1835 drivers/message/fusion/mptsas.c vtarget->starget = NULL; vtarget 1860 drivers/message/fusion/mptsas.c vdevice->vtarget = starget->hostdata; vtarget 1890 drivers/message/fusion/mptsas.c vdevice->vtarget->num_luns++; vtarget 1902 drivers/message/fusion/mptsas.c if (!vdevice || !vdevice->vtarget || vdevice->vtarget->deleted) { vtarget 1958 drivers/message/fusion/mptsas.c if (vdevice && vdevice->vtarget && (vdevice->vtarget->inDMD vtarget 1959 drivers/message/fusion/mptsas.c || vdevice->vtarget->deleted)) { vtarget 3038 drivers/message/fusion/mptsas.c VirtTarget *vtarget; vtarget 3266 drivers/message/fusion/mptsas.c vtarget = mptsas_find_vtarget(ioc, vtarget 3269 drivers/message/fusion/mptsas.c if (vtarget && vtarget->inDMD) { vtarget 3271 drivers/message/fusion/mptsas.c vtarget->inDMD = 0; vtarget 3746 drivers/message/fusion/mptsas.c (vdevice->vtarget == NULL)) vtarget 3748 drivers/message/fusion/mptsas.c if ((vdevice->vtarget->tflags & vtarget 3750 drivers/message/fusion/mptsas.c vdevice->vtarget->raidVolume)) vtarget 3752 drivers/message/fusion/mptsas.c if (vdevice->vtarget->id == id && vtarget 3753 drivers/message/fusion/mptsas.c vdevice->vtarget->channel == vtarget 3776 drivers/message/fusion/mptsas.c VirtTarget *vtarget = NULL; vtarget 3843 drivers/message/fusion/mptsas.c vtarget = mptsas_find_vtarget(ioc, vtarget 3846 drivers/message/fusion/mptsas.c if (vtarget) vtarget 3847 drivers/message/fusion/mptsas.c vtarget->deleted = 1; vtarget 4307 drivers/message/fusion/mptsas.c VirtTarget *vtarget; vtarget 4440 drivers/message/fusion/mptsas.c vtarget = starget->hostdata; vtarget 4441 drivers/message/fusion/mptsas.c if (!vtarget) { vtarget 4456 drivers/message/fusion/mptsas.c vtarget->id = hot_plug_info->phys_disk_num; vtarget 4457 drivers/message/fusion/mptsas.c vtarget->tflags |= MPT_TARGET_FLAGS_RAID_COMPONENT; vtarget 4499 drivers/message/fusion/mptsas.c vtarget = starget->hostdata; vtarget 4500 drivers/message/fusion/mptsas.c if (!vtarget) { vtarget 4507 drivers/message/fusion/mptsas.c if (!(vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT)) { vtarget 4522 drivers/message/fusion/mptsas.c vtarget->tflags &= ~MPT_TARGET_FLAGS_RAID_COMPONENT; vtarget 4523 drivers/message/fusion/mptsas.c vtarget->id = hot_plug_info->id; vtarget 4698 drivers/message/fusion/mptsas.c vdevice->vtarget->deleted = 1; /* block IO */ vtarget 4712 drivers/message/fusion/mptsas.c vdevice->vtarget->deleted = 1; /* block IO */ vtarget 4721 drivers/message/fusion/mptsas.c vdevice->vtarget->deleted = 1; /* block IO */ vtarget 4876 drivers/message/fusion/mptsas.c if (!vdevice || !vdevice->vtarget) vtarget 4878 drivers/message/fusion/mptsas.c if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) vtarget 4880 drivers/message/fusion/mptsas.c if (vdevice->vtarget->raidVolume) vtarget 4882 drivers/message/fusion/mptsas.c channel = vdevice->vtarget->channel; vtarget 4883 drivers/message/fusion/mptsas.c id = vdevice->vtarget->id; vtarget 5017 drivers/message/fusion/mptsas.c VirtTarget *vtarget = NULL; vtarget 5023 drivers/message/fusion/mptsas.c vtarget = mptsas_find_vtarget(ioc, channel, id); vtarget 5024 drivers/message/fusion/mptsas.c if (vtarget) { vtarget 5031 drivers/message/fusion/mptsas.c if (vtarget->raidVolume) { vtarget 5039 drivers/message/fusion/mptsas.c vtarget->inDMD = 1; vtarget 392 drivers/message/fusion/mptscsih.c mptscsih_issue_sep_command(MPT_ADAPTER *ioc, VirtTarget *vtarget, vtarget 403 drivers/message/fusion/mptscsih.c if (vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) vtarget 414 drivers/message/fusion/mptscsih.c SEPMsg->Bus = vtarget->channel; vtarget 415 drivers/message/fusion/mptscsih.c SEPMsg->TargetID = vtarget->id; vtarget 596 drivers/message/fusion/mptscsih.c VirtTarget *vtarget; vtarget 635 drivers/message/fusion/mptscsih.c if (!vdevice || !vdevice->vtarget || vtarget 636 drivers/message/fusion/mptscsih.c vdevice->vtarget->deleted) { vtarget 732 drivers/message/fusion/mptscsih.c vtarget = vdevice->vtarget; vtarget 733 drivers/message/fusion/mptscsih.c if (vtarget->tflags & MPT_TARGET_FLAGS_LED_ON) { vtarget 734 drivers/message/fusion/mptscsih.c mptscsih_issue_sep_command(ioc, vtarget, vtarget 736 drivers/message/fusion/mptscsih.c vtarget->tflags &= ~MPT_TARGET_FLAGS_LED_ON; vtarget 757 drivers/message/fusion/mptscsih.c vtarget && vtarget 758 drivers/message/fusion/mptscsih.c vdevice->vtarget-> vtarget 764 drivers/message/fusion/mptscsih.c vdevice->vtarget) vtarget 765 drivers/message/fusion/mptscsih.c vdevice->vtarget-> vtarget 1098 drivers/message/fusion/mptscsih.c if (vdevice->vtarget->tflags & vtarget 1104 drivers/message/fusion/mptscsih.c if ((mf->Bus != vdevice->vtarget->channel) || vtarget 1105 drivers/message/fusion/mptscsih.c (mf->TargetID != vdevice->vtarget->id) || vtarget 1121 drivers/message/fusion/mptscsih.c vdevice->vtarget->channel, vdevice->vtarget->id, vtarget 1369 drivers/message/fusion/mptscsih.c if ((vdevice->vtarget->tflags & MPT_TARGET_FLAGS_Q_YES) && vtarget 1378 drivers/message/fusion/mptscsih.c pScsiReq->TargetID = (u8) vdevice->vtarget->id; vtarget 1379 drivers/message/fusion/mptscsih.c pScsiReq->Bus = vdevice->vtarget->channel; vtarget 1381 drivers/message/fusion/mptscsih.c if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) vtarget 1708 drivers/message/fusion/mptscsih.c if (!vdevice || !vdevice->vtarget) { vtarget 1720 drivers/message/fusion/mptscsih.c if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) { vtarget 1731 drivers/message/fusion/mptscsih.c if (vdevice->vtarget->raidVolume) { vtarget 1771 drivers/message/fusion/mptscsih.c vdevice->vtarget->channel, vtarget 1772 drivers/message/fusion/mptscsih.c vdevice->vtarget->id, vdevice->lun, vtarget 1826 drivers/message/fusion/mptscsih.c if (!vdevice || !vdevice->vtarget) { vtarget 1833 drivers/message/fusion/mptscsih.c if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) { vtarget 1840 drivers/message/fusion/mptscsih.c vdevice->vtarget->channel, vtarget 1841 drivers/message/fusion/mptscsih.c vdevice->vtarget->id, 0, 0, vtarget 1889 drivers/message/fusion/mptscsih.c if (!vdevice || !vdevice->vtarget) vtarget 1893 drivers/message/fusion/mptscsih.c vdevice->vtarget->channel, 0, 0, 0, vtarget 2287 drivers/message/fusion/mptscsih.c VirtTarget *vtarget; vtarget 2292 drivers/message/fusion/mptscsih.c vtarget = starget->hostdata; vtarget 2298 drivers/message/fusion/mptscsih.c vtarget->num_luns--; vtarget 2316 drivers/message/fusion/mptscsih.c VirtTarget *vtarget; vtarget 2322 drivers/message/fusion/mptscsih.c vtarget = starget->hostdata; vtarget 2325 drivers/message/fusion/mptscsih.c if (!(vtarget->tflags & MPT_TARGET_FLAGS_Q_YES)) vtarget 2328 drivers/message/fusion/mptscsih.c vtarget->minSyncFactor <= MPT_ULTRA160) vtarget 2354 drivers/message/fusion/mptscsih.c VirtTarget *vtarget; vtarget 2361 drivers/message/fusion/mptscsih.c vtarget = starget->hostdata; vtarget 2377 drivers/message/fusion/mptscsih.c ioc->name, sdev->queue_depth, vtarget->tflags)); vtarget 2382 drivers/message/fusion/mptscsih.c ioc->name, vtarget->negoFlags, vtarget->maxOffset, vtarget 2383 drivers/message/fusion/mptscsih.c vtarget->minSyncFactor)); vtarget 2430 drivers/message/fusion/mptscsih.c if ((sense_data[12] == 0x5D) && (vdevice->vtarget->raidVolume == 0)) { vtarget 2447 drivers/message/fusion/mptscsih.c vdevice->vtarget, MPI_SEP_REQ_SLOTSTATUS_PREDICTED_FAULT); vtarget 2448 drivers/message/fusion/mptscsih.c vdevice->vtarget->tflags |= vtarget 3017 drivers/message/fusion/mptscsih.c if (vdevice->vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) vtarget 3020 drivers/message/fusion/mptscsih.c if (vdevice->vtarget->type != TYPE_DISK || vdevice->vtarget->deleted || vtarget 3034 drivers/message/fusion/mptscsih.c iocmd.channel = vdevice->vtarget->channel; vtarget 3035 drivers/message/fusion/mptscsih.c iocmd.id = vdevice->vtarget->id; vtarget 328 drivers/message/fusion/mptspi.c mptspi_initTarget(MPT_SCSI_HOST *hd, VirtTarget *vtarget, vtarget 338 drivers/message/fusion/mptspi.c if (vtarget == NULL) vtarget 341 drivers/message/fusion/mptspi.c vtarget->type = sdev->type; vtarget 346 drivers/message/fusion/mptspi.c vtarget->tflags |= MPT_TARGET_FLAGS_SAF_TE_ISSUED; vtarget 347 drivers/message/fusion/mptspi.c mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); vtarget 349 drivers/message/fusion/mptspi.c !(vtarget->tflags & MPT_TARGET_FLAGS_SAF_TE_ISSUED )) { vtarget 357 drivers/message/fusion/mptspi.c vtarget->tflags |= MPT_TARGET_FLAGS_SAF_TE_ISSUED; vtarget 358 drivers/message/fusion/mptspi.c mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); vtarget 362 drivers/message/fusion/mptspi.c mptspi_setTargetNegoParms(hd, vtarget, sdev); vtarget 401 drivers/message/fusion/mptspi.c VirtTarget *vtarget; vtarget 408 drivers/message/fusion/mptspi.c vtarget = kzalloc(sizeof(VirtTarget), GFP_KERNEL); vtarget 409 drivers/message/fusion/mptspi.c if (!vtarget) vtarget 412 drivers/message/fusion/mptspi.c vtarget->ioc_id = ioc->id; vtarget 413 drivers/message/fusion/mptspi.c vtarget->tflags = MPT_TARGET_FLAGS_Q_YES; vtarget 414 drivers/message/fusion/mptspi.c vtarget->id = (u8)starget->id; vtarget 415 drivers/message/fusion/mptspi.c vtarget->channel = (u8)starget->channel; vtarget 416 drivers/message/fusion/mptspi.c vtarget->starget = starget; vtarget 417 drivers/message/fusion/mptspi.c starget->hostdata = vtarget; vtarget 422 drivers/message/fusion/mptspi.c vtarget->tflags |= MPT_TARGET_FLAGS_RAID_COMPONENT; vtarget 424 drivers/message/fusion/mptspi.c vtarget->channel = 0; vtarget 426 drivers/message/fusion/mptspi.c vtarget->id = mptscsih_raid_id_to_num(ioc, 0, vtarget 432 drivers/message/fusion/mptspi.c vtarget->raidVolume = 1; vtarget 686 drivers/message/fusion/mptspi.c VirtTarget *vtarget = scsi_target(sdev)->hostdata; vtarget 696 drivers/message/fusion/mptspi.c mptscsih_quiesce_raid(hd, 1, vtarget->channel, vtarget->id) < 0) { vtarget 707 drivers/message/fusion/mptspi.c mptscsih_quiesce_raid(hd, 0, vtarget->channel, vtarget->id) < 0) vtarget 719 drivers/message/fusion/mptspi.c VirtTarget *vtarget; vtarget 739 drivers/message/fusion/mptspi.c vtarget = starget->hostdata; vtarget 740 drivers/message/fusion/mptspi.c vdevice->vtarget = vtarget; vtarget 741 drivers/message/fusion/mptspi.c vtarget->num_luns++; vtarget 752 drivers/message/fusion/mptspi.c VirtTarget *vtarget = scsi_target(sdev)->hostdata; vtarget 755 drivers/message/fusion/mptspi.c mptspi_initTarget(hd, vtarget, sdev); vtarget 783 drivers/message/fusion/mptspi.c if (!vdevice || !vdevice->vtarget) { vtarget 805 drivers/message/fusion/mptspi.c VirtTarget *vtarget = starget->hostdata; vtarget 809 drivers/message/fusion/mptspi.c if (vtarget->num_luns == 1 && vdevice->configured_lun) { vtarget 1064 drivers/message/fusion/mptspi.c VirtTarget *vtarget = starget->hostdata; vtarget 1067 drivers/message/fusion/mptspi.c if ((vtarget->negoFlags & MPT_TARGET_NO_NEGO_QAS) || vtarget 1130 drivers/message/fusion/mptspi.c VirtTarget *vtarget = starget->hostdata; vtarget 1138 drivers/message/fusion/mptspi.c if(vtarget->id != disk) vtarget 1141 drivers/message/fusion/mptspi.c starget_printk(KERN_INFO, vtarget->starget, MYIOC_s_FMT vtarget 186 include/sound/emux_synth.h int vtarget; /* volume target */ vtarget 290 sound/isa/sb/emu8000_callback.c temp = vp->vtarget << 16; vtarget 453 sound/pci/emu10k1/emu10k1_callback.c temp = (unsigned int)vp->vtarget << 16; vtarget 81 sound/synth/emux/emux_proc.c vp->vtarget, vtarget 602 sound/synth/emux/emux_synth.c vp->vtarget = 0; vtarget 606 sound/synth/emux/emux_synth.c vp->vtarget = voltarget[vp->avol % 0x10] >> (vp->avol >> 4);