Lines Matching refs:scmd_id
645 cmd, scmd_id(cmd), hostdata->busy[scmd_id(cmd)], cmd->device->lun); in dequeue_next_cmd()
647 if (!(hostdata->busy[scmd_id(cmd)] & (1 << cmd->device->lun))) { in dequeue_next_cmd()
974 (disconnect_mask & BIT(scmd_id(cmd))); in NCR5380_select()
1078 NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask | (1 << scmd_id(cmd))); in NCR5380_select()
1127 dsprintk(NDEBUG_SELECTION, instance, "selecting target %d\n", scmd_id(cmd)); in NCR5380_select()
1193 scmd_id(cmd)); in NCR5380_select()
1740 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer()
1814 cmd, scmd_id(cmd), cmd->device->lun); in NCR5380_information_transfer()
1817 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer()
1867 cmd, scmd_id(cmd), cmd->device->lun); in NCR5380_information_transfer()
1973 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer()
2119 if (target_mask == (1 << scmd_id(cmd)) && in NCR5380_reselect()
2171 scmd_id(tmp), tmp->device->lun); in NCR5380_reselect()
2307 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_abort()