Lines Matching defs:unit
109 ", set power condition in start stop unit = "
130 * to the logical unit. Thus, I/O to the device will automatically
152 struct fw_unit *unit;
165 int dont_block; /* counter for each logical unit */
171 return fw_parent_device(tgt->unit);
176 return &tgt->unit->device;
181 return &lu->tgt->unit->device;
319 #define SBP2_ROM_VALUE_MISSING 0xff000000 /* not present in the unit dir. */
1121 static void sbp2_remove(struct fw_unit *unit);
1123 static int sbp2_probe(struct fw_unit *unit, const struct ieee1394_device_id *id)
1125 struct fw_device *device = fw_parent_device(unit);
1140 dev_set_drvdata(&unit->device, tgt);
1141 tgt->unit = unit;
1151 if (scsi_add_host_with_dma(shost, &unit->device,
1156 tgt->directory_id = ((unit->directory - device->config_rom) * 4
1162 if (sbp2_scan_unit_dir(tgt, unit->directory, &model,
1185 sbp2_remove(unit);
1193 static void sbp2_update(struct fw_unit *unit)
1195 struct sbp2_target *tgt = dev_get_drvdata(&unit->device);
1198 fw_device_enable_phys_dma(fw_parent_device(unit));
1211 static void sbp2_remove(struct fw_unit *unit)
1213 struct fw_device *device = fw_parent_device(unit);
1214 struct sbp2_target *tgt = dev_get_drvdata(&unit->device);
1249 dev_notice(&unit->device, "released target %d:0:0\n", shost->host_no);
1561 * This is the concatenation of target port identifier and logical unit