| tag | line | file | source code |
| lun | 2015 | drivers/scsi/53c7,8xx.c | dsa_temp_lun, c->lun); |
| lun | 2520 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d ", c->target, c->lun); |
| lun | 2836 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, c->lun); |
| lun | 2982 | drivers/scsi/53c7,8xx.c | event->lun = hostdata->reselected_identify & 0xf; |
| lun | 2984 | drivers/scsi/53c7,8xx.c | event->lun = c->lun; |
| lun | 2986 | drivers/scsi/53c7,8xx.c | event->lun = 255; |
| lun | 3409 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun, (hostdata->cmd_allocated[cmd->target] & |
| lun | 3410 | drivers/scsi/53c7,8xx.c | (1 << cmd->lun)) ? "allready allocated" : "not allocated"); |
| lun | 3458 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->target, cmd->lun); |
| lun | 3680 | drivers/scsi/53c7,8xx.c | IDENTIFY (1, cmd->lun) : IDENTIFY (0, cmd->lun); |
| lun | 3861 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun))) |
| lun | 3870 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
| lun | 3972 | drivers/scsi/53c7,8xx.c | ++hostdata->busy[tmp->target][tmp->lun]; |
| lun | 4029 | drivers/scsi/53c7,8xx.c | return hostdata->busy[cmd->target][cmd->lun]; |
| lun | 4103 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->target, tmp->lun); |
| lun | 4176 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
| lun | 4214 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
| lun | 4230 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
| lun | 4437 | drivers/scsi/53c7,8xx.c | --hostdata->busy[tmp->target][tmp->lun]; |
| lun | 4445 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
| lun | 4461 | drivers/scsi/53c7,8xx.c | (1 << tmp->lun)) && |
| lun | 4469 | drivers/scsi/53c7,8xx.c | (1 << tmp->lun); |
| lun | 4528 | drivers/scsi/53c7,8xx.c | (int) cmd->cmd->lun); |
| lun | 5571 | drivers/scsi/53c7,8xx.c | --hostdata->busy[cmd->target][cmd->lun]; |
| lun | 5829 | drivers/scsi/53c7,8xx.c | cmd->result, cmd->target, cmd->lun); |
| lun | 5885 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid, cmd->target, cmd->lun); |
| lun | 6308 | drivers/scsi/53c7,8xx.c | event.target, event.lun); |
| lun | 1049 | drivers/scsi/53c7,8xx.h | unsigned char lun; |
| lun | 1933 | drivers/scsi/BusLogic.c | unsigned char LogicalUnit = Command->lun; |
| lun | 953 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
| lun | 971 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
| lun | 1396 | drivers/scsi/NCR5380.c | tmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun); |
| lun | 1432 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
| lun | 2011 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
| lun | 2051 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
| lun | 2061 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
| lun | 2075 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
| lun | 2088 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
| lun | 2090 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
| lun | 2162 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
| lun | 2180 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
| lun | 2286 | drivers/scsi/NCR5380.c | instance->host_no, tmp, cmd->target, cmd->lun); |
| lun | 2289 | drivers/scsi/NCR5380.c | instance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun); |
| lun | 2303 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
| lun | 2381 | drivers/scsi/NCR5380.c | unsigned char lun, phase; |
| lun | 2440 | drivers/scsi/NCR5380.c | lun = (msg[0] & 0x07); |
| lun | 2460 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
| lun | 2476 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun, tag); |
| lun | 2479 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun); |
| lun | 2500 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun, tmp->tag); |
| lun | 684 | drivers/scsi/NCR53c406a.c | SCpnt->lun, |
| lun | 480 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC(Scsi_Cmnd **SC, int target, int lun) |
| lun | 485 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
| lun | 871 | drivers/scsi/aha152x.c | SCpnt->target, SCpnt->lun); |
| lun | 1544 | drivers/scsi/aha152x.c | ADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)); |
| lun | 1682 | drivers/scsi/aha152x.c | if(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)) |
| lun | 2654 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
| lun | 2743 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
| lun | 2909 | drivers/scsi/aha152x.c | scd->channel, scd->id, scd->lun); |
| lun | 519 | drivers/scsi/aha1542.c | unchar lun = SCpnt->lun; |
| lun | 651 | drivers/scsi/aha1542.c | ccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/ |
| lun | 356 | drivers/scsi/aha1740.c | ecb[ecbno].lun = SCpnt->lun; |
| lun | 120 | drivers/scsi/aha1740.h | u16 lun:3, /* Logical Unit */ |
| lun | 2553 | drivers/scsi/aic7xxx.c | scb->sense_cmd[1] = (cmd->lun << 5); |
| lun | 2697 | drivers/scsi/aic7xxx.c | scsi_id, channel, cmd->lun & 0x07); |
| lun | 2883 | drivers/scsi/aic7xxx.c | cmd->target, cmd->channel & 0x01, cmd->lun & 0x07); |
| lun | 2983 | drivers/scsi/aic7xxx.c | sp = &p->stats[cmd->channel & 0x01][cmd->target & 0x0F][cmd->lun & 0x07]; |
| lun | 4477 | drivers/scsi/aic7xxx.c | ((cmd->channel & 0x01) << 3) | (cmd->lun & 0x07); |
| lun | 4579 | drivers/scsi/aic7xxx.c | cmd->lun & 0x07); |
| lun | 194 | drivers/scsi/aic7xxx_proc.c | int channel, target, lun; |
| lun | 205 | drivers/scsi/aic7xxx_proc.c | for (lun = 0; lun < 8; lun++) |
| lun | 207 | drivers/scsi/aic7xxx_proc.c | sp = &p->stats[channel][target][lun]; |
| lun | 213 | drivers/scsi/aic7xxx_proc.c | 'A' + channel, target, lun); |
| lun | 569 | drivers/scsi/constants.c | cmd->lun); |
| lun | 280 | drivers/scsi/eata.c | unchar lun:3, /* LUN */ |
| lun | 684 | drivers/scsi/eata.c | cpp->lun = SCpnt->lun; |
| lun | 1002 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
| lun | 1060 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
| lun | 215 | drivers/scsi/eata_dma.c | cmd->lun, eata_stat, hba_stat)); |
| lun | 294 | drivers/scsi/eata_dma.c | cmd->device->channel, cmd->device->id, cmd->device->lun, |
| lun | 328 | drivers/scsi/eata_dma.c | u8 lun) |
| lun | 337 | drivers/scsi/eata_dma.c | outb(lun, base + HA_WSUBLUN); |
| lun | 404 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
| lun | 498 | drivers/scsi/eata_dma.c | cp->cp_lun = cmd->lun; |
| lun | 522 | drivers/scsi/eata_dma.c | cmd->target, cmd->lun, y, sh->irq)); |
| lun | 538 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
| lun | 589 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
| lun | 161 | drivers/scsi/eata_dma_proc.c | SDev.lun = 0; |
| lun | 180 | drivers/scsi/eata_dma_proc.c | scmd.lun = 0; |
| lun | 5 | drivers/scsi/eata_dma_proc.h | __u8 lun; |
| lun | 368 | drivers/scsi/eata_generic.h | __u8 lun; /* drive lun */ |
| lun | 321 | drivers/scsi/eata_pio.c | cmd->pid, cmd->target, cmd->lun, y)); |
| lun | 352 | drivers/scsi/eata_pio.c | cp->cp_lun = cmd->lun; |
| lun | 395 | drivers/scsi/eata_pio.c | cmd->target, cmd->lun, y, sh->irq)); |
| lun | 411 | drivers/scsi/eata_pio.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
| lun | 460 | drivers/scsi/eata_pio.c | "reason %x\n", cmd->pid, cmd->target, cmd->lun, |
| lun | 1018 | drivers/scsi/fdomain.c | SCinit.lun = 0; |
| lun | 522 | drivers/scsi/in2000.c | outb(SCpnt->lun & 7,INDATA); |
| lun | 65 | drivers/scsi/scsi.c | static int scan_scsis_single (int channel,int dev,int lun,int * max_scsi_dev , |
| lun | 370 | drivers/scsi/scsi.c | int dev, lun, channel; |
| lun | 406 | drivers/scsi/scsi.c | lun = hlun; |
| lun | 407 | drivers/scsi/scsi.c | if(lun >= shpnt->max_lun) goto leave; |
| lun | 408 | drivers/scsi/scsi.c | scan_scsis_single (channel, dev, lun, &max_dev_lun, |
| lun | 442 | drivers/scsi/scsi.c | for (lun = 0; lun < max_dev_lun; ++lun) { |
| lun | 443 | drivers/scsi/scsi.c | if (!scan_scsis_single (channel, dev, lun, &max_dev_lun, |
| lun | 486 | drivers/scsi/scsi.c | int scan_scsis_single (int channel, int dev, int lun, int *max_dev_lun, |
| lun | 503 | drivers/scsi/scsi.c | SDpnt->lun = lun; |
| lun | 518 | drivers/scsi/scsi.c | scsi_cmd[1] = lun << 5; |
| lun | 524 | drivers/scsi/scsi.c | SCpnt->lun = SDpnt->lun; |
| lun | 538 | drivers/scsi/scsi.c | dev, lun, SCpnt->result); |
| lun | 562 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
| lun | 701 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
| lun | 845 | drivers/scsi/scsi.c | SCpnt->lun == device->lun) { |
| lun | 853 | drivers/scsi/scsi.c | if (SCpnt->lun == device->lun) { |
| lun | 926 | drivers/scsi/scsi.c | SCpnt->lun = device->lun; |
| lun | 976 | drivers/scsi/scsi.c | SCpnt->lun == device->lun) { |
| lun | 985 | drivers/scsi/scsi.c | if (SCpnt->lun == device->lun) { |
| lun | 1022 | drivers/scsi/scsi.c | "lun %d\n", device->channel, device->id, device->lun); |
| lun | 1083 | drivers/scsi/scsi.c | SCpnt->lun = device->lun; |
| lun | 1185 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
| lun | 1267 | drivers/scsi/scsi.c | SCpnt->lun = (SCpnt->data_cmnd[1] >> 5); |
| lun | 1396 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
| lun | 1436 | drivers/scsi/scsi.c | SCpnt->lun); |
| lun | 1778 | drivers/scsi/scsi.c | SCpnt->channel, SCpnt->target, SCpnt->lun); |
| lun | 1790 | drivers/scsi/scsi.c | (int) SCpnt->target, (int) SCpnt->lun); |
| lun | 2281 | drivers/scsi/scsi.c | SCpnt->lun = SDpnt->lun; |
| lun | 2499 | drivers/scsi/scsi.c | || scd->lun != parameter[3])) { |
| lun | 3070 | drivers/scsi/scsi.c | SCpnt->lun, |
| lun | 42 | drivers/scsi/scsi.h | #define IDENTIFY(can_disconnect, lun) (IDENTIFY_BASE |\ |
| lun | 44 | drivers/scsi/scsi.h | ((lun) & 0x07)) |
| lun | 155 | drivers/scsi/scsi.h | unsigned char id, lun, channel; |
| lun | 347 | drivers/scsi/scsi.h | unsigned char target, lun, channel; |
| lun | 197 | drivers/scsi/scsi_debug.c | if(target>=1 || SCpnt->lun != 0) { |
| lun | 141 | drivers/scsi/scsi_ioctl.c | dev->lun, |
| lun | 236 | drivers/scsi/scsi_ioctl.c | cmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5); |
| lun | 314 | drivers/scsi/scsi_ioctl.c | + (dev->lun << 8) |
| lun | 340 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
| lun | 348 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
| lun | 354 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
| lun | 263 | drivers/scsi/scsi_proc.c | scd->host->host_no, scd->channel, scd->id, scd->lun); |
| lun | 390 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->lun, result); |
| lun | 841 | drivers/scsi/sd.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
| lun | 977 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
| lun | 1010 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
| lun | 1050 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
| lun | 1196 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
| lun | 1335 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
| lun | 93 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, |
| lun | 559 | drivers/scsi/seagate.c | current_lun = SCpnt->lun; |
| lun | 600 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
| lun | 614 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
| lun | 619 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
| lun | 1076 | drivers/scsi/seagate.c | hostno, target, lun); |
| lun | 1370 | drivers/scsi/seagate.c | DATA = IDENTIFY(1, lun); |
| lun | 1654 | drivers/scsi/seagate.c | cmd[1] = (disk->device->lun << 5) & 0xe5; |
| lun | 459 | drivers/scsi/sg.c | cmnd[1]= (cmnd[1] & 0x1f) | (device->device->lun<<5); |
| lun | 533 | drivers/scsi/sg.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
| lun | 282 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->lun, |
| lun | 697 | drivers/scsi/sr.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
| lun | 932 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
| lun | 987 | drivers/scsi/sr.c | cmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0; |
| lun | 71 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
| lun | 105 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
| lun | 117 | 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 | 161 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
| lun | 185 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
| lun | 206 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
| lun | 242 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
| lun | 275 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
| lun | 284 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
| lun | 300 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
| lun | 326 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
| lun | 342 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
| lun | 370 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
| lun | 387 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
| lun | 239 | drivers/scsi/st.c | cmd[1] |= (SCpnt->lun << 5) & 0xe0; |
| lun | 2139 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
| lun | 240 | drivers/scsi/u14-34f.c | unsigned char lun: 3; /* logical unit number */ |
| lun | 621 | drivers/scsi/u14-34f.c | cpp->lun = SCpnt->lun; |
| lun | 948 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
| lun | 1007 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
| lun | 191 | drivers/scsi/ultrastor.c | unsigned char lun: 3; /* logical unit number */ |
| lun | 718 | drivers/scsi/ultrastor.c | my_mscp->lun = SCpnt->lun; |
| lun | 908 | drivers/scsi/wd7000.c | idlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7); |