tag | line | file | source code |
lun | 835 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
lun | 853 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
lun | 1181 | drivers/scsi/NCR5380.c | tmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun); |
lun | 1217 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 1530 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 1572 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 1582 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 1595 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 1606 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 1608 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 1658 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 1674 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
lun | 1717 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 1795 | drivers/scsi/NCR5380.c | unsigned char lun, phase; |
lun | 1863 | drivers/scsi/NCR5380.c | lun = (msg[0] & 0x07); |
lun | 1872 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
lun | 1888 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun, tag); |
lun | 1891 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun); |
lun | 1912 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun, cmd->tag); |
lun | 377 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun ) |
lun | 382 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
lun | 718 | drivers/scsi/aha152x.c | SCpnt->lun, |
lun | 1365 | drivers/scsi/aha152x.c | message=IDENTIFY(can_disconnect,current_SC->lun); |
lun | 1368 | drivers/scsi/aha152x.c | can_disconnect ? "enabled" : "disabled", current_SC->lun); |
lun | 1399 | drivers/scsi/aha152x.c | if(message==IDENTIFY(can_disconnect,current_SC->lun)) |
lun | 2322 | drivers/scsi/aha152x.c | (unsigned long) ptr, ptr->target, ptr->lun); |
lun | 392 | drivers/scsi/aha1542.c | unchar lun = SCpnt->lun; |
lun | 523 | 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 | 644 | drivers/scsi/fdomain.c | SCinit.lun = 0; |
lun | 189 | drivers/scsi/scsi.c | int dev, lun, type; |
lun | 196 | drivers/scsi/scsi.c | lun = 0; |
lun | 211 | drivers/scsi/scsi.c | for (lun = 0; lun < 1; ++lun) |
lun | 213 | drivers/scsi/scsi.c | for (lun = 0; lun < 8; ++lun) |
lun | 218 | drivers/scsi/scsi.c | scsi_devices[NR_SCSI_DEVICES].lun = lun; |
lun | 228 | drivers/scsi/scsi.c | scsi_cmd[1] = lun << 5; |
lun | 234 | drivers/scsi/scsi.c | SCmd.lun = lun; |
lun | 250 | drivers/scsi/scsi.c | printk("scsi: scan SCSIS id %d lun %d\n", dev, lun); |
lun | 277 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
lun | 355 | drivers/scsi/scsi.c | shpnt->host_no , dev, lun); |
lun | 360 | drivers/scsi/scsi.c | shpnt->host_no , dev, lun); |
lun | 366 | drivers/scsi/scsi.c | shpnt->host_no , dev, lun); |
lun | 432 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
lun | 537 | drivers/scsi/scsi.c | SCpnt->lun == scsi_devices[index].lun) |
lun | 620 | drivers/scsi/scsi.c | SCpnt->lun == scsi_devices[index].lun) { |
lun | 638 | drivers/scsi/scsi.c | index, scsi_devices[index].id ,scsi_devices[index].lun); |
lun | 764 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
lun | 843 | drivers/scsi/scsi.c | SCpnt->lun = (SCpnt->data_cmnd[1] >> 5); |
lun | 1008 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->target, SCpnt->lun); |
lun | 1599 | drivers/scsi/scsi.c | SCpnt->lun = scsi_devices[i].lun; |
lun | 105 | drivers/scsi/scsi.h | #define IDENTIFY(can_disconnect, lun) (IDENTIFY_BASE |\ |
lun | 107 | drivers/scsi/scsi.h | ((lun) & 0x07)) |
lun | 260 | drivers/scsi/scsi.h | unsigned char id, lun, index; |
lun | 339 | drivers/scsi/scsi.h | unsigned char target, lun, index; |
lun | 157 | drivers/scsi/scsi_debug.c | if(target>=2 || SCpnt->lun != 0) { |
lun | 127 | drivers/scsi/scsi_ioctl.c | dev->lun, |
lun | 174 | drivers/scsi/scsi_ioctl.c | cmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5); |
lun | 243 | drivers/scsi/scsi_ioctl.c | put_fs_long(dev->id + (dev->lun << 8) + |
lun | 266 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 274 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 280 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 295 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
lun | 562 | drivers/scsi/sd.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
lun | 686 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 709 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 744 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 85 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, |
lun | 521 | drivers/scsi/seagate.c | current_lun = SCpnt->lun; |
lun | 562 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
lun | 576 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
lun | 581 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
lun | 1036 | drivers/scsi/seagate.c | hostno, target, lun); |
lun | 1330 | drivers/scsi/seagate.c | DATA = IDENTIFY(1, lun); |
lun | 1624 | drivers/scsi/seagate.c | cmd[1] = (disk->lun << 5) & 0xe5; |
lun | 268 | drivers/scsi/sg.c | cmnd[1]=(cmnd[1] & 0x1f) | (device->device->lun<<5); |
lun | 244 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun, |
lun | 400 | drivers/scsi/sr.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
lun | 653 | drivers/scsi/sr.c | cmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0; |
lun | 77 | 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 | 210 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 241 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
lun | 250 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
lun | 262 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
lun | 282 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 298 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 325 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
lun | 342 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 170 | drivers/scsi/ultrastor.c | unsigned char lun: 3; /* logical unit number */ |
lun | 702 | drivers/scsi/ultrastor.c | my_mscp->lun = SCpnt->lun; |
lun | 363 | drivers/scsi/wd7000.c | idlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7); |
lun | 585 | drivers/scsi/wd7000.c | printk("id %d lun %d cdb", SCpnt->target, SCpnt->lun); |