tag | line | file | source code |
lun | 1317 | drivers/scsi/53c7,8xx.c | dsa_temp_lun, c->lun); |
lun | 1611 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d", c->target, c->lun); |
lun | 2421 | drivers/scsi/53c7,8xx.c | tmp->select[0] = IDENTIFY (1, cmd->lun); |
lun | 2423 | drivers/scsi/53c7,8xx.c | tmp->select[0] = IDENTIFY (0, cmd->lun); |
lun | 2591 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) || |
lun | 2594 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
lun | 2662 | drivers/scsi/53c7,8xx.c | target_was_busy = hostdata->busy[cmd->target][cmd->lun] |
lun | 2798 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 2831 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 2845 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 3031 | drivers/scsi/53c7,8xx.c | if (--hostdata->busy[tmp->target][tmp->lun]) { |
lun | 3051 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
lun | 3099 | drivers/scsi/53c7,8xx.c | (int) cmd->cmd->lun); |
lun | 952 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
lun | 970 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
lun | 1395 | drivers/scsi/NCR5380.c | tmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun); |
lun | 1431 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 2007 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2047 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2057 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2071 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2084 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2086 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 2158 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 2176 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
lun | 2282 | drivers/scsi/NCR5380.c | instance->host_no, tmp, cmd->target, cmd->lun); |
lun | 2285 | drivers/scsi/NCR5380.c | instance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun); |
lun | 2299 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 2377 | drivers/scsi/NCR5380.c | unsigned char lun, phase; |
lun | 2436 | drivers/scsi/NCR5380.c | lun = (msg[0] & 0x07); |
lun | 2456 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
lun | 2472 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun, tag); |
lun | 2475 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun); |
lun | 2496 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun, tmp->tag); |
lun | 390 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun ) |
lun | 395 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
lun | 701 | drivers/scsi/aha152x.c | SCpnt->lun, |
lun | 1382 | drivers/scsi/aha152x.c | message=IDENTIFY(can_disconnect,current_SC->lun); |
lun | 1385 | drivers/scsi/aha152x.c | can_disconnect ? "enabled" : "disabled", current_SC->lun); |
lun | 1416 | drivers/scsi/aha152x.c | if(message==IDENTIFY(can_disconnect,current_SC->lun)) |
lun | 2325 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
lun | 476 | drivers/scsi/aha1542.c | unchar lun = SCpnt->lun; |
lun | 606 | drivers/scsi/aha1542.c | ccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/ |
lun | 341 | drivers/scsi/aha1740.c | ecb[ecbno].lun = SCpnt->lun; |
lun | 119 | drivers/scsi/aha1740.h | ushort lun:3, /* Logical Unit */ |
lun | 545 | drivers/scsi/buslogic.c | ccb[mbo].id, ccb[mbo].lun, mbo); |
lun | 603 | drivers/scsi/buslogic.c | unsigned char lun = scpnt->lun; |
lun | 752 | drivers/scsi/buslogic.c | ccb[mbo].lun = lun; |
lun | 158 | drivers/scsi/buslogic.h | unsigned char lun; |
lun | 554 | drivers/scsi/constants.c | cmd->lun); |
lun | 697 | drivers/scsi/fdomain.c | SCinit.lun = 0; |
lun | 221 | drivers/scsi/scsi.c | int dev, lun, type; |
lun | 229 | drivers/scsi/scsi.c | lun = 0; |
lun | 247 | drivers/scsi/scsi.c | for (lun = 0; lun < max_scsi_luns; ++lun) |
lun | 251 | drivers/scsi/scsi.c | SDpnt->lun = lun; |
lun | 262 | drivers/scsi/scsi.c | scsi_cmd[1] = lun << 5; |
lun | 268 | drivers/scsi/scsi.c | SCmd.lun = lun; |
lun | 283 | drivers/scsi/scsi.c | printk("scsi: scan SCSIS id %d lun %d\n", dev, lun); |
lun | 310 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
lun | 449 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
lun | 523 | drivers/scsi/scsi.c | SCpnt->lun); |
lun | 574 | drivers/scsi/scsi.c | SCpnt->lun == device->lun) |
lun | 660 | drivers/scsi/scsi.c | SCpnt->lun == device->lun) { |
lun | 678 | drivers/scsi/scsi.c | device->id ,device->lun); |
lun | 820 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
lun | 901 | drivers/scsi/scsi.c | SCpnt->lun = (SCpnt->data_cmnd[1] >> 5); |
lun | 1048 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
lun | 1078 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->target, SCpnt->lun); |
lun | 1388 | drivers/scsi/scsi.c | " the bus was reset\n", SCpnt->target, SCpnt->lun); |
lun | 1777 | drivers/scsi/scsi.c | SCpnt->lun = SDpnt->lun; |
lun | 1897 | drivers/scsi/scsi.c | SCpnt->lun, |
lun | 113 | drivers/scsi/scsi.h | #define IDENTIFY(can_disconnect, lun) (IDENTIFY_BASE |\ |
lun | 115 | drivers/scsi/scsi.h | ((lun) & 0x07)) |
lun | 270 | drivers/scsi/scsi.h | unsigned char id, lun; |
lun | 422 | drivers/scsi/scsi.h | unsigned char target, lun; |
lun | 175 | drivers/scsi/scsi_debug.c | if(target>=1 || SCpnt->lun != 0) { |
lun | 125 | drivers/scsi/scsi_ioctl.c | dev->lun, |
lun | 172 | drivers/scsi/scsi_ioctl.c | cmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5); |
lun | 245 | drivers/scsi/scsi_ioctl.c | put_fs_long(dev->id + (dev->lun << 8) + |
lun | 268 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 276 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 282 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 315 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
lun | 697 | drivers/scsi/sd.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
lun | 820 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 843 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 878 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 1068 | drivers/scsi/sd.c | SDp->host->host_no , SDp->id, SDp->lun); |
lun | 83 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, |
lun | 515 | drivers/scsi/seagate.c | current_lun = SCpnt->lun; |
lun | 556 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
lun | 570 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
lun | 575 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
lun | 1032 | drivers/scsi/seagate.c | hostno, target, lun); |
lun | 1326 | drivers/scsi/seagate.c | DATA = IDENTIFY(1, lun); |
lun | 1610 | drivers/scsi/seagate.c | cmd[1] = (disk->device->lun << 5) & 0xe5; |
lun | 280 | drivers/scsi/sg.c | cmnd[1]=(cmnd[1] & 0x1f) | (device->device->lun<<5); |
lun | 263 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun, |
lun | 422 | drivers/scsi/sr.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
lun | 658 | drivers/scsi/sr.c | SDp->host->host_no , SDp->id, SDp->lun); |
lun | 711 | drivers/scsi/sr.c | cmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0; |
lun | 75 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
lun | 109 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 121 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 137 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 157 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 178 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 212 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 245 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
lun | 254 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
lun | 266 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
lun | 286 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 302 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 330 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
lun | 347 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 1716 | drivers/scsi/st.c | SDp->host->host_no , SDp->id, SDp->lun); |
lun | 181 | drivers/scsi/ultrastor.c | unsigned char lun: 3; /* logical unit number */ |
lun | 703 | drivers/scsi/ultrastor.c | my_mscp->lun = SCpnt->lun; |
lun | 904 | drivers/scsi/wd7000.c | idlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7); |