tag | line | file | source code |
lun | 1410 | drivers/scsi/53c7,8xx.c | dsa_temp_lun, c->lun); |
lun | 1701 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d", c->target, c->lun); |
lun | 2383 | drivers/scsi/53c7,8xx.c | !(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun))) { |
lun | 2535 | drivers/scsi/53c7,8xx.c | tmp->select[0] = IDENTIFY (1, cmd->lun); |
lun | 2537 | drivers/scsi/53c7,8xx.c | tmp->select[0] = IDENTIFY (0, cmd->lun); |
lun | 2703 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) || |
lun | 2706 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
lun | 2775 | drivers/scsi/53c7,8xx.c | target_was_busy = hostdata->busy[cmd->target][cmd->lun] |
lun | 2916 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 2950 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 2963 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 3157 | drivers/scsi/53c7,8xx.c | if (--hostdata->busy[tmp->target][tmp->lun]) { |
lun | 3169 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
lun | 3217 | drivers/scsi/53c7,8xx.c | (int) cmd->cmd->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 | 445 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun ) |
lun | 450 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
lun | 796 | drivers/scsi/aha152x.c | printk( "SCpnt (target = %d lun = %d cmnd = ", SCpnt->target, SCpnt->lun); |
lun | 1541 | drivers/scsi/aha152x.c | message=IDENTIFY(can_disconnect,current_SC->lun); |
lun | 1545 | drivers/scsi/aha152x.c | can_disconnect ? "enabled" : "disabled", current_SC->lun); |
lun | 1577 | drivers/scsi/aha152x.c | if(message==IDENTIFY(can_disconnect,current_SC->lun)) |
lun | 2550 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
lun | 512 | drivers/scsi/aha1542.c | unchar lun = SCpnt->lun; |
lun | 644 | drivers/scsi/aha1542.c | ccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/ |
lun | 350 | drivers/scsi/aha1740.c | ecb[ecbno].lun = SCpnt->lun; |
lun | 119 | drivers/scsi/aha1740.h | u16 lun:3, /* Logical Unit */ |
lun | 1836 | drivers/scsi/aic7xxx.c | scb->sense_cmd[1] = cmd->lun << 5; |
lun | 1850 | drivers/scsi/aic7xxx.c | ((cmd->channel & 0x01) << 3) | (cmd->lun & 0x07); |
lun | 2006 | drivers/scsi/aic7xxx.c | cmd->target, cmd->lun & 0x07); |
lun | 2195 | drivers/scsi/aic7xxx.c | cmd->lun & 0x07); |
lun | 3457 | drivers/scsi/aic7xxx.c | ((cmd->channel & 0x01) << 3) | (cmd->lun & 0x07); |
lun | 3552 | drivers/scsi/aic7xxx.c | cmd->lun & 0x07); |
lun | 574 | drivers/scsi/buslogic.c | unsigned char lun = scpnt->lun; |
lun | 730 | drivers/scsi/buslogic.c | ccb->lun = lun; |
lun | 171 | drivers/scsi/buslogic.h | unsigned char lun; |
lun | 569 | drivers/scsi/constants.c | cmd->lun); |
lun | 274 | drivers/scsi/eata.c | unchar lun:3, /* LUN */ |
lun | 676 | drivers/scsi/eata.c | cpp->lun = SCpnt->lun; |
lun | 993 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
lun | 1051 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
lun | 206 | drivers/scsi/eata_dma.c | irq, base, cmd->pid, cmd->target, cmd->lun, |
lun | 286 | drivers/scsi/eata_dma.c | x, cmd->device->channel, cmd->device->id, cmd->device->lun, |
lun | 319 | drivers/scsi/eata_dma.c | u8 lun) |
lun | 328 | drivers/scsi/eata_dma.c | outb(lun, base + HA_WSUBLUN); |
lun | 379 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
lun | 472 | drivers/scsi/eata_dma.c | cp->cp_lun = cmd->lun; |
lun | 494 | drivers/scsi/eata_dma.c | cmd->target, cmd->lun, y, sh->irq)); |
lun | 510 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
lun | 560 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
lun | 159 | drivers/scsi/eata_dma_proc.c | SDev.lun = 0; |
lun | 178 | drivers/scsi/eata_dma_proc.c | scmd.lun = 0; |
lun | 5 | drivers/scsi/eata_dma_proc.h | __u8 lun; |
lun | 353 | drivers/scsi/eata_generic.h | __u8 lun; /* drive lun */ |
lun | 316 | drivers/scsi/eata_pio.c | cmd->pid, cmd->target, cmd->lun, y)); |
lun | 347 | drivers/scsi/eata_pio.c | cp->cp_lun = cmd->lun; |
lun | 389 | drivers/scsi/eata_pio.c | cmd->target, cmd->lun, y, sh->irq)); |
lun | 405 | drivers/scsi/eata_pio.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
lun | 453 | drivers/scsi/eata_pio.c | "reason %x\n", cmd->pid, cmd->target, cmd->lun, |
lun | 953 | drivers/scsi/fdomain.c | SCinit.lun = 0; |
lun | 516 | drivers/scsi/in2000.c | outb(SCpnt->lun & 7,INDATA); |
lun | 366 | drivers/scsi/scsi.c | int dev, lun, type, channel; |
lun | 377 | drivers/scsi/scsi.c | lun = 0; |
lun | 399 | drivers/scsi/scsi.c | lun = hlun; |
lun | 417 | drivers/scsi/scsi.c | for (lun = 0; lun < max_dev_lun; ++lun) |
lun | 423 | drivers/scsi/scsi.c | SDpnt->lun = lun; |
lun | 435 | drivers/scsi/scsi.c | scsi_cmd[1] = lun << 5; |
lun | 442 | drivers/scsi/scsi.c | SCpnt->lun = SDpnt->lun; |
lun | 473 | drivers/scsi/scsi.c | printk("scsi: scan SCSIS id %d lun %d\n", dev, lun); |
lun | 499 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
lun | 670 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
lun | 855 | drivers/scsi/scsi.c | SCpnt->lun == device->lun) { |
lun | 863 | drivers/scsi/scsi.c | if (SCpnt->lun == device->lun) { |
lun | 936 | drivers/scsi/scsi.c | SCpnt->lun = device->lun; |
lun | 982 | drivers/scsi/scsi.c | SCpnt->lun == device->lun) { |
lun | 991 | drivers/scsi/scsi.c | if (SCpnt->lun == device->lun) { |
lun | 1028 | drivers/scsi/scsi.c | "lun %d\n", device->channel, device->id, device->lun); |
lun | 1089 | drivers/scsi/scsi.c | SCpnt->lun = device->lun; |
lun | 1191 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
lun | 1273 | drivers/scsi/scsi.c | SCpnt->lun = (SCpnt->data_cmnd[1] >> 5); |
lun | 1423 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
lun | 1463 | drivers/scsi/scsi.c | SCpnt->lun); |
lun | 1799 | drivers/scsi/scsi.c | SCpnt->channel, SCpnt->target, SCpnt->lun); |
lun | 1811 | drivers/scsi/scsi.c | (int) SCpnt->target, (int) SCpnt->lun); |
lun | 2241 | drivers/scsi/scsi.c | SCpnt->lun = SDpnt->lun; |
lun | 2493 | drivers/scsi/scsi.c | && scd->lun != parameter[3]) { |
lun | 2992 | drivers/scsi/scsi.c | SCpnt->lun, |
lun | 127 | drivers/scsi/scsi.h | #define IDENTIFY(can_disconnect, lun) (IDENTIFY_BASE |\ |
lun | 129 | drivers/scsi/scsi.h | ((lun) & 0x07)) |
lun | 288 | drivers/scsi/scsi.h | unsigned char id, lun, channel; |
lun | 455 | drivers/scsi/scsi.h | unsigned char target, lun, channel; |
lun | 196 | drivers/scsi/scsi_debug.c | if(target>=1 || SCpnt->lun != 0) { |
lun | 150 | drivers/scsi/scsi_ioctl.c | dev->lun, |
lun | 245 | drivers/scsi/scsi_ioctl.c | cmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5); |
lun | 324 | drivers/scsi/scsi_ioctl.c | put_user(dev->id + (dev->lun << 8) + (dev->host->host_no << 16) + |
lun | 351 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 359 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 365 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 354 | drivers/scsi/scsi_proc.c | scd->channel, scd->id, scd->lun); |
lun | 367 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
lun | 795 | drivers/scsi/sd.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
lun | 922 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 951 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 989 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 1217 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
lun | 89 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, |
lun | 525 | drivers/scsi/seagate.c | current_lun = SCpnt->lun; |
lun | 566 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
lun | 580 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
lun | 585 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
lun | 1042 | drivers/scsi/seagate.c | hostno, target, lun); |
lun | 1336 | drivers/scsi/seagate.c | DATA = IDENTIFY(1, lun); |
lun | 1620 | drivers/scsi/seagate.c | cmd[1] = (disk->device->lun << 5) & 0xe5; |
lun | 440 | drivers/scsi/sg.c | cmnd[1]= (cmnd[1] & 0x1f) | (device->device->lun<<5); |
lun | 286 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun, |
lun | 672 | drivers/scsi/sr.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
lun | 906 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
lun | 961 | drivers/scsi/sr.c | cmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0; |
lun | 81 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
lun | 115 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 127 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 147 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 171 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 192 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 228 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 261 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
lun | 270 | 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) | 1; |
lun | 312 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 328 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 356 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
lun | 373 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 1984 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
lun | 234 | drivers/scsi/u14-34f.c | unsigned char lun: 3; /* logical unit number */ |
lun | 613 | drivers/scsi/u14-34f.c | cpp->lun = SCpnt->lun; |
lun | 939 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
lun | 998 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
lun | 185 | drivers/scsi/ultrastor.c | unsigned char lun: 3; /* logical unit number */ |
lun | 711 | drivers/scsi/ultrastor.c | my_mscp->lun = SCpnt->lun; |
lun | 901 | drivers/scsi/wd7000.c | idlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7); |