Lines Matching defs:target

405 	 * target (array) devices.
844 hdev->bus, hdev->target, hdev->lun,
1203 unsigned char scsi3addr[], int bus, int *target, int *lun)
1205 /* finds an unused bus, target, lun for a new physical device
1214 if (h->dev[i]->bus == bus && h->dev[i]->target != -1)
1215 __set_bit(h->dev[i]->target, lun_taken);
1221 *target = i;
1272 h->scsi_host->host_no, dev->bus, dev->target, dev->lun,
1300 /* physical devices do not have lun or target assigned until now. */
1312 device->bus, &device->target, &device->lun) != 0)
1320 * Assign the same bus and target for this new LUN.
1334 device->target = sd->target;
1426 * New physical devices won't have target/lun assigned yet
1429 if (new_entry->target == -1) {
1430 new_entry->target = h->dev[entry]->target;
1496 /* we compare everything except lun and target as these
1624 sd->bus, sd->target, sd->lun);
1632 sd->bus, sd->target, sd->lun);
1638 sd->bus, sd->target, sd->lun);
1644 sd->bus, sd->target, sd->lun);
1650 sd->bus, sd->target, sd->lun);
1656 sd->bus, sd->target, sd->lun);
1662 sd->bus, sd->target, sd->lun);
1668 sd->bus, sd->target, sd->lun);
1674 sd->bus, sd->target, sd->lun);
1680 sd->bus, sd->target, sd->lun);
1686 sd->bus, sd->target, sd->lun);
1692 sd->bus, sd->target, sd->lun);
1757 logical_drive->target, logical_drive->lun);
1823 device->target, device->lun);
1881 device->bus, device->target, device->lun, cmds);
1901 device->target, device->lun);
2093 * Lookup bus/target/lun and return corresponding struct hpsa_scsi_dev_t *
2097 int bus, int target, int lun)
2104 if (sd->bus == bus && sd->target == target && sd->lun == lun)
2126 sd->target = sdev_id(sdev);
2743 * missing target. */
3469 if (encl_dev->target == -1 || encl_dev->lun == -1) {
3828 int bus, int target, int lun)
3831 device->target = target;
3987 this_device->bus, this_device->target,
4011 this_device->target, this_device->lun);
4052 * Helper function to assign bus, target, lun mapping of devices.
4053 * Logical drive target and lun are assigned at this time, but
4054 * physical device lun and target assignment are deferred (assigned
4063 /* physical device, target and lun filled in later */
4072 /* defer target, lun assignment for physical devices */
4387 * plus external target devices, and a device for the local RAID
4431 /* Determine if this is a lun from an external target array */
6686 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */
6743 mode = 00 target = 0. Nothing to write.
6873 /* Physical target reset needs no control bytes 4-7*/