taglinefilesource code
sh247drivers/scsi/eata.cstatic struct Scsi_Host * sh[MAX_BOARDS + 1];
sh251drivers/scsi/eata.c#define HD(board) ((struct hostdata *) &sh[board]->hostdata)
sh378drivers/scsi/eata.csh[j] = scsi_register(tpnt, sizeof(struct hostdata));
sh379drivers/scsi/eata.csh[j]->io_port = *port_base;
sh380drivers/scsi/eata.csh[j]->dma_channel = dma_channel;
sh381drivers/scsi/eata.csh[j]->irq = irq;
sh382drivers/scsi/eata.csh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size);
sh383drivers/scsi/eata.csh[j]->this_id = (ushort) ntohl(info.host_addr);
sh384drivers/scsi/eata.csh[j]->can_queue = (ushort) ntohs(info.queue_size);
sh385drivers/scsi/eata.csh[j]->cmd_per_lun = MAX_CMD_PER_LUN;
sh388drivers/scsi/eata.csnarf_region(sh[j]->io_port, REG_REGION);
sh396drivers/scsi/eata.csh[j]->unchecked_isa_dma = FALSE;
sh398drivers/scsi/eata.csh[j]->block = sh[j];
sh399drivers/scsi/eata.csh[j]->unchecked_isa_dma = TRUE;
sh409drivers/scsi/eata.c"Mbox %d, CmdLun %d.\n", BN(j), board_status, sh[j]->this_id, 
sh410drivers/scsi/eata.csh[j]->io_port, sh[j]->irq, 
sh411drivers/scsi/eata.csh[j]->dma_channel, sh[j]->sg_tablesize, 
sh412drivers/scsi/eata.csh[j]->can_queue, sh[j]->cmd_per_lun);
sh415drivers/scsi/eata.cif (sh[j]->sg_tablesize > MAX_SGLIST || sh[j]->sg_tablesize < 2) {
sh417drivers/scsi/eata.csh[j]->sg_tablesize = MAX_SGLIST;
sh421drivers/scsi/eata.cif (sh[j]->can_queue > MAX_MAILBOXES || sh[j]->can_queue  < 2) {
sh423drivers/scsi/eata.csh[j]->can_queue = MAX_MAILBOXES;
sh454drivers/scsi/eata.cfor (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL;
sh498drivers/scsi/eata.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
sh500drivers/scsi/eata.cif (i >= sh[j]->can_queue) i = 0;
sh508drivers/scsi/eata.cif (k == sh[j]->can_queue) {
sh570drivers/scsi/eata.cif (do_dma(sh[j]->io_port, (unsigned int) cpp, SEND_CP_DMA)) {
sh602drivers/scsi/eata.cif (i >= sh[j]->can_queue)
sh605drivers/scsi/eata.cif (wait_on_busy(sh[j]->io_port)) {
sh663drivers/scsi/eata.cif (wait_on_busy(sh[j]->io_port)) {
sh671drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
sh701drivers/scsi/eata.cif (do_dma(sh[j]->io_port, 0, RESET_PIO)) {
sh716drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
sh768drivers/scsi/eata.cfor (j = 0; sh[j] != NULL; j++) {
sh770drivers/scsi/eata.cif (sh[j]->irq != irq) continue;
sh775drivers/scsi/eata.cwhile (inb(sh[j]->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) {
sh783drivers/scsi/eata.cinb(sh[j]->io_port + REG_STATUS);
sh786drivers/scsi/eata.cfor (i = 0; i < sh[j]->can_queue; i++) {
sh930drivers/scsi/eata.cfor (j = 0; sh[j] != NULL; j++)
sh932drivers/scsi/eata.ccalls[(sh[j]->irq)], HD(j)->iocount, HD(j)->multicount);
sh205drivers/scsi/hosts.cscsi_unregister(struct Scsi_Host * sh){
sh209drivers/scsi/hosts.cj = sh->extra_bytes;
sh211drivers/scsi/hosts.cif(scsi_hostlist == sh)
sh215drivers/scsi/hosts.cwhile(shpnt->next != sh) shpnt = shpnt->next;
sh219drivers/scsi/hosts.cscsi_init_free((char *) sh, sizeof(struct Scsi_Host) + j);
sh318drivers/scsi/hosts.cstruct Scsi_Host * sh[128], * shpnt;
sh321drivers/scsi/hosts.cif (shpnt->block) sh[block_count++] = shpnt;
sh323drivers/scsi/hosts.cif (block_count == 1) sh[0]->block = NULL;
sh328drivers/scsi/hosts.csh[index]->block = sh[index + 1];
sh330drivers/scsi/hosts.csh[index]->host_no);
sh333drivers/scsi/hosts.csh[block_count - 1]->block = sh[0];
sh335drivers/scsi/hosts.csh[index]->host_no);
sh241drivers/scsi/u14-34f.cstatic struct Scsi_Host * sh[MAX_BOARDS + 1];
sh245drivers/scsi/u14-34f.c#define HD(board) ((struct hostdata *) &sh[board]->hostdata)
sh333drivers/scsi/u14-34f.csh[j] = scsi_register(tpnt, sizeof(struct hostdata));
sh334drivers/scsi/u14-34f.csh[j]->io_port = *port_base;
sh335drivers/scsi/u14-34f.csh[j]->base = bios_segment_table[config_1.bios_segment];
sh336drivers/scsi/u14-34f.csh[j]->irq = irq;
sh337drivers/scsi/u14-34f.csh[j]->this_id = config_2.ha_scsi_id;
sh338drivers/scsi/u14-34f.csh[j]->can_queue = MAX_MAILBOXES;
sh339drivers/scsi/u14-34f.csh[j]->cmd_per_lun = MAX_CMD_PER_LUN;
sh345drivers/scsi/u14-34f.csys_mask = inb(sh[j]->io_port + REG_SYS_MASK);
sh346drivers/scsi/u14-34f.clcl_mask = inb(sh[j]->io_port + REG_LCL_MASK);
sh352drivers/scsi/u14-34f.cif (sh[j]->base == 0) outb(CMD_ENA_INTR, sh[j]->io_port + REG_SYS_MASK);
sh355drivers/scsi/u14-34f.csnarf_region(sh[j]->io_port, REG_REGION);
sh366drivers/scsi/u14-34f.csh[j]->dma_channel = 0;
sh367drivers/scsi/u14-34f.csh[j]->unchecked_isa_dma = FALSE;
sh368drivers/scsi/u14-34f.csh[j]->sg_tablesize = U34F_MAX_SGLIST;
sh369drivers/scsi/u14-34f.csh[j]->hostt->use_clustering = U34F_CLUSTERING;
sh373drivers/scsi/u14-34f.csh[j]->dma_channel = dma_channel;
sh374drivers/scsi/u14-34f.csh[j]->block = sh[j];
sh375drivers/scsi/u14-34f.csh[j]->unchecked_isa_dma = TRUE;
sh376drivers/scsi/u14-34f.csh[j]->sg_tablesize = U14F_MAX_SGLIST;
sh377drivers/scsi/u14-34f.csh[j]->hostt->use_clustering = U14F_CLUSTERING;
sh386drivers/scsi/u14-34f.c"Mbox %d, CmdLun %d, C%d.\n", BN(j), sh[j]->io_port, 
sh387drivers/scsi/u14-34f.c(int)sh[j]->base, sh[j]->irq, 
sh388drivers/scsi/u14-34f.csh[j]->dma_channel, sh[j]->sg_tablesize, 
sh389drivers/scsi/u14-34f.csh[j]->can_queue, sh[j]->cmd_per_lun,
sh390drivers/scsi/u14-34f.csh[j]->hostt->use_clustering);
sh411drivers/scsi/u14-34f.cfor (k = 0; k < MAX_BOARDS + 1; k++) sh[k] = NULL;
sh456drivers/scsi/u14-34f.cfor (k = 0; k < sh[j]->can_queue; k++, i++) {
sh458drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue) i = 0;
sh466drivers/scsi/u14-34f.cif (k == sh[j]->can_queue) {
sh513drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
sh524drivers/scsi/u14-34f.coutl((unsigned int)cpp, sh[j]->io_port + REG_OGM);
sh527drivers/scsi/u14-34f.coutb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
sh551drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
sh554drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
sh612drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
sh620drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
sh650drivers/scsi/u14-34f.cif (wait_on_busy(sh[j]->io_port)) {
sh656drivers/scsi/u14-34f.coutb(CMD_RESET, sh[j]->io_port + REG_LCL_INTR);
sh666drivers/scsi/u14-34f.cfor (i = 0; i < sh[j]->can_queue; i++) {
sh727drivers/scsi/u14-34f.cfor (j = 0; sh[j] != NULL; j++) {
sh729drivers/scsi/u14-34f.cif (sh[j]->irq != irq) continue;
sh734drivers/scsi/u14-34f.cwhile (inb(sh[j]->io_port + REG_SYS_INTR) & INTR_ASSERTED) {
sh741drivers/scsi/u14-34f.cspp = (struct mscp *)inl(sh[j]->io_port + REG_ICM);
sh744drivers/scsi/u14-34f.coutb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
sh748drivers/scsi/u14-34f.cif (i >= sh[j]->can_queue)
sh881drivers/scsi/u14-34f.cfor (j = 0; sh[j] != NULL; j++)
sh883drivers/scsi/u14-34f.ccalls[(sh[j]->irq)], HD(j)->iocount, HD(j)->multicount);
sh159drivers/scsi/wd7000.cstruct Scsi_Host *sh;             /* Pointer to Scsi_Host structure */
sh1106drivers/scsi/wd7000.cstruct Scsi_Host *sh;
sh1137drivers/scsi/wd7000.csh = scsi_register(tpnt, sizeof(Adapter) );
sh1138drivers/scsi/wd7000.chost = (Adapter *) sh->hostdata;
sh1144drivers/scsi/wd7000.chost->sh = sh;
sh1151drivers/scsi/wd7000.cscsi_unregister (sh);
sh1169drivers/scsi/wd7000.cif (host->rev1 < 6)  sh->sg_tablesize = SG_NONE;