tag | line | file | source code |
host | 732 | drivers/scsi/NCR5380.c | cmd->host->hostdata; |
host | 1987 | drivers/scsi/NCR5380.c | struct Scsi_Host *instance = cmd->host; |
host | 2135 | drivers/scsi/NCR5380.c | instance = SCpnt->host; |
host | 62 | drivers/scsi/aha1542.c | #define HOSTDATA(host) ((struct aha1542_hostdata *) &host->hostdata) |
host | 401 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
host | 402 | drivers/scsi/aha1542.c | ccb = HOSTDATA(SCpnt->host)->ccb; |
host | 442 | drivers/scsi/aha1542.c | mbo = HOSTDATA(SCpnt->host)->aha1542_last_mbo_used + 1; |
host | 446 | drivers/scsi/aha1542.c | if(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL) |
host | 450 | drivers/scsi/aha1542.c | } while (mbo != HOSTDATA(SCpnt->host)->aha1542_last_mbo_used); |
host | 452 | drivers/scsi/aha1542.c | if(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo]) |
host | 455 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt; /* This will effectively prevent someone else from |
host | 458 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->aha1542_last_mbo_used = mbo; |
host | 540 | drivers/scsi/aha1542.c | aha1542_out(SCpnt->host->io_port, &ahacmd, 1); /* start scsi command */ |
host | 829 | drivers/scsi/aha1542.c | if (SCpnt == HOSTDATA(SCpnt->host)->SCint[mbo]){ |
host | 175 | drivers/scsi/scsi.c | printk ("scan_scsis_done(%d, %06x)\n", SCpnt->host, SCpnt->result); |
host | 216 | drivers/scsi/scsi.c | scsi_devices[NR_SCSI_DEVICES].host = shpnt; |
host | 232 | drivers/scsi/scsi.c | SCmd.host = shpnt; |
host | 497 | drivers/scsi/scsi.c | SCpnt->host->host_no); |
host | 503 | drivers/scsi/scsi.c | SCpnt->host->host_no); |
host | 508 | drivers/scsi/scsi.c | panic("Unable to reset scsi host %d\n",SCpnt->host->host_no); |
host | 534 | drivers/scsi/scsi.c | SCpnt = scsi_devices[index].host->host_queue; |
host | 544 | drivers/scsi/scsi.c | if (scsi_devices[index].host->hostt->can_queue |
host | 545 | drivers/scsi/scsi.c | && scsi_devices[index].host->host_busy >= scsi_devices[index].host->hostt->can_queue) return NULL; |
host | 549 | drivers/scsi/scsi.c | tablesize = scsi_devices[index].host->sg_tablesize; |
host | 602 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 614 | drivers/scsi/scsi.c | host = scsi_devices[index].host; |
host | 617 | drivers/scsi/scsi.c | SCpnt = host->host_queue; |
host | 646 | drivers/scsi/scsi.c | tablesize = scsi_devices[index].host->sg_tablesize; |
host | 697 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 705 | drivers/scsi/scsi.c | host = SCpnt->host; |
host | 711 | drivers/scsi/scsi.c | temp = host->last_reset; |
host | 722 | drivers/scsi/scsi.c | "bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
host | 725 | drivers/scsi/scsi.c | if (host->hostt->can_queue) |
host | 729 | drivers/scsi/scsi.c | host->hostt->queuecommand); |
host | 731 | drivers/scsi/scsi.c | host->hostt->queuecommand (SCpnt, scsi_done); |
host | 737 | drivers/scsi/scsi.c | printk("command() : routine at %08x\n", host->hostt->command); |
host | 739 | drivers/scsi/scsi.c | temp=host->hostt->command (SCpnt); |
host | 744 | drivers/scsi/scsi.c | printk("done(host = %d, result = %04x) : routine at %08x\n", host->host_no, temp, done); |
host | 788 | drivers/scsi/scsi.c | struct Scsi_Host * host = SCpnt->host; |
host | 796 | drivers/scsi/scsi.c | "command : " , host->host_no, target, buffer, bufflen, done, timeout, retries); |
host | 803 | drivers/scsi/scsi.c | if (!host) |
host | 805 | drivers/scsi/scsi.c | panic ("Invalid or not present host. %d\n", host->host_no); |
host | 819 | drivers/scsi/scsi.c | if (host->hostt->can_queue |
host | 820 | drivers/scsi/scsi.c | && host->host_busy >= host->hostt->can_queue) |
host | 823 | drivers/scsi/scsi.c | SCSI_SLEEP(&host->host_wait, |
host | 824 | drivers/scsi/scsi.c | (host->host_busy >= host->hostt->can_queue)); |
host | 826 | drivers/scsi/scsi.c | host->host_busy++; |
host | 841 | drivers/scsi/scsi.c | SCpnt->host = host; |
host | 882 | drivers/scsi/scsi.c | printk("scsi: reset(%d)\n", SCpnt->host->host_no); |
host | 915 | drivers/scsi/scsi.c | printk("scsi%d : ", SCpnt->host->host_no); |
host | 977 | drivers/scsi/scsi.c | struct Scsi_Host * host = SCpnt->host; |
host | 987 | drivers/scsi/scsi.c | printk("In scsi_done(host = %d, result = %06x)\n", host->host_no, result); |
host | 1008 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->target, SCpnt->lun); |
host | 1112 | drivers/scsi/scsi.c | SCpnt->host->host_no); |
host | 1219 | drivers/scsi/scsi.c | SCpnt->host->host_no); |
host | 1255 | drivers/scsi/scsi.c | host->host_busy--; /* Indicate that we are free */ |
host | 1256 | drivers/scsi/scsi.c | wake_up(&host->host_wait); |
host | 1288 | drivers/scsi/scsi.c | struct Scsi_Host * host = SCpnt->host; |
host | 1305 | drivers/scsi/scsi.c | if (!host->host_busy || !host->hostt->abort(SCpnt, why)) |
host | 1323 | drivers/scsi/scsi.c | struct Scsi_Host * host = SCpnt->host; |
host | 1326 | drivers/scsi/scsi.c | printk("Danger Will Robinson! - SCSI bus for host %d is being reset.\n",host->host_no); |
host | 1340 | drivers/scsi/scsi.c | if (host->host_busy) |
host | 1343 | drivers/scsi/scsi.c | SCpnt1 = host->host_queue; |
host | 1352 | drivers/scsi/scsi.c | temp = host->hostt->reset(SCpnt); |
host | 1356 | drivers/scsi/scsi.c | host->host_busy++; |
host | 1359 | drivers/scsi/scsi.c | temp = host->hostt->reset(SCpnt); |
host | 1360 | drivers/scsi/scsi.c | host->last_reset = jiffies; |
host | 1361 | drivers/scsi/scsi.c | host->host_busy--; |
host | 1381 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 1393 | drivers/scsi/scsi.c | for(host = scsi_hostlist; host; host = host->next) { |
host | 1394 | drivers/scsi/scsi.c | SCpnt = host->host_queue; |
host | 1424 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 1450 | drivers/scsi/scsi.c | for(host = scsi_hostlist; host; host = host->next) { |
host | 1451 | drivers/scsi/scsi.c | SCpnt = host->host_queue; |
host | 1554 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 1596 | drivers/scsi/scsi.c | for(j=0;j<scsi_devices[i].host->hostt->cmd_per_lun;j++){ |
host | 1597 | drivers/scsi/scsi.c | SCpnt->host = scsi_devices[i].host; |
host | 1607 | drivers/scsi/scsi.c | host = scsi_devices[i].host; |
host | 1608 | drivers/scsi/scsi.c | if(host->host_queue) |
host | 1609 | drivers/scsi/scsi.c | host->host_queue->prev = SCpnt; |
host | 1610 | drivers/scsi/scsi.c | SCpnt->next = host->host_queue; |
host | 1612 | drivers/scsi/scsi.c | host->host_queue = SCpnt; |
host | 1624 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 1625 | drivers/scsi/scsi.c | host = scsi_devices[i].host; |
host | 1628 | drivers/scsi/scsi.c | dma_sectors += ((host->sg_tablesize * |
host | 1630 | drivers/scsi/scsi.c | host->hostt->cmd_per_lun; |
host | 1632 | drivers/scsi/scsi.c | if(host->unchecked_isa_dma && |
host | 1635 | drivers/scsi/scsi.c | dma_sectors += (PAGE_SIZE >> 9) * host->sg_tablesize * |
host | 1636 | drivers/scsi/scsi.c | host->hostt->cmd_per_lun; |
host | 263 | drivers/scsi/scsi.h | struct Scsi_Host * host; |
host | 338 | drivers/scsi/scsi.h | struct Scsi_Host * host; |
host | 28 | drivers/scsi/scsi_ioctl.c | static int ioctl_probe(struct Scsi_Host * host, void *buffer) |
host | 34 | drivers/scsi/scsi_ioctl.c | if ((temp = host->hostt->present) && buffer) { |
host | 36 | drivers/scsi/scsi_ioctl.c | string = host->hostt->info(); |
host | 125 | drivers/scsi/scsi_ioctl.c | dev->host->host_no, |
host | 244 | drivers/scsi/scsi_ioctl.c | (dev->host->host_no << 16), (unsigned long *) arg); |
host | 259 | drivers/scsi/scsi_ioctl.c | return ioctl_probe(dev->host, arg); |
host | 144 | drivers/scsi/sd.c | printk("sd%d : rw_intr(%d, %d)\n", MINOR(SCpnt->request.dev), SCpnt->host->host_no, result); |
host | 293 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
host | 451 | drivers/scsi/sd.c | } else if (SCpnt->host->sg_tablesize == 0 || |
host | 462 | drivers/scsi/sd.c | if (SCpnt->host->sg_tablesize != 0 && |
host | 481 | drivers/scsi/sd.c | while(bh && count < SCpnt->host->sg_tablesize) { |
host | 508 | drivers/scsi/sd.c | ISA_DMA_THRESHOLD & (SCpnt->host->unchecked_isa_dma)) { |
host | 548 | drivers/scsi/sd.c | (SCpnt->host->unchecked_isa_dma)) { |
host | 895 | drivers/scsi/sd.c | if(rscsi_disks[0].device->host->sg_tablesize) |
host | 21 | drivers/scsi/sd_ioctl.c | struct Scsi_Host * host; |
host | 31 | drivers/scsi/sd_ioctl.c | host = rscsi_disks[MINOR(dev) >> 4].device->host; |
host | 35 | drivers/scsi/sd_ioctl.c | if(host->hostt->bios_param != NULL) |
host | 36 | drivers/scsi/sd_ioctl.c | host->hostt->bios_param(rscsi_disks[MINOR(dev) >> 4].capacity, |
host | 242 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
host | 420 | drivers/scsi/sr.c | if (SCpnt->host->sg_tablesize > 0 && |
host | 434 | drivers/scsi/sr.c | while(bh && count < SCpnt->host->sg_tablesize) { |
host | 443 | drivers/scsi/sr.c | if (count < SCpnt->host->sg_tablesize) { |
host | 488 | drivers/scsi/sr.c | ISA_DMA_THRESHOLD & (SCpnt->host->unchecked_isa_dma)) { |
host | 552 | drivers/scsi/sr.c | (SCpnt->host->unchecked_isa_dma)) |
host | 737 | drivers/scsi/sr.c | if(scsi_CDs[0].device->host->sg_tablesize) |
host | 75 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->host->host_no, |