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 | 310 | arch/sparc/kernel/smp.c | void smp_message_pass(int target, int msg, unsigned long data, int wait) |
target | 368 | arch/sparc/kernel/smp.c | printk("SMP message pass from cpu %d to cpu %d msg %d\n", p, target, msg); |
target | 374 | arch/sparc/kernel/smp.c | if(target == MSG_ALL_BUT_SELF) { |
target | 377 | arch/sparc/kernel/smp.c | } else if(target == MSG_ALL) { |
target | 381 | arch/sparc/kernel/smp.c | if(i != target) |
target | 383 | 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 | 314 | drivers/block/xd.c | int target = DEVICE_NR(dev); |
target | 315 | drivers/block/xd.c | int start = target << xd_gendisk.minor_shift; |
target | 318 | drivers/block/xd.c | cli(); xd_valid[target] = (xd_access[target] != 1); sti(); |
target | 319 | drivers/block/xd.c | if (xd_valid[target]) |
target | 332 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
target | 333 | drivers/block/xd.c | resetup_one_dev(&xd_gendisk,target); |
target | 335 | 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 | 641 | drivers/net/3c505.c | unsigned long target; |
target | 651 | drivers/net/3c505.c | target = virt_to_bus(adapter->dma_buffer); |
target | 654 | drivers/net/3c505.c | target = virt_to_bus(skb_put(skb, rlen)); |
target | 655 | drivers/net/3c505.c | if ((target + rlen) >= MAX_DMA_ADDRESS) { |
target | 656 | drivers/net/3c505.c | target = virt_to_bus(adapter->dma_buffer); |
target | 674 | drivers/net/3c505.c | set_dma_addr(dev->dma, target); |
target | 1060 | drivers/net/3c505.c | unsigned long target; |
target | 1095 | drivers/net/3c505.c | target = virt_to_bus(skb->data); |
target | 1096 | drivers/net/3c505.c | if ((target + nlen) >= MAX_DMA_ADDRESS) { |
target | 1098 | drivers/net/3c505.c | target = virt_to_bus(adapter->dma_buffer); |
target | 1105 | drivers/net/3c505.c | set_dma_addr(dev->dma, 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 | 134 | drivers/net/new_tunnel.c | __u32 target; /* The other host's IP address */ |
target | 184 | drivers/net/new_tunnel.c | target = rt->rt_gateway; |
target | 186 | drivers/net/new_tunnel.c | target = dev->pa_dstaddr; |
target | 188 | drivers/net/new_tunnel.c | if ( ! target ) |
target | 201 | drivers/net/new_tunnel.c | if ((rt = ip_rt_route(target, 0)) == NULL) |
target | 287 | drivers/net/new_tunnel.c | iph->daddr = target; |
target | 308 | drivers/net/new_tunnel.c | if (ip_forward(skb, dev, 0, target)) |
target | 283 | drivers/scsi/53c7,8xx.c | static void set_synchronous (struct Scsi_Host *host, int target, int sxfer, |
target | 713 | drivers/scsi/53c7,8xx.c | request_synchronous (int host, int target) { |
target | 717 | drivers/scsi/53c7,8xx.c | if (target < 0) { |
target | 718 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "target %d is bogus\n", target); |
target | 723 | drivers/scsi/53c7,8xx.c | else if (h->this_id == target) { |
target | 724 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "target %d is host ID\n", target); |
target | 728 | drivers/scsi/53c7,8xx.c | else if (target > h->max_id) { |
target | 729 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "target %d exceeds maximum of %d\n", target, |
target | 738 | drivers/scsi/53c7,8xx.c | if (hostdata->initiate_sdtr & (1 << target)) { |
target | 740 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "target %d already doing SDTR\n", target); |
target | 743 | drivers/scsi/53c7,8xx.c | hostdata->initiate_sdtr |= (1 << target); |
target | 2038 | drivers/scsi/53c7,8xx.c | dsa_temp_sync, virt_to_bus((void *)hostdata->sync[c->target].script)); |
target | 2040 | drivers/scsi/53c7,8xx.c | dsa_temp_target, c->target); |
target | 2186 | drivers/scsi/53c7,8xx.c | --hostdata->busy[c->target][c->lun]; |
target | 2297 | drivers/scsi/53c7,8xx.c | set_synchronous (struct Scsi_Host *host, int target, int sxfer, int scntl3, |
target | 2309 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].sxfer_sanity = sxfer; |
target | 2310 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].scntl3_sanity = scntl3; |
target | 2318 | drivers/scsi/53c7,8xx.c | hostdata->sync[target].select_indirect = (scntl3 << 24) | |
target | 2319 | drivers/scsi/53c7,8xx.c | (target << 16) | (sxfer << 8); |
target | 2321 | drivers/scsi/53c7,8xx.c | script = (u32 *) hostdata->sync[target].script; |
target | 2353 | drivers/scsi/53c7,8xx.c | host->host_no, target, sxfer, scntl3); |
target | 2375 | drivers/scsi/53c7,8xx.c | asynchronous (struct Scsi_Host *host, int target) { |
target | 2380 | drivers/scsi/53c7,8xx.c | set_synchronous (host, target, /* no offset */ 0, hostdata->saved_scntl3, |
target | 2383 | drivers/scsi/53c7,8xx.c | host->host_no, target); |
target | 2426 | drivers/scsi/53c7,8xx.c | synchronous (struct Scsi_Host *host, int target, char *msg) { |
target | 2466 | drivers/scsi/53c7,8xx.c | set_synchronous (host, target, sxfer, scntl3, 1); |
target | 2467 | drivers/scsi/53c7,8xx.c | sprintf (buf, "scsi%d : setting target %d to ", host->host_no, target); |
target | 2514 | drivers/scsi/53c7,8xx.c | c->target); |
target | 2516 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2538 | drivers/scsi/53c7,8xx.c | printk (" from target %d lun %d ", c->target, c->lun); |
target | 2558 | drivers/scsi/53c7,8xx.c | sprintf (buf, "scsi%d : target %d %s ", host->host_no, c->target, |
target | 2573 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
target | 2576 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2584 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
target | 2588 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
target | 2746 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script, "", 1); |
target | 2748 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script + 2, "", 1); |
target | 2854 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, c->lun); |
target | 2875 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script, "", 1); |
target | 2877 | drivers/scsi/53c7,8xx.c | hostdata->sync[c->target].script + 2, "", 1); |
target | 2928 | drivers/scsi/53c7,8xx.c | if (sxfer != hostdata->sync[c->target].sxfer_sanity || |
target | 2929 | drivers/scsi/53c7,8xx.c | scntl3 != hostdata->sync[c->target].scntl3_sanity) { |
target | 2970 | drivers/scsi/53c7,8xx.c | if (c && sdid != c->target) { |
target | 2972 | drivers/scsi/53c7,8xx.c | host->host_no, sdid, c->target, where); |
target | 2997 | drivers/scsi/53c7,8xx.c | event->target = NCR53c7x0_read8(SSID_REG_800); |
target | 2999 | drivers/scsi/53c7,8xx.c | event->target = 255; |
target | 3430 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun, (hostdata->cmd_allocated[cmd->target] & |
target | 3439 | drivers/scsi/53c7,8xx.c | if (!(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun)) && |
target | 3448 | drivers/scsi/53c7,8xx.c | hostdata->cmd_allocated[cmd->target] |= (1 << cmd->lun); |
target | 3487 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->target, cmd->lun); |
target | 3660 | drivers/scsi/53c7,8xx.c | if (hostdata->sync[cmd->target].select_indirect != |
target | 3661 | drivers/scsi/53c7,8xx.c | ((hostdata->sync[cmd->target].scntl3_sanity << 24) | |
target | 3662 | drivers/scsi/53c7,8xx.c | (cmd->target << 16) | |
target | 3663 | drivers/scsi/53c7,8xx.c | (hostdata->sync[cmd->target].sxfer_sanity << 8))) { |
target | 3665 | drivers/scsi/53c7,8xx.c | host->host_no, hostdata->sync[cmd->target].select_indirect); |
target | 3670 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target]. |
target | 3677 | drivers/scsi/53c7,8xx.c | if (hostdata->initiate_wdtr & (1 << cmd->target)) { |
target | 3683 | drivers/scsi/53c7,8xx.c | hostdata->initiate_wdtr &= ~(1 << cmd->target); |
target | 3685 | drivers/scsi/53c7,8xx.c | } else if (hostdata->initiate_sdtr & (1 << cmd->target)) { |
target | 3692 | drivers/scsi/53c7,8xx.c | hostdata->initiate_sdtr &= ~(1 << cmd->target); |
target | 3697 | drivers/scsi/53c7,8xx.c | else if (!(hostdata->talked_to & (1 << cmd->target)) && |
target | 3707 | drivers/scsi/53c7,8xx.c | hostdata->talked_to |= (1 << cmd->target); |
target | 3890 | drivers/scsi/53c7,8xx.c | !(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun))) |
target | 3892 | drivers/scsi/53c7,8xx.c | || cmd->target > 7 |
target | 3894 | drivers/scsi/53c7,8xx.c | || cmd->target > host->max_id |
target | 3896 | drivers/scsi/53c7,8xx.c | || cmd->target == host->this_id |
target | 3899 | drivers/scsi/53c7,8xx.c | cmd->target, cmd->lun); |
target | 4001 | drivers/scsi/53c7,8xx.c | ++hostdata->busy[tmp->target][tmp->lun]; |
target | 4058 | drivers/scsi/53c7,8xx.c | return hostdata->busy[cmd->target][cmd->lun]; |
target | 4132 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->target, tmp->lun); |
target | 4205 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 4243 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 4259 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
target | 4466 | drivers/scsi/53c7,8xx.c | --hostdata->busy[tmp->target][tmp->lun]; |
target | 4474 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
target | 4536 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
target | 4929 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target); |
target | 5579 | drivers/scsi/53c7,8xx.c | --hostdata->busy[cmd->target][cmd->lun]; |
target | 5845 | drivers/scsi/53c7,8xx.c | cmd->result, cmd->target, cmd->lun); |
target | 5854 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->target, |
target | 5855 | drivers/scsi/53c7,8xx.c | hostdata->sync[cmd->target].sxfer_sanity, |
target | 5856 | drivers/scsi/53c7,8xx.c | hostdata->sync[cmd->target].scntl3_sanity); |
target | 5857 | drivers/scsi/53c7,8xx.c | for (i = 0; i < (sizeof(hostdata->sync[cmd->target].script) / 4); ++i) |
target | 5858 | drivers/scsi/53c7,8xx.c | printk ("0x%x ", hostdata->sync[cmd->target].script[i]); |
target | 5901 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid, cmd->target, cmd->lun); |
target | 6327 | 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 | 2397 | drivers/scsi/BusLogic.c | unsigned char TargetID = Command->target; |
target | 2591 | drivers/scsi/BusLogic.c | unsigned char TargetID = Command->target; |
target | 2699 | drivers/scsi/BusLogic.c | TargetID = Command->target; |
target | 2737 | drivers/scsi/BusLogic.c | HostAdapter->HostNumber, HostAdapter->BoardName, Command->target); |
target | 2810 | drivers/scsi/BusLogic.c | unsigned char TargetID = Command->target; |
target | 2959 | drivers/scsi/BusLogic.c | unsigned char TargetID = Command->target; |
target | 866 | drivers/scsi/NCR5380.c | cmd->host->host_no, cmd->target, cmd->lun); |
target | 1080 | drivers/scsi/NCR5380.c | hostdata->time_write[cmd->target] -= (jiffies - hostdata->timebase); |
target | 1081 | drivers/scsi/NCR5380.c | hostdata->bytes_write[cmd->target] += cmd->request_bufflen; |
target | 1087 | drivers/scsi/NCR5380.c | hostdata->time_read[cmd->target] -= (jiffies - hostdata->timebase); |
target | 1088 | drivers/scsi/NCR5380.c | hostdata->bytes_read[cmd->target] += cmd->request_bufflen; |
target | 1190 | drivers/scsi/NCR5380.c | printk("MAIN tmp=%p target=%d busy=%d lun=%d\n", tmp, tmp->target, hostdata->busy[tmp->target], tmp->lun); |
target | 1193 | drivers/scsi/NCR5380.c | if (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) { |
target | 1214 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
target | 1405 | drivers/scsi/NCR5380.c | hostdata->time_write[cmd->target] += (jiffies - hostdata->timebase); |
target | 1412 | drivers/scsi/NCR5380.c | hostdata->time_read[cmd->target] += (jiffies - hostdata->timebase); |
target | 1565 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target))); |
target | 1613 | drivers/scsi/NCR5380.c | printk("scsi%d : selecting target %d\n", instance->host_no, cmd->target); |
target | 1654 | drivers/scsi/NCR5380.c | if (hostdata->targets_present & (1 << cmd->target)) { |
target | 1678 | drivers/scsi/NCR5380.c | hostdata->targets_present |= (1 << cmd->target); |
target | 1714 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target); |
target | 1752 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2467 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2509 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2519 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2531 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2548 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
target | 2550 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2627 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2646 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
target | 2755 | drivers/scsi/NCR5380.c | instance->host_no, tmp, cmd->target, cmd->lun); |
target | 2758 | drivers/scsi/NCR5380.c | instance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun); |
target | 2772 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2932 | drivers/scsi/NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
target | 2970 | 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 | 359 | drivers/scsi/aha152x.c | #define SYNCRATE (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target]) |
target | 494 | drivers/scsi/aha152x.c | static inline Scsi_Cmnd *remove_SC(Scsi_Cmnd **SC, int target, int lun) |
target | 499 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
target | 890 | drivers/scsi/aha152x.c | SCpnt->target, SCpnt->lun); |
target | 1051 | drivers/scsi/aha152x.c | SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target); |
target | 1349 | drivers/scsi/aha152x.c | int identify_msg, target, i; |
target | 1377 | drivers/scsi/aha152x.c | target=0; |
target | 1379 | drivers/scsi/aha152x.c | for(; (i & 1)==0; target++, i>>=1) |
target | 1386 | drivers/scsi/aha152x.c | printk("SELID=%02x, target=%d, ", GETPORT(SELID), target); |
target | 1388 | drivers/scsi/aha152x.c | SETPORT(SCSIID, (shpnt->this_id << OID_) | target); |
target | 1394 | drivers/scsi/aha152x.c | SETPORT(SCSIRATE, HOSTDATA(shpnt)->syncrate[target]&0x7f); |
target | 1413 | drivers/scsi/aha152x.c | target, identify_msg); |
target | 1431 | drivers/scsi/aha152x.c | target, |
target | 1478 | drivers/scsi/aha152x.c | printk("selecting %d, ", CURRENT_SC->target); |
target | 1480 | drivers/scsi/aha152x.c | SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target); |
target | 2680 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
target | 2769 | 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 | 1073 | drivers/scsi/aic7xxx.c | int target, char channel) |
target | 1091 | drivers/scsi/aic7xxx.c | "above.\n", target, channel, aic7xxx_syncrates[i].english); |
target | 1114 | drivers/scsi/aic7xxx.c | target, channel, aic7xxx_syncrates[i].english, offset); |
target | 1124 | drivers/scsi/aic7xxx.c | target, channel); |
target | 1196 | drivers/scsi/aic7xxx.c | aic7xxx_match_scb(struct aic7xxx_scb *scb, int target, char channel) |
target | 1203 | drivers/scsi/aic7xxx.c | target, channel, targ, chan); |
target | 1205 | drivers/scsi/aic7xxx.c | if (target == ALL_TARGETS) |
target | 1211 | drivers/scsi/aic7xxx.c | return ((chan == channel) && (targ == target)); |
target | 1223 | drivers/scsi/aic7xxx.c | aic7xxx_busy_target(unsigned char target, char channel, int base) |
target | 1228 | drivers/scsi/aic7xxx.c | if ((target > 0x07) || (channel == 'B')) |
target | 1237 | drivers/scsi/aic7xxx.c | active |= (0x01 << (target & 0x07)); |
target | 1249 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(unsigned char target, char channel, int base) |
target | 1256 | drivers/scsi/aic7xxx.c | target, channel); |
target | 1258 | drivers/scsi/aic7xxx.c | if ((target > 0x07) || (channel == 'B')) |
target | 1267 | drivers/scsi/aic7xxx.c | active &= ~(0x01 << (target & 0x07)); |
target | 1286 | drivers/scsi/aic7xxx.c | cmd->target, cmd->channel); |
target | 1399 | drivers/scsi/aic7xxx.c | int target = (scb->target_channel_lun >> 4) & 0x0F; |
target | 1415 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(target, channel, base); |
target | 1445 | drivers/scsi/aic7xxx.c | "to_scb %d, next %d\n", target, channel, prev, timedout_scb, next); |
target | 1459 | drivers/scsi/aic7xxx.c | aic7xxx_reset_device(struct aic7xxx_host *p, int target, char channel, |
target | 1475 | drivers/scsi/aic7xxx.c | "active_scb %d\n", target, channel, timedout_scb, active_scb); |
target | 1492 | drivers/scsi/aic7xxx.c | if (aic7xxx_match_scb(scb, target, channel)) |
target | 1535 | drivers/scsi/aic7xxx.c | if (aic7xxx_match_scb(scb, target, channel)) |
target | 1557 | drivers/scsi/aic7xxx.c | if ((scb->state & SCB_ACTIVE) && aic7xxx_match_scb(scb, target, channel)) |
target | 1565 | drivers/scsi/aic7xxx.c | aic7xxx_unbusy_target(target, channel, base); |
target | 2220 | drivers/scsi/aic7xxx.c | cmd->target, cmd->underflow, actual, |
target | 2414 | drivers/scsi/aic7xxx.c | cmd->target, cmd->channel & 0x01, cmd->lun & 0x07); |
target | 2575 | drivers/scsi/aic7xxx.c | sp = &p->stats[cmd->channel & 0x01][cmd->target & 0x0F][cmd->lun & 0x07]; |
target | 4136 | drivers/scsi/aic7xxx.c | "channel %d.\n", cmd->target, cmd->channel); |
target | 4145 | drivers/scsi/aic7xxx.c | mask = (0x01 << (cmd->target | (cmd->channel << 3))); |
target | 4155 | drivers/scsi/aic7xxx.c | printk("aic7xxx: Sending WDTR request to target %d.\n", cmd->target); |
target | 4165 | drivers/scsi/aic7xxx.c | printk("aic7xxx: Sending SDTR request to target %d.\n", cmd->target); |
target | 4173 | drivers/scsi/aic7xxx.c | cmd->target, cmd->cmnd[0], cmd->cmd_len, p->needwdtr, mask); |
target | 4175 | drivers/scsi/aic7xxx.c | scb->target_channel_lun = ((cmd->target << 4) & 0xF0) | |
target | 4272 | drivers/scsi/aic7xxx.c | cmd->cmnd[0], cmd->cmd_len, cmd->target, cmd->channel, |
target | 4612 | drivers/scsi/aic7xxx.c | printk ("aic7xxx: (abort) target/channel %d/%d\n", cmd->target, cmd->channel); |
target | 4644 | drivers/scsi/aic7xxx.c | printk ("aic7xxx: (reset) target/channel %d/%d\n", cmd->target, cmd->channel); |
target | 200 | drivers/scsi/aic7xxx_proc.c | int channel, target, lun; |
target | 209 | drivers/scsi/aic7xxx_proc.c | for (target = 0; target < 16; target++) |
target | 213 | drivers/scsi/aic7xxx_proc.c | sp = &p->stats[channel][target][lun]; |
target | 219 | drivers/scsi/aic7xxx_proc.c | 'A' + channel, target, lun); |
target | 368 | drivers/scsi/atari_NCR5380.c | int target, lun; |
target | 374 | drivers/scsi/atari_NCR5380.c | for( target = 0; target < 8; ++target ) { |
target | 376 | drivers/scsi/atari_NCR5380.c | ta = &TagAlloc[target][lun]; |
target | 400 | drivers/scsi/atari_NCR5380.c | if (hostdata->busy[cmd->target] & (1 << cmd->lun)) |
target | 405 | drivers/scsi/atari_NCR5380.c | if (TagAlloc[cmd->target][cmd->lun].nr_allocated >= |
target | 406 | drivers/scsi/atari_NCR5380.c | TagAlloc[cmd->target][cmd->lun].queue_size ) { |
target | 409 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->target, cmd->lun ); |
target | 432 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 435 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->target, cmd->lun ); |
target | 439 | drivers/scsi/atari_NCR5380.c | TAG_ALLOC *ta = &TagAlloc[cmd->target][cmd->lun]; |
target | 447 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->tag, cmd->target, cmd->lun, |
target | 463 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 466 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->target, cmd->lun ); |
target | 474 | drivers/scsi/atari_NCR5380.c | TAG_ALLOC *ta = &TagAlloc[cmd->target][cmd->lun]; |
target | 479 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->tag, cmd->target, cmd->lun ); |
target | 488 | drivers/scsi/atari_NCR5380.c | int target, lun; |
target | 494 | drivers/scsi/atari_NCR5380.c | for( target = 0; target < 8; ++target ) { |
target | 496 | drivers/scsi/atari_NCR5380.c | ta = &TagAlloc[target][lun]; |
target | 879 | drivers/scsi/atari_NCR5380.c | H_NO(cmd), cmd->target, cmd->lun); |
target | 1020 | drivers/scsi/atari_NCR5380.c | hostdata->time_write[cmd->target] -= (jiffies - hostdata->timebase); |
target | 1021 | drivers/scsi/atari_NCR5380.c | hostdata->bytes_write[cmd->target] += cmd->request_bufflen; |
target | 1027 | drivers/scsi/atari_NCR5380.c | hostdata->time_read[cmd->target] -= (jiffies - hostdata->timebase); |
target | 1028 | drivers/scsi/atari_NCR5380.c | hostdata->bytes_read[cmd->target] += cmd->request_bufflen; |
target | 1156 | drivers/scsi/atari_NCR5380.c | tmp, tmp->target, hostdata->busy[tmp->target], |
target | 1165 | drivers/scsi/atari_NCR5380.c | !(hostdata->busy[tmp->target] & (1 << tmp->lun)) |
target | 1191 | drivers/scsi/atari_NCR5380.c | HOSTNO, tmp->target, tmp->lun); |
target | 1458 | drivers/scsi/atari_NCR5380.c | hostdata->time_write[cmd->target] += (jiffies - hostdata->timebase); |
target | 1465 | drivers/scsi/atari_NCR5380.c | hostdata->time_read[cmd->target] += (jiffies - hostdata->timebase); |
target | 1639 | drivers/scsi/atari_NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target))); |
target | 1693 | drivers/scsi/atari_NCR5380.c | printk("scsi%d: selecting target %d\n", HOSTNO, cmd->target); |
target | 1744 | drivers/scsi/atari_NCR5380.c | if (hostdata->targets_present & (1 << cmd->target)) { |
target | 1770 | drivers/scsi/atari_NCR5380.c | hostdata->targets_present |= (1 << cmd->target); |
target | 1792 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target); |
target | 1818 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2228 | drivers/scsi/atari_NCR5380.c | "handshake\n", HOSTNO, cmd->target, cmd->lun); |
target | 2281 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun); |
target | 2294 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun); |
target | 2308 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun); |
target | 2326 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun); |
target | 2337 | drivers/scsi/atari_NCR5380.c | TAG_ALLOC *ta = &TagAlloc[cmd->target][cmd->lun]; |
target | 2341 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun, |
target | 2349 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2445 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 2450 | drivers/scsi/atari_NCR5380.c | HOSTNO, cmd->target, cmd->lun ); |
target | 2469 | drivers/scsi/atari_NCR5380.c | cmd->target, cmd->lun); |
target | 2576 | drivers/scsi/atari_NCR5380.c | HOSTNO, tmp, cmd->target, cmd->lun); |
target | 2581 | drivers/scsi/atari_NCR5380.c | cmd->target, cmd->lun); |
target | 2599 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2741 | drivers/scsi/atari_NCR5380.c | if ((target_mask == (1 << tmp->target)) && (lun == tmp->lun) |
target | 2785 | drivers/scsi/atari_NCR5380.c | HOSTNO, tmp->target, tmp->lun, tmp->tag); |
target | 2971 | drivers/scsi/atari_NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 568 | drivers/scsi/constants.c | cmd->target, |
target | 282 | drivers/scsi/eata.c | unchar target; /* SCSI Target ID */ |
target | 675 | drivers/scsi/eata.c | BN(j), i, SCpnt->target, SCpnt->pid); |
target | 687 | drivers/scsi/eata.c | cpp->target = SCpnt->target; |
target | 709 | drivers/scsi/eata.c | BN(j), SCpnt->target, SCpnt->pid); |
target | 729 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
target | 736 | drivers/scsi/eata.c | BN(j), i, SCarg->target, SCarg->pid); |
target | 788 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid, reset_flags); |
target | 988 | drivers/scsi/eata.c | && HD(j)->target_reset[SCpnt->target]) |
target | 1001 | drivers/scsi/eata.c | HD(j)->target_reset[SCpnt->target] = FALSE; |
target | 1006 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
target | 1009 | drivers/scsi/eata.c | HD(j)->target_time_out[SCpnt->target] = 0; |
target | 1015 | drivers/scsi/eata.c | if (HD(j)->target_time_out[SCpnt->target] > 1) |
target | 1019 | drivers/scsi/eata.c | HD(j)->target_time_out[SCpnt->target]++; |
target | 1064 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
target | 304 | drivers/scsi/eata_dma.c | "%#.2x \n", irq, base, cmd->pid, cmd->target, |
target | 345 | drivers/scsi/eata_dma.c | HD(cmd)->t_state[cmd->channel][cmd->target] = OK; |
target | 496 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
target | 526 | drivers/scsi/eata_dma.c | if (cmd->target == sh->this_id) |
target | 555 | drivers/scsi/eata_dma.c | ccb->cp_id = cmd->target; |
target | 573 | drivers/scsi/eata_dma.c | "returning DID_BUS_BUSY\n",cmd->target, cmd->pid)); |
target | 581 | drivers/scsi/eata_dma.c | cmd->target, cmd->lun, y, sh->irq)); |
target | 597 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
target | 648 | 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 | 324 | drivers/scsi/eata_pio.c | " %x, y %d\n", cmd->pid, cmd->target, cmd->lun, y)); |
target | 348 | drivers/scsi/eata_pio.c | cp->Interpret = (cmd->target == hd->hostid); |
target | 354 | drivers/scsi/eata_pio.c | cp->cp_id = cmd->target; |
target | 385 | drivers/scsi/eata_pio.c | "returning DID_BUS_BUSY, done.\n", cmd->target, cmd->pid); |
target | 398 | drivers/scsi/eata_pio.c | cmd->target, cmd->lun, y, sh->irq)); |
target | 415 | drivers/scsi/eata_pio.c | cmd->target, cmd->lun, cmd->abort_reason)); |
target | 464 | drivers/scsi/eata_pio.c | " %x lun: %x reason %x\n", cmd->pid, cmd->target, |
target | 223 | drivers/scsi/esp.c | static inline Scsi_Cmnd *remove_SC(Scsi_Cmnd **SC, int target, int lun) |
target | 230 | drivers/scsi/esp.c | ptr && ((ptr->target != target) || (ptr->lun != lun)); |
target | 493 | drivers/scsi/esp.c | int target; |
target | 495 | drivers/scsi/esp.c | for(target=0; target<8; target++) |
target | 496 | drivers/scsi/esp.c | esp->config3[target] = 0; |
target | 605 | drivers/scsi/esp.c | eregs->esp_busid = (SCptr->target & 7); |
target | 1084 | drivers/scsi/fdomain.c | SCinit.target = i; |
target | 1218 | drivers/scsi/fdomain.c | static int fdomain_select( int target ) |
target | 1226 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << target), SCSI_Data_NoACK_port ); |
target | 1245 | drivers/scsi/fdomain.c | if (!target) printk( "Selection failed\n" ); |
target | 1248 | drivers/scsi/fdomain.c | if (!target) { |
target | 1328 | drivers/scsi/fdomain.c | outb( adapter_mask | (1 << current_SC->target), SCSI_Data_NoACK_port ); |
target | 1340 | drivers/scsi/fdomain.c | if (fdomain_select( current_SC->target )) { |
target | 1399 | drivers/scsi/fdomain.c | current_SC->target, |
target | 1713 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 1803 | drivers/scsi/fdomain.c | SCpnt->target, |
target | 596 | drivers/scsi/g_NCR5380.c | cmd->target ANDP |
target | 364 | drivers/scsi/in2000.c | DB(DB_QUEUE_COMMAND,printk("Q-%d-%02x-%ld(",cmd->target,cmd->cmnd[0],cmd->pid)) |
target | 484 | drivers/scsi/in2000.c | if (!(hostdata->busy[cmd->target] & (1 << cmd->lun))) |
target | 512 | drivers/scsi/in2000.c | write_3393(hostdata,WD_DESTINATION_ID, cmd->target); |
target | 514 | drivers/scsi/in2000.c | write_3393(hostdata,WD_DESTINATION_ID, cmd->target | DSTID_DPD); |
target | 552 | drivers/scsi/in2000.c | if ((prev->target != cmd->target) || (prev->lun != cmd->lun)) { |
target | 572 | drivers/scsi/in2000.c | write_3393(hostdata,WD_SYNCHRONOUS_TRANSFER,hostdata->sync_xfer[cmd->target]); |
target | 573 | drivers/scsi/in2000.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 576 | drivers/scsi/in2000.c | (hostdata->sync_stat[cmd->target] == SS_UNSET)) { |
target | 598 | drivers/scsi/in2000.c | if (hostdata->sync_stat[cmd->target] == SS_UNSET) { |
target | 599 | drivers/scsi/in2000.c | if (hostdata->sync_off & (1 << cmd->target)) |
target | 600 | drivers/scsi/in2000.c | hostdata->sync_stat[cmd->target] = SS_SET; |
target | 602 | drivers/scsi/in2000.c | hostdata->sync_stat[cmd->target] = SS_FIRST; |
target | 787 | drivers/scsi/in2000.c | write_3393(hostdata,WD_SYNCHRONOUS_TRANSFER,hostdata->sync_xfer[cmd->target]); |
target | 1107 | drivers/scsi/in2000.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1135 | drivers/scsi/in2000.c | if (hostdata->sync_stat[cmd->target] == SS_FIRST) { |
target | 1140 | drivers/scsi/in2000.c | hostdata->sync_stat[cmd->target] = SS_WAITING; |
target | 1263 | drivers/scsi/in2000.c | if (hostdata->sync_stat[cmd->target] == SS_WAITING) |
target | 1264 | drivers/scsi/in2000.c | hostdata->sync_stat[cmd->target] = SS_SET; |
target | 1285 | drivers/scsi/in2000.c | if (hostdata->sync_stat[cmd->target] != SS_WAITING) { |
target | 1303 | drivers/scsi/in2000.c | hostdata->sync_xfer[cmd->target] = |
target | 1307 | drivers/scsi/in2000.c | hostdata->sync_xfer[cmd->target] = id; |
target | 1310 | drivers/scsi/in2000.c | printk("sync_xfer=%02x",hostdata->sync_xfer[cmd->target]); |
target | 1312 | drivers/scsi/in2000.c | hostdata->sync_stat[cmd->target] = SS_SET; |
target | 1380 | drivers/scsi/in2000.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1461 | drivers/scsi/in2000.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1494 | drivers/scsi/in2000.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1542 | drivers/scsi/in2000.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1552 | drivers/scsi/in2000.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1585 | drivers/scsi/in2000.c | if (id == cmd->target && lun == cmd->lun) |
target | 1612 | drivers/scsi/in2000.c | write_3393(hostdata,WD_DESTINATION_ID,cmd->target); |
target | 1614 | drivers/scsi/in2000.c | write_3393(hostdata,WD_DESTINATION_ID,cmd->target | DSTID_DPD); |
target | 1821 | drivers/scsi/in2000.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 2319 | drivers/scsi/in2000.c | cmd->pid, cmd->target, cmd->lun, cmd->cmnd[0]); |
target | 2328 | drivers/scsi/in2000.c | cmd->pid, cmd->target, cmd->lun, cmd->cmnd[0]); |
target | 2338 | drivers/scsi/in2000.c | cmd->pid, cmd->target, cmd->lun, cmd->cmnd[0]); |
target | 119 | drivers/scsi/ppa.c | char ppa_select( int initiator, int target ) |
target | 125 | drivers/scsi/ppa.c | out_p(0,(1<<target)); out_p(2,0xe); out_p(2,0xc); |
target | 212 | drivers/scsi/ppa.c | if (cmd->target == PPA_INITIATOR) { |
target | 217 | 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 | 563 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 924 | drivers/scsi/scsi.c | && SCpnt->target == device->id) { |
target | 999 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
target | 1055 | drivers/scsi/scsi.c | && SCpnt->target == device->id) { |
target | 1172 | drivers/scsi/scsi.c | SCpnt->target = device->id; |
target | 1215 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, |
target | 1306 | drivers/scsi/scsi.c | int target = SCpnt->target; |
target | 1310 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
target | 1358 | drivers/scsi/scsi.c | SCpnt->target = target; |
target | 1491 | drivers/scsi/scsi.c | result, SCpnt->target, SCpnt->lun); |
target | 1532 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, |
target | 1877 | drivers/scsi/scsi.c | SCpnt->channel, SCpnt->target, SCpnt->lun); |
target | 1889 | drivers/scsi/scsi.c | (int) SCpnt->target, (int) SCpnt->lun); |
target | 2455 | drivers/scsi/scsi.c | SCpnt->target = SDpnt->id; |
target | 3334 | drivers/scsi/scsi.c | SCpnt->target, |
target | 363 | 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 | 898 | drivers/scsi/sd.c | int target; |
target | 902 | drivers/scsi/sd.c | target = DEVICE_NR(full_dev); |
target | 904 | drivers/scsi/sd.c | if (target >= sd_template.dev_max || |
target | 905 | drivers/scsi/sd.c | !rscsi_disks[target].device) { |
target | 910 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->removable) return 0; |
target | 920 | drivers/scsi/sd.c | rscsi_disks[target].ready = 0; |
target | 921 | drivers/scsi/sd.c | rscsi_disks[target].device->changed = 1; |
target | 932 | drivers/scsi/sd.c | rscsi_disks[target].ready = 1; /* FLOPTICAL */ |
target | 934 | drivers/scsi/sd.c | retval = rscsi_disks[target].device->changed; |
target | 935 | drivers/scsi/sd.c | if(!flag) rscsi_disks[target].device->changed = 0; |
target | 1370 | drivers/scsi/sd.c | #define DEVICE_BUSY rscsi_disks[target].device->busy |
target | 1371 | drivers/scsi/sd.c | #define USAGE rscsi_disks[target].device->access_count |
target | 1372 | drivers/scsi/sd.c | #define CAPACITY rscsi_disks[target].capacity |
target | 1373 | drivers/scsi/sd.c | #define MAYBE_REINIT sd_init_onedisk(target) |
target | 1384 | drivers/scsi/sd.c | int target; |
target | 1391 | drivers/scsi/sd.c | target = DEVICE_NR(dev); |
target | 1405 | drivers/scsi/sd.c | start = target << gdev->minor_shift; |
target | 1427 | 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 | 111 | drivers/scsi/sr.c | int retval, target; |
target | 115 | drivers/scsi/sr.c | target = MINOR(full_dev); |
target | 117 | drivers/scsi/sr.c | if (target >= sr_template.nr_dev) { |
target | 130 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 1; |
target | 135 | drivers/scsi/sr.c | retval = scsi_CDs[target].device->changed; |
target | 137 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 0; |
target | 140 | drivers/scsi/sr.c | if (retval) scsi_CDs[target].needs_sector_size = 1; |
target | 41 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
target | 46 | 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 | 141 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 151 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 165 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 175 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 189 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
target | 199 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 210 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5); |
target | 220 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
target | 246 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | |
target | 257 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
target | 283 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 287 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 292 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
target | 296 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, NULL, 255); |
target | 301 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5); |
target | 305 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl(target, sr_cmd, NULL, 255))) |
target | 322 | drivers/scsi/sr_ioctl.c | if (scsi_CDs[target].device -> access_count > 1) |
target | 327 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
target | 331 | drivers/scsi/sr_ioctl.c | if (!(result = do_ioctl(target, sr_cmd, NULL, 255))) |
target | 332 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device -> changed = 1; |
target | 337 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].auto_eject = !!arg; |
target | 353 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 362 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
target | 369 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 381 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, mask, 28))) { |
target | 397 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
target | 402 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
target | 419 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
target | 428 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
target | 452 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
target | 464 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
target | 494 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5); |
target | 506 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 24); |
target | 538 | drivers/scsi/sr_ioctl.c | lba = scsi_CDs[target].mpcd_sector+CD_BLOCK_OFFSET; |
target | 544 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
target | 547 | drivers/scsi/sr_ioctl.c | ms_info.xa_flag=scsi_CDs[target].xa_flags & 0x01; |
target | 574 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
target | 246 | drivers/scsi/u14-34f.c | unsigned char target: 3; /* target SCSI id */ |
target | 631 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->target, SCpnt->pid); |
target | 642 | drivers/scsi/u14-34f.c | cpp->target = SCpnt->target; |
target | 664 | drivers/scsi/u14-34f.c | BN(j), SCpnt->target, SCpnt->pid); |
target | 690 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
target | 697 | drivers/scsi/u14-34f.c | BN(j), i, SCarg->target, SCarg->pid); |
target | 749 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid, reset_flags); |
target | 952 | drivers/scsi/u14-34f.c | && HD(j)->target_reset[SCpnt->target]) |
target | 965 | drivers/scsi/u14-34f.c | HD(j)->target_reset[SCpnt->target] = FALSE; |
target | 970 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
target | 973 | drivers/scsi/u14-34f.c | HD(j)->target_time_out[SCpnt->target] = 0; |
target | 978 | drivers/scsi/u14-34f.c | if (HD(j)->target_time_out[SCpnt->target] > 1) |
target | 982 | drivers/scsi/u14-34f.c | HD(j)->target_time_out[SCpnt->target]++; |
target | 1029 | 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 | 281 | drivers/scsi/wd33c93.c | DB(DB_QUEUE_COMMAND,printk("Q-%d-%02x-%ld( ",cmd->target,cmd->cmnd[0],cmd->pid)) |
target | 394 | drivers/scsi/wd33c93.c | if (!(hostdata->busy[cmd->target] & (1 << cmd->lun))) |
target | 422 | drivers/scsi/wd33c93.c | write_wd33c93(regp, WD_DESTINATION_ID, cmd->target); |
target | 424 | drivers/scsi/wd33c93.c | write_wd33c93(regp, WD_DESTINATION_ID, cmd->target | DSTID_DPD); |
target | 462 | drivers/scsi/wd33c93.c | if ((prev->target != cmd->target) || (prev->lun != cmd->lun)) { |
target | 482 | drivers/scsi/wd33c93.c | write_wd33c93(regp,WD_SYNCHRONOUS_TRANSFER,hostdata->sync_xfer[cmd->target]); |
target | 483 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
target | 486 | drivers/scsi/wd33c93.c | (hostdata->sync_stat[cmd->target] == SS_UNSET)) { |
target | 509 | drivers/scsi/wd33c93.c | if (hostdata->sync_stat[cmd->target] == SS_UNSET) { |
target | 510 | drivers/scsi/wd33c93.c | if (hostdata->no_sync & (1 << cmd->target)) |
target | 511 | drivers/scsi/wd33c93.c | hostdata->sync_stat[cmd->target] = SS_SET; |
target | 513 | drivers/scsi/wd33c93.c | hostdata->sync_stat[cmd->target] = SS_FIRST; |
target | 641 | drivers/scsi/wd33c93.c | write_wd33c93(regp,WD_SYNCHRONOUS_TRANSFER,hostdata->sync_xfer[cmd->target]); |
target | 746 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 773 | drivers/scsi/wd33c93.c | if (hostdata->sync_stat[cmd->target] == SS_FIRST) { |
target | 778 | drivers/scsi/wd33c93.c | hostdata->sync_stat[cmd->target] = SS_WAITING; |
target | 901 | drivers/scsi/wd33c93.c | if (hostdata->sync_stat[cmd->target] == SS_WAITING) |
target | 902 | drivers/scsi/wd33c93.c | hostdata->sync_stat[cmd->target] = SS_SET; |
target | 923 | drivers/scsi/wd33c93.c | if (hostdata->sync_stat[cmd->target] != SS_WAITING) { |
target | 941 | drivers/scsi/wd33c93.c | hostdata->sync_xfer[cmd->target] = |
target | 945 | drivers/scsi/wd33c93.c | hostdata->sync_xfer[cmd->target] = id; |
target | 948 | drivers/scsi/wd33c93.c | printk("sync_xfer=%02x",hostdata->sync_xfer[cmd->target]); |
target | 950 | drivers/scsi/wd33c93.c | hostdata->sync_stat[cmd->target] = SS_SET; |
target | 1018 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1098 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1130 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1177 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1187 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1220 | drivers/scsi/wd33c93.c | if (id == cmd->target && lun == cmd->lun) |
target | 1247 | drivers/scsi/wd33c93.c | write_wd33c93(regp, WD_DESTINATION_ID, cmd->target); |
target | 1249 | drivers/scsi/wd33c93.c | write_wd33c93(regp, WD_DESTINATION_ID, cmd->target | DSTID_DPD); |
target | 1452 | drivers/scsi/wd33c93.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
target | 1785 | drivers/scsi/wd33c93.c | cmd->pid, cmd->target, cmd->lun, cmd->cmnd[0]); |
target | 1794 | drivers/scsi/wd33c93.c | cmd->pid, cmd->target, cmd->lun, cmd->cmnd[0]); |
target | 1804 | drivers/scsi/wd33c93.c | cmd->pid, cmd->target, cmd->lun, cmd->cmnd[0]); |
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 | 1567 | drivers/sound/configure.c | bin2hex (char *path, char *target, char *varname) |
target | 1576 | 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 | 526 | net/appletalk/ddp.c | static struct atalk_route *atrtr_find(struct at_addr *target) |
target | 533 | net/appletalk/ddp.c | if(r->target.s_net==target->s_net) |
target | 535 | net/appletalk/ddp.c | if(!(r->flags&RTF_HOST) || r->target.s_node==target->s_node) |
target | 609 | net/appletalk/ddp.c | if(ta->sat_addr.s_net == rt->target.s_net) |
target | 613 | net/appletalk/ddp.c | if(ta->sat_addr.s_node == rt->target.s_node) |
target | 648 | net/appletalk/ddp.c | rt->target=ta->sat_addr; |
target | 669 | net/appletalk/ddp.c | if (tmp->target.s_net == addr->s_net && |
target | 671 | net/appletalk/ddp.c | tmp->target.s_node == addr->s_node )) |
target | 942 | net/appletalk/ddp.c | ntohs(rt->target.s_net),rt->target.s_node, |