tag | line | file | source code |
target | 893 | drivers/block/hd.c | int target; |
target | 894 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
target | 896 | drivers/block/hd.c | if (target >= NR_HD) |
target | 898 | drivers/block/hd.c | while (busy[target]) |
target | 900 | drivers/block/hd.c | access_count[target]++; |
target | 910 | drivers/block/hd.c | int target; |
target | 913 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
target | 914 | drivers/block/hd.c | access_count[target]--; |
target | 1062 | drivers/block/hd.c | #define DEVICE_BUSY busy[target] |
target | 1063 | drivers/block/hd.c | #define USAGE access_count[target] |
target | 1064 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
target | 1080 | drivers/block/hd.c | int target, major; |
target | 1087 | drivers/block/hd.c | target = DEVICE_NR(dev); |
target | 1100 | drivers/block/hd.c | start = target << gdev->minor_shift; |
target | 1116 | drivers/block/hd.c | resetup_one_dev(gdev, target); |
target | 165 | drivers/block/mcd.c | int retval, target; |
target | 171 | drivers/block/mcd.c | target = MINOR(full_dev); |
target | 173 | drivers/block/mcd.c | if (target > 0) { |
target | 300 | drivers/block/xd.c | int target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition; |
target | 302 | drivers/block/xd.c | cli(); xd_valid[target] = (xd_access[target] != 1); sti(); |
target | 303 | drivers/block/xd.c | if (xd_valid[target]) |
target | 314 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
target | 315 | drivers/block/xd.c | resetup_one_dev(&xd_gendisk,target); |
target | 317 | drivers/block/xd.c | xd_valid[target] = 1; |
target | 1342 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, hostdata->sync[c->target].select_indirect); |
target | 1344 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
target | 1477 | drivers/scsi/53c7,8xx.c | static int asynchronous (struct Scsi_Host *host, int target) { |
target | 1484 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (hostdata->saved_scntl3 << 24) |
target | 1485 | drivers/scsi/53c7,8xx.c | | (target << 16); |
target | 1488 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (1 << (target & 7)) << 16; |
target | 1545 | drivers/scsi/53c7,8xx.c | static void synchronous (struct Scsi_Host *host, int target, char *msg) { |
target | 1575 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (scntl3 << 24) | (target << 16) | |
target | 1578 | drivers/scsi/53c7,8xx.c | script = hostdata->sync[target].script; |
target | 1632 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d", c->target, c->lun); |
target | 1656 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" : |
target | 1668 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, hostdata->msg_buf); |
target | 1676 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, hostdata->msg_buf); |
target | 1693 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, Hz / 1000000, Hz % 1000000, |
target | 1701 | drivers/scsi/53c7,8xx.c | host->host_no, c->target); |
target | 1754 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2434 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target]. |
target | 2612 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) || |
target | 2613 | drivers/scsi/53c7,8xx.c | cmd->target > 7) { |
target | 2615 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
target | 2683 | drivers/scsi/53c7,8xx.c | target_was_busy = hostdata->busy[cmd->target][cmd->lun] |
target | 2819 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 2852 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 2866 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 3052 | drivers/scsi/53c7,8xx.c | if (--hostdata->busy[tmp->target][tmp->lun]) { |
target | 3072 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
target | 3119 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
target | 952 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
target | 970 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
target | 1278 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target))); |
target | 1317 | drivers/scsi/NCR5380.c | printk("scsi%d : selecting target %d\n", instance->host_no, cmd->target); |
target | 1350 | drivers/scsi/NCR5380.c | if (hostdata->targets_present & (1 << cmd->target)) { |
target | 1371 | drivers/scsi/NCR5380.c | hostdata->targets_present |= (1 << cmd->target); |
target | 1393 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target); |
target | 1431 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2010 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2050 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2060 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2074 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2087 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2089 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2161 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2179 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
target | 2285 | drivers/scsi/NCR5380.c | instance->host_no, tmp, cmd->target, cmd->lun); |
target | 2288 | drivers/scsi/NCR5380.c | instance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun); |
target | 2302 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2459 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
target | 2499 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun, tmp->tag); |
target | 442 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun ) |
target | 447 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
target | 793 | drivers/scsi/aha152x.c | printk( "SCpnt (target = %d lun = %d cmnd = ", SCpnt->target, SCpnt->lun); |
target | 953 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | current_SC->target ); |
target | 1242 | drivers/scsi/aha152x.c | int identify_msg, target, i; |
target | 1270 | drivers/scsi/aha152x.c | target=0; |
target | 1272 | drivers/scsi/aha152x.c | for( ; (i & 1)==0; target++, i>>=1) |
target | 1279 | drivers/scsi/aha152x.c | printk("SELID=%02x, target=%d, ", GETPORT(SELID), target ); |
target | 1281 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | target ); |
target | 1304 | drivers/scsi/aha152x.c | target, identify_msg); |
target | 1324 | drivers/scsi/aha152x.c | target, |
target | 1368 | drivers/scsi/aha152x.c | printk("selecting %d, ", current_SC->target); |
target | 1370 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | current_SC->target ); |
target | 2547 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
target | 511 | drivers/scsi/aha1542.c | unchar target = SCpnt->target; |
target | 525 | drivers/scsi/aha1542.c | DEB(if (target > 1) { |
target | 548 | drivers/scsi/aha1542.c | printk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 550 | drivers/scsi/aha1542.c | printk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 644 | drivers/scsi/aha1542.c | ccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/ |
target | 1191 | drivers/scsi/aha1542.c | printk("Sent BUS DEVICE RESET to target %d\n", SCpnt->target); |
target | 1199 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target) |
target | 1205 | drivers/scsi/aha1542.c | printk("Sending DID_RESET for target %d\n", SCpnt->target); |
target | 249 | drivers/scsi/aha1740.c | unchar target = SCpnt->target; |
target | 275 | drivers/scsi/aha1740.c | printk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 399 | drivers/scsi/aha1740.c | outb(ATTN_START | (target & 7), ATTN); /* Start it up */ |
target | 289 | drivers/scsi/aha274x.c | int target = inb(O_SCSIID(base)) >> 4; |
target | 293 | drivers/scsi/aha274x.c | target, |
target | 297 | drivers/scsi/aha274x.c | target); |
target | 561 | drivers/scsi/aha274x.c | cmd->target, |
target | 648 | drivers/scsi/aha274x.c | cmd->target, cmd->underflow, actual); |
target | 1071 | drivers/scsi/aha274x.c | scb->target_channel_lun = ((cmd->target << 4) & 0xf0) | |
target | 1159 | drivers/scsi/aha274x.c | cmd->target, |
target | 1406 | drivers/scsi/aha274x.c | outb((1 << cmd->target), HA_NEEDSDTR(p->base)); |
target | 602 | drivers/scsi/buslogic.c | unsigned char target = scpnt->target; |
target | 613 | drivers/scsi/buslogic.c | if (target > 1) { |
target | 643 | drivers/scsi/buslogic.c | target, *cmd, i, bufflen); |
target | 758 | drivers/scsi/buslogic.c | ccb[mbo].id = target; |
target | 1490 | drivers/scsi/buslogic.c | scpnt->target); |
target | 1498 | drivers/scsi/buslogic.c | && HOSTDATA(scpnt->host)->sc[i]->target == scpnt->target) { |
target | 1505 | drivers/scsi/buslogic.c | scpnt->target); |
target | 553 | drivers/scsi/constants.c | cmd->target, |
target | 269 | drivers/scsi/eata.c | unchar target; /* SCSI Target ID */ |
target | 659 | drivers/scsi/eata.c | BN(j), i, SCpnt->target, SCpnt->pid); |
target | 671 | drivers/scsi/eata.c | cpp->target = SCpnt->target; |
target | 693 | drivers/scsi/eata.c | BN(j), SCpnt->target, SCpnt->pid); |
target | 713 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
target | 719 | drivers/scsi/eata.c | BN(j), i, SCarg->target, SCarg->pid); |
target | 771 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
target | 971 | drivers/scsi/eata.c | && HD(j)->target_reset[SCpnt->target]) |
target | 984 | drivers/scsi/eata.c | HD(j)->target_reset[SCpnt->target] = FALSE; |
target | 989 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
target | 992 | drivers/scsi/eata.c | HD(j)->target_time_out[SCpnt->target] = 0; |
target | 998 | drivers/scsi/eata.c | if (HD(j)->target_time_out[SCpnt->target] > 1) |
target | 1002 | drivers/scsi/eata.c | HD(j)->target_time_out[SCpnt->target]++; |
target | 1047 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
target | 182 | drivers/scsi/eata_dma.c | irq, base, cmd->pid, cmd->target, cmd->lun, |
target | 189 | drivers/scsi/eata_dma.c | && (HD(cmd)->t_state[cmd->target] == RESET)) |
target | 194 | drivers/scsi/eata_dma.c | HD(cmd)->t_state[cmd->target] = FALSE; |
target | 195 | drivers/scsi/eata_dma.c | HD(cmd)->t_timeout[cmd->target] = 0; |
target | 201 | drivers/scsi/eata_dma.c | if (HD(cmd)->t_timeout[cmd->target] > 1) |
target | 205 | drivers/scsi/eata_dma.c | HD(cmd)->t_timeout[cmd->target]++; |
target | 328 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
target | 375 | drivers/scsi/eata_dma.c | cp->cp_id = cmd->target; |
target | 390 | drivers/scsi/eata_dma.c | cmd->target, cmd->pid); |
target | 396 | drivers/scsi/eata_dma.c | (long)sh->base, cmd->pid, cmd->target, cmd->lun, y, sh->irq)); |
target | 432 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, cmd->abort_reason)); |
target | 480 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, cmd->abort_reason)); |
target | 750 | drivers/scsi/fdomain.c | SCinit.target = i; |
target | 845 | drivers/scsi/fdomain.c | static int fdomain_select( int target ) |
target | 853 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << target), SCSI_Data_NoACK_port ); |
target | 872 | drivers/scsi/fdomain.c | if (!target) printk( "Selection failed\n" ); |
target | 875 | drivers/scsi/fdomain.c | if (!target) { |
target | 955 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port ); |
target | 967 | drivers/scsi/fdomain.c | if (fdomain_select( current_SC->target )) { |
target | 1026 | drivers/scsi/fdomain.c | current_SC->target, |
target | 1340 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 1430 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 413 | drivers/scsi/in2000.c | unchar target = SCpnt->target; |
target | 518 | drivers/scsi/in2000.c | outb(target&7,INDATA); |
target | 316 | drivers/scsi/qlogic.c | outb(cmd->target, qbase + 4); |
target | 474 | drivers/scsi/qlogic.c | if (cmd->target == qinitid) |
target | 488 | drivers/scsi/qlogic.c | if(cmd->target == qinitid) { |
target | 357 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 701 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
target | 790 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
target | 901 | drivers/scsi/scsi.c | "bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
target | 990 | drivers/scsi/scsi.c | int target = SCpnt->target; |
target | 993 | drivers/scsi/scsi.c | "command : " , host->host_no, target, buffer, bufflen, done, timeout, retries); |
target | 1040 | drivers/scsi/scsi.c | SCpnt->target = target; |
target | 1188 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
target | 1225 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->target, SCpnt->lun); |
target | 1565 | drivers/scsi/scsi.c | " the bus was reset\n", SCpnt->target, SCpnt->lun); |
target | 1575 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int) |
target | 2024 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 2224 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 2506 | drivers/scsi/scsi.c | SCpnt->target, |
target | 435 | drivers/scsi/scsi.h | unsigned char target, lun; |
target | 79 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){ \ |
target | 80 | drivers/scsi/scsi_debug.c | printk("Dev #s %x %x ",SCpnt->request.dev, target); \ |
target | 165 | drivers/scsi/scsi_debug.c | int target = SCpnt->target; |
target | 172 | drivers/scsi/scsi_debug.c | DEB(if (target > 1) { SCpnt->result = DID_TIME_OUT << 16;done(SCpnt);return 0;}); |
target | 176 | drivers/scsi/scsi_debug.c | if(target>=1 || SCpnt->lun != 0) { |
target | 274 | drivers/scsi/scsi_debug.c | if(block == 0 && target == 0) { |
target | 315 | drivers/scsi/scsi_debug.c | memcpy(buff, &target, sizeof(target)); |
target | 316 | drivers/scsi/scsi_debug.c | memcpy(buff+sizeof(target), cmd, 24); |
target | 83 | drivers/scsi/sd.c | int target; |
target | 84 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
target | 86 | drivers/scsi/sd.c | if(target >= sd_template.dev_max || !rscsi_disks[target].device) |
target | 92 | drivers/scsi/sd.c | while (rscsi_disks[target].device->busy); |
target | 94 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
target | 97 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
target | 107 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count++; |
target | 108 | drivers/scsi/sd.c | if (rscsi_disks[target].device->host->hostt->usage_count) |
target | 109 | drivers/scsi/sd.c | (*rscsi_disks[target].device->host->hostt->usage_count)++; |
target | 115 | drivers/scsi/sd.c | int target; |
target | 118 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
target | 120 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count--; |
target | 121 | drivers/scsi/sd.c | if (rscsi_disks[target].device->host->hostt->usage_count) |
target | 122 | drivers/scsi/sd.c | (*rscsi_disks[target].device->host->hostt->usage_count)--; |
target | 124 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
target | 125 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
target | 808 | drivers/scsi/sd.c | int target; |
target | 812 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(full_dev)); |
target | 814 | drivers/scsi/sd.c | if (target >= sd_template.dev_max || |
target | 815 | drivers/scsi/sd.c | !rscsi_disks[target].device) { |
target | 820 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->removable) return 0; |
target | 830 | drivers/scsi/sd.c | rscsi_disks[target].device->changed = 1; |
target | 835 | drivers/scsi/sd.c | retval = rscsi_disks[target].device->changed; |
target | 836 | drivers/scsi/sd.c | if(!flag) rscsi_disks[target].device->changed = 0; |
target | 1186 | drivers/scsi/sd.c | #define DEVICE_BUSY rscsi_disks[target].device->busy |
target | 1187 | drivers/scsi/sd.c | #define USAGE rscsi_disks[target].device->access_count |
target | 1188 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
target | 1189 | drivers/scsi/sd.c | #define MAYBE_REINIT sd_init_onedisk(target) |
target | 1200 | drivers/scsi/sd.c | int target, major; |
target | 1207 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(dev)); |
target | 1221 | drivers/scsi/sd.c | start = target << gdev->minor_shift; |
target | 1237 | drivers/scsi/sd.c | resetup_one_dev(gdev, target); |
target | 85 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, |
target | 520 | drivers/scsi/seagate.c | current_target = SCpnt->target; |
target | 562 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
target | 576 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
target | 581 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
target | 622 | drivers/scsi/seagate.c | printk ("scsi%d : target = %d, command = ", hostno, target); |
target | 650 | drivers/scsi/seagate.c | if (target == (controller_type == SEAGATE ? 7 : 6)) |
target | 846 | drivers/scsi/seagate.c | DATA = (unsigned char) ((1 << target) | (controller_type == SEAGATE ? 0x80 : 0x40)); |
target | 873 | drivers/scsi/seagate.c | hostno, target, STATUS); |
target | 1038 | drivers/scsi/seagate.c | hostno, target, lun); |
target | 1353 | drivers/scsi/seagate.c | printk("scsi%d : target %d requested MSGOUT, sent NOP message.\n", hostno, target); |
target | 1426 | drivers/scsi/seagate.c | hostno, target, message & 7); |
target | 1438 | drivers/scsi/seagate.c | hostno, message, target); |
target | 101 | drivers/scsi/sr.c | int retval, target; |
target | 105 | drivers/scsi/sr.c | target = MINOR(full_dev); |
target | 107 | drivers/scsi/sr.c | if (target >= sr_template.nr_dev) { |
target | 120 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 1; |
target | 125 | drivers/scsi/sr.c | retval = scsi_CDs[target].device->changed; |
target | 127 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 0; |
target | 130 | drivers/scsi/sr.c | if (retval) scsi_CDs[target].needs_sector_size = 1; |
target | 39 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
target | 44 | drivers/scsi/sr_ioctl.c | SCpnt = allocate_device(NULL, scsi_CDs[target].device, 1); |
target | 64 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->changed = 1; |
target | 75 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->host->host_no, |
target | 76 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
target | 77 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
target | 98 | drivers/scsi/sr_ioctl.c | int result, target, err; |
target | 100 | drivers/scsi/sr_ioctl.c | target = MINOR(dev); |
target | 102 | drivers/scsi/sr_ioctl.c | if (target >= sr_template.nr_dev || |
target | 103 | drivers/scsi/sr_ioctl.c | !scsi_CDs[target].device) return -ENXIO; |
target | 111 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 117 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 123 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 129 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 139 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 149 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 159 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 169 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 180 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 190 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
target | 214 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 224 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
target | 247 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 251 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 256 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 260 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 264 | drivers/scsi/sr_ioctl.c | if (scsi_CDs[target].device -> access_count == 1) |
target | 268 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
target | 272 | drivers/scsi/sr_ioctl.c | if (!(result = do_ioctl(target, sr_cmd, NULL, 255))) |
target | 273 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device -> changed = 1; |
target | 288 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 297 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
target | 304 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 316 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, mask, 28))) { |
target | 332 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
target | 337 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
target | 349 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 361 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
target | 403 | drivers/scsi/sr_ioctl.c | lba = scsi_CDs[target].mpcd_sector+CD_BLOCK_OFFSET; |
target | 409 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
target | 412 | drivers/scsi/sr_ioctl.c | ms_info.xa_flag=scsi_CDs[target].xa_flags & 0x01; |
target | 430 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
target | 223 | drivers/scsi/u14-34f.c | unsigned char target: 3; /* target SCSI id */ |
target | 594 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->target, SCpnt->pid); |
target | 598 | drivers/scsi/u14-34f.c | cpp->target = SCpnt->target; |
target | 620 | drivers/scsi/u14-34f.c | BN(j), SCpnt->target, SCpnt->pid); |
target | 646 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
target | 652 | drivers/scsi/u14-34f.c | BN(j), i, SCarg->target, SCarg->pid); |
target | 704 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
target | 907 | drivers/scsi/u14-34f.c | && HD(j)->target_reset[SCpnt->target]) |
target | 920 | drivers/scsi/u14-34f.c | HD(j)->target_reset[SCpnt->target] = FALSE; |
target | 925 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
target | 928 | drivers/scsi/u14-34f.c | HD(j)->target_time_out[SCpnt->target] = 0; |
target | 933 | drivers/scsi/u14-34f.c | if (HD(j)->target_time_out[SCpnt->target] > 1) |
target | 937 | drivers/scsi/u14-34f.c | HD(j)->target_time_out[SCpnt->target]++; |
target | 984 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
target | 705 | drivers/scsi/ultrastor.c | my_mscp->target_id = SCpnt->target; |
target | 897 | drivers/scsi/wd7000.c | idlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7); |
target | 1015 | drivers/sound/gus_wave.c | int current, target, rate; |
target | 1029 | drivers/sound/gus_wave.c | target = voices[voice].initial_volume; |
target | 1034 | drivers/sound/gus_wave.c | gus_voice_volume (target); |
target | 1045 | drivers/sound/gus_wave.c | if ((target - current) / 64 == 0) /* Close enough to target. */ |
target | 1048 | drivers/sound/gus_wave.c | gus_voice_volume (target); |
target | 1053 | drivers/sound/gus_wave.c | if (target > current) |
target | 1055 | drivers/sound/gus_wave.c | if (target > (4095 - 65)) |
target | 1056 | drivers/sound/gus_wave.c | target = 4095 - 65; |
target | 1057 | drivers/sound/gus_wave.c | gus_ramp_range (current, target); |
target | 1062 | drivers/sound/gus_wave.c | if (target < 65) |
target | 1063 | drivers/sound/gus_wave.c | target = 65; |
target | 1065 | drivers/sound/gus_wave.c | gus_ramp_range (target, current); |
target | 1479 | drivers/sound/gus_wave.c | unsigned long blk_size, blk_end, left, src_offs, target; |
target | 1601 | drivers/sound/gus_wave.c | target = free_mem_ptr; |
target | 1612 | drivers/sound/gus_wave.c | blk_end = target + blk_size; |
target | 1614 | drivers/sound/gus_wave.c | if ((target >> 18) != (blk_end >> 18)) |
target | 1618 | drivers/sound/gus_wave.c | blk_size = blk_end - target; |
target | 1636 | drivers/sound/gus_wave.c | gus_poke (target + i, data); |
target | 1663 | drivers/sound/gus_wave.c | address = target; |
target | 1707 | drivers/sound/gus_wave.c | target += blk_size; |
target | 60 | drivers/sound/os.h | #define GET_BYTE_FROM_USER(target, addr, offs) target = get_fs_byte(&((addr)[offs])) |
target | 61 | drivers/sound/os.h | #define GET_SHORT_FROM_USER(target, addr, offs) target = get_fs_word(&((addr)[offs])) |
target | 62 | drivers/sound/os.h | #define GET_WORD_FROM_USER(target, addr, offs) target = get_fs_long((long*)&((addr)[offs])) |