tag | line | file | source code |
target | 264 | drivers/block/cdu31a.c | int retval, target; |
target | 267 | drivers/block/cdu31a.c | target = MINOR(full_dev); |
target | 269 | drivers/block/cdu31a.c | if (target > 0) { |
target | 913 | drivers/block/hd.c | int target; |
target | 914 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
target | 916 | drivers/block/hd.c | while (busy[target]) |
target | 918 | drivers/block/hd.c | access_count[target]++; |
target | 928 | drivers/block/hd.c | int target; |
target | 931 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
target | 932 | drivers/block/hd.c | access_count[target]--; |
target | 1085 | drivers/block/hd.c | #define DEVICE_BUSY busy[target] |
target | 1086 | drivers/block/hd.c | #define USAGE access_count[target] |
target | 1087 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
target | 1103 | drivers/block/hd.c | int target, major; |
target | 1110 | drivers/block/hd.c | target = DEVICE_NR(dev); |
target | 1123 | drivers/block/hd.c | start = target << gdev->minor_shift; |
target | 1139 | drivers/block/hd.c | resetup_one_dev(gdev, target); |
target | 164 | drivers/block/mcd.c | int retval, target; |
target | 170 | drivers/block/mcd.c | target = MINOR(full_dev); |
target | 172 | drivers/block/mcd.c | if (target > 0) { |
target | 299 | drivers/block/xd.c | int target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition; |
target | 301 | drivers/block/xd.c | cli(); xd_valid[target] = (xd_access[target] != 1); sti(); |
target | 302 | drivers/block/xd.c | if (xd_valid[target]) |
target | 313 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
target | 314 | drivers/block/xd.c | resetup_one_dev(&xd_gendisk,target); |
target | 316 | drivers/block/xd.c | xd_valid[target] = 1; |
target | 1321 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, hostdata->sync[c->target].select_indirect); |
target | 1323 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
target | 1456 | drivers/scsi/53c7,8xx.c | static int asynchronous (struct Scsi_Host *host, int target) { |
target | 1463 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (hostdata->saved_scntl3 << 24) |
target | 1464 | drivers/scsi/53c7,8xx.c | | (target << 16); |
target | 1467 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (1 << (target & 7)) << 16; |
target | 1524 | drivers/scsi/53c7,8xx.c | static void synchronous (struct Scsi_Host *host, int target, char *msg) { |
target | 1554 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (scntl3 << 24) | (target << 16) | |
target | 1557 | drivers/scsi/53c7,8xx.c | script = hostdata->sync[target].script; |
target | 1611 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d", c->target, c->lun); |
target | 1635 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" : |
target | 1647 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, hostdata->msg_buf); |
target | 1655 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, hostdata->msg_buf); |
target | 1672 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, Hz / 1000000, Hz % 1000000, |
target | 1680 | drivers/scsi/53c7,8xx.c | host->host_no, c->target); |
target | 1733 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2413 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target]. |
target | 2591 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) || |
target | 2592 | drivers/scsi/53c7,8xx.c | cmd->target > 7) { |
target | 2594 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
target | 2662 | drivers/scsi/53c7,8xx.c | target_was_busy = hostdata->busy[cmd->target][cmd->lun] |
target | 2798 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 2831 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 2845 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 3031 | drivers/scsi/53c7,8xx.c | if (--hostdata->busy[tmp->target][tmp->lun]) { |
target | 3051 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
target | 3098 | 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 | 2007 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2047 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2057 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2071 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2084 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2086 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2158 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2176 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
target | 2282 | drivers/scsi/NCR5380.c | instance->host_no, tmp, cmd->target, cmd->lun); |
target | 2285 | drivers/scsi/NCR5380.c | instance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun); |
target | 2299 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2456 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
target | 2496 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun, tmp->tag); |
target | 406 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC( Scsi_Cmnd **SC, int target, int lun ) |
target | 411 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
target | 730 | drivers/scsi/aha152x.c | SCpnt->target, |
target | 879 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | current_SC->target ); |
target | 1139 | drivers/scsi/aha152x.c | int identify_msg, target, i; |
target | 1164 | drivers/scsi/aha152x.c | target=0; |
target | 1166 | drivers/scsi/aha152x.c | for( ; (i & 1)==0; target++, i>>=1) |
target | 1172 | drivers/scsi/aha152x.c | printk("SELID=%02x, target=%d, ", GETPORT(SELID), target ); |
target | 1174 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | target ); |
target | 1197 | drivers/scsi/aha152x.c | target, identify_msg); |
target | 1213 | drivers/scsi/aha152x.c | target, |
target | 1253 | drivers/scsi/aha152x.c | printk("selecting %d, ", current_SC->target); |
target | 1255 | drivers/scsi/aha152x.c | SETPORT( SCSIID, (this_host << OID_) | current_SC->target ); |
target | 2360 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
target | 475 | drivers/scsi/aha1542.c | unchar target = SCpnt->target; |
target | 488 | drivers/scsi/aha1542.c | DEB(if (target > 1) { |
target | 511 | drivers/scsi/aha1542.c | printk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 513 | drivers/scsi/aha1542.c | printk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 606 | drivers/scsi/aha1542.c | ccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/ |
target | 1068 | drivers/scsi/aha1542.c | printk("Sent BUS DEVICE RESET to target %d\n", SCpnt->target); |
target | 1076 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target) |
target | 1082 | drivers/scsi/aha1542.c | printk("Sending DID_RESET for target %d\n", SCpnt->target); |
target | 243 | drivers/scsi/aha1740.c | unchar target = SCpnt->target; |
target | 268 | drivers/scsi/aha1740.c | printk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 390 | drivers/scsi/aha1740.c | outb(ATTN_START | (target & 7), ATTN); /* Start it up */ |
target | 602 | drivers/scsi/buslogic.c | unsigned char target = scpnt->target; |
target | 611 | drivers/scsi/buslogic.c | if (target > 1) { |
target | 642 | drivers/scsi/buslogic.c | target, *cmd, i, bufflen); |
target | 751 | drivers/scsi/buslogic.c | ccb[mbo].id = target; |
target | 1317 | drivers/scsi/buslogic.c | scpnt->target); |
target | 1325 | drivers/scsi/buslogic.c | && HOSTDATA(scpnt->host)->sc[i]->target == scpnt->target) { |
target | 1331 | drivers/scsi/buslogic.c | printk("Sending DID_RESET for target %d\n", scpnt->target); |
target | 553 | drivers/scsi/constants.c | cmd->target, |
target | 701 | drivers/scsi/fdomain.c | SCinit.target = i; |
target | 797 | drivers/scsi/fdomain.c | static int fdomain_select( int target ) |
target | 804 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << target), SCSI_Data_NoACK_port ); |
target | 825 | drivers/scsi/fdomain.c | if (!target) printk( "Selection failed\n" ); |
target | 828 | drivers/scsi/fdomain.c | if (!target) printk( "Future Domain: Selection failed\n" ); |
target | 897 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port ); |
target | 909 | drivers/scsi/fdomain.c | if (fdomain_select( current_SC->target )) { |
target | 969 | drivers/scsi/fdomain.c | current_SC->target, current_SC->cmnd[0], |
target | 1283 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 1368 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 268 | drivers/scsi/scsi.c | SCmd.target = dev; |
target | 523 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int) |
target | 574 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
target | 660 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
target | 765 | drivers/scsi/scsi.c | "bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
target | 850 | drivers/scsi/scsi.c | int target = SCpnt->target; |
target | 853 | drivers/scsi/scsi.c | "command : " , host->host_no, target, buffer, bufflen, done, timeout, retries); |
target | 901 | drivers/scsi/scsi.c | SCpnt->target = target; |
target | 1049 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
target | 1079 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->target, SCpnt->lun); |
target | 1389 | drivers/scsi/scsi.c | " the bus was reset\n", SCpnt->target, SCpnt->lun); |
target | 1777 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 1897 | drivers/scsi/scsi.c | SCpnt->target, |
target | 422 | 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 | 171 | drivers/scsi/scsi_debug.c | DEB(if (target > 1) { SCpnt->result = DID_TIME_OUT << 16;done(SCpnt);return 0;}); |
target | 175 | drivers/scsi/scsi_debug.c | if(target>=1 || SCpnt->lun != 0) { |
target | 273 | drivers/scsi/scsi_debug.c | if(block == 0 && target == 0) { |
target | 314 | drivers/scsi/scsi_debug.c | memcpy(buff, &target, sizeof(target)); |
target | 315 | drivers/scsi/scsi_debug.c | memcpy(buff+sizeof(target), cmd, 24); |
target | 74 | drivers/scsi/sd.c | int target; |
target | 75 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
target | 77 | drivers/scsi/sd.c | if(target >= sd_template.dev_max || !rscsi_disks[target].device) |
target | 83 | drivers/scsi/sd.c | while (rscsi_disks[target].device->busy); |
target | 85 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
target | 88 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
target | 91 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count++; |
target | 97 | drivers/scsi/sd.c | int target; |
target | 100 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
target | 102 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count--; |
target | 104 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
target | 105 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
target | 755 | drivers/scsi/sd.c | int target; |
target | 759 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(full_dev)); |
target | 761 | drivers/scsi/sd.c | if (target >= sd_template.dev_max || |
target | 762 | drivers/scsi/sd.c | !rscsi_disks[target].device) { |
target | 767 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->removable) return 0; |
target | 777 | drivers/scsi/sd.c | rscsi_disks[target].device->changed = 1; |
target | 782 | drivers/scsi/sd.c | retval = rscsi_disks[target].device->changed; |
target | 783 | drivers/scsi/sd.c | if(!flag) rscsi_disks[target].device->changed = 0; |
target | 1095 | drivers/scsi/sd.c | #define DEVICE_BUSY rscsi_disks[target].device->busy |
target | 1096 | drivers/scsi/sd.c | #define USAGE rscsi_disks[target].device->access_count |
target | 1097 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
target | 1098 | drivers/scsi/sd.c | #define MAYBE_REINIT sd_init_onedisk(target) |
target | 1109 | drivers/scsi/sd.c | int target, major; |
target | 1115 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(dev)); |
target | 1128 | drivers/scsi/sd.c | start = target << gdev->minor_shift; |
target | 1144 | drivers/scsi/sd.c | resetup_one_dev(gdev, target); |
target | 83 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, |
target | 512 | drivers/scsi/seagate.c | current_target = SCpnt->target; |
target | 554 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
target | 568 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
target | 573 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
target | 614 | drivers/scsi/seagate.c | printk ("scsi%d : target = %d, command = ", hostno, target); |
target | 642 | drivers/scsi/seagate.c | if (target == (controller_type == SEAGATE ? 7 : 6)) |
target | 838 | drivers/scsi/seagate.c | DATA = (unsigned char) ((1 << target) | (controller_type == SEAGATE ? 0x80 : 0x40)); |
target | 865 | drivers/scsi/seagate.c | hostno, target, STATUS); |
target | 1030 | drivers/scsi/seagate.c | hostno, target, lun); |
target | 1345 | drivers/scsi/seagate.c | printk("scsi%d : target %d requested MSGOUT, sent NOP message.\n", hostno, target); |
target | 1418 | drivers/scsi/seagate.c | hostno, target, message & 7); |
target | 1430 | drivers/scsi/seagate.c | hostno, message, target); |
target | 93 | drivers/scsi/sr.c | int retval, target; |
target | 97 | drivers/scsi/sr.c | target = MINOR(full_dev); |
target | 99 | drivers/scsi/sr.c | if (target >= sr_template.nr_dev) { |
target | 112 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 1; |
target | 117 | drivers/scsi/sr.c | retval = scsi_CDs[target].device->changed; |
target | 119 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 0; |
target | 122 | drivers/scsi/sr.c | if (retval) scsi_CDs[target].needs_sector_size = 1; |
target | 37 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
target | 42 | drivers/scsi/sr_ioctl.c | SCpnt = allocate_device(NULL, scsi_CDs[target].device, 1); |
target | 62 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->changed = 1; |
target | 73 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->host->host_no, |
target | 74 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
target | 75 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
target | 96 | drivers/scsi/sr_ioctl.c | int result, target, err; |
target | 98 | drivers/scsi/sr_ioctl.c | target = MINOR(dev); |
target | 100 | drivers/scsi/sr_ioctl.c | if (target >= sr_template.nr_dev || |
target | 101 | drivers/scsi/sr_ioctl.c | !scsi_CDs[target].device) return -ENXIO; |
target | 109 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 115 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 121 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 127 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 137 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 147 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 157 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 167 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 178 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 188 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
target | 212 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 222 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
target | 245 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 249 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 254 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 258 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 262 | drivers/scsi/sr_ioctl.c | if (scsi_CDs[target].device -> access_count == 1) |
target | 266 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
target | 270 | drivers/scsi/sr_ioctl.c | if (!(result = do_ioctl(target, sr_cmd, NULL, 255))) |
target | 271 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device -> changed = 1; |
target | 286 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 295 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
target | 302 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 314 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, mask, 28))) { |
target | 330 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
target | 335 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
target | 347 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 359 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
target | 396 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
target | 701 | drivers/scsi/ultrastor.c | my_mscp->target_id = SCpnt->target; |
target | 904 | 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])) |