Lines Matching defs:tgt
495 static void esp_write_tgt_config3(struct esp *esp, int tgt)
498 u8 val = esp->target[tgt].esp_config3;
507 static void esp_write_tgt_sync(struct esp *esp, int tgt)
509 u8 off = esp->target[tgt].esp_offset;
510 u8 per = esp->target[tgt].esp_period;
661 int tgt, lun;
664 tgt = dev->id;
669 esp_log_autosense("Doing auto-sense for tgt[%d] lun[%d]\n",
670 tgt, lun);
691 val = tgt;
696 esp_write_tgt_sync(esp, tgt);
697 esp_write_tgt_config3(esp, tgt);
742 int tgt, lun, i;
761 tgt = dev->id;
763 tp = &esp->target[tgt];
858 val = tgt;
863 esp_write_tgt_sync(esp, tgt);
864 esp_write_tgt_config3(esp, tgt);
869 printk("ESP: tgt[%d] lun[%d] scsi_cmd [ ", tgt, lun);
902 int tgt = dev->id;
931 printk("esp%d: tgt[%d] lun[%d] AUTO SENSE[ ",
932 esp->host->unique_id, tgt, lun);
1197 "Reconnect, no lp tgt[%u] lun[%u]\n",
1454 int tgt;
1456 tgt = cmd->device->id;
1457 tp = &esp->target[tgt];
1594 int tgt = cmd->device->id;
1596 tp = &esp->target[tgt];
1872 esp_log_disconnect("Disconnecting tgt[%d] tag[%x:%x]\n",