taglinefilesource code
host261drivers/scsi/53c7,8xx.cstatic void dump_events (struct Scsi_Host *host, int count);
host262drivers/scsi/53c7,8xx.cstatic Scsi_Cmnd * return_outstanding_commands (struct Scsi_Host *host, 
host264drivers/scsi/53c7,8xx.cstatic void hard_reset (struct Scsi_Host *host);
host265drivers/scsi/53c7,8xx.cstatic void ncr_scsi_reset (struct Scsi_Host *host);
host266drivers/scsi/53c7,8xx.cstatic void print_lots (struct Scsi_Host *host);
host267drivers/scsi/53c7,8xx.cstatic void set_synchronous (struct Scsi_Host *host, int target, int sxfer, 
host269drivers/scsi/53c7,8xx.cstatic int datapath_residual (struct Scsi_Host *host);
host272drivers/scsi/53c7,8xx.cstatic void print_queues (struct Scsi_Host *host);
host274drivers/scsi/53c7,8xx.cstatic int shutdown (struct Scsi_Host *host);
host276drivers/scsi/53c7,8xx.cstatic int disable (struct Scsi_Host *host);
host277drivers/scsi/53c7,8xx.cstatic int NCR53c8xx_run_tests (struct Scsi_Host *host);
host281drivers/scsi/53c7,8xx.cstatic int ncr_halt (struct Scsi_Host *host);
host282drivers/scsi/53c7,8xx.cstatic void intr_phase_mismatch (struct Scsi_Host *host, struct NCR53c7x0_cmd 
host284drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
host285drivers/scsi/53c7,8xx.cstatic void print_dsa (struct Scsi_Host *host, u32 *dsa,
host287drivers/scsi/53c7,8xx.cstatic int print_insn (struct Scsi_Host *host, const u32 *insn,
host291drivers/scsi/53c7,8xx.cstatic void NCR53c8x0_init_fixup (struct Scsi_Host *host);
host292drivers/scsi/53c7,8xx.cstatic int NCR53c8x0_dstat_sir_intr (struct Scsi_Host *host, struct 
host294drivers/scsi/53c7,8xx.cstatic void NCR53c8x0_soft_reset (struct Scsi_Host *host);
host534drivers/scsi/53c7,8xx.cissue_to_cmd (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata,
host665drivers/scsi/53c7,8xx.cfind_host (int host) {
host667drivers/scsi/53c7,8xx.cfor (h = first_host; h && h->host_no != host; h = h->next);
host669drivers/scsi/53c7,8xx.cprintk (KERN_ALERT "scsi%d not found\n", host);
host672drivers/scsi/53c7,8xx.cprintk (KERN_ALERT "scsi%d is not a NCR board\n", host);
host693drivers/scsi/53c7,8xx.crequest_synchronous (int host, int target) {
host701drivers/scsi/53c7,8xx.cif (!(h = find_host (host)))
host741drivers/scsi/53c7,8xx.crequest_disconnect (int host, int on_or_off) {
host744drivers/scsi/53c7,8xx.cif (!(h = find_host (host)))
host764drivers/scsi/53c7,8xx.cNCR53c7x0_driver_init (struct Scsi_Host *host) {
host766drivers/scsi/53c7,8xx.chost->hostdata;
host773drivers/scsi/53c7,8xx.cset_synchronous (host, i, /* sxfer */ 0, hostdata->saved_scntl3, 0);
host779drivers/scsi/53c7,8xx.ci < host->can_queue; ++i, current += 2) {
host864drivers/scsi/53c7,8xx.cNCR53c7x0_init (struct Scsi_Host *host) {
host868drivers/scsi/53c7,8xx.chost->hostdata;
host885drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host891drivers/scsi/53c7,8xx.chost->max_id = 15;
host908drivers/scsi/53c7,8xx.chost->host_no, hostdata->chip);
host909drivers/scsi/53c7,8xx.cscsi_unregister (host);
host923drivers/scsi/53c7,8xx.cprintk ("scsi%d : using %s mapped access\n", host->host_no, 
host934drivers/scsi/53c7,8xx.cncr_halt(host);
host946drivers/scsi/53c7,8xx.cfor (host->this_id = 0; tmp != 1; tmp >>=1, ++host->this_id);
host948drivers/scsi/53c7,8xx.chost->this_id = NCR53c7x0_read8(SCID_REG) & 15;
host949drivers/scsi/53c7,8xx.cif (host->this_id == 0)
host950drivers/scsi/53c7,8xx.chost->this_id = 7;  /* sanitize hostid---0 doesn't make sense */
host951drivers/scsi/53c7,8xx.chostdata->this_id_mask = 1 << host->this_id;
host959drivers/scsi/53c7,8xx.cif (!host->this_id) {
host961drivers/scsi/53c7,8xx.chost->host_no, host->this_id);
host962drivers/scsi/53c7,8xx.chost->this_id = 7;
host967drivers/scsi/53c7,8xx.cif (expected_id == -1 || host->this_id != expected_id)
host968drivers/scsi/53c7,8xx.cprintk("scsi%d : using initiator ID %d\n", host->host_no,
host969drivers/scsi/53c7,8xx.chost->this_id);
host1018drivers/scsi/53c7,8xx.cprintk ("scsi%d : burst mode disabled\n", host->host_no);
host1027drivers/scsi/53c7,8xx.cprintk ("scsi%d : burst length %d\n", host->host_no, i);
host1044drivers/scsi/53c7,8xx.chost->host_no, expected_ccf, ccf);
host1062drivers/scsi/53c7,8xx.chost->host_no, ccf);
host1068drivers/scsi/53c7,8xx.cprintk ("scsi%d : using %dMHz SCSI clock\n", host->host_no, 
host1075drivers/scsi/53c7,8xx.chostdata->init_save_regs (host);
host1077drivers/scsi/53c7,8xx.chostdata->init_fixup (host);
host1080drivers/scsi/53c7,8xx.cthe_template = host->hostt;
host1081drivers/scsi/53c7,8xx.cfirst_host = host;
host1094drivers/scsi/53c7,8xx.chostdata->soft_reset (host);
host1106drivers/scsi/53c7,8xx.cNCR53c7x0_driver_init (host);
host1114drivers/scsi/53c7,8xx.csearch->irq == host->irq && search != host); search=search->next);
host1117drivers/scsi/53c7,8xx.cif (request_irq(host->irq, NCR53c7x0_intr, SA_INTERRUPT, "53c7,8xx")) {
host1123drivers/scsi/53c7,8xx.chost->host_no, host->irq);
host1124drivers/scsi/53c7,8xx.cscsi_unregister (host);
host1129drivers/scsi/53c7,8xx.chost->host_no, search->host_no);
host1133drivers/scsi/53c7,8xx.cif ((hostdata->run_tests && hostdata->run_tests(host) == -1) ||
host1136drivers/scsi/53c7,8xx.cscsi_unregister (host);
host1139drivers/scsi/53c7,8xx.cif (host->io_port)  {
host1140drivers/scsi/53c7,8xx.chost->n_io_port = 128;
host1141drivers/scsi/53c7,8xx.crequest_region (host->io_port, host->n_io_port, "ncr53c7,8xx");
host1146drivers/scsi/53c7,8xx.cprintk ("scsi%d : bus wedge, doing SCSI reset\n", host->host_no);
host1147drivers/scsi/53c7,8xx.chard_reset (host);
host1592drivers/scsi/53c7,8xx.cNCR53c8x0_init_fixup (struct Scsi_Host *host) {
host1595drivers/scsi/53c7,8xx.chost->hostdata;
host1599drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host1656drivers/scsi/53c7,8xx.cbase = (u32) host->io_port;
host1660drivers/scsi/53c7,8xx.cbase = virt_to_bus(host->base);
host1785drivers/scsi/53c7,8xx.chost->host_no, A_dsa_fields_start, Ent_dsa_code_template_end - 
host1788drivers/scsi/53c7,8xx.cprintk("scsi%d : NCR code relocated to 0x%lx (virt 0x%p)\n", host->host_no,
host1808drivers/scsi/53c7,8xx.cNCR53c8xx_run_tests (struct Scsi_Host *host) {
host1811drivers/scsi/53c7,8xx.chost->hostdata;
host1816drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host1823drivers/scsi/53c7,8xx.cprintk ("scsi%d : chip not idle, aborting tests\n", host->host_no);
host1842drivers/scsi/53c7,8xx.cprintk ("scsi%d : test 1", host->host_no);
host1860drivers/scsi/53c7,8xx.cprintk ("scsi%d : driver test 1 timed out%s\n",host->host_no ,
host1872drivers/scsi/53c7,8xx.chost->host_no, hostdata->test_completed);
host1880drivers/scsi/53c7,8xx.chost->host_no, hostdata->test_dest);
host1885drivers/scsi/53c7,8xx.chost->host_no, bus_to_virt(NCR53c7x0_read32(DSP_REG)),
host1887drivers/scsi/53c7,8xx.cprintk ("scsi%d : DSPS = 0x%x\n", host->host_no,
host1922drivers/scsi/53c7,8xx.cprintk ("scsi%d : chip not idle, aborting tests\n", host->host_no);
host1946drivers/scsi/53c7,8xx.chost->host_no, i, data + 8);
host1947drivers/scsi/53c7,8xx.cprintk ("scsi%d : status ", host->host_no);
host1949drivers/scsi/53c7,8xx.cprintk ("\nscsi%d : message ", host->host_no);
host1954drivers/scsi/53c7,8xx.chost->host_no, i);
host1956drivers/scsi/53c7,8xx.cprintk("scsi%d : not idle\n", host->host_no);
host1961drivers/scsi/53c7,8xx.cprintk ("scsi%d : test 2 timed out\n", host->host_no);
host1986drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = c->host;
host1988drivers/scsi/53c7,8xx.chost->hostdata;
host2082drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = c->host;
host2084drivers/scsi/53c7,8xx.chost->hostdata;
host2092drivers/scsi/53c7,8xx.cprintk ("scsi%d: abnormal finished\n", host->host_no);
host2105drivers/scsi/53c7,8xx.cfor (found = 0, left = host->can_queue, current = hostdata->schedule; 
host2108drivers/scsi/53c7,8xx.cif (issue_to_cmd (host, hostdata, (u32 *) current) == cmd) 
host2125drivers/scsi/53c7,8xx.cfor (left = host->can_queue,
host2136drivers/scsi/53c7,8xx.chost->host_no);
host2140drivers/scsi/53c7,8xx.chost->host_no, c->pid);
host2155drivers/scsi/53c7,8xx.cfor (left = host->can_queue, linux_search = hostdata->running_list, 
host2163drivers/scsi/53c7,8xx.chost->host_no, c->pid);
host2195drivers/scsi/53c7,8xx.cintr_break (struct Scsi_Host *host, struct 
host2204drivers/scsi/53c7,8xx.chost->hostdata;    
host2206drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host2220drivers/scsi/53c7,8xx.chost->host_no, dsp);
host2277drivers/scsi/53c7,8xx.cset_synchronous (struct Scsi_Host *host, int target, int sxfer, int scntl3,
host2281drivers/scsi/53c7,8xx.chost->hostdata;
host2283drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host2333drivers/scsi/53c7,8xx.chost->host_no, target, sxfer, scntl3);
host2355drivers/scsi/53c7,8xx.casynchronous (struct Scsi_Host *host, int target) {
host2358drivers/scsi/53c7,8xx.chost->hostdata;
host2359drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host2360drivers/scsi/53c7,8xx.cset_synchronous (host, target, /* no offset */ 0, hostdata->saved_scntl3,
host2363drivers/scsi/53c7,8xx.chost->host_no, target);
host2406drivers/scsi/53c7,8xx.csynchronous (struct Scsi_Host *host, int target, char *msg) {
host2408drivers/scsi/53c7,8xx.chost->hostdata;
host2425drivers/scsi/53c7,8xx.chost->host_no, divisor / 10, divisor % 10);
host2432drivers/scsi/53c7,8xx.chost->host_no, syncs[i].div / 10, syncs[i].div % 10);
host2437drivers/scsi/53c7,8xx.cprintk("scsi%d : selected synchronous period of %dns\n", host->host_no,
host2445drivers/scsi/53c7,8xx.chost->host_no, (int) sxfer, (int) scntl3);
host2446drivers/scsi/53c7,8xx.cset_synchronous (host, target, sxfer, scntl3, 1);
host2447drivers/scsi/53c7,8xx.csprintf (buf, "scsi%d : setting target %d to ", host->host_no, target);
host2465drivers/scsi/53c7,8xx.cNCR53c8x0_dstat_sir_intr (struct Scsi_Host *host, struct 
host2471drivers/scsi/53c7,8xx.chost->hostdata;    
host2473drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host2478drivers/scsi/53c7,8xx.cprintk ("scsi%d : DSPS = 0x%x\n", host->host_no, dsps);
host2493drivers/scsi/53c7,8xx.cprintk ("scsi%d : target %d rejected SDTR\n", host->host_no, 
host2496drivers/scsi/53c7,8xx.casynchronous (host, c->target);
host2502drivers/scsi/53c7,8xx.chost->host_no);
host2510drivers/scsi/53c7,8xx.chost->host_no);
host2516drivers/scsi/53c7,8xx.cprintk ("scsi%d : received message", host->host_no);
host2538drivers/scsi/53c7,8xx.csprintf (buf, "scsi%d : target %d %s ", host->host_no, c->target,
host2553drivers/scsi/53c7,8xx.csynchronous (host, c->target, (unsigned char *) 
host2556drivers/scsi/53c7,8xx.casynchronous (host, c->target);
host2564drivers/scsi/53c7,8xx.csynchronous (host, c->target, (unsigned char *) 
host2568drivers/scsi/53c7,8xx.casynchronous (host, c->target);
host2588drivers/scsi/53c7,8xx.cprintk ("scsi%d : unexpected phase\n", host->host_no);
host2591drivers/scsi/53c7,8xx.cprintk ("scsi%d : selected by target %d\n", host->host_no,
host2599drivers/scsi/53c7,8xx.chost->host_no, (int) NCR53c7x0_read8(SDID_REG_800) & 7,
host2618drivers/scsi/53c7,8xx.cprintk ("scsi%d : CHECK CONDITION\n", host->host_no);
host2621drivers/scsi/53c7,8xx.chost->host_no);
host2699drivers/scsi/53c7,8xx.cprintk("scsi%d : test%d complete\n", host->host_no,
host2715drivers/scsi/53c7,8xx.chost->host_no, NCR53c7x0_read32(DSA_REG), dsa);
host2717drivers/scsi/53c7,8xx.chost->host_no, cmd->saved_data_pointer,
host2719drivers/scsi/53c7,8xx.cprint_insn (host, hostdata->script + Ent_reselected_ok / 
host2722drivers/scsi/53c7,8xx.chost->host_no, NCR53c7x0_read8(SXFER_REG),
host2725drivers/scsi/53c7,8xx.cprint_insn (host, (u32 *) 
host2727drivers/scsi/53c7,8xx.cprint_insn (host, (u32 *) 
host2747drivers/scsi/53c7,8xx.chost->host_no, virt_to_bus(dsa), dsa);
host2750drivers/scsi/53c7,8xx.chost->host_no, cmd->saved_data_pointer,
host2753drivers/scsi/53c7,8xx.cprintk("scsi%d : template code :\n", host->host_no);
host2756drivers/scsi/53c7,8xx.ccode += print_insn (host, code, "", 1));
host2759drivers/scsi/53c7,8xx.cprint_insn (host, hostdata->script + Ent_reselected_ok / 
host2775drivers/scsi/53c7,8xx.chost->host_no, virt_to_bus(dsa), dsa);
host2779drivers/scsi/53c7,8xx.chost->host_no, cmd->saved_data_pointer,
host2790drivers/scsi/53c7,8xx.chost->host_no, NCR53c7x0_read32(DSA_REG),
host2798drivers/scsi/53c7,8xx.cprintk("scsi%d : idle\n", host->host_no);
host2812drivers/scsi/53c7,8xx.cprintk("scsi%d : DSA loaded with 0x%x (virt 0x%p)\n", host->host_no,
host2823drivers/scsi/53c7,8xx.chost->host_no, (int) NCR53c7x0_read8(SDID_REG_800) & ~0x80, 
host2825drivers/scsi/53c7,8xx.cprint_queues(host);
host2834drivers/scsi/53c7,8xx.chost->host_no, c->target, c->lun);
host2837drivers/scsi/53c7,8xx.chost->host_no);
host2846drivers/scsi/53c7,8xx.chost->host_no);
host2847drivers/scsi/53c7,8xx.cprint_queues(host);
host2850drivers/scsi/53c7,8xx.chost->host_no, NCR53c7x0_read8(SXFER_REG),
host2854drivers/scsi/53c7,8xx.cprint_insn (host, (u32 *) 
host2856drivers/scsi/53c7,8xx.cprint_insn (host, (u32 *) 
host2864drivers/scsi/53c7,8xx.cprintk("scsi%d : int_debug_panic received\n", host->host_no);
host2865drivers/scsi/53c7,8xx.cprint_lots (host);
host2873drivers/scsi/53c7,8xx.chost->host_no, cmd->saved_data_pointer,
host2886drivers/scsi/53c7,8xx.chost->host_no, cmd->saved_data_pointer, bus_to_virt (
host2888drivers/scsi/53c7,8xx.csize = print_insn (host, (u32 *) 
host2890drivers/scsi/53c7,8xx.csize = print_insn (host, (u32 *) 
host2896drivers/scsi/53c7,8xx.chost->host_no, datapath_residual (host)) ;
host2911drivers/scsi/53c7,8xx.chost->host_no, sxfer, scntl3);
host2917drivers/scsi/53c7,8xx.chost->host_no, (int) sxfer, (int) scntl3);
host2928drivers/scsi/53c7,8xx.chost->host_no, sbcl_to_phase (NCR53c7x0_read8 (SBCL_REG)),
host2931drivers/scsi/53c7,8xx.cdatapath_residual (host)) ;
host2932drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "", 1);
host2933drivers/scsi/53c7,8xx.csize = print_insn (host, (u32 *) bus_to_virt(dsp[1]), "", 1);
host2934drivers/scsi/53c7,8xx.cprint_insn (host, (u32 *) bus_to_virt(dsp[1]) + size, "", 1);
host2952drivers/scsi/53c7,8xx.chost->host_no, sdid, c->target, where);
host2953drivers/scsi/53c7,8xx.cprint_lots(host);
host2954drivers/scsi/53c7,8xx.cdump_events (host, 20);
host2963drivers/scsi/53c7,8xx.chost->host_no, dsps);
host3000drivers/scsi/53c7,8xx.chost->host_no, (unsigned) dsps);
host3060drivers/scsi/53c7,8xx.cstatic int debugger_fn_bc (struct Scsi_Host *host, struct debugger_token *token,
host3093drivers/scsi/53c7,8xx.cdebugger_fn_bl (struct Scsi_Host *host, struct debugger_token *token,
host3096drivers/scsi/53c7,8xx.chost->hostdata;
host3108drivers/scsi/53c7,8xx.chost->host_no);
host3109drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, strlen(buf));
host3113drivers/scsi/53c7,8xx.cfor (bp = (struct NCR53c7x0_break *) host->breakpoints;
host3125drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, len);
host3132drivers/scsi/53c7,8xx.cdebugger_fn_bs (struct Scsi_Host *host, struct debugger_token *token,
host3135drivers/scsi/53c7,8xx.chost->hostdata;
host3144drivers/scsi/53c7,8xx.csprintf (buf, "scsi%d : bs : failure : NCR not halted\n", host->host_no);
host3145drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, strlen(buf));
host3152drivers/scsi/53c7,8xx.chost->host_no, sizeof(struct NCR53c7x0_break));
host3185drivers/scsi/53c7,8xx.cfor (dev = MINOR(inode->rdev), host = first_host;
host3186drivers/scsi/53c7,8xx.c(host->hostt == the_template); --dev, host = host->next)
host3187drivers/scsi/53c7,8xx.cif (!dev) return host;
host3195drivers/scsi/53c7,8xx.cstruct Scsi_Host *host;      /* This SCSI host */
host3202drivers/scsi/53c7,8xx.cif (!(host = inode_to_host(inode)))
host3205drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
host3253drivers/scsi/53c7,8xx.cdebugger_kernel_write (struct Scsi_Host *host, char *buf, size_t
host3256drivers/scsi/53c7,8xx.chost->hostdata;
host3291drivers/scsi/53c7,8xx.cNCR53c8x0_soft_reset (struct Scsi_Host *host) {
host3294drivers/scsi/53c7,8xx.chost->hostdata;
host3295drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host3322drivers/scsi/53c7,8xx.cNCR53c7x0_write8(SCID_REG, (host->this_id & 7)|SCID_800_RRE|SCID_800_SRE);
host3324drivers/scsi/53c7,8xx.cNCR53c7x0_write8(SCID_REG, (host->this_id & 7)|SCID_800_RRE);
host3398drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host3400drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
host3409drivers/scsi/53c7,8xx.chost->host_no, hostdata->num_cmds, host->can_queue,
host3426drivers/scsi/53c7,8xx.cif ((hostdata->extra_allocate + hostdata->num_cmds) < host->can_queue) 
host3427drivers/scsi/53c7,8xx.chostdata->extra_allocate += host->cmd_per_lun;
host3441drivers/scsi/53c7,8xx.chost->host_no, size);
host3467drivers/scsi/53c7,8xx.chost->host_no, cmd->target, cmd->lun);
host3488drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host3490drivers/scsi/53c7,8xx.chost->hostdata;  
host3503drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(cmd->host);
host3530drivers/scsi/53c7,8xx.cprintk("scsi%d : command is ", host->host_no);
host3534drivers/scsi/53c7,8xx.cprintk ("scsi%d : %d scatter/gather segments\n", host->host_no,
host3645drivers/scsi/53c7,8xx.chost->host_no, hostdata->sync[cmd->target].select_indirect);
host3646drivers/scsi/53c7,8xx.cFATAL(host);
host3775drivers/scsi/53c7,8xx.cprint_insn (host, cmd_datain, "dynamic ", 1);
host3776drivers/scsi/53c7,8xx.cprint_insn (host, cmd_datain + 2, "dynamic ", 1);
host3790drivers/scsi/53c7,8xx.cprint_insn (host, cmd_dataout, "dynamic ", 1);
host3791drivers/scsi/53c7,8xx.cprint_insn (host, cmd_dataout + 2, "dynamic ", 1);
host3808drivers/scsi/53c7,8xx.cprint_insn (host, cmd_datain, "dynamic jump ", 1);
host3825drivers/scsi/53c7,8xx.cprint_insn (host, cmd_dataout, "dynamic jump ", 1);
host3855drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host3857drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
host3874drivers/scsi/53c7,8xx.c|| cmd->target > host->max_id
host3876drivers/scsi/53c7,8xx.c|| cmd->target == host->this_id
host3878drivers/scsi/53c7,8xx.cprintk("scsi%d : disabled or bad target %d lun %d\n", host->host_no,
host3883drivers/scsi/53c7,8xx.cprintk("scsi%d : maximum commands exceeded\n", host->host_no);
host3891drivers/scsi/53c7,8xx.chost->host_no);
host3943drivers/scsi/53c7,8xx.cto_schedule_list (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata,
host3952drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host3954drivers/scsi/53c7,8xx.cprintk("scsi%d : new dsa is 0x%lx (virt 0x%p)\n", host->host_no, 
host3967drivers/scsi/53c7,8xx.cprintk("scsi%d : driver disabled\n", host->host_no);
host3976drivers/scsi/53c7,8xx.cfor (i = host->can_queue, current = hostdata->schedule; 
host3996drivers/scsi/53c7,8xx.cprintk ("scsi%d: no free slot\n", host->host_no);
host3997drivers/scsi/53c7,8xx.cdisable(host);
host4033drivers/scsi/53c7,8xx.cbusyp (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata, 
host4061drivers/scsi/53c7,8xx.cstruct Scsi_Host *host;
host4079drivers/scsi/53c7,8xx.cfor (host = first_host; host && host->hostt == the_template; 
host4080drivers/scsi/53c7,8xx.chost = host->next) {
host4081drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
host4102drivers/scsi/53c7,8xx.c!busyp (host, hostdata, tmp)) {
host4112drivers/scsi/53c7,8xx.chost->host_no, tmp->target, tmp->lun);
host4115drivers/scsi/53c7,8xx.cto_schedule_list (host, hostdata, 
host4122drivers/scsi/53c7,8xx.chost->host_no);
host4124drivers/scsi/53c7,8xx.cdisable (host);
host4150drivers/scsi/53c7,8xx.cintr_scsi (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
host4153drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
host4159drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host4174drivers/scsi/53c7,8xx.cprintk ("scsi%d : SIST0 0x%0x, SIST1 0x%0x\n", host->host_no,
host4182drivers/scsi/53c7,8xx.cprintk ("scsi%d : Selection Timeout\n", host->host_no);
host4185drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
host4187drivers/scsi/53c7,8xx.cprintk("scsi%d : dsp = 0x%x (virt 0x%p)\n", host->host_no,
host4191drivers/scsi/53c7,8xx.cprintk("scsi%d : no command\n", host->host_no);
host4223drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
host4224drivers/scsi/53c7,8xx.cprint_lots (host);
host4228drivers/scsi/53c7,8xx.chost->host_no);
host4239drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
host4242drivers/scsi/53c7,8xx.cprintk("scsi%d : parity error\n", host->host_no);
host4254drivers/scsi/53c7,8xx.cprintk("scsi%d : gross error\n", host->host_no);
host4285drivers/scsi/53c7,8xx.cprintk ("scsi%d : SSTAT0_MA\n", host->host_no);
host4286drivers/scsi/53c7,8xx.cintr_phase_mismatch (host, cmd);
host4291drivers/scsi/53c7,8xx.cprintk ("scsi%d : Oh no Mr. Bill!\n", host->host_no);
host4307drivers/scsi/53c7,8xx.cprintk ("scsi%d : DMA FIFO not empty\n", host->host_no);
host4310drivers/scsi/53c7,8xx.chost->host_no);
host4337drivers/scsi/53c7,8xx.cstruct Scsi_Host *host;      /* Host we are looking at */
host4359drivers/scsi/53c7,8xx.cfor (host = first_host; host; host = host->next) 
host4360drivers/scsi/53c7,8xx.cif (host->hostt == the_template && host->irq == irq) {
host4361drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host4363drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
host4401drivers/scsi/53c7,8xx.cprintk ("scsi%d : INTFLY\n", host->host_no); 
host4422drivers/scsi/53c7,8xx.cprintk("scsi%d : very weird.\n", host->host_no);
host4428drivers/scsi/53c7,8xx.chost->host_no);
host4433drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->result);
host4454drivers/scsi/53c7,8xx.chost->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result);
host4476drivers/scsi/53c7,8xx.chost->host_no);
host4491drivers/scsi/53c7,8xx.chost->host_no);
host4516drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
host4520drivers/scsi/53c7,8xx.cprintk("scsi%d : no active command\n", host->host_no);
host4526drivers/scsi/53c7,8xx.cprintk ("scsi%d : ISTAT_SIP\n", host->host_no);
host4527drivers/scsi/53c7,8xx.cintr_scsi (host, cmd);
host4532drivers/scsi/53c7,8xx.cprintk ("scsi%d : ISTAT_DIP\n", host->host_no);
host4533drivers/scsi/53c7,8xx.cintr_dma (host, cmd);
host4543drivers/scsi/53c7,8xx.cprintk ("scsi%d : DMA FIFO not empty\n", host->host_no);
host4546drivers/scsi/53c7,8xx.chost->host_no);
host4566drivers/scsi/53c7,8xx.cprintk("scsi%d : too many interrupts, halting", host->host_no);
host4567drivers/scsi/53c7,8xx.cdisable(host);
host4579drivers/scsi/53c7,8xx.chost->host_no,  virt_to_bus(hostdata->dsp), hostdata->dsp);
host4603drivers/scsi/53c7,8xx.cabort_connected (struct Scsi_Host *host) {
host4608drivers/scsi/53c7,8xx.chost->hostdata;
host4615drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host4619drivers/scsi/53c7,8xx.cdisable(host);
host4624drivers/scsi/53c7,8xx.chost->host_no);
host4675drivers/scsi/53c7,8xx.cdatapath_residual (struct Scsi_Host *host) {
host4678drivers/scsi/53c7,8xx.chost->hostdata;
host4680drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host4781drivers/scsi/53c7,8xx.cintr_phase_mismatch (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
host4786drivers/scsi/53c7,8xx.chost->hostdata;
host4791drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host4846drivers/scsi/53c7,8xx.cresidual = datapath_residual (host);
host4849drivers/scsi/53c7,8xx.chost->host_no, residual);
host4909drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target);
host4953drivers/scsi/53c7,8xx.chost->host_no);
host4968drivers/scsi/53c7,8xx.chost->host_no, where ? where : "unknown location", 
host4970drivers/scsi/53c7,8xx.cprint_lots (host);
host4973drivers/scsi/53c7,8xx.cabort_connected (host);
host4981drivers/scsi/53c7,8xx.cprintk("scsi%d: new dsp 0x%p\n", host->host_no, hostdata->dsp);
host4982drivers/scsi/53c7,8xx.cprint_insn (host, hostdata->dsp, "", 1);
host4999drivers/scsi/53c7,8xx.cintr_bf (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
host5002drivers/scsi/53c7,8xx.chost->hostdata;
host5015drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host5055drivers/scsi/53c7,8xx.chost->host_no, pcibios_strerror (tmp));
host5065drivers/scsi/53c7,8xx.chost->host_no, reason ? reason : "unknown");
host5066drivers/scsi/53c7,8xx.cprint_lots (host);
host5084drivers/scsi/53c7,8xx.cFATAL (host);
host5100drivers/scsi/53c7,8xx.cintr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
host5103drivers/scsi/53c7,8xx.chost->hostdata;
host5111drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host5121drivers/scsi/53c7,8xx.cprintk("scsi%d : DSTAT=0x%x\n", host->host_no, (int) dstat);
host5149drivers/scsi/53c7,8xx.c"         ", host->host_no);
host5150drivers/scsi/53c7,8xx.cprint_insn (host, dsp, KERN_ALERT "s ", 1);
host5151drivers/scsi/53c7,8xx.cFATAL (host);
host5163drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "s ", 0);
host5173drivers/scsi/53c7,8xx.c"         ", host->host_no);
host5174drivers/scsi/53c7,8xx.cprint_insn (host, dsp, KERN_ALERT "", 1);
host5176drivers/scsi/53c7,8xx.cFATAL (host);
host5208drivers/scsi/53c7,8xx.chost->host_no);
host5240drivers/scsi/53c7,8xx.chost->host_no);
host5244drivers/scsi/53c7,8xx.cprintk(KERN_ALERT "scsi%d : illegal instruction\n", host->host_no);
host5245drivers/scsi/53c7,8xx.cprint_lots (host);
host5248drivers/scsi/53c7,8xx.cFATAL (host);
host5257drivers/scsi/53c7,8xx.cintr_bf (host, cmd);
host5271drivers/scsi/53c7,8xx.cprintk ("scsi%d : DSTAT_SIR\n", host->host_no);
host5272drivers/scsi/53c7,8xx.cswitch ((tmp = hostdata->dstat_sir_intr (host, cmd))) {
host5277drivers/scsi/53c7,8xx.cabort_connected(host);
host5280drivers/scsi/53c7,8xx.cprintk(KERN_ALERT "scsi%d : failure at ", host->host_no);
host5281drivers/scsi/53c7,8xx.cprint_insn (host, dsp, KERN_ALERT "", 1);
host5283drivers/scsi/53c7,8xx.cFATAL (host);
host5286drivers/scsi/53c7,8xx.cintr_break (host, cmd);
host5289drivers/scsi/53c7,8xx.cprintk(KERN_ALERT "scsi%d : failure at ", host->host_no);
host5290drivers/scsi/53c7,8xx.cprint_insn (host, dsp, KERN_ALERT "", 1);
host5293drivers/scsi/53c7,8xx.cFATAL (host);
host5299drivers/scsi/53c7,8xx.chost->host_no);
host5300drivers/scsi/53c7,8xx.cFATAL (host);
host5328drivers/scsi/53c7,8xx.cprint_insn (struct Scsi_Host *host, const u32 *insn, 
host5378drivers/scsi/53c7,8xx.cdebugger_kernel_write(host, buf, len);
host5421drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host5422drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = host ? (struct NCR53c7x0_hostdata *) 
host5423drivers/scsi/53c7,8xx.chost->hostdata : NULL;
host5432drivers/scsi/53c7,8xx.cif (!host) {
host5437drivers/scsi/53c7,8xx.cprintk ("Bogus SCSI host %d; no hostdata\n", host->host_no);
host5440drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host5458drivers/scsi/53c7,8xx.cprintk ("scsi%d : dropped interrupt for command %ld\n", host->host_no,
host5460drivers/scsi/53c7,8xx.cNCR53c7x0_intr (host->irq, NULL);
host5468drivers/scsi/53c7,8xx.cpanic ("scsi%d : bloody fetus %d\n", host->host_no, cmd->pid);
host5499drivers/scsi/53c7,8xx.chost->host_no, me->pid);
host5524drivers/scsi/53c7,8xx.chost->host_no, cmd->pid);
host5529drivers/scsi/53c7,8xx.ccmd->host->host_no);
host5549drivers/scsi/53c7,8xx.cprintk ("scsi%d : did this command ever run?\n", host->host_no);
host5553drivers/scsi/53c7,8xx.chost->host_no);
host5604drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host5606drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
host5608drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host5611drivers/scsi/53c7,8xx.cncr_halt (host);
host5612drivers/scsi/53c7,8xx.cprint_lots (host);
host5613drivers/scsi/53c7,8xx.cdump_events (host, 30);
host5614drivers/scsi/53c7,8xx.cncr_scsi_reset (host);
host5615drivers/scsi/53c7,8xx.cfor (tmp = nuke_list = return_outstanding_commands (host, 1 /* free */,
host5633drivers/scsi/53c7,8xx.cprintk ("scsi%d: lost command %ld\n", host->host_no, cmd->pid);
host5638drivers/scsi/53c7,8xx.cNCR53c7x0_driver_init (host);
host5639drivers/scsi/53c7,8xx.chostdata->soft_reset (host);
host5641drivers/scsi/53c7,8xx.cdisable(host);
host5675drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) cmd->host->hostdata;
host5705drivers/scsi/53c7,8xx.ccmd->host->host_no, saved, segment->address);
host5743drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup (cmd->host);
host5761drivers/scsi/53c7,8xx.ccmd->host->host_no, where, offset);
host5765drivers/scsi/53c7,8xx.ccmd->host->host_no, where);
host5767drivers/scsi/53c7,8xx.csize = print_insn (cmd->host, 
host5769drivers/scsi/53c7,8xx.cprint_insn (cmd->host, 
host5779drivers/scsi/53c7,8xx.cprint_dsa (struct Scsi_Host *host, u32 *dsa, const char *prefix) {
host5781drivers/scsi/53c7,8xx.chost->hostdata;
host5788drivers/scsi/53c7,8xx.cprintk("scsi%d : bad dsa virt 0x%p\n", host->host_no, dsa);
host5794drivers/scsi/53c7,8xx.chost->host_no,  virt_to_bus (dsa), dsa, hostdata->dsa_msgout,
host5834drivers/scsi/53c7,8xx.chost->host_no, cmd->target,
host5853drivers/scsi/53c7,8xx.cprint_queues (struct Scsi_Host *host) {
host5855drivers/scsi/53c7,8xx.chost->hostdata;
host5862drivers/scsi/53c7,8xx.cprintk ("scsi%d : issue queue\n", host->host_no);
host5864drivers/scsi/53c7,8xx.cfor (left = host->can_queue, cmd = (Scsi_Cmnd *) hostdata->issue_queue; 
host5874drivers/scsi/53c7,8xx.chost->host_no, cmd->pid);
host5877drivers/scsi/53c7,8xx.cprint_dsa (host, ((struct NCR53c7x0_cmd *) cmd->host_scribble)
host5881drivers/scsi/53c7,8xx.chost->host_no, cmd->pid, cmd->target, cmd->lun);
host5887drivers/scsi/53c7,8xx.chost->host_no);
host5898drivers/scsi/53c7,8xx.cprintk ("scsi%d : schedule dsa array :\n", host->host_no);
host5899drivers/scsi/53c7,8xx.cfor (left = host->can_queue, current = hostdata->schedule;
host5903drivers/scsi/53c7,8xx.cprint_dsa (host, bus_to_virt (current[1] - 
host5906drivers/scsi/53c7,8xx.cprintk ("scsi%d : end schedule dsa array\n", host->host_no);
host5908drivers/scsi/53c7,8xx.cprintk ("scsi%d : reconnect_dsa_head :\n", host->host_no);
host5910drivers/scsi/53c7,8xx.cfor (left = host->can_queue, 
host5917drivers/scsi/53c7,8xx.cprintk ("scsi%d: bad DSA pointer 0x%p", host->host_no,
host5924drivers/scsi/53c7,8xx.cprint_dsa (host, dsa, "");
host5928drivers/scsi/53c7,8xx.cprintk ("scsi%d : end reconnect_dsa_head\n", host->host_no);
host5931drivers/scsi/53c7,8xx.chost->host_no);
host5935drivers/scsi/53c7,8xx.cprint_lots (struct Scsi_Host *host) {
host5938drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
host5942drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host5958drivers/scsi/53c7,8xx.chost->host_no, dbc_dcmd, NCR53c7x0_read32(DNAD_REG), 
host5974drivers/scsi/53c7,8xx.cprintk ("scsi%d : DSP 0x%lx (virt 0x%p) ->\n", host->host_no, 
host5977drivers/scsi/53c7,8xx.csize = print_insn (host, dsp, "", 1);
host5980drivers/scsi/53c7,8xx.chost->host_no, NCR53c7x0_read8 (SDID_REG_800),
host5982drivers/scsi/53c7,8xx.cprint_dsa (host, dsa, "");
host5986drivers/scsi/53c7,8xx.cprint_queues (host);
host6000drivers/scsi/53c7,8xx.cshutdown (struct Scsi_Host *host) {
host6004drivers/scsi/53c7,8xx.chost->hostdata;
host6005drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host6009drivers/scsi/53c7,8xx.cncr_halt (host);
host6010drivers/scsi/53c7,8xx.cncr_scsi_reset (host);
host6011drivers/scsi/53c7,8xx.chostdata->soft_reset(host);
host6013drivers/scsi/53c7,8xx.cdisable (host);
host6025drivers/scsi/53c7,8xx.cncr_scsi_reset (struct Scsi_Host *host) {
host6028drivers/scsi/53c7,8xx.chost->hostdata;
host6031drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host6053drivers/scsi/53c7,8xx.chard_reset (struct Scsi_Host *host) {
host6055drivers/scsi/53c7,8xx.chost->hostdata;
host6059drivers/scsi/53c7,8xx.cncr_scsi_reset(host);
host6060drivers/scsi/53c7,8xx.cNCR53c7x0_driver_init (host);
host6062drivers/scsi/53c7,8xx.chostdata->soft_reset (host);
host6088drivers/scsi/53c7,8xx.creturn_outstanding_commands (struct Scsi_Host *host, int free, int issue) {
host6090drivers/scsi/53c7,8xx.chost->hostdata;
host6098drivers/scsi/53c7,8xx.cprintk ("scsi%d : loop detected in running list!\n", host->host_no);
host6115drivers/scsi/53c7,8xx.ci < host->can_queue; ++i, current += 2) {
host6126drivers/scsi/53c7,8xx.chost->host_no);
host6154drivers/scsi/53c7,8xx.cdisable (struct Scsi_Host *host) {
host6156drivers/scsi/53c7,8xx.chost->hostdata;
host6162drivers/scsi/53c7,8xx.cncr_halt (host);
host6163drivers/scsi/53c7,8xx.cnuke_list = return_outstanding_commands (host, 1 /* free */, 1 /* issue */);
host6164drivers/scsi/53c7,8xx.chard_reset (host);
host6167drivers/scsi/53c7,8xx.cprintk ("scsi%d : nuking commands\n", host->host_no);
host6173drivers/scsi/53c7,8xx.cprintk ("scsi%d : done. \n", host->host_no);
host6175drivers/scsi/53c7,8xx.chost->host_no);
host6190drivers/scsi/53c7,8xx.cncr_halt (struct Scsi_Host *host) {
host6195drivers/scsi/53c7,8xx.chost->hostdata;
host6197drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host6228drivers/scsi/53c7,8xx.chost->host_no);
host6229drivers/scsi/53c7,8xx.cdisable (host);
host6242drivers/scsi/53c7,8xx.cprint_lots (host);
host6277drivers/scsi/53c7,8xx.cdump_events (struct Scsi_Host *host, int count) {
host6279drivers/scsi/53c7,8xx.chost->hostdata;
host6305drivers/scsi/53c7,8xx.chost->host_no, event_name (event.event), count,
host6341drivers/scsi/53c7,8xx.cNCR53c7x0_release(struct Scsi_Host *host) {
host6343drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
host6345drivers/scsi/53c7,8xx.cshutdown (host);
host6346drivers/scsi/53c7,8xx.cif (host->irq != IRQ_NONE)
host6351drivers/scsi/53c7,8xx.cif (tmp->hostt == the_template && tmp->irq == host->irq)
host6354drivers/scsi/53c7,8xx.cfree_irq(host->irq);
host6356drivers/scsi/53c7,8xx.cif (host->dma_channel != DMA_NONE)
host6357drivers/scsi/53c7,8xx.cfree_dma(host->dma_channel);
host6358drivers/scsi/53c7,8xx.cif (host->io_port)
host6359drivers/scsi/53c7,8xx.crelease_region(host->io_port, host->n_io_port);
host6374drivers/scsi/53c7,8xx.chost->host_no, hostdata->num_cmds);
host1248drivers/scsi/53c7,8xx.hvoid (* init_fixup)(struct Scsi_Host *host);
host1249drivers/scsi/53c7,8xx.hvoid (* init_save_regs)(struct Scsi_Host *host);
host1251drivers/scsi/53c7,8xx.hvoid (* soft_reset)(struct Scsi_Host *host);
host1252drivers/scsi/53c7,8xx.hint (* run_tests)(struct Scsi_Host *host);
host1260drivers/scsi/53c7,8xx.hint (* dstat_sir_intr)(struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
host1501drivers/scsi/53c7,8xx.h#define NCR53c7x0_local_setup(host)          \
host1502drivers/scsi/53c7,8xx.hNCR53c7x0_address_memory = (void *) (host)->base;      \
host1503drivers/scsi/53c7,8xx.hNCR53c7x0_address_io = (unsigned int) (host)->io_port;    \
host1505drivers/scsi/53c7,8xx.hhost->hostdata)-> options & OPTION_MEMORY_MAPPED 
host1544drivers/scsi/53c7,8xx.hhost->host_no, #symbol, i, A_##symbol##_used[i] -   \
host1581drivers/scsi/53c7,8xx.h#define FATAL(host) shutdown((host));
host814drivers/scsi/AM53C974.cstruct Scsi_Host         *instance = cmd->host;
host2099drivers/scsi/AM53C974.cstruct Scsi_Host         *instance = cmd->host;
host2202drivers/scsi/AM53C974.cstruct Scsi_Host         *instance = cmd->host;
host2027drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Command->host->hostdata;
host2194drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Command->host->hostdata;
host2430drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Command->host->hostdata;
host2435drivers/scsi/BusLogic.cif (Command->host->suggest_bus_reset)
host2477drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Disk->device->host->hostdata;
host297drivers/scsi/NCR5380.cstatic int do_abort (struct Scsi_Host *host);
host298drivers/scsi/NCR5380.cstatic void do_reset (struct Scsi_Host *host);
host911drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
host1204drivers/scsi/NCR5380.chost->host_no, __LINE__);
host1715drivers/scsi/NCR5380.cstatic void do_reset (struct Scsi_Host *host) {
host1717drivers/scsi/NCR5380.cNCR5380_setup(host);
host1737drivers/scsi/NCR5380.cstatic int do_abort (struct Scsi_Host *host) {
host1741drivers/scsi/NCR5380.cNCR5380_setup(host);
host1772drivers/scsi/NCR5380.cNCR5380_transfer_pio (host, &phase, &len, &msgptr);
host2827drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
host3022drivers/scsi/NCR5380.cNCR5380_setup(cmd->host);
host3024drivers/scsi/NCR5380.cNCR5380_print_status (cmd->host);
host3025drivers/scsi/NCR5380.cdo_reset (cmd->host);
host2128drivers/scsi/advansys.c#define ASC_BOARD(host) ((struct asc_board *) &(host)->hostdata)
host2666drivers/scsi/advansys.cif (scd->host == shp) {
host3228drivers/scsi/advansys.cshp = scp->host;
host3303drivers/scsi/advansys.cif (scp->host == NULL) {
host3306drivers/scsi/advansys.c} else if (asc_rmqueue(scp->host, scp, scp->target) == ASC_TRUE) {
host3309drivers/scsi/advansys.c(void) AscResetDevice(&ASC_BOARD(scp->host)->board, scp->target);
host3313drivers/scsi/advansys.cboardp = &ASC_BOARD(scp->host)->board;
host3358drivers/scsi/advansys.cif (scp->host == NULL) {
host3364drivers/scsi/advansys.cwhile ((tscp = asc_dequeue(scp->host, i)) != NULL) {
host3371drivers/scsi/advansys.cboardp = &ASC_BOARD(scp->host)->board;
host3410drivers/scsi/advansys.cif ((ASC_BOARD(dp->device->host)->board.dvc_cntl & ASC_CNTL_BIOS_GT_1GB) &&
host3658drivers/scsi/advansys.cboardp = &ASC_BOARD(scp->host)->board;
host3664drivers/scsi/advansys.cif ((ASC_BOARD(scp->host)->init_tidmask &
host3671drivers/scsi/advansys.cASC_BOARD(scp->host)->init_tidmask |= ASC_TIX_TO_TARGET_ID(scp->target);
host3798drivers/scsi/advansys.cshp = scp->host;
host3966drivers/scsi/advansys.cscsireqq = &ASC_BOARD(scp->host)->scsireqq;
host3968drivers/scsi/advansys.ccap_info = &ASC_BOARD(scp->host)->cap_info;
host3970drivers/scsi/advansys.cinquiry = &ASC_BOARD(scp->host)->inquiry;
host4048drivers/scsi/advansys.cif (boardp->max_dvc_qng[i] < scp->host->cmd_per_lun) {
host4049drivers/scsi/advansys.cscp->host->cmd_per_lun = boardp->max_dvc_qng[i];
host870drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
host967drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
host1124drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
host2923drivers/scsi/aha152x.cif (scd->host == shpnt) {
host110drivers/scsi/aha1542.c#define HOSTDATA(host) ((struct aha1542_hostdata *) &host->hostdata)
host526drivers/scsi/aha1542.cmb = HOSTDATA(SCpnt->host)->mb;
host527drivers/scsi/aha1542.cccb = HOSTDATA(SCpnt->host)->ccb;
host567drivers/scsi/aha1542.cmbo = HOSTDATA(SCpnt->host)->aha1542_last_mbo_used + 1;
host571drivers/scsi/aha1542.cif(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL)
host575drivers/scsi/aha1542.c} while (mbo != HOSTDATA(SCpnt->host)->aha1542_last_mbo_used);
host577drivers/scsi/aha1542.cif(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo])
host580drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt;  /* This will effectively prevent someone else from
host583drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->aha1542_last_mbo_used = mbo;    
host665drivers/scsi/aha1542.caha1542_out(SCpnt->host->io_port, &ahacmd, 1);    /* start scsi command */
host1118drivers/scsi/aha1542.cinb(STATUS(SCpnt->host->io_port)),
host1119drivers/scsi/aha1542.cinb(INTRFLAGS(SCpnt->host->io_port)));
host1123drivers/scsi/aha1542.cmb = HOSTDATA(SCpnt->host)->mb;
host1124drivers/scsi/aha1542.cmbi = HOSTDATA(SCpnt->host)->aha1542_last_mbi_used + 1;
host1131drivers/scsi/aha1542.c} while (mbi != HOSTDATA(SCpnt->host)->aha1542_last_mbi_used);
host1136drivers/scsi/aha1542.cSCpnt->host->irq);
host1137drivers/scsi/aha1542.caha1542_intr_handle(SCpnt->host->irq, NULL);
host1145drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i])
host1147drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) {
host1150drivers/scsi/aha1542.cif (HOSTDATA(SCpnt->host)->mb[i].status) {
host1152drivers/scsi/aha1542.caha1542_out(SCpnt->host->io_port, &ahacmd, 1);
host1166drivers/scsi/aha1542.cif (SCpnt == HOSTDATA(SCpnt->host)->SCint[mbo]){
host1168drivers/scsi/aha1542.caha1542_out(SCpnt->host->io_port, &ahacmd, 1); /* start scsi command */
host1190drivers/scsi/aha1542.cif( SCpnt->host->suggest_bus_reset )
host1198drivers/scsi/aha1542.coutb(HRST | SCRST, CONTROL(SCpnt->host->io_port));
host1207drivers/scsi/aha1542.cWAIT(STATUS(SCpnt->host->io_port), 
host1214drivers/scsi/aha1542.csetup_mailboxes(SCpnt->host->io_port, SCpnt->host);
host1222drivers/scsi/aha1542.cprintk("Sent BUS RESET to scsi host %d\n", SCpnt->host->host_no);
host1225drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] != NULL)
host1228drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
host1234drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
host1235drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
host1255drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt)
host1257drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->ccb[i].op = 0x81;  /* BUS DEVICE RESET */
host1259drivers/scsi/aha1542.caha1542_out(SCpnt->host->io_port, &ahacmd, 1);
host1271drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] &&
host1272drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target)
host1275drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
host1281drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
host1282drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
host1300drivers/scsi/aha1542.ctranslation_algorithm = HOSTDATA(disk->device->host)->bios_translation;
host3095drivers/scsi/aic7xxx.cstruct Scsi_Host *host;
host3405drivers/scsi/aic7xxx.chost = scsi_register(template, sizeof(struct aic7xxx_host));
host3406drivers/scsi/aic7xxx.chost->can_queue = config->maxscb;
host3407drivers/scsi/aic7xxx.chost->cmd_per_lun = AIC7XXX_CMDS_PER_LUN;
host3408drivers/scsi/aic7xxx.chost->this_id = config->scsi_id;
host3409drivers/scsi/aic7xxx.chost->irq = config->irq;
host3412drivers/scsi/aic7xxx.chost->max_id = 16;
host3416drivers/scsi/aic7xxx.chost->max_channel = 1;
host3419drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) host->hostdata;
host3460drivers/scsi/aic7xxx.caic7xxx_boards[config->irq] = host;
host3480drivers/scsi/aic7xxx.caic7xxx_boards[config->irq] = host;
host4152drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
host4459drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
host4589drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) disk->device->host->hostdata;
host567drivers/scsi/constants.ccmd->host->host_no, 
host619drivers/scsi/eata.cj = ((struct hostdata *) SCpnt->host->hostdata)->board_number;
host721drivers/scsi/eata.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
host782drivers/scsi/eata.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
host187drivers/scsi/eata_dma.cbase = (uint) cmd->host->base;
host361drivers/scsi/eata_dma.csh = cmd->host;
host542drivers/scsi/eata_dma.cwhile (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) {
host599drivers/scsi/eata_dma.cwhile (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
host614drivers/scsi/eata_dma.cfor (x = 0; x < cmd->host->can_queue; x++) {
host638drivers/scsi/eata_dma.cinb((u32) (cmd->host->base) + HA_RSTATUS);  /* This might cause trouble */
host639drivers/scsi/eata_dma.ceata_send_command(0, (u32) cmd->host->base, EATA_CMD_RESET);
host657drivers/scsi/eata_dma.cfor (x = 0; x < cmd->host->can_queue; x++) {
host159drivers/scsi/eata_dma_proc.cSDev.host = HBA_ptr;
host177drivers/scsi/eata_dma_proc.cscmd.host = HBA_ptr; 
host445drivers/scsi/eata_dma_proc.cif (scd->host == HBA_ptr) {
host92drivers/scsi/eata_generic.h#define HD(cmd)   ((hostdata *)&(cmd->host->hostdata))
host94drivers/scsi/eata_generic.h#define SD(host) ((hostdata *)&(host->hostdata))
host155drivers/scsi/eata_pio.cbase = (uint) cmd->host->base;
host295drivers/scsi/eata_pio.csh = cmd->host;
host416drivers/scsi/eata_pio.cwhile (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
host477drivers/scsi/eata_pio.cfor (x = 0; x < cmd->host->can_queue; x++) {
host493drivers/scsi/eata_pio.coutb((uint) cmd->host->base+HA_WCOMMAND, EATA_CMD_RESET);
host504drivers/scsi/eata_pio.cfor (x = 0; x < cmd->host->can_queue; x++) {
host107drivers/scsi/eata_pio_proc.cif (scd->host == HBA_ptr) {
host1726drivers/scsi/fdomain.cif (!SCpnt || !SCpnt->host) {
host1730drivers/scsi/fdomain.cprintk( "%s\n", fdomain_16x0_info( SCpnt->host ) );
host1731drivers/scsi/fdomain.cprint_banner( SCpnt->host );
host536drivers/scsi/qlogic.cint  qlogic_detect(Scsi_Host_Template * host)
host543drivers/scsi/qlogic.chost->proc_dir =  &proc_scsi_qlogic;
host569drivers/scsi/qlogic.cqinitid = host->this_id;
host613drivers/scsi/qlogic.chost->can_queue = 1;
host616drivers/scsi/qlogic.chreg = scsi_register( host , 0 );  /* no host data */
host625drivers/scsi/qlogic.chost->name = qinfo;
host668drivers/scsi/qlogic.cconst char  *qlogic_info(struct Scsi_Host * host)
host357drivers/scsi/scsi.cprintk ("scan_scsis_done(%p, %06x)\n", SCpnt->host, SCpnt->result);
host519drivers/scsi/scsi.cSDpnt->host = shpnt;
host539drivers/scsi/scsi.cSCpnt->host = SDpnt->host;
host810drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->pid);
host819drivers/scsi/scsi.cprintk("Unable to reset scsi host %d - ", SCpnt->host->host_no);
host852drivers/scsi/scsi.cSCpnt =  device->host->host_queue;
host860drivers/scsi/scsi.cSCpnt = device->host->host_queue;
host895drivers/scsi/scsi.cif (SCSI_BLOCK(device->host)) return NULL;
host899drivers/scsi/scsi.ctablesize = device->host->sg_tablesize;
host969drivers/scsi/scsi.cstruct Scsi_Host * host;
host986drivers/scsi/scsi.chost = device->host;
host988drivers/scsi/scsi.cif (intr_count && SCSI_BLOCK(host)) return NULL;
host991drivers/scsi/scsi.cSCpnt = device->host->host_queue;
host1049drivers/scsi/scsi.ctablesize = device->host->sg_tablesize;
host1115drivers/scsi/scsi.cstruct Scsi_Host * host;
host1121drivers/scsi/scsi.chost = SCpnt->host;
host1129drivers/scsi/scsi.ctemp = host->last_reset + MIN_RESET_DELAY;
host1142drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, 
host1146drivers/scsi/scsi.cif (host->can_queue)
host1150drivers/scsi/scsi.chost->hostt->queuecommand);
host1161drivers/scsi/scsi.cif(!intr_count && SCpnt->host->irq)
host1162drivers/scsi/scsi.cdisable_irq(SCpnt->host->irq);
host1164drivers/scsi/scsi.chost->hostt->queuecommand (SCpnt, scsi_done);
host1166drivers/scsi/scsi.cif(!intr_count && SCpnt->host->irq)
host1167drivers/scsi/scsi.cenable_irq(SCpnt->host->irq);
host1173drivers/scsi/scsi.cprintk("command() :  routine at %p\n", host->hostt->command);
host1175drivers/scsi/scsi.ctemp=host->hostt->command (SCpnt);
host1181drivers/scsi/scsi.chost->host_no, temp, host->hostt->command);
host1228drivers/scsi/scsi.cstruct Scsi_Host * host = SCpnt->host;
host1237drivers/scsi/scsi.c"command : " , host->host_no, SCpnt->channel, target, buffer, 
host1245drivers/scsi/scsi.cif (!host)
host1263drivers/scsi/scsi.cwhile (SCSI_BLOCK(host)) {
host1265drivers/scsi/scsi.cSCSI_SLEEP(&host->host_wait, SCSI_BLOCK(host));
host1269drivers/scsi/scsi.cif (host->block) host_active = host;
host1271drivers/scsi/scsi.chost->host_busy++;
host1283drivers/scsi/scsi.cSCpnt->host = host;
host1335drivers/scsi/scsi.cprintk("scsi%d, channel%d : ", SCpnt->host->host_no, SCpnt->channel);
host1409drivers/scsi/scsi.cstruct Scsi_Host * host = SCpnt->host;
host1432drivers/scsi/scsi.cprintk("In scsi_done(host = %d, result = %06x)\n", host->host_no, result);
host1454drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->channel, SCpnt->target, 
host1556drivers/scsi/scsi.c" reset.\n", SCpnt->host->host_no, SCpnt->channel);
host1674drivers/scsi/scsi.c&& !(jiffies < SCpnt->host->last_reset + MIN_RESET_PERIOD)
host1678drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->channel);
host1715drivers/scsi/scsi.chost->host_busy--; /* Indicate that we are free */
host1717drivers/scsi/scsi.cif (host->block && host->host_busy == 0) {
host1725drivers/scsi/scsi.cfor (next = host->block; next != host; next = next->block)
host1731drivers/scsi/scsi.cwake_up(&host->host_wait);
host1764drivers/scsi/scsi.cstruct Scsi_Host * host = SCpnt->host;
host1801drivers/scsi/scsi.cif (!host->host_busy) {
host1808drivers/scsi/scsi.cSCpnt->pid, SCpnt->host->host_no, (int) SCpnt->channel, 
host1814drivers/scsi/scsi.cswitch(host->hostt->abort(SCpnt)) {
host1893drivers/scsi/scsi.cstruct Scsi_Host * host = SCpnt->host;
host1896drivers/scsi/scsi.chost->host_no);
host1905drivers/scsi/scsi.cSCpnt->host->suggest_bus_reset = FALSE;
host1915drivers/scsi/scsi.cSCpnt1 = host->host_queue;
host1923drivers/scsi/scsi.cSCpnt->host->suggest_bus_reset = TRUE;
host1933drivers/scsi/scsi.cSCpnt->host->suggest_bus_reset = TRUE;
host1950drivers/scsi/scsi.cif (host->host_busy)
host1953drivers/scsi/scsi.cSCpnt1 = host->host_queue;
host1966drivers/scsi/scsi.chost->last_reset = jiffies;
host1967drivers/scsi/scsi.ctemp = host->hostt->reset(SCpnt);
host1968drivers/scsi/scsi.chost->last_reset = jiffies;
host1972drivers/scsi/scsi.cif (!host->block) host->host_busy++;
host1974drivers/scsi/scsi.chost->last_reset = jiffies;
host1976drivers/scsi/scsi.ctemp = host->hostt->reset(SCpnt);
host1977drivers/scsi/scsi.chost->last_reset = jiffies;
host1978drivers/scsi/scsi.cif (!host->block) host->host_busy--;
host1997drivers/scsi/scsi.cscsi_mark_host_bus_reset(host);
host2007drivers/scsi/scsi.cscsi_mark_host_bus_reset(host);
host2016drivers/scsi/scsi.cscsi_mark_host_bus_reset(host);
host2027drivers/scsi/scsi.cSCpnt1 = host->host_queue;
host2067drivers/scsi/scsi.cstruct Scsi_Host * host;
host2081drivers/scsi/scsi.cfor(host = scsi_hostlist; host; host = host->next) {
host2082drivers/scsi/scsi.cfor(SCpnt = host->host_queue; SCpnt; SCpnt = SCpnt->next)
host2111drivers/scsi/scsi.cstruct Scsi_Host * host;
host2138drivers/scsi/scsi.cfor(host = scsi_hostlist; host; host = host->next)
host2139drivers/scsi/scsi.cfor(SCpnt = host->host_queue; SCpnt; SCpnt = SCpnt->next)
host2286drivers/scsi/scsi.cstruct Scsi_Host * host = NULL;
host2288drivers/scsi/scsi.cfor(j=0;j<SDpnt->host->cmd_per_lun;j++){
host2290drivers/scsi/scsi.cSCpnt->host = SDpnt->host;
host2303drivers/scsi/scsi.chost = SDpnt->host;
host2304drivers/scsi/scsi.cif(host->host_queue)
host2305drivers/scsi/scsi.chost->host_queue->prev = SCpnt;
host2306drivers/scsi/scsi.cSCpnt->next = host->host_queue;
host2308drivers/scsi/scsi.chost->host_queue = SCpnt;
host2462drivers/scsi/scsi.cif (scd->host == HBA_ptr) {
host2511drivers/scsi/scsi.cwhile(scd && (scd->host->host_no != parameter[0] 
host2541drivers/scsi/scsi.cstruct Scsi_Host * host = NULL;
host2585drivers/scsi/scsi.chost = SDpnt->host;
host2588drivers/scsi/scsi.cnew_dma_sectors += ((host->sg_tablesize *
host2590drivers/scsi/scsi.chost->cmd_per_lun;
host2592drivers/scsi/scsi.cif(host->unchecked_isa_dma &&
host2595drivers/scsi/scsi.cnew_dma_sectors += (PAGE_SIZE >> 9) * host->sg_tablesize *
host2596drivers/scsi/scsi.chost->cmd_per_lun;
host2727drivers/scsi/scsi.cif(SDpnt->host->hostt == tpnt)
host2775drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count
host2776drivers/scsi/scsi.c&& *sdpnt->host->hostt->usage_count) return;
host2800drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt)
host2814drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt)
host2815drivers/scsi/scsi.cwhile (sdpnt->host->host_queue) {
host2816drivers/scsi/scsi.cSCpnt = sdpnt->host->host_queue->next;
host2817drivers/scsi/scsi.cscsi_init_free((char *) sdpnt->host->host_queue, sizeof(Scsi_Cmnd));
host2818drivers/scsi/scsi.csdpnt->host->host_queue = SCpnt;
host2829drivers/scsi/scsi.cif (sdpnt->host->hostt == tpnt) {
host2986drivers/scsi/scsi.cfor(SCpnt = SDpnt->host->host_queue; SCpnt; SCpnt = SCpnt->next)
host2994drivers/scsi/scsi.cif(SCpnt == SDpnt->host->host_queue)
host2995drivers/scsi/scsi.cSDpnt->host->host_queue = SCpnt->next;
host3083drivers/scsi/scsi.ci++, SCpnt->host->host_no,
host163drivers/scsi/scsi.hstruct Scsi_Host * host;
host345drivers/scsi/scsi.hstruct Scsi_Host * host;
host497drivers/scsi/scsi.hif (SCpnt->host->block) {
host500drivers/scsi/scsi.hfor (next = SCpnt->host->block; next != SCpnt->host;
host603drivers/scsi/scsi_debug.cprintk("Bus unlocked by reset(%d)\n", SCpnt->host->suggest_bus_reset);
host37drivers/scsi/scsi_ioctl.cstatic int ioctl_probe(struct Scsi_Host * host, void *buffer)
host43drivers/scsi/scsi_ioctl.cif ((temp = host->hostt->present) && buffer) {
host48drivers/scsi/scsi_ioctl.cif(host->hostt->info)
host49drivers/scsi/scsi_ioctl.cstring = host->hostt->info(host);
host51drivers/scsi/scsi_ioctl.cstring = host->hostt->name;
host139drivers/scsi/scsi_ioctl.cdev->host->host_no,
host316drivers/scsi/scsi_ioctl.c+ ((dev->host->hostt->proc_dir->low_ino & 0xff) << 24),
host318drivers/scsi/scsi_ioctl.cput_user( dev->host->unique_id, (unsigned long *) arg+1);
host333drivers/scsi/scsi_ioctl.creturn ioctl_probe(dev->host, arg);
host263drivers/scsi/scsi_proc.cscd->host->host_no, scd->channel, scd->id, scd->lun);
host62drivers/scsi/sd.c#define CLUSTERABLE_DEVICE(SC) (SC->host->use_clustering && \
host141drivers/scsi/sd.cif (rscsi_disks[target].device->host->hostt->usage_count)
host142drivers/scsi/sd.c(*rscsi_disks[target].device->host->hostt->usage_count)++;
host155drivers/scsi/sd.cif (rscsi_disks[target].device->host->hostt->usage_count)
host156drivers/scsi/sd.c(*rscsi_disks[target].device->host->hostt->usage_count)--;
host223drivers/scsi/sd.cSCpnt->host->host_no, result);
host387drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->host->host_no,
host609drivers/scsi/sd.c&& SCpnt->host->unchecked_isa_dma) {
host631drivers/scsi/sd.c} else if (SCpnt->host->sg_tablesize == 0 ||
host641drivers/scsi/sd.cif (SCpnt->host->sg_tablesize != 0 &&
host666drivers/scsi/sd.c(SCpnt->host->unchecked_isa_dma &&
host668drivers/scsi/sd.cif (count < SCpnt->host->sg_tablesize) count++;
host676drivers/scsi/sd.cif(SCpnt->host->unchecked_isa_dma &&
host685drivers/scsi/sd.cif(SCpnt->host->sg_tablesize < max_sg) 
host686drivers/scsi/sd.cmax_sg = SCpnt->host->sg_tablesize;
host710drivers/scsi/sd.cISA_DMA_THRESHOLD && (SCpnt->host->unchecked_isa_dma) &&
host759drivers/scsi/sd.c(SCpnt->host->unchecked_isa_dma) &&
host789drivers/scsi/sd.c> SCpnt->host->sg_tablesize){
host820drivers/scsi/sd.c(SCpnt->host->unchecked_isa_dma)) {
host1322drivers/scsi/sd.cif(rscsi_disks[0].device && rscsi_disks[0].device->host->sg_tablesize)
host1335drivers/scsi/sd.cSDp->host->host_no, SDp->channel, SDp->id, SDp->lun); 
host26drivers/scsi/sd_ioctl.cstruct Scsi_Host * host;
host36drivers/scsi/sd_ioctl.chost = rscsi_disks[MINOR(dev) >> 4].device->host;
host40drivers/scsi/sd_ioctl.cif(host->hostt->bios_param != NULL)
host41drivers/scsi/sd_ioctl.chost->hostt->bios_param(&rscsi_disks[MINOR(dev) >> 4],
host143drivers/scsi/sg.cif (scsi_generics[dev].device->host->hostt->usage_count)
host144drivers/scsi/sg.c(*scsi_generics[dev].device->host->hostt->usage_count)++;
host154drivers/scsi/sg.cif (scsi_generics[dev].device->host->hostt->usage_count)
host155drivers/scsi/sg.c(*scsi_generics[dev].device->host->hostt->usage_count)--;
host511drivers/scsi/sg.cSDp->host->host_no, SDp->channel, SDp->id, SDp->lun);
host77drivers/scsi/sr.cif (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)
host78drivers/scsi/sr.c(*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)--;
host280drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->host->host_no, 
host531drivers/scsi/sr.cif (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)
host532drivers/scsi/sr.c(*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)++;
host718drivers/scsi/sr.cif (SCpnt->host->sg_tablesize > 0 &&
host732drivers/scsi/sr.cwhile(bh && count < SCpnt->host->sg_tablesize) {
host741drivers/scsi/sr.cif (count < SCpnt->host->sg_tablesize) {
host786drivers/scsi/sr.cSCpnt->host->unchecked_isa_dma) {
host850drivers/scsi/sr.cSCpnt->host->unchecked_isa_dma)
host932drivers/scsi/sr.cSDp->host->host_no, SDp->channel, SDp->id, SDp->lun); 
host1104drivers/scsi/sr.cif(scsi_CDs[0].device && scsi_CDs[0].device->host->sg_tablesize)
host69drivers/scsi/sr_ioctl.cscsi_CDs[target].device->host->host_no, 
host541drivers/scsi/st.cif (scsi_tapes[dev].device->host->hostt->usage_count)
host542drivers/scsi/st.c(*scsi_tapes[dev].device->host->hostt->usage_count)++;
host649drivers/scsi/st.cif (scsi_tapes[dev].device->host->hostt->usage_count)
host650drivers/scsi/st.c(*scsi_tapes[dev].device->host->hostt->usage_count)++;
host734drivers/scsi/st.cif (scsi_tapes[dev].device->host->hostt->usage_count)
host735drivers/scsi/st.c(*scsi_tapes[dev].device->host->hostt->usage_count)--;
host2148drivers/scsi/st.cSDp->host->host_no, SDp->channel, SDp->id, SDp->lun); 
host573drivers/scsi/u14-34f.cj = ((struct hostdata *) SCpnt->host->hostdata)->board_number;
host664drivers/scsi/u14-34f.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
host725drivers/scsi/u14-34f.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
host353drivers/scsi/wd7000.cAdapter *host;                /* host adapter */
host540drivers/scsi/wd7000.cstatic inline void wd7000_enable_intr(Adapter *host)
host542drivers/scsi/wd7000.chost->control |= INT_EN;
host543drivers/scsi/wd7000.coutb(host->control, host->iobase+ASC_CONTROL);
host547drivers/scsi/wd7000.cstatic inline void wd7000_enable_dma(Adapter *host)
host549drivers/scsi/wd7000.chost->control |= DMA_EN;
host550drivers/scsi/wd7000.coutb(host->control,host->iobase+ASC_CONTROL);
host551drivers/scsi/wd7000.cset_dma_mode(host->dma, DMA_MODE_CASCADE);
host552drivers/scsi/wd7000.cenable_dma(host->dma);
host578drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
host580drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT,ASC_STATMASK,CMD_RDY,0);
host583drivers/scsi/wd7000.coutb(*cmd, host->iobase+ASC_COMMAND);
host584drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0);
host585drivers/scsi/wd7000.c}  while (inb(host->iobase+ASC_STAT) & CMD_REJ);
host691drivers/scsi/wd7000.cstatic int mail_out( Adapter *host, Scb *scbptr )
host699drivers/scsi/wd7000.cMailbox *ogmbs = host->mb.ogmb;
host700drivers/scsi/wd7000.cint *next_ogmb = &(host->next_ogmb);
host740drivers/scsi/wd7000.cwd7000_enable_intr(host); 
host743drivers/scsi/wd7000.ccommand_out( host, &start_ogmb, 1 );
host809drivers/scsi/wd7000.c#define wd7000_intr_ack(host)  outb(0,host->iobase+ASC_INTR_ACK)
host818drivers/scsi/wd7000.cAdapter *host = irq2host[irq];  /* This MUST be set!!! */
host819drivers/scsi/wd7000.cMailbox *icmbs = host->mb.icmb;
host822drivers/scsi/wd7000.cprintk("wd7000_intr_handle: irq = %d, host = %06x\n", irq, host);
host825drivers/scsi/wd7000.cflag = inb(host->iobase+ASC_INTR_STAT);
host830drivers/scsi/wd7000.cif (!(inb(host->iobase+ASC_STAT) & INT_IM))  {
host842drivers/scsi/wd7000.cwd7000_intr_ack(host);
host857drivers/scsi/wd7000.cwd7000_intr_ack(host);
host868drivers/scsi/wd7000.cwd7000_intr_ack(host);
host893drivers/scsi/wd7000.cwd7000_intr_ack(host);
host905drivers/scsi/wd7000.cAdapter *host = (Adapter *) SCpnt->host->hostdata;
host918drivers/scsi/wd7000.cscb->host = host;
host924drivers/scsi/wd7000.cif (SCpnt->host->sg_tablesize == SG_NONE)  {
host945drivers/scsi/wd7000.cwhile (!mail_out(host, scb)) /* keep trying */;
host961drivers/scsi/wd7000.cint wd7000_diagnostics( Adapter *host, int code )
host976drivers/scsi/wd7000.cmail_out(host, (struct scb *) &icb);
host995drivers/scsi/wd7000.cint wd7000_init( Adapter *host )
host1006drivers/scsi/wd7000.coutb(ASC_RES, host->iobase+ASC_CONTROL);
host1008drivers/scsi/wd7000.coutb(0,host->iobase+ASC_CONTROL);
host1009drivers/scsi/wd7000.chost->control = 0;   /* this must always shadow ASC_CONTROL */
host1010drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0);
host1012drivers/scsi/wd7000.cif ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1)  {
host1041drivers/scsi/wd7000.cmemset(&(host->mb), 0, sizeof(host->mb));
host1044drivers/scsi/wd7000.cany2scsi((unchar *) &(init_cmd.mailboxes), (int) &(host->mb));
host1045drivers/scsi/wd7000.cif (!command_out(host, (unchar *) &init_cmd, sizeof(init_cmd)))  {
host1049drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, ASC_INIT, 0);
host1051drivers/scsi/wd7000.cif (request_irq(host->irq, wd7000_intr_handle, SA_INTERRUPT, "wd7000")) {
host1052drivers/scsi/wd7000.cprintk("wd7000_init: can't get IRQ %d.\n", host->irq);
host1055drivers/scsi/wd7000.cif (request_dma(host->dma,"wd7000"))  {
host1056drivers/scsi/wd7000.cprintk("wd7000_init: can't get DMA channel %d.\n", host->dma);
host1057drivers/scsi/wd7000.cfree_irq(host->irq);
host1060drivers/scsi/wd7000.cwd7000_enable_dma(host);
host1061drivers/scsi/wd7000.cwd7000_enable_intr(host);
host1063drivers/scsi/wd7000.cif (!wd7000_diagnostics(host,ICB_DIAG_FULL))  {
host1064drivers/scsi/wd7000.cfree_dma(host->dma);
host1065drivers/scsi/wd7000.cfree_irq(host->irq);
host1077drivers/scsi/wd7000.cvoid wd7000_revision(Adapter *host)
host1088drivers/scsi/wd7000.cmail_out(host, (struct scb *) &icb);
host1091drivers/scsi/wd7000.chost->rev1 = icb.primary;
host1092drivers/scsi/wd7000.chost->rev2 = icb.secondary;
host1111drivers/scsi/wd7000.cAdapter *host = NULL;
host1135drivers/scsi/wd7000.cprintk("IO %xh already in use.\n", host->iobase);
host1146drivers/scsi/wd7000.chost = (Adapter *) sh->hostdata;
host1149drivers/scsi/wd7000.c(int)host);
host1151drivers/scsi/wd7000.cmemset( host, 0, sizeof(Adapter) );
host1152drivers/scsi/wd7000.chost->sh = sh;
host1153drivers/scsi/wd7000.chost->irq = cfg->irq;
host1154drivers/scsi/wd7000.chost->iobase = cfg->iobase;
host1155drivers/scsi/wd7000.chost->dma = cfg->dma;
host1156drivers/scsi/wd7000.cirq2host[host->irq] = host;
host1158drivers/scsi/wd7000.cif (!wd7000_init(host))  {  /* Initialization failed */
host1166drivers/scsi/wd7000.cwd7000_revision(host);   /* important for scatter/gather */
host1169drivers/scsi/wd7000.chost->rev1, host->rev2);
host1171drivers/scsi/wd7000.chost->iobase, host->irq, host->dma);
host1173drivers/scsi/wd7000.crequest_region(host->iobase, 4,"wd7000"); /* Register our ports */
host1177drivers/scsi/wd7000.cif (host->rev1 < 6)  sh->sg_tablesize = SG_NONE;
host1196drivers/scsi/wd7000.cAdapter *host = (Adapter *) SCpnt->host->hostdata;
host1198drivers/scsi/wd7000.cif (inb(host->iobase+ASC_STAT) & INT_IM)  {
host1200drivers/scsi/wd7000.cwd7000_intr_handle(host->irq, NULL);