Lines Matching refs:tgt
495 static void esp_write_tgt_config3(struct esp *esp, int tgt) in esp_write_tgt_config3() argument
498 u8 val = esp->target[tgt].esp_config3; in esp_write_tgt_config3()
507 static void esp_write_tgt_sync(struct esp *esp, int tgt) in esp_write_tgt_sync() argument
509 u8 off = esp->target[tgt].esp_offset; in esp_write_tgt_sync()
510 u8 per = esp->target[tgt].esp_period; in esp_write_tgt_sync()
661 int tgt, lun; in esp_autosense() local
664 tgt = dev->id; in esp_autosense()
670 tgt, lun); in esp_autosense()
691 val = tgt; in esp_autosense()
696 esp_write_tgt_sync(esp, tgt); in esp_autosense()
697 esp_write_tgt_config3(esp, tgt); in esp_autosense()
742 int tgt, lun, i; in esp_maybe_execute_command() local
761 tgt = dev->id; in esp_maybe_execute_command()
763 tp = &esp->target[tgt]; in esp_maybe_execute_command()
858 val = tgt; in esp_maybe_execute_command()
863 esp_write_tgt_sync(esp, tgt); in esp_maybe_execute_command()
864 esp_write_tgt_config3(esp, tgt); in esp_maybe_execute_command()
869 printk("ESP: tgt[%d] lun[%d] scsi_cmd [ ", tgt, lun); in esp_maybe_execute_command()
902 int tgt = dev->id; in esp_cmd_is_done() local
932 esp->host->unique_id, tgt, lun); in esp_cmd_is_done()
1456 int tgt; in esp_msgin_reject() local
1458 tgt = cmd->device->id; in esp_msgin_reject()
1459 tp = &esp->target[tgt]; in esp_msgin_reject()
1596 int tgt = cmd->device->id; in esp_msgin_extended() local
1598 tp = &esp->target[tgt]; in esp_msgin_extended()