tag | line | file | source code |
target | 935 | arch/i386/kernel/smp.c | void smp_message_pass(int target, int msg, unsigned long data, int wait) |
target | 1028 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(target)); /* Target chip */ |
target | 1037 | arch/i386/kernel/smp.c | if(target==MSG_ALL_BUT_SELF) |
target | 1043 | arch/i386/kernel/smp.c | else if(target==MSG_ALL) |
target | 1051 | arch/i386/kernel/smp.c | target_map=(1<<target); |
target | 55 | arch/sparc/kernel/smp.c | void smp_message_pass(int target, int msg, unsigned long data, int wait) |
target | 82 | arch/sparc/kernel/smp.c | if(target == MSG_ALL_BUT_SELF) { |
target | 85 | arch/sparc/kernel/smp.c | } else if(target == MSG_ALL) { |
target | 89 | arch/sparc/kernel/smp.c | target_map = (1<<target); |
target | 892 | drivers/block/hd.c | int target; |
target | 893 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
target | 895 | drivers/block/hd.c | if (target >= NR_HD) |
target | 897 | drivers/block/hd.c | while (busy[target]) |
target | 899 | drivers/block/hd.c | access_count[target]++; |
target | 909 | drivers/block/hd.c | int target; |
target | 912 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
target | 913 | drivers/block/hd.c | access_count[target]--; |
target | 1064 | drivers/block/hd.c | #define DEVICE_BUSY busy[target] |
target | 1065 | drivers/block/hd.c | #define USAGE access_count[target] |
target | 1066 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
target | 1082 | drivers/block/hd.c | int target; |
target | 1089 | drivers/block/hd.c | target = DEVICE_NR(dev); |
target | 1102 | drivers/block/hd.c | start = target << gdev->minor_shift; |
target | 1119 | drivers/block/hd.c | resetup_one_dev(gdev, target); |
target | 306 | drivers/block/xd.c | int target = DEVICE_NR(dev); |
target | 307 | drivers/block/xd.c | int start = target << xd_gendisk.minor_shift; |
target | 310 | drivers/block/xd.c | cli(); xd_valid[target] = (xd_access[target] != 1); sti(); |
target | 311 | drivers/block/xd.c | if (xd_valid[target]) |
target | 324 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
target | 325 | drivers/block/xd.c | resetup_one_dev(&xd_gendisk,target); |
target | 327 | drivers/block/xd.c | xd_valid[target] = 1; |
target | 174 | drivers/cdrom/gscd.c | int target; |
target | 177 | drivers/cdrom/gscd.c | target = MINOR(full_dev); |
target | 179 | drivers/cdrom/gscd.c | if (target > 0) |
target | 211 | drivers/cdrom/mcd.c | int retval, target; |
target | 217 | drivers/cdrom/mcd.c | target = MINOR(full_dev); |
target | 219 | drivers/cdrom/mcd.c | if (target > 0) { |
target | 554 | drivers/char/ftape/ftape-rw.c | int target = segment_id - margin; |
target | 570 | drivers/char/ftape/ftape-rw.c | count = target - location.segment - overshoot; |
target | 648 | drivers/char/ftape/ftape-rw.c | int target = segment_id - margin; |
target | 670 | drivers/char/ftape/ftape-rw.c | if (location.segment - target - (min_rewind - 1) < 1) { |
target | 673 | drivers/char/ftape/ftape-rw.c | count = location.segment - target - overshoot; |
target | 683 | drivers/char/ftape/ftape-rw.c | expected = target; |
target | 837 | drivers/net/eql.c | slave_t *target; |
target | 839 | drivers/net/eql.c | target = eql_find_slave_dev (queue, dev); |
target | 841 | drivers/net/eql.c | if (target != 0) |
target | 846 | drivers/net/eql.c | while (curr != target) |
target | 133 | drivers/net/new_tunnel.c | __u32 target; /* The other host's IP address */ |
target | 182 | drivers/net/new_tunnel.c | target = rt->rt_gateway; |
target | 184 | drivers/net/new_tunnel.c | target = dev->pa_dstaddr; |
target | 186 | drivers/net/new_tunnel.c | if ( ! target ) |
target | 198 | drivers/net/new_tunnel.c | if ((rt = ip_rt_route(target, 0)) == NULL) |
target | 282 | drivers/net/new_tunnel.c | iph->daddr = target; |
target | 302 | drivers/net/new_tunnel.c | if (ip_forward(skb, dev, 0, target) == 1) |
target | 267 | drivers/scsi/53c7,8xx.c | static void set_synchronous (struct Scsi_Host *host, int target, int sxfer, |
target | 693 | drivers/scsi/53c7,8xx.c | request_synchronous (int host, int target) { |
target | 697 | drivers/scsi/53c7,8xx.c | if (target < 0) { |
target | 698 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "target %d is bogus\n", target); |
target | 703 | drivers/scsi/53c7,8xx.c | else if (h->this_id == target) { |
target | 704 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "target %d is host ID\n", target); |
target | 708 | drivers/scsi/53c7,8xx.c | else if (target > h->max_id) { |
target | 709 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "target %d exceeds maximum of %d\n", target, |
target | 718 | drivers/scsi/53c7,8xx.c | if (hostdata->initiate_sdtr & (1 << target)) { |
target | 720 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "target %d allready doing SDTR\n", target); |
target | 723 | drivers/scsi/53c7,8xx.c | hostdata->initiate_sdtr |= (1 << target); |
target | 2018 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, virt_to_bus((void *)hostdata->sync[c->target].script)); |
target | 2020 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
target | 2166 | drivers/scsi/53c7,8xx.c | --hostdata->busy[c->target][c->lun]; |
target | 2277 | drivers/scsi/53c7,8xx.c | set_synchronous (struct Scsi_Host *host, int target, int sxfer, int scntl3, |
target | 2289 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].sxfer_sanity = sxfer; |
target | 2290 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].scntl3_sanity = scntl3; |
target | 2298 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (scntl3 << 24) | |
target | 2299 | drivers/scsi/53c7,8xx.c | (target << 16) | (sxfer << 8); |
target | 2301 | drivers/scsi/53c7,8xx.c | script = (u32 *) hostdata->sync[target].script; |
target | 2333 | drivers/scsi/53c7,8xx.c | host->host_no, target, sxfer, scntl3); |
target | 2355 | drivers/scsi/53c7,8xx.c | asynchronous (struct Scsi_Host *host, int target) { |
target | 2360 | drivers/scsi/53c7,8xx.c | set_synchronous (host, target, /* no offset */ 0, hostdata->saved_scntl3, |
target | 2363 | drivers/scsi/53c7,8xx.c | host->host_no, target); |
target | 2406 | drivers/scsi/53c7,8xx.c | synchronous (struct Scsi_Host *host, int target, char *msg) { |
target | 2446 | drivers/scsi/53c7,8xx.c | set_synchronous (host, target, sxfer, scntl3, 1); |
target | 2447 | drivers/scsi/53c7,8xx.c | sprintf (buf, "scsi%d : setting target %d to ", host->host_no, target); |
target | 2494 | drivers/scsi/53c7,8xx.c | c->target); |
target | 2496 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2518 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d ", c->target, c->lun); |
target | 2538 | drivers/scsi/53c7,8xx.c | sprintf (buf, "scsi%d : target %d %s ", host->host_no, c->target, |
target | 2553 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
target | 2556 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2564 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
target | 2568 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2726 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script, "", 1); |
target | 2728 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script + 2, "", 1); |
target | 2834 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, c->lun); |
target | 2855 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script, "", 1); |
target | 2857 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script + 2, "", 1); |
target | 2908 | drivers/scsi/53c7,8xx.c | if (sxfer != hostdata->sync[c->target].sxfer_sanity || |
target | 2909 | drivers/scsi/53c7,8xx.c | scntl3 != hostdata->sync[c->target].scntl3_sanity) { |
target | 2950 | drivers/scsi/53c7,8xx.c | if (c && sdid != c->target) { |
target | 2952 | drivers/scsi/53c7,8xx.c | host->host_no, sdid, c->target, where); |
target | 2977 | drivers/scsi/53c7,8xx.c | event->target = NCR53c7x0_read8(SSID_REG_800); |
target | 2979 | drivers/scsi/53c7,8xx.c | event->target = 255; |
target | 3410 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun, (hostdata->cmd_allocated[cmd->target] & |
target | 3419 | drivers/scsi/53c7,8xx.c | if (!(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun)) && |
target | 3428 | drivers/scsi/53c7,8xx.c | hostdata->cmd_allocated[cmd->target] |= (1 << cmd->lun); |
target | 3467 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->target, cmd->lun); |
target | 3640 | drivers/scsi/53c7,8xx.c | if (hostdata->sync[cmd->target].select_indirect != |
target | 3641 | drivers/scsi/53c7,8xx.c | ((hostdata->sync[cmd->target].scntl3_sanity << 24) | |
target | 3642 | drivers/scsi/53c7,8xx.c | (cmd->target << 16) | |
target | 3643 | drivers/scsi/53c7,8xx.c | (hostdata->sync[cmd->target].sxfer_sanity << 8))) { |
target | 3645 | drivers/scsi/53c7,8xx.c | host->host_no, hostdata->sync[cmd->target].select_indirect); |
target | 3650 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target]. |
target | 3657 | drivers/scsi/53c7,8xx.c | if (hostdata->initiate_wdtr & (1 << cmd->target)) { |
target | 3663 | drivers/scsi/53c7,8xx.c | hostdata->initiate_wdtr &= ~(1 << cmd->target); |
target | 3665 | drivers/scsi/53c7,8xx.c | } else if (hostdata->initiate_sdtr & (1 << cmd->target)) { |
target | 3672 | drivers/scsi/53c7,8xx.c | hostdata->initiate_sdtr &= ~(1 << cmd->target); |
target | 3677 | drivers/scsi/53c7,8xx.c | else if (!(hostdata->talked_to & (1 << cmd->target)) && |
target | 3687 | drivers/scsi/53c7,8xx.c | hostdata->talked_to |= (1 << cmd->target); |
target | 3870 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun))) |
target | 3872 | drivers/scsi/53c7,8xx.c | || cmd->target > 7 |
target | 3874 | drivers/scsi/53c7,8xx.c | || cmd->target > host->max_id |
target | 3876 | drivers/scsi/53c7,8xx.c | || cmd->target == host->this_id |
target | 3879 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
target | 3981 | drivers/scsi/53c7,8xx.c | ++hostdata->busy[tmp->target][tmp->lun]; |
target | 4038 | drivers/scsi/53c7,8xx.c | return hostdata->busy[cmd->target][cmd->lun]; |
target | 4112 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->target, tmp->lun); |
target | 4185 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 4223 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 4239 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 4446 | drivers/scsi/53c7,8xx.c | --hostdata->busy[tmp->target][tmp->lun]; |
target | 4454 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
target | 4516 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
target | 4909 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target); |
target | 5559 | drivers/scsi/53c7,8xx.c | --hostdata->busy[cmd->target][cmd->lun]; |
target | 5825 | drivers/scsi/53c7,8xx.c | cmd->result, cmd->target, cmd->lun); |
target | 5834 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->target, |
target | 5835 | drivers/scsi/53c7,8xx.c | hostdata->sync[cmd->target].sxfer_sanity, |
target | 5836 | drivers/scsi/53c7,8xx.c | hostdata->sync[cmd->target].scntl3_sanity); |
target | 5837 | drivers/scsi/53c7,8xx.c | for (i = 0; i < (sizeof(hostdata->sync[cmd->target].script) / 4); ++i) |
target | 5838 | drivers/scsi/53c7,8xx.c | printk ("0x%x ", hostdata->sync[cmd->target].script[i]); |
target | 5881 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid, cmd->target, cmd->lun); |
target | 6307 | drivers/scsi/53c7,8xx.c | event.target, event.lun); |
target | 1048 | drivers/scsi/53c7,8xx.h | unsigned char target; |
target | 136 | drivers/scsi/AM53C974.c | static int AM53C974_sync_neg(struct Scsi_Host *instance, int target, unsigned char *msg); |
target | 137 | drivers/scsi/AM53C974.c | static __inline__ void AM53C974_set_async(struct Scsi_Host *instance, int target); |
target | 138 | drivers/scsi/AM53C974.c | static __inline__ void AM53C974_set_sync(struct Scsi_Host *instance, int target); |
target | 822 | drivers/scsi/AM53C974.c | cmd->cmnd[0], cmd->target, cmd->lun, cmd->request_bufflen, cmd->use_sg)); |
target | 890 | drivers/scsi/AM53C974.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
target | 1017 | drivers/scsi/AM53C974.c | if (hostdata->connected) hostdata->sync_off[hostdata->connected->target] = 0; /* setup asynchronous transfer */ |
target | 1088 | drivers/scsi/AM53C974.c | AM53C974_set_sync(instance, hostdata->sel_cmd->target); |
target | 1118 | drivers/scsi/AM53C974.c | hostdata->busy[hostdata->connected->target] |= (1 << hostdata->connected->lun); |
target | 1188 | drivers/scsi/AM53C974.c | AM53C974_set_async(instance, cmd->target); |
target | 1190 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
target | 1198 | drivers/scsi/AM53C974.c | " the disconnected_queue\n", instance->host_no, cmd->target, |
target | 1222 | drivers/scsi/AM53C974.c | AM53C974_set_async(instance, cmd->target); |
target | 1224 | drivers/scsi/AM53C974.c | instance->host_no, cmd->SCp.phase, cmd->target, cmd->SCp.this_residual, cmd->SCp.buffers_residual, |
target | 1233 | drivers/scsi/AM53C974.c | hostdata->sync_off[cmd->target] = 0; } |
target | 1248 | drivers/scsi/AM53C974.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1255 | drivers/scsi/AM53C974.c | AM53C974_set_async(instance, cmd->target); |
target | 1270 | drivers/scsi/AM53C974.c | AM53C974_set_async(instance, cmd->target); |
target | 1290 | drivers/scsi/AM53C974.c | static int AM53C974_sync_neg(struct Scsi_Host *instance, int target, unsigned char *msg) |
target | 1310 | drivers/scsi/AM53C974.c | hostdata->sync_per[target] = period; |
target | 1311 | drivers/scsi/AM53C974.c | hostdata->sync_off[target] = offset; |
target | 1320 | drivers/scsi/AM53C974.c | target, rate, rate_rem, offset); |
target | 1322 | drivers/scsi/AM53C974.c | printk("\ntarget %d: rate=%d.%d Mhz, asynchronous\n", target, rate, rate_rem); |
target | 1337 | drivers/scsi/AM53C974.c | static __inline__ void AM53C974_set_async(struct Scsi_Host *instance, int target) |
target | 1343 | drivers/scsi/AM53C974.c | AM53C974_write_8(STPREG, hostdata->sync_per[target]); |
target | 1357 | drivers/scsi/AM53C974.c | static __inline__ void AM53C974_set_sync(struct Scsi_Host *instance, int target) |
target | 1363 | drivers/scsi/AM53C974.c | AM53C974_write_8(STPREG, hostdata->sync_per[target]); |
target | 1364 | drivers/scsi/AM53C974.c | AM53C974_write_8(SOFREG, (SOFREG_SO & hostdata->sync_off[target]) | |
target | 1433 | drivers/scsi/AM53C974.c | AM53C974_set_async(instance, cmd->target); |
target | 1460 | drivers/scsi/AM53C974.c | AM53C974_set_sync(instance, cmd->target); |
target | 1466 | drivers/scsi/AM53C974.c | AM53C974_set_async(instance, cmd->target); |
target | 1489 | drivers/scsi/AM53C974.c | AM53C974_set_sync(instance, cmd->target); |
target | 1494 | drivers/scsi/AM53C974.c | AM53C974_set_async(instance, cmd->target); |
target | 1498 | drivers/scsi/AM53C974.c | AM53C974_set_sync(instance, cmd->target); |
target | 1505 | drivers/scsi/AM53C974.c | AM53C974_set_async(instance, cmd->target); |
target | 1573 | drivers/scsi/AM53C974.c | instance->host_no, cmd->target, cmd->lun)); |
target | 1578 | drivers/scsi/AM53C974.c | instance->host_no, cmd->target, cmd->lun); |
target | 1594 | drivers/scsi/AM53C974.c | instance->host_no, cmd->target, cmd->lun)); |
target | 1604 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
target | 1654 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
target | 1660 | drivers/scsi/AM53C974.c | cmd->target, DEF_CLK / DEF_STP); |
target | 1661 | drivers/scsi/AM53C974.c | hostdata->sync_off[cmd->target] = 0; |
target | 1662 | drivers/scsi/AM53C974.c | hostdata->sync_per[cmd->target] = DEF_STP; } |
target | 1668 | drivers/scsi/AM53C974.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 1679 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
target | 1688 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
target | 1706 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
target | 1746 | drivers/scsi/AM53C974.c | ret = AM53C974_sync_neg(instance, cmd->target, extended_msg); |
target | 1829 | drivers/scsi/AM53C974.c | !(hostdata->sync_neg[cmd->target]) && hostdata->sync_en[cmd->target]) { |
target | 1830 | drivers/scsi/AM53C974.c | hostdata->sync_neg[cmd->target] = 1; |
target | 1834 | drivers/scsi/AM53C974.c | hostdata->msgout[3] = 250 / (int)hostdata->max_rate[cmd->target]; |
target | 1835 | drivers/scsi/AM53C974.c | hostdata->msgout[4] = hostdata->max_offset[cmd->target]; |
target | 1838 | drivers/scsi/AM53C974.c | AM53C974_write_8(SDIDREG, SDIREG_MASK & cmd->target); /* setup dest. id */ |
target | 1873 | drivers/scsi/AM53C974.c | unsigned char cfifo, msg[3], lun, t, target = 0; |
target | 1906 | drivers/scsi/AM53C974.c | target = 0; while (t != 1) { t >>= 1; target++; } |
target | 1907 | drivers/scsi/AM53C974.c | DEB_RESEL(printk("scsi %d: reselect; target: %d\n", instance->host_no, target)); |
target | 1936 | drivers/scsi/AM53C974.c | if ((target == tmp->target) && (lun == tmp->lun) |
target | 1955 | drivers/scsi/AM53C974.c | instance->host_no, target, lun, tag); |
target | 1958 | drivers/scsi/AM53C974.c | instance->host_no, target, lun); |
target | 1974 | drivers/scsi/AM53C974.c | instance->host_no, target, tmp->lun, tmp->tag)); |
target | 1975 | drivers/scsi/AM53C974.c | AM53C974_set_sync(instance, target); |
target | 1976 | drivers/scsi/AM53C974.c | AM53C974_write_8(SDIDREG, SDIREG_MASK & target); /* setup dest. id */ |
target | 2031 | drivers/scsi/BusLogic.c | unsigned char TargetID = Command->target; |
target | 2228 | drivers/scsi/BusLogic.c | HostAdapter->HostNumber, Command->target); |
target | 2286 | drivers/scsi/BusLogic.c | HostAdapter->HostNumber, HostAdapter->BoardName, Command->target); |
target | 2366 | drivers/scsi/BusLogic.c | unsigned char TargetID = Command->target; |
target | 2432 | drivers/scsi/BusLogic.c | unsigned char TargetID = Command->target; |
target | 955 | drivers/scsi/NCR5380.c | hostdata->time_write[cmd->target] -= (jiffies - hostdata->timebase); |
target | 956 | drivers/scsi/NCR5380.c | hostdata->bytes_write[cmd->target] += cmd->request_bufflen; |
target | 962 | drivers/scsi/NCR5380.c | hostdata->time_read[cmd->target] -= (jiffies - hostdata->timebase); |
target | 963 | drivers/scsi/NCR5380.c | hostdata->bytes_read[cmd->target] += cmd->request_bufflen; |
target | 1065 | drivers/scsi/NCR5380.c | printk("MAIN tmp=%p target=%d busy=%d lun=%d\n", tmp, tmp->target, hostdata->busy[tmp->target], tmp->lun); |
target | 1068 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
target | 1089 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
target | 1278 | drivers/scsi/NCR5380.c | hostdata->time_write[cmd->target] += (jiffies - hostdata->timebase); |
target | 1285 | drivers/scsi/NCR5380.c | hostdata->time_read[cmd->target] += (jiffies - hostdata->timebase); |
target | 1438 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target))); |
target | 1486 | drivers/scsi/NCR5380.c | printk("scsi%d : selecting target %d\n", instance->host_no, cmd->target); |
target | 1527 | drivers/scsi/NCR5380.c | if (hostdata->targets_present & (1 << cmd->target)) { |
target | 1551 | drivers/scsi/NCR5380.c | hostdata->targets_present |= (1 << cmd->target); |
target | 1587 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target); |
target | 1625 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2328 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2370 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2380 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2392 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2409 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2411 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2488 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2507 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
target | 2616 | drivers/scsi/NCR5380.c | instance->host_no, tmp, cmd->target, cmd->lun); |
target | 2619 | drivers/scsi/NCR5380.c | instance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun); |
target | 2633 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2793 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
target | 2831 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun, tmp->tag); |
target | 693 | drivers/scsi/NCR53c406a.c | SCpnt->target, |
target | 712 | drivers/scsi/NCR53c406a.c | outb(SCpnt->target, DEST_ID); /* set destination */ |
target | 3299 | drivers/scsi/advansys.c | asc_enqueue(shp, scp, scp->target, ASC_BACK); |
target | 3329 | drivers/scsi/advansys.c | } else if (asc_rmqueue(scp->host, scp, scp->target) == ASC_TRUE) { |
target | 3332 | drivers/scsi/advansys.c | (void) AscResetDevice(&ASC_BOARD(scp->host)->board, scp->target); |
target | 3355 | drivers/scsi/advansys.c | (void) AscResetDevice(boardp, scp->target); |
target | 3694 | drivers/scsi/advansys.c | ASC_TIX_TO_TARGET_ID(scp->target)) == 0) { |
target | 3700 | drivers/scsi/advansys.c | ASC_BOARD(scp->host)->init_tidmask |= ASC_TIX_TO_TARGET_ID(scp->target); |
target | 3715 | drivers/scsi/advansys.c | scsiq.q1.target_id = ASC_TID_TO_TARGET_ID(scp->target); |
target | 3717 | drivers/scsi/advansys.c | scsiq.q2.target_ix = ASC_TIDLUN_TO_IX(scp->target, scp->lun); |
target | 3979 | drivers/scsi/advansys.c | ASC_DBG1(1, "asc_init_dev: target %d\n", (unsigned) scp->target); |
target | 3982 | drivers/scsi/advansys.c | if (boardp->cfg->chip_scsi_id == scp->target) { |
target | 4019 | drivers/scsi/advansys.c | scsireqq->r1.target_id = ASC_TID_TO_TARGET_ID(scp->target); |
target | 4021 | drivers/scsi/advansys.c | scsireqq->r2.target_ix = ASC_TIDLUN_TO_IX(scp->target, 0); |
target | 4029 | drivers/scsi/advansys.c | tidmask = ASC_TIX_TO_TARGET_ID(scp->target); |
target | 4036 | drivers/scsi/advansys.c | boardp->max_dvc_qng[scp->target]); |
target | 355 | drivers/scsi/aha152x.c | #define SYNCRATE (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target]) |
target | 490 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC(Scsi_Cmnd **SC, int target, int lun) |
target | 495 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
target | 886 | drivers/scsi/aha152x.c | SCpnt->target, SCpnt->lun); |
target | 1047 | drivers/scsi/aha152x.c | SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target); |
target | 1340 | drivers/scsi/aha152x.c | int identify_msg, target, i; |
target | 1368 | drivers/scsi/aha152x.c | target=0; |
target | 1370 | drivers/scsi/aha152x.c | for(; (i & 1)==0; target++, i>>=1) |
target | 1377 | drivers/scsi/aha152x.c | printk("SELID=%02x, target=%d, ", GETPORT(SELID), target); |
target | 1379 | drivers/scsi/aha152x.c | SETPORT(SCSIID, (shpnt->this_id << OID_) | target); |
target | 1385 | drivers/scsi/aha152x.c | SETPORT(SCSIRATE, HOSTDATA(shpnt)->syncrate[target]&0x7f); |
target | 1404 | drivers/scsi/aha152x.c | target, identify_msg); |
target | 1422 | drivers/scsi/aha152x.c | target, |
target | 1469 | drivers/scsi/aha152x.c | printk("selecting %d, ", CURRENT_SC->target); |
target | 1471 | drivers/scsi/aha152x.c | SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target); |
target | 2671 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
target | 2760 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
target | 515 | drivers/scsi/aha1542.c | unchar target = SCpnt->target; |
target | 529 | drivers/scsi/aha1542.c | DEB(if (target > 1) { |
target | 552 | drivers/scsi/aha1542.c | printk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 554 | drivers/scsi/aha1542.c | printk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 648 | drivers/scsi/aha1542.c | ccb[mbo].idlun = (target&7)<<5 | direction | (lun & 7); /*SCSI Target Id*/ |
target | 1231 | drivers/scsi/aha1542.c | printk("Sending DID_RESET for target %d\n", SCpnt->target); |
target | 1265 | drivers/scsi/aha1542.c | printk("Sent BUS DEVICE RESET to target %d\n", SCpnt->target); |
target | 1272 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target) |
target | 1278 | drivers/scsi/aha1542.c | printk("Sending DID_RESET for target %d\n", SCpnt->target); |
target | 256 | drivers/scsi/aha1740.c | unchar target = SCpnt->target; |
target | 282 | drivers/scsi/aha1740.c | printk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
target | 402 | drivers/scsi/aha1740.c | outb(ATTN_START | (target & 7), ATTN); /* Start it up */ |
target | 1067 | drivers/scsi/aic7xxx.c | int target, char channel) |
target | 1085 | drivers/scsi/aic7xxx.c | "above.\n", target, channel, aic7xxx_syncrates[i].english); |
target | 1108 | drivers/scsi/aic7xxx.c | target, channel, aic7xxx_syncrates[i].english, offset); |
target | 1118 | drivers/scsi/aic7xxx.c | target, channel); |
target | 1190 | drivers/scsi/aic7xxx.c | aic7xxx_match_scb(struct aic7xxx_scb *scb, int target, char channel) |
target | 1197 | drivers/scsi/aic7xxx.c | target, channel, targ, chan); |
target | 1199 | drivers/scsi/aic7xxx.c | if (target == ALL_TARGETS) |
target | 1205 | drivers/scsi/aic7xxx.c | return ((chan == channel) && (targ == target)); |
target | 1217 | drivers/scsi/aic7xxx.c | aic7xxx_busy_target(unsigned char target, char channel, int base) |
target | 1222 | drivers/scsi/aic7xxx.c | if ((target > 0x07) || (channel == 'B')) |
target | 1231 | drivers/scsi/aic7xxx.c | active |= (0x01 << (target & 0x07)); |
target | 1243 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(unsigned char target, char channel, int base) |
target | 1250 | drivers/scsi/aic7xxx.c | target, channel); |
target | 1252 | drivers/scsi/aic7xxx.c | if ((target > 0x07) || (channel == 'B')) |
target | 1261 | drivers/scsi/aic7xxx.c | active &= ~(0x01 << (target & 0x07)); |
target | 1280 | drivers/scsi/aic7xxx.c | cmd->target, cmd->channel); |
target | 1364 | drivers/scsi/aic7xxx.c | int target = (scb->target_channel_lun >> 4) & 0x0F; |
target | 1381 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(target, channel, base); |
target | 1421 | drivers/scsi/aic7xxx.c | "to_scb %d, next %d\n", target, channel, prev, timedout_scb, next); |
target | 1435 | drivers/scsi/aic7xxx.c | aic7xxx_reset_device(struct aic7xxx_host *p, int target, char channel, |
target | 1451 | drivers/scsi/aic7xxx.c | "active_scb %d\n", target, channel, timedout_scb, active_scb); |
target | 1464 | drivers/scsi/aic7xxx.c | if (aic7xxx_match_scb(scb, target, channel)) |
target | 1502 | drivers/scsi/aic7xxx.c | if (aic7xxx_match_scb(scb, target, channel)) |
target | 1525 | drivers/scsi/aic7xxx.c | if ((scb->state & SCB_ACTIVE) && aic7xxx_match_scb(scb, target, channel)) |
target | 1530 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(target, channel, base); |
target | 2159 | drivers/scsi/aic7xxx.c | cmd->target, cmd->underflow, actual, |
target | 2315 | drivers/scsi/aic7xxx.c | cmd->target, cmd->channel & 0x01, cmd->lun & 0x07); |
target | 2524 | drivers/scsi/aic7xxx.c | sp = &p->stats[cmd->channel & 0x01][cmd->target & 0x0F][cmd->lun & 0x07]; |
target | 4037 | drivers/scsi/aic7xxx.c | "channel %d.\n", cmd->target, cmd->channel); |
target | 4046 | drivers/scsi/aic7xxx.c | mask = (0x01 << (cmd->target | (cmd->channel << 3))); |
target | 4056 | drivers/scsi/aic7xxx.c | printk("aic7xxx: Sending WDTR request to target %d.\n", cmd->target); |
target | 4066 | drivers/scsi/aic7xxx.c | printk("aic7xxx: Sending SDTR request to target %d.\n", cmd->target); |
target | 4074 | drivers/scsi/aic7xxx.c | cmd->target, cmd->cmnd[0], cmd->cmd_len, p->needwdtr, mask); |
target | 4076 | drivers/scsi/aic7xxx.c | scb->target_channel_lun = ((cmd->target << 4) & 0xF0) | |
target | 4173 | drivers/scsi/aic7xxx.c | cmd->cmnd[0], cmd->cmd_len, cmd->target, cmd->channel, |
target | 4528 | drivers/scsi/aic7xxx.c | printk ("aic7xxx: (abort) target/channel %d/%d\n", cmd->target, cmd->channel); |
target | 4560 | drivers/scsi/aic7xxx.c | printk ("aic7xxx: (reset) target/channel %d/%d\n", cmd->target, cmd->channel); |
target | 194 | drivers/scsi/aic7xxx_proc.c | int channel, target, lun; |
target | 203 | drivers/scsi/aic7xxx_proc.c | for (target = 0; target < 16; target++) |
target | 207 | drivers/scsi/aic7xxx_proc.c | sp = &p->stats[channel][target][lun]; |
target | 213 | drivers/scsi/aic7xxx_proc.c | 'A' + channel, target, lun); |
target | 568 | drivers/scsi/constants.c | cmd->target, |
target | 279 | drivers/scsi/eata.c | unchar target; /* SCSI Target ID */ |
target | 671 | drivers/scsi/eata.c | BN(j), i, SCpnt->target, SCpnt->pid); |
target | 683 | drivers/scsi/eata.c | cpp->target = SCpnt->target; |
target | 705 | drivers/scsi/eata.c | BN(j), SCpnt->target, SCpnt->pid); |
target | 725 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
target | 732 | drivers/scsi/eata.c | BN(j), i, SCarg->target, SCarg->pid); |
target | 784 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
target | 984 | drivers/scsi/eata.c | && HD(j)->target_reset[SCpnt->target]) |
target | 997 | drivers/scsi/eata.c | HD(j)->target_reset[SCpnt->target] = FALSE; |
target | 1002 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
target | 1005 | drivers/scsi/eata.c | HD(j)->target_time_out[SCpnt->target] = 0; |
target | 1011 | drivers/scsi/eata.c | if (HD(j)->target_time_out[SCpnt->target] > 1) |
target | 1015 | drivers/scsi/eata.c | HD(j)->target_time_out[SCpnt->target]++; |
target | 1060 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
target | 214 | drivers/scsi/eata_dma.c | "%#.2x \n", irq, base, cmd->pid, cmd->target, |
target | 404 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
target | 467 | drivers/scsi/eata_dma.c | if (cmd->target == sh->this_id) |
target | 496 | drivers/scsi/eata_dma.c | cp->cp_id = cmd->target; |
target | 514 | drivers/scsi/eata_dma.c | "returning DID_BUS_BUSY\n",cmd->target, cmd->pid)); |
target | 522 | drivers/scsi/eata_dma.c | cmd->target, cmd->lun, y, sh->irq)); |
target | 538 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 589 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 179 | drivers/scsi/eata_dma_proc.c | scmd.target = HBA_ptr->this_id; |
target | 321 | drivers/scsi/eata_pio.c | cmd->pid, cmd->target, cmd->lun, y)); |
target | 345 | drivers/scsi/eata_pio.c | cp->Interpret = (cmd->target == hd->hostid); |
target | 351 | drivers/scsi/eata_pio.c | cp->cp_id = cmd->target; |
target | 382 | drivers/scsi/eata_pio.c | "DID_BUS_BUSY, done.\n", cmd->target, cmd->pid); |
target | 395 | drivers/scsi/eata_pio.c | cmd->target, cmd->lun, y, sh->irq)); |
target | 411 | drivers/scsi/eata_pio.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 460 | drivers/scsi/eata_pio.c | "reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 1035 | drivers/scsi/fdomain.c | SCinit.target = i; |
target | 1169 | drivers/scsi/fdomain.c | static int fdomain_select( int target ) |
target | 1177 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << target), SCSI_Data_NoACK_port ); |
target | 1196 | drivers/scsi/fdomain.c | if (!target) printk( "Selection failed\n" ); |
target | 1199 | drivers/scsi/fdomain.c | if (!target) { |
target | 1279 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port ); |
target | 1291 | drivers/scsi/fdomain.c | if (fdomain_select( current_SC->target )) { |
target | 1350 | drivers/scsi/fdomain.c | current_SC->target, |
target | 1664 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 1754 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 558 | drivers/scsi/g_NCR5380.c | cmd->target ANDP |
target | 422 | drivers/scsi/in2000.c | unchar target = SCpnt->target; |
target | 528 | drivers/scsi/in2000.c | outb(target&7,INDATA); |
target | 123 | drivers/scsi/ppa.c | char ppa_select( int initiator, int target ) |
target | 129 | drivers/scsi/ppa.c | out_p(0,(1<<target)); out_p(2,0xe); out_p(2,0xc); |
target | 220 | drivers/scsi/ppa.c | if (cmd->target == PPA_INITIATOR) { |
target | 225 | drivers/scsi/ppa.c | if (!ppa_select(PPA_INITIATOR,cmd->target)) { |
target | 329 | drivers/scsi/qlogic.c | outb(cmd->target, qbase + 4); |
target | 489 | drivers/scsi/qlogic.c | if (cmd->target == qinitid) |
target | 503 | drivers/scsi/qlogic.c | if(cmd->target == qinitid) { |
target | 546 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 871 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
target | 879 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
target | 954 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
target | 1002 | drivers/scsi/scsi.c | if(SCpnt->target == device->id && |
target | 1011 | drivers/scsi/scsi.c | if(SCpnt->target == device->id) { |
target | 1126 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
target | 1165 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, |
target | 1256 | drivers/scsi/scsi.c | int target = SCpnt->target; |
target | 1260 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
target | 1308 | drivers/scsi/scsi.c | SCpnt->target = target; |
target | 1438 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
target | 1477 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, |
target | 1820 | drivers/scsi/scsi.c | SCpnt->channel, SCpnt->target, SCpnt->lun); |
target | 1832 | drivers/scsi/scsi.c | (int) SCpnt->target, (int) SCpnt->lun); |
target | 2320 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 3112 | drivers/scsi/scsi.c | SCpnt->target, |
target | 347 | drivers/scsi/scsi.h | unsigned char target, lun, channel; |
target | 183 | drivers/scsi/scsi_debug.c | int target = SCpnt->target; |
target | 190 | drivers/scsi/scsi_debug.c | DEB(if (target > 1) { SCpnt->result = DID_TIME_OUT << 16;done(SCpnt);return 0;}); |
target | 194 | drivers/scsi/scsi_debug.c | if(target>=1 || SCpnt->lun != 0) { |
target | 200 | drivers/scsi/scsi_debug.c | if( SCrst[target] != 0 && !scsi_debug_lockup ) |
target | 202 | drivers/scsi/scsi_debug.c | SCrst[target] = 0; |
target | 302 | drivers/scsi/scsi_debug.c | if(block == 0 && target == 0) { |
target | 345 | drivers/scsi/scsi_debug.c | memcpy(buff, &target, sizeof(target)); |
target | 346 | drivers/scsi/scsi_debug.c | memcpy(buff+sizeof(target), cmd, 24); |
target | 96 | drivers/scsi/sd.c | int target; |
target | 97 | drivers/scsi/sd.c | target = DEVICE_NR(inode->i_rdev); |
target | 99 | drivers/scsi/sd.c | if(target >= sd_template.dev_max || !rscsi_disks[target].device) |
target | 108 | drivers/scsi/sd.c | while (rscsi_disks[target].device->busy) |
target | 110 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
target | 116 | drivers/scsi/sd.c | if ( !rscsi_disks[target].ready ) { |
target | 125 | drivers/scsi/sd.c | if ( (rscsi_disks[target].write_prot) && (filp->f_mode & 2) ) { |
target | 129 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
target | 140 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count++; |
target | 141 | drivers/scsi/sd.c | if (rscsi_disks[target].device->host->hostt->usage_count) |
target | 142 | drivers/scsi/sd.c | (*rscsi_disks[target].device->host->hostt->usage_count)++; |
target | 149 | drivers/scsi/sd.c | int target; |
target | 152 | drivers/scsi/sd.c | target = DEVICE_NR(inode->i_rdev); |
target | 154 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count--; |
target | 155 | drivers/scsi/sd.c | if (rscsi_disks[target].device->host->hostt->usage_count) |
target | 156 | drivers/scsi/sd.c | (*rscsi_disks[target].device->host->hostt->usage_count)--; |
target | 159 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
target | 160 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
target | 899 | drivers/scsi/sd.c | int target; |
target | 903 | drivers/scsi/sd.c | target = DEVICE_NR(full_dev); |
target | 905 | drivers/scsi/sd.c | if (target >= sd_template.dev_max || |
target | 906 | drivers/scsi/sd.c | !rscsi_disks[target].device) { |
target | 911 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->removable) return 0; |
target | 921 | drivers/scsi/sd.c | rscsi_disks[target].ready = 0; |
target | 922 | drivers/scsi/sd.c | rscsi_disks[target].device->changed = 1; |
target | 933 | drivers/scsi/sd.c | rscsi_disks[target].ready = 1; /* FLOPTICAL */ |
target | 935 | drivers/scsi/sd.c | retval = rscsi_disks[target].device->changed; |
target | 936 | drivers/scsi/sd.c | if(!flag) rscsi_disks[target].device->changed = 0; |
target | 1364 | drivers/scsi/sd.c | #define DEVICE_BUSY rscsi_disks[target].device->busy |
target | 1365 | drivers/scsi/sd.c | #define USAGE rscsi_disks[target].device->access_count |
target | 1366 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
target | 1367 | drivers/scsi/sd.c | #define MAYBE_REINIT sd_init_onedisk(target) |
target | 1378 | drivers/scsi/sd.c | int target; |
target | 1385 | drivers/scsi/sd.c | target = DEVICE_NR(dev); |
target | 1399 | drivers/scsi/sd.c | start = target << gdev->minor_shift; |
target | 1421 | drivers/scsi/sd.c | resetup_one_dev(gdev, target); |
target | 93 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, |
target | 558 | drivers/scsi/seagate.c | current_target = SCpnt->target; |
target | 600 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
target | 614 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
target | 619 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
target | 660 | drivers/scsi/seagate.c | printk ("scsi%d : target = %d, command = ", hostno, target); |
target | 688 | drivers/scsi/seagate.c | if (target == (controller_type == SEAGATE ? 7 : 6)) |
target | 884 | drivers/scsi/seagate.c | DATA = (unsigned char) ((1 << target) | (controller_type == SEAGATE ? 0x80 : 0x40)); |
target | 911 | drivers/scsi/seagate.c | hostno, target, STATUS); |
target | 1076 | drivers/scsi/seagate.c | hostno, target, lun); |
target | 1391 | drivers/scsi/seagate.c | printk("scsi%d : target %d requested MSGOUT, sent NOP message.\n", hostno, target); |
target | 1464 | drivers/scsi/seagate.c | hostno, target, message & 7); |
target | 1476 | drivers/scsi/seagate.c | hostno, message, target); |
target | 110 | drivers/scsi/sr.c | int retval, target; |
target | 114 | drivers/scsi/sr.c | target = MINOR(full_dev); |
target | 116 | drivers/scsi/sr.c | if (target >= sr_template.nr_dev) { |
target | 129 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 1; |
target | 134 | drivers/scsi/sr.c | retval = scsi_CDs[target].device->changed; |
target | 136 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 0; |
target | 139 | 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 | 58 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->changed = 1; |
target | 69 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->host->host_no, |
target | 70 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
target | 71 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
target | 92 | drivers/scsi/sr_ioctl.c | int result, target, err; |
target | 94 | drivers/scsi/sr_ioctl.c | target = MINOR(dev); |
target | 96 | drivers/scsi/sr_ioctl.c | if (target >= sr_template.nr_dev || |
target | 97 | drivers/scsi/sr_ioctl.c | !scsi_CDs[target].device) return -ENXIO; |
target | 105 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 111 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 117 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 123 | 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 | 161 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 171 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 185 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 195 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 206 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 216 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
target | 242 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 252 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
target | 275 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 279 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 284 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 288 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 295 | drivers/scsi/sr_ioctl.c | if (scsi_CDs[target].device -> access_count > 1) |
target | 300 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
target | 304 | drivers/scsi/sr_ioctl.c | if (!(result = do_ioctl(target, sr_cmd, NULL, 255))) |
target | 305 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device -> changed = 1; |
target | 310 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].auto_eject = !!arg; |
target | 326 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 335 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
target | 342 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 354 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, mask, 28))) { |
target | 370 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
target | 375 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
target | 392 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 401 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
target | 425 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 437 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
target | 479 | drivers/scsi/sr_ioctl.c | lba = scsi_CDs[target].mpcd_sector+CD_BLOCK_OFFSET; |
target | 485 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
target | 488 | drivers/scsi/sr_ioctl.c | ms_info.xa_flag=scsi_CDs[target].xa_flags & 0x01; |
target | 506 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
target | 238 | drivers/scsi/u14-34f.c | unsigned char target: 3; /* target SCSI id */ |
target | 616 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->target, SCpnt->pid); |
target | 620 | drivers/scsi/u14-34f.c | cpp->target = SCpnt->target; |
target | 642 | drivers/scsi/u14-34f.c | BN(j), SCpnt->target, SCpnt->pid); |
target | 668 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
target | 675 | drivers/scsi/u14-34f.c | BN(j), i, SCarg->target, SCarg->pid); |
target | 727 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
target | 930 | drivers/scsi/u14-34f.c | && HD(j)->target_reset[SCpnt->target]) |
target | 943 | drivers/scsi/u14-34f.c | HD(j)->target_reset[SCpnt->target] = FALSE; |
target | 948 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
target | 951 | drivers/scsi/u14-34f.c | HD(j)->target_time_out[SCpnt->target] = 0; |
target | 956 | drivers/scsi/u14-34f.c | if (HD(j)->target_time_out[SCpnt->target] > 1) |
target | 960 | drivers/scsi/u14-34f.c | HD(j)->target_time_out[SCpnt->target]++; |
target | 1007 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
target | 716 | drivers/scsi/ultrastor.c | my_mscp->target_id = SCpnt->target; |
target | 908 | drivers/scsi/wd7000.c | idlun = ((SCpnt->target << 5) & 0xe0) | (SCpnt->lun & 7); |
target | 318 | drivers/sound/configure.c | int bin2hex (char *path, char *target, char *varname); |
target | 1534 | drivers/sound/configure.c | bin2hex (char *path, char *target, char *varname) |
target | 1543 | drivers/sound/configure.c | FILE *sf = fopen (target, "w"); |
target | 1037 | drivers/sound/gus_wave.c | int curr, target, rate; |
target | 1052 | drivers/sound/gus_wave.c | target = voices[voice].initial_volume; |
target | 1057 | drivers/sound/gus_wave.c | gus_voice_volume (target); |
target | 1068 | drivers/sound/gus_wave.c | if ((target - curr) / 64 == 0) /* Close enough to target. */ |
target | 1071 | drivers/sound/gus_wave.c | gus_voice_volume (target); |
target | 1076 | drivers/sound/gus_wave.c | if (target > curr) |
target | 1078 | drivers/sound/gus_wave.c | if (target > (4095 - 65)) |
target | 1079 | drivers/sound/gus_wave.c | target = 4095 - 65; |
target | 1080 | drivers/sound/gus_wave.c | gus_ramp_range (curr, target); |
target | 1085 | drivers/sound/gus_wave.c | if (target < 65) |
target | 1086 | drivers/sound/gus_wave.c | target = 65; |
target | 1088 | drivers/sound/gus_wave.c | gus_ramp_range (target, curr); |
target | 1518 | drivers/sound/gus_wave.c | unsigned long blk_sz, blk_end, left, src_offs, target; |
target | 1640 | drivers/sound/gus_wave.c | target = free_mem_ptr; |
target | 1652 | drivers/sound/gus_wave.c | blk_end = target + blk_sz; |
target | 1654 | drivers/sound/gus_wave.c | if ((target >> 18) != (blk_end >> 18)) |
target | 1658 | drivers/sound/gus_wave.c | blk_sz = blk_end - target; |
target | 1677 | drivers/sound/gus_wave.c | gus_poke (target + i, data); |
target | 1704 | drivers/sound/gus_wave.c | address = target; |
target | 1763 | drivers/sound/gus_wave.c | target += blk_sz; |
target | 68 | drivers/sound/hex2hex.h | int hex2hex(char *source, char *target, char *varline) |
target | 81 | drivers/sound/hex2hex.h | if ((outf=fopen(target, "w"))==NULL) |
target | 83 | drivers/sound/hex2hex.h | perror(target); |
target | 134 | fs/ncpfs/ncplib_kernel.c | int size, int *target) |
target | 147 | fs/ncpfs/ncplib_kernel.c | *target =min(ntohs(ncp_reply_word(server, 0)), size); |
target | 155 | fs/ncpfs/ncplib_kernel.c | struct ncp_volume_info *target) |
target | 169 | fs/ncpfs/ncplib_kernel.c | target->total_blocks = ncp_reply_dword(server, 0); |
target | 170 | fs/ncpfs/ncplib_kernel.c | target->free_blocks = ncp_reply_dword(server, 4); |
target | 171 | fs/ncpfs/ncplib_kernel.c | target->purgeable_blocks = ncp_reply_dword(server, 8); |
target | 172 | fs/ncpfs/ncplib_kernel.c | target->not_yet_purgeable_blocks = ncp_reply_dword(server, 12); |
target | 173 | fs/ncpfs/ncplib_kernel.c | target->total_dir_entries = ncp_reply_dword(server, 16); |
target | 174 | fs/ncpfs/ncplib_kernel.c | target->available_dir_entries = ncp_reply_dword(server, 20); |
target | 175 | fs/ncpfs/ncplib_kernel.c | target->sectors_per_block = ncp_reply_byte(server, 28); |
target | 177 | fs/ncpfs/ncplib_kernel.c | memset(&(target->volume_name), 0, sizeof(target->volume_name)); |
target | 187 | fs/ncpfs/ncplib_kernel.c | memcpy(&(target->volume_name), ncp_reply_data(server, 30), len); |
target | 193 | fs/ncpfs/ncplib_kernel.c | ncp_get_volume_number(struct ncp_server *server, const char *name, int *target) |
target | 206 | fs/ncpfs/ncplib_kernel.c | *target = ncp_reply_byte(server, 0); |
target | 253 | fs/ncpfs/ncplib_kernel.c | ncp_extract_file_info(void *structure, struct nw_info_struct *target) |
target | 258 | fs/ncpfs/ncplib_kernel.c | memcpy(target, structure, info_struct_size); |
target | 260 | fs/ncpfs/ncplib_kernel.c | target->nameLen = *name_len; |
target | 261 | fs/ncpfs/ncplib_kernel.c | strncpy(target->entryName, name_len+1, *name_len); |
target | 262 | fs/ncpfs/ncplib_kernel.c | target->entryName[*name_len] = '\0'; |
target | 270 | fs/ncpfs/ncplib_kernel.c | struct nw_info_struct *target) |
target | 274 | fs/ncpfs/ncplib_kernel.c | if (target == NULL) |
target | 293 | fs/ncpfs/ncplib_kernel.c | ncp_extract_file_info(ncp_reply_data(server, 0), target); |
target | 301 | fs/ncpfs/ncplib_kernel.c | struct nw_info_struct *target) |
target | 333 | fs/ncpfs/ncplib_kernel.c | target)) != 0) |
target | 338 | fs/ncpfs/ncplib_kernel.c | DPRINTK("ncp_lookup_volume: attribs = %X\n", target->attributes); |
target | 340 | fs/ncpfs/ncplib_kernel.c | target->nameLen = strlen(volname); |
target | 341 | fs/ncpfs/ncplib_kernel.c | strcpy(target->entryName, volname); |
target | 405 | fs/ncpfs/ncplib_kernel.c | struct nw_file_info *target) |
target | 434 | fs/ncpfs/ncplib_kernel.c | target->i.volNumber, target->i.DosDirNum, |
target | 444 | fs/ncpfs/ncplib_kernel.c | target->opened = 1; |
target | 445 | fs/ncpfs/ncplib_kernel.c | target->server_file_handle = ncp_reply_dword(server, 0); |
target | 446 | fs/ncpfs/ncplib_kernel.c | target->open_create_action = ncp_reply_byte(server, 4); |
target | 451 | fs/ncpfs/ncplib_kernel.c | ncp_extract_file_info(ncp_reply_data(server, 5), &(target->i)); |
target | 454 | fs/ncpfs/ncplib_kernel.c | ConvertToNWfromDWORD(target->server_file_handle, target->file_handle); |
target | 464 | fs/ncpfs/ncplib_kernel.c | struct nw_search_sequence *target) |
target | 480 | fs/ncpfs/ncplib_kernel.c | memcpy(target, ncp_reply_data(server, 0), sizeof(*target)); |
target | 490 | fs/ncpfs/ncplib_kernel.c | struct nw_info_struct *target) |
target | 512 | fs/ncpfs/ncplib_kernel.c | ncp_extract_file_info(ncp_reply_data(server, 10), target); |
target | 562 | fs/ncpfs/ncplib_kernel.c | char *target, int *bytes_read) |
target | 580 | fs/ncpfs/ncplib_kernel.c | memcpy_tofs(target, ncp_reply_data(server, 2+(offset&1)), *bytes_read); |
target | 27 | fs/ncpfs/ncplib_kernel.h | int *target); |
target | 30 | fs/ncpfs/ncplib_kernel.h | char *target); |
target | 34 | fs/ncpfs/ncplib_kernel.h | struct ncp_bindery_object *target); |
target | 46 | fs/ncpfs/ncplib_kernel.h | struct ncp_volume_info *target); |
target | 50 | fs/ncpfs/ncplib_kernel.h | int *target); |
target | 55 | fs/ncpfs/ncplib_kernel.h | struct ncp_filesearch_info *target); |
target | 61 | fs/ncpfs/ncplib_kernel.h | struct ncp_file_info *target); |
target | 66 | fs/ncpfs/ncplib_kernel.h | struct ncp_file_info *target); |
target | 72 | fs/ncpfs/ncplib_kernel.h | struct ncp_file_info *target); |
target | 80 | fs/ncpfs/ncplib_kernel.h | struct ncp_file_info *target); |
target | 86 | fs/ncpfs/ncplib_kernel.h | struct ncp_file_info *target); |
target | 116 | fs/ncpfs/ncplib_kernel.h | char *target, int *bytes_read); |
target | 127 | fs/ncpfs/ncplib_kernel.h | struct nw_info_struct *target); |
target | 132 | fs/ncpfs/ncplib_kernel.h | struct nw_info_struct *target); |
target | 151 | fs/ncpfs/ncplib_kernel.h | struct nw_file_info *target); |
target | 156 | fs/ncpfs/ncplib_kernel.h | struct nw_search_sequence *target); |
target | 161 | fs/ncpfs/ncplib_kernel.h | struct nw_info_struct *target); |
target | 213 | fs/smbfs/sock.c | smb_receive_raw(struct socket *sock, unsigned char *target, |
target | 265 | fs/smbfs/sock.c | memcpy_tofs(target, peek_buf, 4); |
target | 266 | fs/smbfs/sock.c | target += 4; |
target | 274 | fs/smbfs/sock.c | (void *)(target+already_read), |
target | 625 | fs/smbfs/sock.c | unsigned char *target, int max_len) |
target | 659 | fs/smbfs/sock.c | (unsigned int)target, max_len); |
target | 673 | fs/smbfs/sock.c | result = smb_receive_raw(sock, target, max_len, 0); |
target | 44 | include/linux/atalk.h | struct at_addr target; |
target | 167 | include/linux/smb_fs.h | unsigned char *target, int max_len); |
target | 12 | include/linux/smp.h | extern void smp_message_pass(int target, int msg, unsigned long data, int wait); |
target | 525 | net/appletalk/ddp.c | static struct atalk_route *atrtr_find(struct at_addr *target) |
target | 532 | net/appletalk/ddp.c | if(r->target.s_net==target->s_net) |
target | 534 | net/appletalk/ddp.c | if(!(r->flags&RTF_HOST) || r->target.s_node==target->s_node) |
target | 608 | net/appletalk/ddp.c | if(ta->sat_addr.s_net == rt->target.s_net) |
target | 612 | net/appletalk/ddp.c | if(ta->sat_addr.s_node == rt->target.s_node) |
target | 647 | net/appletalk/ddp.c | rt->target=ta->sat_addr; |
target | 668 | net/appletalk/ddp.c | if (tmp->target.s_net == addr->s_net && |
target | 670 | net/appletalk/ddp.c | tmp->target.s_node == addr->s_node )) |
target | 941 | net/appletalk/ddp.c | ntohs(rt->target.s_net),rt->target.s_node, |