taglinefilesource code
host182drivers/scsi/53c7,8xx.cstatic int NCR53c8xx_run_tests (struct Scsi_Host *host);
host186drivers/scsi/53c7,8xx.cstatic int ncr_halt (struct Scsi_Host *host);
host187drivers/scsi/53c7,8xx.cstatic void intr_phase_mismatch (struct Scsi_Host *host, struct NCR53c7x0_cmd 
host189drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
host190drivers/scsi/53c7,8xx.cstatic void print_dsa (struct Scsi_Host *host, u32 *dsa);
host191drivers/scsi/53c7,8xx.cstatic int print_insn (struct Scsi_Host *host, u32 *insn,
host195drivers/scsi/53c7,8xx.cstatic void NCR53c8x0_init_fixup (struct Scsi_Host *host);
host196drivers/scsi/53c7,8xx.cstatic int NCR53c8x0_dstat_sir_intr (struct Scsi_Host *host, struct 
host198drivers/scsi/53c7,8xx.cstatic void NCR53c8x0_soft_reset (struct Scsi_Host *host);
host401drivers/scsi/53c7,8xx.cNCR53c7x0_init (struct Scsi_Host *host) {
host406drivers/scsi/53c7,8xx.chost->hostdata;
host408drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host426drivers/scsi/53c7,8xx.chost->host_no, hostdata->chip);
host427drivers/scsi/53c7,8xx.cscsi_unregister (host);
host443drivers/scsi/53c7,8xx.c(search->irq != host->irq)); search=search->next);
host446drivers/scsi/53c7,8xx.cif (request_irq(host->irq, NCR53c7x0_intr, SA_INTERRUPT, "53c7,8xx")) {
host448drivers/scsi/53c7,8xx.chost->host_no, host->irq);
host449drivers/scsi/53c7,8xx.cscsi_unregister (host);
host454drivers/scsi/53c7,8xx.chost->host_no, search->host_no);
host457drivers/scsi/53c7,8xx.cprintk ("scsi%d : using %s mapped access\n", host->host_no, 
host468drivers/scsi/53c7,8xx.cncr_halt(host);
host480drivers/scsi/53c7,8xx.cfor (host->this_id = 0; tmp != 1; tmp >>=1, ++host->this_id);
host482drivers/scsi/53c7,8xx.chost->this_id = NCR53c7x0_read8(SCID_REG) & 7;
host483drivers/scsi/53c7,8xx.chostdata->this_id_mask = 1 << host->this_id;
host486drivers/scsi/53c7,8xx.cprintk("scsi%d : using initiator ID %d\n", host->host_no,
host487drivers/scsi/53c7,8xx.chost->this_id);
host514drivers/scsi/53c7,8xx.cprintk ("scsi%d : using %s interrupts\n", host->host_no,
host531drivers/scsi/53c7,8xx.cprintk ("scsi%d : burst mode disabled\n", host->host_no);
host540drivers/scsi/53c7,8xx.cprintk ("scsi%d : burst length %d\n", host->host_no, i);
host571drivers/scsi/53c7,8xx.chost->host_no, ccf);
host576drivers/scsi/53c7,8xx.cprintk ("scsi%d : using %dMHz SCSI clock\n", host->host_no, 
host617drivers/scsi/53c7,8xx.chostdata->init_save_regs (host);
host619drivers/scsi/53c7,8xx.chostdata->init_fixup (host);
host622drivers/scsi/53c7,8xx.cthe_template = host->hostt;
host623drivers/scsi/53c7,8xx.cfirst_host = host;
host638drivers/scsi/53c7,8xx.chostdata->soft_reset (host);
host645drivers/scsi/53c7,8xx.cif ((hostdata->run_tests && hostdata->run_tests(host) == -1) ||
host648drivers/scsi/53c7,8xx.cscsi_unregister (host);
host1042drivers/scsi/53c7,8xx.cNCR53c8x0_init_fixup (struct Scsi_Host *host) {
host1045drivers/scsi/53c7,8xx.chost->hostdata;
host1049drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host1096drivers/scsi/53c7,8xx.cbase = (u32) host->io_port;
host1101drivers/scsi/53c7,8xx.cbase = virt_to_phys(host->base);
host1188drivers/scsi/53c7,8xx.chost->host_no, A_dsa_fields_start, Ent_dsa_code_template_end - 
host1191drivers/scsi/53c7,8xx.cprintk("scsi%d : NCR code relocated to 0x%p\n", host->host_no,
host1210drivers/scsi/53c7,8xx.cstatic int NCR53c8xx_run_tests (struct Scsi_Host *host) {
host1213drivers/scsi/53c7,8xx.chost->hostdata;
host1218drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host1225drivers/scsi/53c7,8xx.cprintk ("scsi%d : chip not idle, aborting tests\n", host->host_no);
host1237drivers/scsi/53c7,8xx.chost->host_no);
host1249drivers/scsi/53c7,8xx.cprintk ("scsi%d : test 1", host->host_no);
host1261drivers/scsi/53c7,8xx.cprintk ("scsi%d : driver test 1 timed out%s\n",host->host_no ,
host1272drivers/scsi/53c7,8xx.cprintk ("scsi%d : test 1 bad interrupt value (%d)\n", host->host_no,
host1281drivers/scsi/53c7,8xx.chost->host_no, hostdata->test_dest);
host1286drivers/scsi/53c7,8xx.chost->host_no, NCR53c7x0_read32(DSP_REG),
host1288drivers/scsi/53c7,8xx.cprintk ("scsi%d : DSPS = 0x%x\n", host->host_no,
host1298drivers/scsi/53c7,8xx.chost->host_no);
host1328drivers/scsi/53c7,8xx.cprintk ("scsi%d : chip not idle, aborting tests\n", host->host_no);
host1354drivers/scsi/53c7,8xx.chost->host_no, i, data + 8);
host1355drivers/scsi/53c7,8xx.cprintk ("scsi%d : status ", host->host_no);
host1357drivers/scsi/53c7,8xx.cprintk ("\nscsi%d : message ", host->host_no);
host1362drivers/scsi/53c7,8xx.chost->host_no, i);
host1364drivers/scsi/53c7,8xx.cprintk("scsi%d : not idle\n", host->host_no);
host1369drivers/scsi/53c7,8xx.cprintk ("scsi%d : test 2 timed out\n", host->host_no);
host1376drivers/scsi/53c7,8xx.chost->host_no, i);
host1398drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = c->host;
host1400drivers/scsi/53c7,8xx.chost->hostdata;
host1436drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = c->host;
host1438drivers/scsi/53c7,8xx.chost->hostdata;
host1488drivers/scsi/53c7,8xx.cstatic void intr_break (struct Scsi_Host *host, struct 
host1497drivers/scsi/53c7,8xx.chost->hostdata;    
host1499drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host1514drivers/scsi/53c7,8xx.chost->host_no, dsp);
host1545drivers/scsi/53c7,8xx.cstatic int asynchronous (struct Scsi_Host *host, int target) {
host1548drivers/scsi/53c7,8xx.chost->hostdata;
host1549drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host1614drivers/scsi/53c7,8xx.cstatic void synchronous (struct Scsi_Host *host, int target, char *msg) {
host1616drivers/scsi/53c7,8xx.chost->hostdata;
host1628drivers/scsi/53c7,8xx.cprintk("scsi%d : optimal synchronous divisor of %d.%01d\n", host->host_no,
host1634drivers/scsi/53c7,8xx.cprintk("scsi%d : selected synchronous divisor of %d.%01d\n", host->host_no,
host1683drivers/scsi/53c7,8xx.cstatic int NCR53c8x0_dstat_sir_intr (struct Scsi_Host *host, struct 
host1688drivers/scsi/53c7,8xx.chost->hostdata;    
host1690drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host1695drivers/scsi/53c7,8xx.cprintk ("scsi%d : DSPS = 0x%x\n", host->host_no, dsps);
host1699drivers/scsi/53c7,8xx.cprintk ("scsi%d : message", host->host_no);
host1716drivers/scsi/53c7,8xx.chost->host_no);
host1725drivers/scsi/53c7,8xx.chost->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" :
host1737drivers/scsi/53c7,8xx.csynchronous (host, c->target, (unsigned char *)
host1746drivers/scsi/53c7,8xx.csynchronous (host, c->target, (unsigned char *)
host1764drivers/scsi/53c7,8xx.chost->host_no, c->target, Hz / 1000000, Hz % 1000000,
host1772drivers/scsi/53c7,8xx.chost->host_no, c->target);
host1784drivers/scsi/53c7,8xx.cprintk ("scsi%d : unexpected phase\n", host->host_no);
host1787drivers/scsi/53c7,8xx.cprintk ("scsi%d : selected by target %d\n", host->host_no,
host1794drivers/scsi/53c7,8xx.cprintk ("scsi%d : unexpected reselect by target %d\n", host->host_no,
host1813drivers/scsi/53c7,8xx.cprintk ("scsi%d : CHECK CONDITION\n", host->host_no);
host1816drivers/scsi/53c7,8xx.chost->host_no);
host1825drivers/scsi/53c7,8xx.casynchronous (host, c->target);
host1899drivers/scsi/53c7,8xx.cprintk("scsi%d : test %d complete\n", host->host_no,
host1905drivers/scsi/53c7,8xx.cprintk("scsi%d : new I/O 0x%x scheduled\n", host->host_no,
host1913drivers/scsi/53c7,8xx.cprintk("scsi%d : idle\n", host->host_no);
host1927drivers/scsi/53c7,8xx.cprintk("scsi%d : DSA loaded with 0x%x\n", host->host_no,
host1936drivers/scsi/53c7,8xx.chost->host_no, (int) NCR53c7x0_read8(SSID_REG_800), 
host1945drivers/scsi/53c7,8xx.chost->host_no, hostdata->issue_dsa_head);
host1952drivers/scsi/53c7,8xx.chost->host_no, dsps);
host1957drivers/scsi/53c7,8xx.chost->host_no, (unsigned) dsps);
host2017drivers/scsi/53c7,8xx.cstatic int debugger_fn_bc (struct Scsi_Host *host, struct debugger_token *token,
host2049drivers/scsi/53c7,8xx.cstatic int debugger_fn_bl (struct Scsi_Host *host, struct debugger_token *token,
host2052drivers/scsi/53c7,8xx.chost->hostdata;
host2064drivers/scsi/53c7,8xx.chost->host_no);
host2065drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, strlen(buf));
host2069drivers/scsi/53c7,8xx.cfor (bp = (struct NCR53c7x0_break *) host->breakpoints;
host2081drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, len);
host2087drivers/scsi/53c7,8xx.cstatic int debugger_fn_bs (struct Scsi_Host *host, struct debugger_token *token,
host2090drivers/scsi/53c7,8xx.chost->hostdata;
host2100drivers/scsi/53c7,8xx.csprintf (buf, "scsi%d : bs : failure : NCR not halted\n", host->host_no);
host2101drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, strlen(buf));
host2108drivers/scsi/53c7,8xx.chost->host_no, sizeof(struct NCR53c7x0_break));
host2141drivers/scsi/53c7,8xx.cfor (dev = MINOR(inode->rdev), host = first_host;
host2142drivers/scsi/53c7,8xx.c(host->hostt == the_template); --dev, host = host->next)
host2143drivers/scsi/53c7,8xx.cif (!dev) return host;
host2150drivers/scsi/53c7,8xx.cstruct Scsi_Host *host;      /* This SCSI host */
host2157drivers/scsi/53c7,8xx.cif (!(host = inode_to_host(inode)))
host2160drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
host2206drivers/scsi/53c7,8xx.cstatic debugger_kernel_write (struct Scsi_Host *host, char *buf, size_t
host2209drivers/scsi/53c7,8xx.chost->hostdata;
host2245drivers/scsi/53c7,8xx.cNCR53c8x0_soft_reset (struct Scsi_Host *host) {
host2248drivers/scsi/53c7,8xx.chost->hostdata;
host2249drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host2278drivers/scsi/53c7,8xx.cNCR53c7x0_write8(SCID_REG, (host->this_id & 7)|SCID_800_RRE|SCID_800_SRE);
host2280drivers/scsi/53c7,8xx.cNCR53c7x0_write8(SCID_REG, (host->this_id & 7)|SCID_800_RRE);
host2352drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host2354drivers/scsi/53c7,8xx.chost->hostdata;  
host2368drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(cmd->host);
host2381drivers/scsi/53c7,8xx.cif (hostdata->num_commands < host->can_queue &&
host2384drivers/scsi/53c7,8xx.cfor (i = host->hostt->cmd_per_lun - 1; i >= 0  --i) {
host2447drivers/scsi/53c7,8xx.cprintk("scsi%d : command is ", host->host_no);
host2451drivers/scsi/53c7,8xx.cprintk ("scsi%d : %d scatter/gather segments\n", host->host_no,
host2613drivers/scsi/53c7,8xx.cprint_insn (host, cmd_datain, "dynamic ", 1);
host2614drivers/scsi/53c7,8xx.cprint_insn (host, cmd_datain + 2, "dynamic ", 1);
host2627drivers/scsi/53c7,8xx.cprint_insn (host, cmd_dataout, "dynamic ", 1);
host2628drivers/scsi/53c7,8xx.cprint_insn (host, cmd_dataout + 2, "dynamic ", 1);
host2645drivers/scsi/53c7,8xx.cprint_insn (host, cmd_datain, "dynamic jump ", 1);
host2664drivers/scsi/53c7,8xx.cprint_insn (host, cmd_dataout, "dynamic jump ", 1);
host2694drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host2696drivers/scsi/53c7,8xx.chost->hostdata;
host2699drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host2705drivers/scsi/53c7,8xx.cprintk("scsi%d : disabled target %d lun %d\n", host->host_no,
host2714drivers/scsi/53c7,8xx.cprintk("scsi%d : maximum commands exceeded\n", host->host_no);
host2727drivers/scsi/53c7,8xx.chost->host_no);
host2787drivers/scsi/53c7,8xx.cprintk("scsi%d : new dsa is 0x%p\n", host->host_no, dsa);
host2817drivers/scsi/53c7,8xx.cprintk ("scsi%d : no issue queue\n", host->host_no);
host2833drivers/scsi/53c7,8xx.cprintk ("scsi%d : existing issue queue\n", host->host_no);
host2856drivers/scsi/53c7,8xx.chost->host_no);
host2882drivers/scsi/53c7,8xx.cstatic void intr_scsi (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
host2885drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
host2890drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host2905drivers/scsi/53c7,8xx.cprintk ("scsi%d : SIST0 0x%0x, SIST1 0x%0x\n", host->host_no,
host2913drivers/scsi/53c7,8xx.cprintk ("scsi%d : Selection Timeout\n", host->host_no);
host2916drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
host2918drivers/scsi/53c7,8xx.cprintk("scsi%d : dsp = 0x%x\n", host->host_no,
host2921drivers/scsi/53c7,8xx.cprintk("scsi%d : no command\n", host->host_no);
host2950drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
host2963drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
host2966drivers/scsi/53c7,8xx.cprintk("scsi%d : parity error\n", host->host_no);
host2978drivers/scsi/53c7,8xx.cprintk("scsi%d : gross error\n", host->host_no);
host2989drivers/scsi/53c7,8xx.cprintk ("scsi%d : SSTAT0_MA\n", host->host_no);
host2990drivers/scsi/53c7,8xx.cintr_phase_mismatch (host, cmd);
host3007drivers/scsi/53c7,8xx.cprintk ("scsi%d : DMA FIFO not empty\n", host->host_no);
host3043drivers/scsi/53c7,8xx.cstruct Scsi_Host *host;      /* Host we are looking at */
host3066drivers/scsi/53c7,8xx.cfor (host = first_host; host; host = hostdata->next) {
host3067drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host3069drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
host3107drivers/scsi/53c7,8xx.cprintk ("scsi%d : INTFLY\n", host->host_no); 
host3128drivers/scsi/53c7,8xx.cprintk("scsi%d : very weird.\n", host->host_no);
host3134drivers/scsi/53c7,8xx.chost->host_no);
host3139drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->result);
host3169drivers/scsi/53c7,8xx.chost->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result);
host3185drivers/scsi/53c7,8xx.chost->host_no);
host3216drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
host3220drivers/scsi/53c7,8xx.cprintk("scsi%d : no active command\n", host->host_no);
host3226drivers/scsi/53c7,8xx.cprintk ("scsi%d : ISTAT_SIP\n", host->host_no);
host3227drivers/scsi/53c7,8xx.cintr_scsi (host, cmd);
host3232drivers/scsi/53c7,8xx.cprintk ("scsi%d : ISTAT_DIP\n", host->host_no);
host3233drivers/scsi/53c7,8xx.cintr_dma (host, cmd);
host3244drivers/scsi/53c7,8xx.cprintk ("scsi%d : DMA FIFO not empty\n", host->host_no);
host3269drivers/scsi/53c7,8xx.cprintk("scsi%d : too many interrupts, halting", host->host_no);
host3282drivers/scsi/53c7,8xx.cprintk("scsi%d : new dsp is 0x%p\n", host->host_no, 
host3308drivers/scsi/53c7,8xx.cabort_connected (struct Scsi_Host *host) {
host3310drivers/scsi/53c7,8xx.chost->hostdata;
host3316drivers/scsi/53c7,8xx.chost->host_no);
host3340drivers/scsi/53c7,8xx.cstatic void intr_phase_mismatch (struct Scsi_Host *host, struct NCR53c7x0_cmd
host3346drivers/scsi/53c7,8xx.chost->hostdata;
host3348drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host3352drivers/scsi/53c7,8xx.chost->host_no);
host3353drivers/scsi/53c7,8xx.cabort_connected(host);
host3428drivers/scsi/53c7,8xx.cprintk ("scsi%d : new phase = STATIN\n", host->host_no);
host3442drivers/scsi/53c7,8xx.cprintk ("scsi%d  : new phase = MSGIN\n", host->host_no);
host3455drivers/scsi/53c7,8xx.chost->host_no, dcmd);
host3456drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "", 1);
host3457drivers/scsi/53c7,8xx.cprint_insn (host, dsp_next, "", 1);
host3458drivers/scsi/53c7,8xx.cabort_connected (host);
host3473drivers/scsi/53c7,8xx.chost->host_no, phase);
host3474drivers/scsi/53c7,8xx.cabort_connected(host);
host3481drivers/scsi/53c7,8xx.chost->host_no, phase, dsp);
host3482drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "", 1);
host3483drivers/scsi/53c7,8xx.cprint_insn (host, dsp_next, "", 1);
host3484drivers/scsi/53c7,8xx.cabort_connected(host);
host3499drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
host3502drivers/scsi/53c7,8xx.chost->hostdata;
host3510drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host3520drivers/scsi/53c7,8xx.cprintk("scsi%d : DSTAT=0x%x\n", host->host_no, (int) dstat);
host3548drivers/scsi/53c7,8xx.c"         ", host->host_no);
host3549drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "s ", 1);
host3562drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "s ", 0);
host3573drivers/scsi/53c7,8xx.c"         ", host->host_no);
host3574drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "", 1);
host3607drivers/scsi/53c7,8xx.chost->host_no);
host3620drivers/scsi/53c7,8xx.cprintk("scsi%d : illegal instruction ", host->host_no);
host3621drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "", 1);
host3625drivers/scsi/53c7,8xx.chost->host_no, dsp, dbc_dcmd,
host3641drivers/scsi/53c7,8xx.chost->host_no, dsp, NCR53c7x0_read32(DBC_REG),
host3644drivers/scsi/53c7,8xx.cprint_dsa (host, dsa);
host3645drivers/scsi/53c7,8xx.cprintk("scsi%d : DSP->\n", host->host_no);
host3646drivers/scsi/53c7,8xx.cprint_insn(host, dsp, "", 1);
host3647drivers/scsi/53c7,8xx.cprint_insn(host, next_dsp, "", 1);
host3667drivers/scsi/53c7,8xx.cprintk ("scsi%d : DSTAT_SIR\n", host->host_no);
host3668drivers/scsi/53c7,8xx.cswitch ((tmp = hostdata->dstat_sir_intr (host, cmd))) {
host3673drivers/scsi/53c7,8xx.cabort_connected(host);
host3676drivers/scsi/53c7,8xx.cprintk("scsi%d : failure at ", host->host_no);
host3677drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "", 1);
host3681drivers/scsi/53c7,8xx.cintr_break (host, cmd);
host3684drivers/scsi/53c7,8xx.cprintk("scsi%d : failure at ", host->host_no);
host3685drivers/scsi/53c7,8xx.cprint_insn (host, dsp, "", 1);
host3714drivers/scsi/53c7,8xx.cstatic int print_insn (struct Scsi_Host *host, u32 *insn,
host3738drivers/scsi/53c7,8xx.cdebugger_kernel_write(host, buf, len);
host3757drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host3759drivers/scsi/53c7,8xx.chost->hostdata;
host3808drivers/scsi/53c7,8xx.ccmd->host->host_no);
host3824drivers/scsi/53c7,8xx.cprintk ("scsi%d : did this command ever run?\n", host->host_no);
host3827drivers/scsi/53c7,8xx.chost->host_no);
host3852drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
host3853drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = host ? 
host3854drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata : NULL;
host3855drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host3858drivers/scsi/53c7,8xx.cncr_halt (host);
host3891drivers/scsi/53c7,8xx.cstatic void print_dsa (struct Scsi_Host *host, u32 *dsa) {
host3893drivers/scsi/53c7,8xx.chost->hostdata;
host3899drivers/scsi/53c7,8xx.chost->host_no, dsa, hostdata->dsa_msgout,
host3923drivers/scsi/53c7,8xx.cshutdown (struct Scsi_Host *host) {
host3927drivers/scsi/53c7,8xx.chost->hostdata;
host3928drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host3931drivers/scsi/53c7,8xx.cncr_halt (host);
host3932drivers/scsi/53c7,8xx.chostdata->soft_reset(host);
host3960drivers/scsi/53c7,8xx.cncr_halt (struct Scsi_Host *host) {
host3965drivers/scsi/53c7,8xx.chost->hostdata;
host3966drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(host);
host3988drivers/scsi/53c7,8xx.cpanic("scsi%d: could not halt NCR chip\n", host->host_no);
host3997drivers/scsi/53c7,8xx.cint NCR53c7x0_release(struct Scsi_Host *host) {
host3998drivers/scsi/53c7,8xx.cshutdown (host);
host4000drivers/scsi/53c7,8xx.cif (host->irq != IRQ_NONE)
host4005drivers/scsi/53c7,8xx.cif (tmp->hostt == the_template && tmp->irq == host->irq)
host4008drivers/scsi/53c7,8xx.cfree_irq(host->irq);
host4010drivers/scsi/53c7,8xx.cif (host->dma_channel != DMA_NONE)
host4011drivers/scsi/53c7,8xx.cfree_dma(host->dma_channel);
host1099drivers/scsi/53c7,8xx.hvoid (* init_fixup)(struct Scsi_Host *host);
host1100drivers/scsi/53c7,8xx.hvoid (* init_save_regs)(struct Scsi_Host *host);
host1102drivers/scsi/53c7,8xx.hvoid (* soft_reset)(struct Scsi_Host *host);
host1103drivers/scsi/53c7,8xx.hint (* run_tests)(struct Scsi_Host *host);
host1111drivers/scsi/53c7,8xx.hint (* dstat_sir_intr)(struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
host1322drivers/scsi/53c7,8xx.h#define NCR53c7x0_local_setup(host)          \
host1323drivers/scsi/53c7,8xx.hNCR53c7x0_address_memory = (void *) (host)->base;      \
host1324drivers/scsi/53c7,8xx.hNCR53c7x0_address_io = (unsigned int) (host)->io_port;    \
host1326drivers/scsi/53c7,8xx.hhost->hostdata)-> options & OPTION_MEMORY_MAPPED 
host1364drivers/scsi/53c7,8xx.hhost->host_no, #symbol, i, A_##symbol##_used[i] -   \
host850drivers/scsi/NCR5380.ccmd->host->hostdata;
host2575drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
host2762drivers/scsi/NCR5380.cNCR5380_setup(cmd->host);
host2764drivers/scsi/NCR5380.cNCR5380_print_status (cmd->host);
host105drivers/scsi/aha1542.c#define HOSTDATA(host) ((struct aha1542_hostdata *) &host->hostdata)
host522drivers/scsi/aha1542.cmb = HOSTDATA(SCpnt->host)->mb;
host523drivers/scsi/aha1542.cccb = HOSTDATA(SCpnt->host)->ccb;
host563drivers/scsi/aha1542.cmbo = HOSTDATA(SCpnt->host)->aha1542_last_mbo_used + 1;
host567drivers/scsi/aha1542.cif(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL)
host571drivers/scsi/aha1542.c} while (mbo != HOSTDATA(SCpnt->host)->aha1542_last_mbo_used);
host573drivers/scsi/aha1542.cif(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo])
host576drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt;  /* This will effectively prevent someone else from
host579drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->aha1542_last_mbo_used = mbo;    
host661drivers/scsi/aha1542.caha1542_out(SCpnt->host->io_port, &ahacmd, 1);    /* start scsi command */
host1107drivers/scsi/aha1542.cinb(STATUS(SCpnt->host->io_port)),
host1108drivers/scsi/aha1542.cinb(INTRFLAGS(SCpnt->host->io_port)));
host1112drivers/scsi/aha1542.cmb = HOSTDATA(SCpnt->host)->mb;
host1113drivers/scsi/aha1542.cmbi = HOSTDATA(SCpnt->host)->aha1542_last_mbi_used + 1;
host1120drivers/scsi/aha1542.c} while (mbi != HOSTDATA(SCpnt->host)->aha1542_last_mbi_used);
host1125drivers/scsi/aha1542.cSCpnt->host->irq);
host1126drivers/scsi/aha1542.caha1542_intr_handle(SCpnt->host->irq, NULL);
host1134drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i])
host1136drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) {
host1138drivers/scsi/aha1542.cif (HOSTDATA(SCpnt->host)->mb[i].status) {
host1140drivers/scsi/aha1542.caha1542_out(SCpnt->host->io_port, &ahacmd, 1);
host1153drivers/scsi/aha1542.cif (SCpnt == HOSTDATA(SCpnt->host)->SCint[mbo]){
host1155drivers/scsi/aha1542.caha1542_out(SCpnt->host->io_port, &ahacmd, 1); /* start scsi command */
host1177drivers/scsi/aha1542.coutb(SCRST, CONTROL(SCpnt->host->io_port));
host1182drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt)
host1184drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->ccb[i].op = 0x81;  /* BUS DEVICE RESET */
host1186drivers/scsi/aha1542.caha1542_out(SCpnt->host->io_port, &ahacmd, 1);
host1199drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] &&
host1200drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target)
host1203drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
host1209drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
host1210drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
host1232drivers/scsi/aha1542.ctranslation_algorithm = HOSTDATA(disk->device->host)->bios_translation;
host2559drivers/scsi/aic7xxx.cstruct Scsi_Host *host;
host2842drivers/scsi/aic7xxx.chost = scsi_register(template, sizeof(struct aic7xxx_host));
host2843drivers/scsi/aic7xxx.chost->can_queue = config.maxscb;
host2845drivers/scsi/aic7xxx.chost->cmd_per_lun = 2;
host2847drivers/scsi/aic7xxx.chost->cmd_per_lun = 1;
host2849drivers/scsi/aic7xxx.chost->this_id = config.scsi_id;
host2850drivers/scsi/aic7xxx.chost->irq = config.irq;
host2853drivers/scsi/aic7xxx.chost->max_id = 16;
host2857drivers/scsi/aic7xxx.chost->max_channel = 1;
host2860drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) host->hostdata;
host2897drivers/scsi/aic7xxx.caic7xxx_boards[config.irq] = host;
host2907drivers/scsi/aic7xxx.caic7xxx_boards[config.irq] = host;
host3387drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
host3579drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
host3776drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
host3858drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) disk->device->host->hostdata;
host181drivers/scsi/buslogic.c#define HOSTDATA(host) ((struct hostdata *)&(host)->hostdata)
host184drivers/scsi/buslogic.cstatic struct Scsi_Host *host[7] = { NULL, };
host454drivers/scsi/buslogic.cshpnt = host[irq - 9];
host579drivers/scsi/buslogic.cstruct Scsi_Host *shpnt = scpnt->host;
host1252drivers/scsi/buslogic.chost[irq - 9] = shpnt;
host1343drivers/scsi/buslogic.cbuslogic_out(shpnt->host->io_port, buscmd, sizeof buscmd);
host1362drivers/scsi/buslogic.cinb(STATUS(scpnt->host->io_port)),
host1363drivers/scsi/buslogic.cinb(INTERRUPT(scpnt->host->io_port)));
host1367drivers/scsi/buslogic.cmb = HOSTDATA(scpnt->host)->mb;
host1368drivers/scsi/buslogic.clast_mbi = HOSTDATA(scpnt->host)->last_mbi_used;
host1380drivers/scsi/buslogic.c} while (mbi != HOSTDATA(scpnt->host)->last_mbi_used);
host1385drivers/scsi/buslogic.cscpnt->host->irq);
host1386drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->last_mbi_used = last_mbi;
host1387drivers/scsi/buslogic.cbuslogic_interrupt(scpnt->host->irq, NULL);
host1396drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i]) {
host1397drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i] == scpnt) {
host1400drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->mb[i].status != MBX_NOT_IN_USE) {
host1402drivers/scsi/buslogic.cbuslogic_out(scpnt->host->io_port, buscmd, sizeof buscmd);
host1420drivers/scsi/buslogic.cif (scpnt == HOSTDATA(scpnt->host)->sc[mbo]) {
host1422drivers/scsi/buslogic.cbuslogic_out(scpnt->host->io_port, buscmd, sizeof buscmd);
host1446drivers/scsi/buslogic.coutb(RSBUS, CONTROL(scpnt->host->io_port));
host1451drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i] == scpnt) {
host1452drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->ccbs[i].op = CCB_OP_BUS_RESET;
host1456drivers/scsi/buslogic.cbuslogic_out(scpnt->host->io_port, buscmd, sizeof buscmd);
host1470drivers/scsi/buslogic.cif (HOSTDATA(scpnt->host)->sc[i]
host1471drivers/scsi/buslogic.c&& HOSTDATA(scpnt->host)->sc[i]->target == scpnt->target) {
host1472drivers/scsi/buslogic.cScsi_Cmnd *sctmp = HOSTDATA(scpnt->host)->sc[i];
host1481drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->sc[i] = NULL;
host1482drivers/scsi/buslogic.cHOSTDATA(scpnt->host)->mb[i].status = MBX_NOT_IN_USE;
host1506drivers/scsi/buslogic.cif (HOSTDATA(disk->device->host)->bios_translation == BIOS_TRANSLATION_BIG
host567drivers/scsi/constants.ccmd->host->host_no, 
host611drivers/scsi/eata.cj = ((struct hostdata *) SCpnt->host->hostdata)->board_number;
host713drivers/scsi/eata.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
host773drivers/scsi/eata.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
host144drivers/scsi/eata_dma.cconst char *eata_info(struct Scsi_Host *host)
host177drivers/scsi/eata_dma.cbase = (uint) cmd->host->base;
host366drivers/scsi/eata_dma.csh = cmd->host;
host526drivers/scsi/eata_dma.cwhile (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
host581drivers/scsi/eata_dma.cwhile (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
host596drivers/scsi/eata_dma.cfor (x = 0; x < cmd->host->can_queue; x++) {
host620drivers/scsi/eata_dma.cinb((u32) (cmd->host->base) + HA_RSTATUS);  /* This might cause trouble */
host621drivers/scsi/eata_dma.ceata_send_command(0, (u32) cmd->host->base, EATA_CMD_RESET);
host639drivers/scsi/eata_dma.cfor (x = 0; x < cmd->host->can_queue; x++) {
host179drivers/scsi/eata_dma_proc.cscmd.host = HBA_ptr; 
host307drivers/scsi/eata_dma_proc.cscmd.host = HBA_ptr; 
host440drivers/scsi/eata_dma_proc.cif (scd->host == HBA_ptr) {
host76drivers/scsi/eata_generic.h#define HD(cmd)   ((hostdata *)&(cmd->host->hostdata))
host78drivers/scsi/eata_generic.h#define SD(host) ((hostdata *)&(host->hostdata))
host156drivers/scsi/eata_pio.cbase = (uint) cmd->host->base;
host304drivers/scsi/eata_pio.csh = cmd->host;
host425drivers/scsi/eata_pio.cwhile (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
host485drivers/scsi/eata_pio.cfor (x = 0; x < cmd->host->can_queue; x++) {
host501drivers/scsi/eata_pio.coutb((uint) cmd->host->base+HA_WCOMMAND, EATA_CMD_RESET);
host512drivers/scsi/eata_pio.cfor (x = 0; x < cmd->host->can_queue; x++) {
host103drivers/scsi/eata_pio_proc.cif (scd->host == HBA_ptr) {
host1622drivers/scsi/fdomain.cif (!SCpnt || !SCpnt->host) {
host1626drivers/scsi/fdomain.cprintk( "%s\n", fdomain_16x0_info( SCpnt->host ) );
host1627drivers/scsi/fdomain.cprint_banner( SCpnt->host );
host533drivers/scsi/qlogic.cint  qlogic_detect(Scsi_Host_Template * host)
host564drivers/scsi/qlogic.cqinitid = host->this_id;
host608drivers/scsi/qlogic.chost->can_queue = 1;
host611drivers/scsi/qlogic.chreg = scsi_register( host , 0 );  /* no host data */
host620drivers/scsi/qlogic.chost->name = qinfo;
host663drivers/scsi/qlogic.cconst char  *qlogic_info(struct Scsi_Host * host)
host331drivers/scsi/scsi.cprintk ("scan_scsis_done(%p, %06x)\n", SCpnt->host, SCpnt->result);
host418drivers/scsi/scsi.cSDpnt->host = shpnt;
host436drivers/scsi/scsi.cSCpnt->host = SDpnt->host;
host800drivers/scsi/scsi.cSCpnt->host->host_no);
host809drivers/scsi/scsi.cprintk("Unable to reset scsi host %d - ", SCpnt->host->host_no);
host840drivers/scsi/scsi.cSCpnt =  device->host->host_queue;
host848drivers/scsi/scsi.cSCpnt = device->host->host_queue;
host883drivers/scsi/scsi.cif (SCSI_BLOCK(device->host)) return NULL;
host887drivers/scsi/scsi.ctablesize = device->host->sg_tablesize;
host957drivers/scsi/scsi.cstruct Scsi_Host * host;
host970drivers/scsi/scsi.chost = device->host;
host972drivers/scsi/scsi.cif (intr_count && SCSI_BLOCK(host)) return NULL;
host975drivers/scsi/scsi.cSCpnt = device->host->host_queue;
host1031drivers/scsi/scsi.ctablesize = device->host->sg_tablesize;
host1097drivers/scsi/scsi.cstruct Scsi_Host * host;
host1103drivers/scsi/scsi.chost = SCpnt->host;
host1111drivers/scsi/scsi.ctemp = host->last_reset + MIN_RESET_DELAY;
host1124drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, 
host1128drivers/scsi/scsi.cif (host->can_queue)
host1132drivers/scsi/scsi.chost->hostt->queuecommand);
host1143drivers/scsi/scsi.cif(!intr_count && SCpnt->host->irq)
host1144drivers/scsi/scsi.cdisable_irq(SCpnt->host->irq);
host1146drivers/scsi/scsi.chost->hostt->queuecommand (SCpnt, scsi_done);
host1148drivers/scsi/scsi.cif(!intr_count && SCpnt->host->irq)
host1149drivers/scsi/scsi.cenable_irq(SCpnt->host->irq);
host1155drivers/scsi/scsi.cprintk("command() :  routine at %p\n", host->hostt->command);
host1157drivers/scsi/scsi.ctemp=host->hostt->command (SCpnt);
host1163drivers/scsi/scsi.chost->host_no, temp);
host1210drivers/scsi/scsi.cstruct Scsi_Host * host = SCpnt->host;
host1219drivers/scsi/scsi.c"command : " , host->host_no, SCpnt->channel, target, buffer, 
host1227drivers/scsi/scsi.cif (!host)
host1245drivers/scsi/scsi.cwhile (SCSI_BLOCK(host)) {
host1247drivers/scsi/scsi.cSCSI_SLEEP(&host->host_wait, SCSI_BLOCK(host));
host1251drivers/scsi/scsi.cif (host->block) host_active = host;
host1253drivers/scsi/scsi.chost->host_busy++;
host1265drivers/scsi/scsi.cSCpnt->host = host;
host1312drivers/scsi/scsi.cprintk("scsi: reset(%d, channel %d)\n", SCpnt->host->host_no, 
host1349drivers/scsi/scsi.cprintk("scsi%d, channel%d : ", SCpnt->host->host_no, SCpnt->channel);
host1412drivers/scsi/scsi.cstruct Scsi_Host * host = SCpnt->host;
host1435drivers/scsi/scsi.cprintk("In scsi_done(host = %d, result = %06x)\n", host->host_no, result);
host1457drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->channel, SCpnt->target, 
host1559drivers/scsi/scsi.c" reset.\n", SCpnt->host->host_no, SCpnt->channel);
host1670drivers/scsi/scsi.c&& !(jiffies < SCpnt->host->last_reset + MIN_RESET_PERIOD)
host1674drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->channel);
host1711drivers/scsi/scsi.chost->host_busy--; /* Indicate that we are free */
host1713drivers/scsi/scsi.cif (host->block && host->host_busy == 0) {
host1721drivers/scsi/scsi.cfor (next = host->block; next != host; next = next->block)
host1727drivers/scsi/scsi.cwake_up(&host->host_wait);
host1760drivers/scsi/scsi.cstruct Scsi_Host * host = SCpnt->host;
host1798drivers/scsi/scsi.cif (!host->host_busy) {
host1805drivers/scsi/scsi.cSCpnt->pid, SCpnt->host->host_no, (int) SCpnt->channel, 
host1811drivers/scsi/scsi.cswitch(host->hostt->abort(SCpnt)) {
host1868drivers/scsi/scsi.cstruct Scsi_Host * host = SCpnt->host;
host1872drivers/scsi/scsi.chost->host_no);
host1888drivers/scsi/scsi.cif (host->host_busy)
host1891drivers/scsi/scsi.cSCpnt1 = host->host_queue;
host1904drivers/scsi/scsi.chost->last_reset = jiffies;
host1905drivers/scsi/scsi.ctemp = host->hostt->reset(SCpnt);
host1906drivers/scsi/scsi.chost->last_reset = jiffies;
host1910drivers/scsi/scsi.cif (!host->block) host->host_busy++;
host1912drivers/scsi/scsi.chost->last_reset = jiffies;
host1913drivers/scsi/scsi.ctemp = host->hostt->reset(SCpnt);
host1914drivers/scsi/scsi.chost->last_reset = jiffies;
host1915drivers/scsi/scsi.cif (!host->block) host->host_busy--;
host1967drivers/scsi/scsi.cstruct Scsi_Host * host;
host1981drivers/scsi/scsi.cfor(host = scsi_hostlist; host; host = host->next) {
host1982drivers/scsi/scsi.cfor(SCpnt = host->host_queue; SCpnt; SCpnt = SCpnt->next)
host2011drivers/scsi/scsi.cstruct Scsi_Host * host;
host2038drivers/scsi/scsi.cfor(host = scsi_hostlist; host; host = host->next)
host2039drivers/scsi/scsi.cfor(SCpnt = host->host_queue; SCpnt; SCpnt = SCpnt->next)
host2229drivers/scsi/scsi.cstruct Scsi_Host * host = NULL;
host2231drivers/scsi/scsi.cfor(j=0;j<SDpnt->host->cmd_per_lun;j++){
host2233drivers/scsi/scsi.cSCpnt->host = SDpnt->host;
host2246drivers/scsi/scsi.chost = SDpnt->host;
host2247drivers/scsi/scsi.cif(host->host_queue)
host2248drivers/scsi/scsi.chost->host_queue->prev = SCpnt;
host2249drivers/scsi/scsi.cSCpnt->next = host->host_queue;
host2251drivers/scsi/scsi.chost->host_queue = SCpnt;
host2264drivers/scsi/scsi.cstruct Scsi_Host * host = NULL;
host2321drivers/scsi/scsi.chost = SDpnt->host;
host2324drivers/scsi/scsi.cdma_sectors += ((host->sg_tablesize *
host2326drivers/scsi/scsi.chost->cmd_per_lun;
host2328drivers/scsi/scsi.cif(host->unchecked_isa_dma &&
host2331drivers/scsi/scsi.cdma_sectors += (PAGE_SIZE >> 9) * host->sg_tablesize *
host2332drivers/scsi/scsi.chost->cmd_per_lun;
host2448drivers/scsi/scsi.cwhile(scd && scd->host->host_no != parameter[0] 
host2478drivers/scsi/scsi.cstruct Scsi_Host * host = NULL;
host2539drivers/scsi/scsi.cif(SDpnt->host->hostt == tpnt)
host2559drivers/scsi/scsi.chost = SDpnt->host;
host2562drivers/scsi/scsi.cnew_dma_sectors += ((host->sg_tablesize *
host2564drivers/scsi/scsi.chost->cmd_per_lun;
host2566drivers/scsi/scsi.cif(host->unchecked_isa_dma &&
host2569drivers/scsi/scsi.cnew_dma_sectors += (PAGE_SIZE >> 9) * host->sg_tablesize *
host2570drivers/scsi/scsi.chost->cmd_per_lun;
host2656drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count
host2657drivers/scsi/scsi.c&& *sdpnt->host->hostt->usage_count) return;
host2680drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt)
host2694drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt)
host2695drivers/scsi/scsi.cwhile (sdpnt->host->host_queue) {
host2696drivers/scsi/scsi.cSCpnt = sdpnt->host->host_queue->next;
host2697drivers/scsi/scsi.cscsi_init_free((char *) sdpnt->host->host_queue, sizeof(Scsi_Cmnd));
host2698drivers/scsi/scsi.csdpnt->host->host_queue = SCpnt;
host2709drivers/scsi/scsi.cif (sdpnt->host->hostt == tpnt) {
host2852drivers/scsi/scsi.cfor(SCpnt = SDpnt->host->host_queue; SCpnt; SCpnt = SCpnt->next)
host2860drivers/scsi/scsi.cif(SCpnt == SDpnt->host->host_queue)
host2861drivers/scsi/scsi.cSDpnt->host->host_queue = SCpnt->next;
host2947drivers/scsi/scsi.ci++, SCpnt->host->host_no,
host296drivers/scsi/scsi.hstruct Scsi_Host * host;
host453drivers/scsi/scsi.hstruct Scsi_Host * host;
host604drivers/scsi/scsi.hif (SCpnt->host->block) {
host607drivers/scsi/scsi.hfor (next = SCpnt->host->block; next != SCpnt->host;
host43drivers/scsi/scsi_ioctl.cstatic int ioctl_probe(struct Scsi_Host * host, void *buffer)
host49drivers/scsi/scsi_ioctl.cif ((temp = host->hostt->present) && buffer) {
host54drivers/scsi/scsi_ioctl.cif(host->hostt->info)
host55drivers/scsi/scsi_ioctl.cstring = host->hostt->info(host);
host57drivers/scsi/scsi_ioctl.cstring = host->hostt->name;
host148drivers/scsi/scsi_ioctl.cdev->host->host_no,
host324drivers/scsi/scsi_ioctl.cput_user(dev->id + (dev->lun << 8) + (dev->host->host_no << 16) +
host344drivers/scsi/scsi_ioctl.creturn ioctl_probe(dev->host, arg);
host64drivers/scsi/sd.c#define CLUSTERABLE_DEVICE(SC) (SC->host->use_clustering && \
host128drivers/scsi/sd.cif (rscsi_disks[target].device->host->hostt->usage_count)
host129drivers/scsi/sd.c(*rscsi_disks[target].device->host->hostt->usage_count)++;
host142drivers/scsi/sd.cif (rscsi_disks[target].device->host->hostt->usage_count)
host143drivers/scsi/sd.c(*rscsi_disks[target].device->host->hostt->usage_count)--;
host210drivers/scsi/sd.cSCpnt->host->host_no, result);
host364drivers/scsi/sd.crscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no,
host563drivers/scsi/sd.c&& SCpnt->host->unchecked_isa_dma) {
host585drivers/scsi/sd.c} else if (SCpnt->host->sg_tablesize == 0 ||
host595drivers/scsi/sd.cif (SCpnt->host->sg_tablesize != 0 &&
host620drivers/scsi/sd.c(SCpnt->host->unchecked_isa_dma &&
host622drivers/scsi/sd.cif (count < SCpnt->host->sg_tablesize) count++;
host630drivers/scsi/sd.cif(SCpnt->host->unchecked_isa_dma &&
host639drivers/scsi/sd.cif(SCpnt->host->sg_tablesize < max_sg) 
host640drivers/scsi/sd.cmax_sg = SCpnt->host->sg_tablesize;
host664drivers/scsi/sd.cISA_DMA_THRESHOLD && (SCpnt->host->unchecked_isa_dma) &&
host713drivers/scsi/sd.c(SCpnt->host->unchecked_isa_dma) &&
host743drivers/scsi/sd.c> SCpnt->host->sg_tablesize){
host774drivers/scsi/sd.c(SCpnt->host->unchecked_isa_dma)) {
host1204drivers/scsi/sd.cif(rscsi_disks[0].device && rscsi_disks[0].device->host->sg_tablesize)
host1217drivers/scsi/sd.cSDp->host->host_no, SDp->channel, SDp->id, SDp->lun); 
host28drivers/scsi/sd_ioctl.cstruct Scsi_Host * host;
host38drivers/scsi/sd_ioctl.chost = rscsi_disks[MINOR(dev) >> 4].device->host;
host42drivers/scsi/sd_ioctl.cif(host->hostt->bios_param != NULL)
host43drivers/scsi/sd_ioctl.chost->hostt->bios_param(&rscsi_disks[MINOR(dev) >> 4],
host147drivers/scsi/sg.cif (scsi_generics[dev].device->host->hostt->usage_count)
host148drivers/scsi/sg.c(*scsi_generics[dev].device->host->hostt->usage_count)++;
host158drivers/scsi/sg.cif (scsi_generics[dev].device->host->hostt->usage_count)
host159drivers/scsi/sg.c(*scsi_generics[dev].device->host->hostt->usage_count)--;
host81drivers/scsi/sr.cif (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)
host82drivers/scsi/sr.c(*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)--;
host284drivers/scsi/sr.cscsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, 
host527drivers/scsi/sr.cif (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)
host528drivers/scsi/sr.c(*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)++;
host692drivers/scsi/sr.cif (SCpnt->host->sg_tablesize > 0 &&
host706drivers/scsi/sr.cwhile(bh && count < SCpnt->host->sg_tablesize) {
host715drivers/scsi/sr.cif (count < SCpnt->host->sg_tablesize) {
host760drivers/scsi/sr.cSCpnt->host->unchecked_isa_dma) {
host824drivers/scsi/sr.cSCpnt->host->unchecked_isa_dma)
host906drivers/scsi/sr.cSDp->host->host_no, SDp->channel, SDp->id, SDp->lun); 
host1081drivers/scsi/sr.cif(scsi_CDs[0].device && scsi_CDs[0].device->host->sg_tablesize)
host81drivers/scsi/sr_ioctl.cscsi_CDs[target].device->host->host_no, 
host527drivers/scsi/st.cif (scsi_tapes[dev].device->host->hostt->usage_count)
host528drivers/scsi/st.c(*scsi_tapes[dev].device->host->hostt->usage_count)++;
host656drivers/scsi/st.cif (scsi_tapes[dev].device->host->hostt->usage_count)
host657drivers/scsi/st.c(*scsi_tapes[dev].device->host->hostt->usage_count)++;
host746drivers/scsi/st.cif (scsi_tapes[dev].device->host->hostt->usage_count)
host747drivers/scsi/st.c(*scsi_tapes[dev].device->host->hostt->usage_count)--;
host1984drivers/scsi/st.cSDp->host->host_no, SDp->channel, SDp->id, SDp->lun); 
host565drivers/scsi/u14-34f.cj = ((struct hostdata *) SCpnt->host->hostdata)->board_number;
host656drivers/scsi/u14-34f.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
host716drivers/scsi/u14-34f.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
host346drivers/scsi/wd7000.cAdapter *host;                /* host adapter */
host533drivers/scsi/wd7000.cstatic inline void wd7000_enable_intr(Adapter *host)
host535drivers/scsi/wd7000.chost->control |= INT_EN;
host536drivers/scsi/wd7000.coutb(host->control, host->iobase+ASC_CONTROL);
host540drivers/scsi/wd7000.cstatic inline void wd7000_enable_dma(Adapter *host)
host542drivers/scsi/wd7000.chost->control |= DMA_EN;
host543drivers/scsi/wd7000.coutb(host->control,host->iobase+ASC_CONTROL);
host544drivers/scsi/wd7000.cset_dma_mode(host->dma, DMA_MODE_CASCADE);
host545drivers/scsi/wd7000.cenable_dma(host->dma);
host571drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
host573drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT,ASC_STATMASK,CMD_RDY,0);
host576drivers/scsi/wd7000.coutb(*cmd, host->iobase+ASC_COMMAND);
host577drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0);
host578drivers/scsi/wd7000.c}  while (inb(host->iobase+ASC_STAT) & CMD_REJ);
host684drivers/scsi/wd7000.cstatic int mail_out( Adapter *host, Scb *scbptr )
host692drivers/scsi/wd7000.cMailbox *ogmbs = host->mb.ogmb;
host693drivers/scsi/wd7000.cint *next_ogmb = &(host->next_ogmb);
host733drivers/scsi/wd7000.cwd7000_enable_intr(host); 
host736drivers/scsi/wd7000.ccommand_out( host, &start_ogmb, 1 );
host802drivers/scsi/wd7000.c#define wd7000_intr_ack(host)  outb(0,host->iobase+ASC_INTR_ACK)
host811drivers/scsi/wd7000.cAdapter *host = irq2host[irq];  /* This MUST be set!!! */
host812drivers/scsi/wd7000.cMailbox *icmbs = host->mb.icmb;
host815drivers/scsi/wd7000.cprintk("wd7000_intr_handle: irq = %d, host = %06x\n", irq, host);
host818drivers/scsi/wd7000.cflag = inb(host->iobase+ASC_INTR_STAT);
host823drivers/scsi/wd7000.cif (!(inb(host->iobase+ASC_STAT) & INT_IM))  {
host835drivers/scsi/wd7000.cwd7000_intr_ack(host);
host850drivers/scsi/wd7000.cwd7000_intr_ack(host);
host861drivers/scsi/wd7000.cwd7000_intr_ack(host);
host886drivers/scsi/wd7000.cwd7000_intr_ack(host);
host898drivers/scsi/wd7000.cAdapter *host = (Adapter *) SCpnt->host->hostdata;
host911drivers/scsi/wd7000.cscb->host = host;
host917drivers/scsi/wd7000.cif (SCpnt->host->sg_tablesize == SG_NONE)  {
host938drivers/scsi/wd7000.cwhile (!mail_out(host, scb)) /* keep trying */;
host954drivers/scsi/wd7000.cint wd7000_diagnostics( Adapter *host, int code )
host969drivers/scsi/wd7000.cmail_out(host, (struct scb *) &icb);
host988drivers/scsi/wd7000.cint wd7000_init( Adapter *host )
host999drivers/scsi/wd7000.coutb(ASC_RES, host->iobase+ASC_CONTROL);
host1001drivers/scsi/wd7000.coutb(0,host->iobase+ASC_CONTROL);
host1002drivers/scsi/wd7000.chost->control = 0;   /* this must always shadow ASC_CONTROL */
host1003drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0);
host1005drivers/scsi/wd7000.cif ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1)  {
host1034drivers/scsi/wd7000.cmemset(&(host->mb), 0, sizeof(host->mb));
host1037drivers/scsi/wd7000.cany2scsi((unchar *) &(init_cmd.mailboxes), (int) &(host->mb));
host1038drivers/scsi/wd7000.cif (!command_out(host, (unchar *) &init_cmd, sizeof(init_cmd)))  {
host1042drivers/scsi/wd7000.cWAIT(host->iobase+ASC_STAT, ASC_STATMASK, ASC_INIT, 0);
host1044drivers/scsi/wd7000.cif (request_irq(host->irq, wd7000_intr_handle, SA_INTERRUPT, "wd7000")) {
host1045drivers/scsi/wd7000.cprintk("wd7000_init: can't get IRQ %d.\n", host->irq);
host1048drivers/scsi/wd7000.cif (request_dma(host->dma,"wd7000"))  {
host1049drivers/scsi/wd7000.cprintk("wd7000_init: can't get DMA channel %d.\n", host->dma);
host1050drivers/scsi/wd7000.cfree_irq(host->irq);
host1053drivers/scsi/wd7000.cwd7000_enable_dma(host);
host1054drivers/scsi/wd7000.cwd7000_enable_intr(host);
host1056drivers/scsi/wd7000.cif (!wd7000_diagnostics(host,ICB_DIAG_FULL))  {
host1057drivers/scsi/wd7000.cfree_dma(host->dma);
host1058drivers/scsi/wd7000.cfree_irq(host->irq);
host1070drivers/scsi/wd7000.cvoid wd7000_revision(Adapter *host)
host1081drivers/scsi/wd7000.cmail_out(host, (struct scb *) &icb);
host1084drivers/scsi/wd7000.chost->rev1 = icb.primary;
host1085drivers/scsi/wd7000.chost->rev2 = icb.secondary;
host1104drivers/scsi/wd7000.cAdapter *host = NULL;
host1126drivers/scsi/wd7000.cprintk("IO %xh already in use.\n", host->iobase);
host1137drivers/scsi/wd7000.chost = (Adapter *) sh->hostdata;
host1140drivers/scsi/wd7000.c(int)host);
host1142drivers/scsi/wd7000.cmemset( host, 0, sizeof(Adapter) );
host1143drivers/scsi/wd7000.chost->sh = sh;
host1144drivers/scsi/wd7000.chost->irq = cfg->irq;
host1145drivers/scsi/wd7000.chost->iobase = cfg->iobase;
host1146drivers/scsi/wd7000.chost->dma = cfg->dma;
host1147drivers/scsi/wd7000.cirq2host[host->irq] = host;
host1149drivers/scsi/wd7000.cif (!wd7000_init(host))  {  /* Initialization failed */
host1157drivers/scsi/wd7000.cwd7000_revision(host);   /* important for scatter/gather */
host1160drivers/scsi/wd7000.chost->rev1, host->rev2);
host1162drivers/scsi/wd7000.chost->iobase, host->irq, host->dma);
host1164drivers/scsi/wd7000.crequest_region(host->iobase, 4,"wd7000"); /* Register our ports */
host1168drivers/scsi/wd7000.cif (host->rev1 < 6)  sh->sg_tablesize = SG_NONE;
host1187drivers/scsi/wd7000.cAdapter *host = (Adapter *) SCpnt->host->hostdata;
host1189drivers/scsi/wd7000.cif (inb(host->iobase+ASC_STAT) & INT_IM)  {
host1191drivers/scsi/wd7000.cwd7000_intr_handle(host->irq, NULL);