tag | line | file | source code |
lun | 2031 | drivers/scsi/53c7,8xx.c | dsa_temp_lun, c->lun); |
lun | 2186 | drivers/scsi/53c7,8xx.c | --hostdata->busy[c->target][c->lun]; |
lun | 2538 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d ", c->target, c->lun); |
lun | 2854 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, c->lun); |
lun | 3002 | drivers/scsi/53c7,8xx.c | event->lun = hostdata->reselected_identify & 0xf; |
lun | 3004 | drivers/scsi/53c7,8xx.c | event->lun = c->lun; |
lun | 3006 | drivers/scsi/53c7,8xx.c | event->lun = 255; |
lun | 3430 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun, (hostdata->cmd_allocated[cmd->target] & |
lun | 3431 | drivers/scsi/53c7,8xx.c | (1 << cmd->lun)) ? "already allocated" : "not allocated"); |
lun | 3439 | drivers/scsi/53c7,8xx.c | if (!(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun)) && |
lun | 3448 | drivers/scsi/53c7,8xx.c | hostdata->cmd_allocated[cmd->target] |= (1 << cmd->lun); |
lun | 3487 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->target, cmd->lun); |
lun | 3709 | drivers/scsi/53c7,8xx.c | IDENTIFY (1, cmd->lun) : IDENTIFY (0, cmd->lun); |
lun | 3890 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun))) |
lun | 3899 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
lun | 4001 | drivers/scsi/53c7,8xx.c | ++hostdata->busy[tmp->target][tmp->lun]; |
lun | 4058 | drivers/scsi/53c7,8xx.c | return hostdata->busy[cmd->target][cmd->lun]; |
lun | 4132 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->target, tmp->lun); |
lun | 4205 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 4243 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 4259 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
lun | 4466 | drivers/scsi/53c7,8xx.c | --hostdata->busy[tmp->target][tmp->lun]; |
lun | 4474 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
lun | 4537 | drivers/scsi/53c7,8xx.c | (int) cmd->cmd->lun); |
lun | 5579 | drivers/scsi/53c7,8xx.c | --hostdata->busy[cmd->target][cmd->lun]; |
lun | 5845 | drivers/scsi/53c7,8xx.c | cmd->result, cmd->target, cmd->lun); |
lun | 5901 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid, cmd->target, cmd->lun); |
lun | 6327 | drivers/scsi/53c7,8xx.c | event.target, event.lun); |
lun | 1049 | drivers/scsi/53c7,8xx.h | unsigned char lun; |
lun | 822 | drivers/scsi/AM53C974.c | cmd->cmnd[0], cmd->target, cmd->lun, cmd->request_bufflen, cmd->use_sg)); |
lun | 890 | drivers/scsi/AM53C974.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
lun | 1118 | drivers/scsi/AM53C974.c | hostdata->busy[hostdata->connected->target] |= (1 << hostdata->connected->lun); |
lun | 1190 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
lun | 1199 | drivers/scsi/AM53C974.c | cmd->lun, hostdata->disconnected_queue->SCp.this_residual)); |
lun | 1248 | drivers/scsi/AM53C974.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 1573 | drivers/scsi/AM53C974.c | instance->host_no, cmd->target, cmd->lun)); |
lun | 1578 | drivers/scsi/AM53C974.c | instance->host_no, cmd->target, cmd->lun); |
lun | 1594 | drivers/scsi/AM53C974.c | instance->host_no, cmd->target, cmd->lun)); |
lun | 1604 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
lun | 1654 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
lun | 1668 | drivers/scsi/AM53C974.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 1679 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
lun | 1688 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
lun | 1706 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
lun | 1800 | drivers/scsi/AM53C974.c | tmp[0] = IDENTIFY(1, cmd->lun); |
lun | 1873 | drivers/scsi/AM53C974.c | unsigned char cfifo, msg[3], lun, t, target = 0; |
lun | 1923 | drivers/scsi/AM53C974.c | lun = (msg[0] & 0x07); |
lun | 1936 | drivers/scsi/AM53C974.c | if ((target == tmp->target) && (lun == tmp->lun) |
lun | 1955 | drivers/scsi/AM53C974.c | instance->host_no, target, lun, tag); |
lun | 1958 | drivers/scsi/AM53C974.c | instance->host_no, target, lun); |
lun | 1974 | drivers/scsi/AM53C974.c | instance->host_no, target, tmp->lun, tmp->tag)); |
lun | 2398 | drivers/scsi/BusLogic.c | unsigned char LogicalUnit = Command->lun; |
lun | 866 | drivers/scsi/NCR5380.c | cmd->host->host_no, cmd->target, cmd->lun); |
lun | 1190 | drivers/scsi/NCR5380.c | printk("MAIN tmp=%p target=%d busy=%d lun=%d\n", tmp, tmp->target, hostdata->busy[tmp->target], tmp->lun); |
lun | 1193 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
lun | 1214 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
lun | 1716 | drivers/scsi/NCR5380.c | tmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun); |
lun | 1752 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 2467 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2509 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2519 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2531 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2548 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
lun | 2550 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 2627 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 2646 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
lun | 2755 | drivers/scsi/NCR5380.c | instance->host_no, tmp, cmd->target, cmd->lun); |
lun | 2758 | drivers/scsi/NCR5380.c | instance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun); |
lun | 2772 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 2853 | drivers/scsi/NCR5380.c | unsigned char lun, phase; |
lun | 2912 | drivers/scsi/NCR5380.c | lun = (msg[0] & 0x07); |
lun | 2932 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
lun | 2951 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun, tag); |
lun | 2954 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun); |
lun | 2970 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun, tmp->tag); |
lun | 694 | drivers/scsi/NCR53c406a.c | SCpnt->lun, |
lun | 1092 | drivers/scsi/advansys.c | #define ASC_TIDLUN_TO_IX( tid, lun ) ( ASC_SCSI_TIX_TYPE )( (tid) + ((lun)<<ASC_SCSI_ID_BITS) ) |
lun | 3716 | drivers/scsi/advansys.c | scsiq.q1.target_lun = scp->lun; |
lun | 3717 | drivers/scsi/advansys.c | scsiq.q2.target_ix = ASC_TIDLUN_TO_IX(scp->target, scp->lun); |
lun | 8428 | drivers/scsi/advansys.c | uchar tid_no, lun; |
lun | 8439 | drivers/scsi/advansys.c | lun = scsiq->r1.target_lun; |
lun | 8476 | drivers/scsi/advansys.c | AscDispInquiry(tid_no, lun, inq); |
lun | 8481 | drivers/scsi/advansys.c | if (lun == 0) { |
lun | 490 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC(Scsi_Cmnd **SC, int target, int lun) |
lun | 495 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
lun | 886 | drivers/scsi/aha152x.c | SCpnt->target, SCpnt->lun); |
lun | 1560 | drivers/scsi/aha152x.c | ADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)); |
lun | 1698 | drivers/scsi/aha152x.c | if(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)) |
lun | 2671 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
lun | 2760 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
lun | 2926 | drivers/scsi/aha152x.c | scd->channel, scd->id, scd->lun); |
lun | 516 | drivers/scsi/aha1542.c | unchar lun = SCpnt->lun; |
lun | 648 | 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 | 2108 | drivers/scsi/aic7xxx.c | scb->sense_cmd[1] = (cmd->lun << 5); |
lun | 2240 | drivers/scsi/aic7xxx.c | scsi_id, channel, cmd->lun & 0x07); |
lun | 2407 | drivers/scsi/aic7xxx.c | cmd->target, cmd->channel & 0x01, cmd->lun & 0x07); |
lun | 2568 | drivers/scsi/aic7xxx.c | sp = &p->stats[cmd->channel & 0x01][cmd->target & 0x0F][cmd->lun & 0x07]; |
lun | 4153 | drivers/scsi/aic7xxx.c | ((cmd->channel & 0x01) << 3) | (cmd->lun & 0x07); |
lun | 4250 | drivers/scsi/aic7xxx.c | cmd->lun & 0x07); |
lun | 200 | drivers/scsi/aic7xxx_proc.c | int channel, target, lun; |
lun | 211 | drivers/scsi/aic7xxx_proc.c | for (lun = 0; lun < 8; lun++) |
lun | 213 | drivers/scsi/aic7xxx_proc.c | sp = &p->stats[channel][target][lun]; |
lun | 219 | drivers/scsi/aic7xxx_proc.c | 'A' + channel, target, lun); |
lun | 368 | drivers/scsi/atari_NCR5380.c | int target, lun; |
lun | 375 | drivers/scsi/atari_NCR5380.c | for( lun = 0; lun < 8; ++lun ) { |
lun | 376 | drivers/scsi/atari_NCR5380.c | ta = &TagAlloc[target][lun]; |
lun | 400 | drivers/scsi/atari_NCR5380.c | if (hostdata->busy[cmd->target] & (1 << cmd->lun)) |
lun | 405 | drivers/scsi/atari_NCR5380.c | if (TagAlloc[cmd->target][cmd->lun].nr_allocated >= |
lun | 406 | drivers/scsi/atari_NCR5380.c | TagAlloc[cmd->target][cmd->lun].queue_size ) { |
lun | 409 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->target, cmd->lun ); |
lun | 432 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 435 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->target, cmd->lun ); |
lun | 439 | drivers/scsi/atari_NCR5380.c | TAG_ALLOC *ta = &TagAlloc[cmd->target][cmd->lun]; |
lun | 447 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->tag, cmd->target, cmd->lun, |
lun | 463 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 466 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->target, cmd->lun ); |
lun | 474 | drivers/scsi/atari_NCR5380.c | TAG_ALLOC *ta = &TagAlloc[cmd->target][cmd->lun]; |
lun | 479 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->tag, cmd->target, cmd->lun ); |
lun | 488 | drivers/scsi/atari_NCR5380.c | int target, lun; |
lun | 495 | drivers/scsi/atari_NCR5380.c | for( lun = 0; lun < 8; ++lun ) { |
lun | 496 | drivers/scsi/atari_NCR5380.c | ta = &TagAlloc[target][lun]; |
lun | 879 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->target, cmd->lun); |
lun | 1157 | drivers/scsi/atari_NCR5380.c | tmp->lun); |
lun | 1165 | drivers/scsi/atari_NCR5380.c | !(hostdata->busy[tmp->target] & (1 << tmp->lun)) |
lun | 1191 | drivers/scsi/atari_NCR5380.c | HOSTNO, tmp->target, tmp->lun); |
lun | 1794 | drivers/scsi/atari_NCR5380.c | tmp[0] = IDENTIFY(1, cmd->lun); |
lun | 1818 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 2228 | drivers/scsi/atari_NCR5380.c | "handshake\n", HOSTNO, cmd->target, cmd->lun); |
lun | 2281 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun); |
lun | 2294 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun); |
lun | 2308 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun); |
lun | 2326 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun); |
lun | 2337 | drivers/scsi/atari_NCR5380.c | TAG_ALLOC *ta = &TagAlloc[cmd->target][cmd->lun]; |
lun | 2341 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun, |
lun | 2349 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 2445 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 2450 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun ); |
lun | 2469 | drivers/scsi/atari_NCR5380.c | cmd->target, cmd->lun); |
lun | 2576 | drivers/scsi/atari_NCR5380.c | HOSTNO, tmp, cmd->target, cmd->lun); |
lun | 2581 | drivers/scsi/atari_NCR5380.c | cmd->target, cmd->lun); |
lun | 2599 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 2656 | drivers/scsi/atari_NCR5380.c | unsigned char lun, phase; |
lun | 2711 | drivers/scsi/atari_NCR5380.c | lun = (msg[0] & 0x07); |
lun | 2729 | drivers/scsi/atari_NCR5380.c | HOSTNO, target_mask, lun, tag ); |
lun | 2741 | drivers/scsi/atari_NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
lun | 2766 | drivers/scsi/atari_NCR5380.c | HOSTNO, target_mask, lun |
lun | 2785 | drivers/scsi/atari_NCR5380.c | HOSTNO, tmp->target, tmp->lun, tmp->tag); |
lun | 2971 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 569 | drivers/scsi/constants.c | cmd->lun); |
lun | 283 | drivers/scsi/eata.c | unchar lun:3, /* LUN */ |
lun | 688 | drivers/scsi/eata.c | cpp->lun = SCpnt->lun; |
lun | 1006 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
lun | 1064 | 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 | 223 | drivers/scsi/esp.c | static inline Scsi_Cmnd *remove_SC(Scsi_Cmnd **SC, int target, int lun) |
lun | 230 | drivers/scsi/esp.c | ptr && ((ptr->target != target) || (ptr->lun != lun)); |
lun | 1080 | drivers/scsi/fdomain.c | SCinit.lun = 0; |
lun | 597 | drivers/scsi/g_NCR5380.c | cmd->lun); |
lun | 522 | drivers/scsi/in2000.c | outb(SCpnt->lun & 7,INDATA); |
lun | 92 | drivers/scsi/scsi.c | static int scan_scsis_single (int channel,int dev,int lun,int * max_scsi_dev , |
lun | 410 | drivers/scsi/scsi.c | int dev, lun, channel; |
lun | 446 | drivers/scsi/scsi.c | lun = hlun; |
lun | 447 | drivers/scsi/scsi.c | if(lun >= shpnt->max_lun) goto leave; |
lun | 448 | drivers/scsi/scsi.c | scan_scsis_single (channel, dev, lun, &max_dev_lun, |
lun | 482 | drivers/scsi/scsi.c | for (lun = 0; lun < max_dev_lun; ++lun) { |
lun | 483 | drivers/scsi/scsi.c | if (!scan_scsis_single (channel, dev, lun, &max_dev_lun, |
lun | 526 | drivers/scsi/scsi.c | int scan_scsis_single (int channel, int dev, int lun, int *max_dev_lun, |
lun | 543 | drivers/scsi/scsi.c | SDpnt->lun = lun; |
lun | 558 | drivers/scsi/scsi.c | scsi_cmd[1] = lun << 5; |
lun | 564 | drivers/scsi/scsi.c | SCpnt->lun = SDpnt->lun; |
lun | 578 | drivers/scsi/scsi.c | dev, lun, SCpnt->result); |
lun | 589 | drivers/scsi/scsi.c | ((SCpnt->sense_buffer[2] & 0xf) != ILLEGAL_REQUEST || lun > 0)) |
lun | 603 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
lun | 752 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
lun | 910 | drivers/scsi/scsi.c | if (SCpnt->lun == device->lun) { |
lun | 983 | drivers/scsi/scsi.c | SCpnt->lun = device->lun; |
lun | 1041 | drivers/scsi/scsi.c | if (SCpnt->lun == device->lun) { |
lun | 1084 | drivers/scsi/scsi.c | device->id, device->lun); |
lun | 1094 | drivers/scsi/scsi.c | device->lun); |
lun | 1156 | drivers/scsi/scsi.c | SCpnt->lun = device->lun; |
lun | 1262 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
lun | 1344 | drivers/scsi/scsi.c | SCpnt->lun = (SCpnt->data_cmnd[1] >> 5); |
lun | 1476 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
lun | 1518 | drivers/scsi/scsi.c | SCpnt->lun); |
lun | 1862 | drivers/scsi/scsi.c | SCpnt->channel, SCpnt->target, SCpnt->lun); |
lun | 1874 | drivers/scsi/scsi.c | (int) SCpnt->target, (int) SCpnt->lun); |
lun | 2431 | drivers/scsi/scsi.c | SCpnt->lun = SDpnt->lun; |
lun | 2587 | drivers/scsi/scsi.c | int host, channel, id, lun; |
lun | 2653 | drivers/scsi/scsi.c | lun = simple_strtoul(p+1, &p, 0); |
lun | 2656 | drivers/scsi/scsi.c | id, lun); |
lun | 2661 | drivers/scsi/scsi.c | || scd->lun != lun)) { |
lun | 2672 | drivers/scsi/scsi.c | scan_scsis (HBA_ptr, 1, channel, id, lun); |
lun | 2694 | drivers/scsi/scsi.c | lun = simple_strtoul(p+1, &p, 0); |
lun | 2700 | drivers/scsi/scsi.c | && scd->lun == lun){ |
lun | 3310 | 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 | 363 | drivers/scsi/scsi.h | unsigned char target, lun, channel; |
lun | 194 | drivers/scsi/scsi_debug.c | if(target>=1 || SCpnt->lun != 0) { |
lun | 141 | drivers/scsi/scsi_ioctl.c | dev->lun, |
lun | 240 | drivers/scsi/scsi_ioctl.c | cmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5); |
lun | 318 | drivers/scsi/scsi_ioctl.c | + (dev->lun << 8) |
lun | 344 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 352 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
lun | 358 | 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 | 1204 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
lun | 1343 | 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 | 1655 | drivers/scsi/seagate.c | cmd[1] = (disk->device->lun << 5) & 0xe5; |
lun | 437 | drivers/scsi/sg.c | cmnd[1]= (cmnd[1] & 0x1f) | (device->device->lun<<5); |
lun | 511 | drivers/scsi/sg.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
lun | 283 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->lun, |
lun | 701 | drivers/scsi/sr.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
lun | 936 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
lun | 991 | 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 | 141 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 165 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 189 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
lun | 210 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5); |
lun | 246 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | |
lun | 283 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
lun | 292 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
lun | 301 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5); |
lun | 327 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
lun | 353 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 369 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 397 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
lun | 419 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
lun | 452 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
lun | 494 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5); |
lun | 249 | drivers/scsi/st.c | cmd[1] |= (SCpnt->lun << 5) & 0xe0; |
lun | 2534 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
lun | 248 | drivers/scsi/u14-34f.c | unsigned char lun: 3; /* logical unit number */ |
lun | 643 | drivers/scsi/u14-34f.c | cpp->lun = SCpnt->lun; |
lun | 970 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
lun | 1029 | 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 | 320 | drivers/scsi/wd33c93.c | if (!(hostdata->busy[cmd->target] & (1 << cmd->lun))) |
lun | 351 | drivers/scsi/wd33c93.c | write_wd33c93(regp, WD_TARGET_LUN, cmd->lun); |
lun | 354 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
lun | 541 | drivers/scsi/wd33c93.c | uchar asr, sr, phs, id, lun, *ucp, msg; |
lun | 593 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 624 | drivers/scsi/wd33c93.c | hostdata->outgoing_msg[0] = (0x80 | cmd->lun); |
lun | 626 | drivers/scsi/wd33c93.c | hostdata->outgoing_msg[0] = (0x80 | 0x40 | cmd->lun); |
lun | 834 | drivers/scsi/wd33c93.c | lun = read_wd33c93(regp, WD_TARGET_LUN); |
lun | 836 | drivers/scsi/wd33c93.c | cmd->SCp.Status = lun; |
lun | 842 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 909 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 951 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 961 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 984 | drivers/scsi/wd33c93.c | lun = read_wd33c93(regp, WD_DATA); |
lun | 987 | drivers/scsi/wd33c93.c | lun &= 7; |
lun | 994 | drivers/scsi/wd33c93.c | if (id == cmd->target && lun == cmd->lun) |
lun | 1003 | drivers/scsi/wd33c93.c | printk("---TROUBLE: target %d.%d not in disconnect queue---",id,lun); |
lun | 1218 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
lun | 908 | drivers/scsi/wd7000.c | idlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7); |