Lines Matching refs:lun
435 (1 << (cmd->device->lun & 0xff)))) in DEF_SCSI_QCMD()
506 (prev->device->lun != cmd->device->lun)) { in DEF_SCSI_QCMD()
527 write_wd33c93(regs, WD_TARGET_LUN, (u8)cmd->device->lun); in DEF_SCSI_QCMD()
530 hostdata->busy[cmd->device->id] |= (1 << (cmd->device->lun & 0xFF)); in DEF_SCSI_QCMD()
741 uchar asr, sr, phs, id, lun, *ucp, msg; in wd33c93_intr() local
800 hostdata->busy[cmd->device->id] &= ~(1 << (cmd->device->lun & 0xff)); in wd33c93_intr()
833 hostdata->outgoing_msg[0] = IDENTIFY(0, cmd->device->lun); in wd33c93_intr()
1114 lun = read_wd33c93(regs, WD_TARGET_LUN); in wd33c93_intr()
1115 DB(DB_INTR, printk(":%d.%d", scsi_pointer->Status, lun)) in wd33c93_intr()
1117 hostdata->busy[cmd->device->id] &= ~(1 << (cmd->device->lun & 0xff)); in wd33c93_intr()
1120 scsi_pointer->Status = lun; in wd33c93_intr()
1206 hostdata->busy[cmd->device->id] &= ~(1 << (cmd->device->lun & 0xff)); in wd33c93_intr()
1241 hostdata->busy[cmd->device->id] &= ~(1 << (cmd->device->lun & 0xff)); in wd33c93_intr()
1294 hostdata->busy[cmd->device->id] &= ~(1 << (cmd->device->lun & 0xff)); in wd33c93_intr()
1306 ~(1 << (cmd->device->lun & 0xff)); in wd33c93_intr()
1332 lun = read_wd33c93(regs, WD_DATA); in wd33c93_intr()
1335 lun &= 7; in wd33c93_intr()
1338 for (lun = 255; lun; lun--) { in wd33c93_intr()
1346 lun = 0; in wd33c93_intr()
1355 lun = read_1_byte(regs); in wd33c93_intr()
1372 lun &= 7; in wd33c93_intr()
1379 lun = 0; in wd33c93_intr()
1389 if (id == cmd->device->id && lun == (u8)cmd->device->lun) in wd33c93_intr()
1400 id, (u8)lun); in wd33c93_intr()
1648 hostdata->busy[cmd->device->id] &= ~(1 << (cmd->device->lun & 0xff)); in wd33c93_abort()
2112 cmd->device->id, cmd->device->lun, cmd->cmnd[0]); in wd33c93_show_info()
2120 cmd->device->id, cmd->device->lun, cmd->cmnd[0]); in wd33c93_show_info()
2129 cmd->device->id, cmd->device->lun, cmd->cmnd[0]); in wd33c93_show_info()