Lines Matching defs:unit
110 ", set power condition in start stop unit = "
131 * to the logical unit. Thus, I/O to the device will automatically
153 struct fw_unit *unit;
166 int dont_block; /* counter for each logical unit */
172 return fw_parent_device(tgt->unit);
177 return &tgt->unit->device;
182 return &lu->tgt->unit->device;
320 #define SBP2_ROM_VALUE_MISSING 0xff000000 /* not present in the unit dir. */
1122 static void sbp2_remove(struct fw_unit *unit);
1124 static int sbp2_probe(struct fw_unit *unit, const struct ieee1394_device_id *id)
1126 struct fw_device *device = fw_parent_device(unit);
1141 dev_set_drvdata(&unit->device, tgt);
1142 tgt->unit = unit;
1152 if (scsi_add_host_with_dma(shost, &unit->device,
1157 tgt->directory_id = ((unit->directory - device->config_rom) * 4
1163 if (sbp2_scan_unit_dir(tgt, unit->directory, &model,
1186 sbp2_remove(unit);
1194 static void sbp2_update(struct fw_unit *unit)
1196 struct sbp2_target *tgt = dev_get_drvdata(&unit->device);
1199 fw_device_enable_phys_dma(fw_parent_device(unit));
1212 static void sbp2_remove(struct fw_unit *unit)
1214 struct fw_device *device = fw_parent_device(unit);
1215 struct sbp2_target *tgt = dev_get_drvdata(&unit->device);
1250 dev_notice(&unit->device, "released target %d:0:0\n", shost->host_no);
1565 * This is the concatenation of target port identifier and logical unit