tag | line | file | source code |
host | 277 | drivers/scsi/53c7,8xx.c | static void dump_events (struct Scsi_Host *host, int count); |
host | 278 | drivers/scsi/53c7,8xx.c | static Scsi_Cmnd * return_outstanding_commands (struct Scsi_Host *host, |
host | 280 | drivers/scsi/53c7,8xx.c | static void hard_reset (struct Scsi_Host *host); |
host | 281 | drivers/scsi/53c7,8xx.c | static void ncr_scsi_reset (struct Scsi_Host *host); |
host | 282 | drivers/scsi/53c7,8xx.c | static void print_lots (struct Scsi_Host *host); |
host | 283 | drivers/scsi/53c7,8xx.c | static void set_synchronous (struct Scsi_Host *host, int target, int sxfer, |
host | 285 | drivers/scsi/53c7,8xx.c | static int datapath_residual (struct Scsi_Host *host); |
host | 288 | drivers/scsi/53c7,8xx.c | static void print_queues (struct Scsi_Host *host); |
host | 290 | drivers/scsi/53c7,8xx.c | static int shutdown (struct Scsi_Host *host); |
host | 292 | drivers/scsi/53c7,8xx.c | static int disable (struct Scsi_Host *host); |
host | 293 | drivers/scsi/53c7,8xx.c | static int NCR53c8xx_run_tests (struct Scsi_Host *host); |
host | 297 | drivers/scsi/53c7,8xx.c | static int ncr_halt (struct Scsi_Host *host); |
host | 298 | drivers/scsi/53c7,8xx.c | static void intr_phase_mismatch (struct Scsi_Host *host, struct NCR53c7x0_cmd |
host | 300 | drivers/scsi/53c7,8xx.c | static void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd); |
host | 301 | drivers/scsi/53c7,8xx.c | static void print_dsa (struct Scsi_Host *host, u32 *dsa, |
host | 303 | drivers/scsi/53c7,8xx.c | static int print_insn (struct Scsi_Host *host, const u32 *insn, |
host | 307 | drivers/scsi/53c7,8xx.c | static void NCR53c8x0_init_fixup (struct Scsi_Host *host); |
host | 308 | drivers/scsi/53c7,8xx.c | static int NCR53c8x0_dstat_sir_intr (struct Scsi_Host *host, struct |
host | 310 | drivers/scsi/53c7,8xx.c | static void NCR53c8x0_soft_reset (struct Scsi_Host *host); |
host | 550 | drivers/scsi/53c7,8xx.c | issue_to_cmd (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata, |
host | 685 | drivers/scsi/53c7,8xx.c | find_host (int host) { |
host | 687 | drivers/scsi/53c7,8xx.c | for (h = first_host; h && h->host_no != host; h = h->next); |
host | 689 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "scsi%d not found\n", host); |
host | 692 | drivers/scsi/53c7,8xx.c | printk (KERN_ALERT "scsi%d is not a NCR board\n", host); |
host | 713 | drivers/scsi/53c7,8xx.c | request_synchronous (int host, int target) { |
host | 721 | drivers/scsi/53c7,8xx.c | if (!(h = find_host (host))) |
host | 761 | drivers/scsi/53c7,8xx.c | request_disconnect (int host, int on_or_off) { |
host | 764 | drivers/scsi/53c7,8xx.c | if (!(h = find_host (host))) |
host | 784 | drivers/scsi/53c7,8xx.c | NCR53c7x0_driver_init (struct Scsi_Host *host) { |
host | 786 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 793 | drivers/scsi/53c7,8xx.c | set_synchronous (host, i, /* sxfer */ 0, hostdata->saved_scntl3, 0); |
host | 799 | drivers/scsi/53c7,8xx.c | i < host->can_queue; ++i, current += 2) { |
host | 884 | drivers/scsi/53c7,8xx.c | NCR53c7x0_init (struct Scsi_Host *host) { |
host | 888 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 905 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 911 | drivers/scsi/53c7,8xx.c | host->max_id = 15; |
host | 928 | drivers/scsi/53c7,8xx.c | host->host_no, hostdata->chip); |
host | 929 | drivers/scsi/53c7,8xx.c | scsi_unregister (host); |
host | 943 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : using %s mapped access\n", host->host_no, |
host | 954 | drivers/scsi/53c7,8xx.c | ncr_halt(host); |
host | 966 | drivers/scsi/53c7,8xx.c | for (host->this_id = 0; tmp != 1; tmp >>=1, ++host->this_id); |
host | 968 | drivers/scsi/53c7,8xx.c | host->this_id = NCR53c7x0_read8(SCID_REG) & 15; |
host | 969 | drivers/scsi/53c7,8xx.c | if (host->this_id == 0) |
host | 970 | drivers/scsi/53c7,8xx.c | host->this_id = 7; /* sanitize hostid---0 doesn't make sense */ |
host | 971 | drivers/scsi/53c7,8xx.c | hostdata->this_id_mask = 1 << host->this_id; |
host | 979 | drivers/scsi/53c7,8xx.c | if (!host->this_id) { |
host | 981 | drivers/scsi/53c7,8xx.c | host->host_no, host->this_id); |
host | 982 | drivers/scsi/53c7,8xx.c | host->this_id = 7; |
host | 987 | drivers/scsi/53c7,8xx.c | if (expected_id == -1 || host->this_id != expected_id) |
host | 988 | drivers/scsi/53c7,8xx.c | printk("scsi%d : using initiator ID %d\n", host->host_no, |
host | 989 | drivers/scsi/53c7,8xx.c | host->this_id); |
host | 1038 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : burst mode disabled\n", host->host_no); |
host | 1047 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : burst length %d\n", host->host_no, i); |
host | 1064 | drivers/scsi/53c7,8xx.c | host->host_no, expected_ccf, ccf); |
host | 1082 | drivers/scsi/53c7,8xx.c | host->host_no, ccf); |
host | 1088 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : using %dMHz SCSI clock\n", host->host_no, |
host | 1095 | drivers/scsi/53c7,8xx.c | hostdata->init_save_regs (host); |
host | 1097 | drivers/scsi/53c7,8xx.c | hostdata->init_fixup (host); |
host | 1100 | drivers/scsi/53c7,8xx.c | the_template = host->hostt; |
host | 1101 | drivers/scsi/53c7,8xx.c | first_host = host; |
host | 1114 | drivers/scsi/53c7,8xx.c | hostdata->soft_reset (host); |
host | 1126 | drivers/scsi/53c7,8xx.c | NCR53c7x0_driver_init (host); |
host | 1134 | drivers/scsi/53c7,8xx.c | search->irq == host->irq && search != host); search=search->next); |
host | 1137 | drivers/scsi/53c7,8xx.c | if (request_irq(host->irq, NCR53c7x0_intr, SA_INTERRUPT, "53c7,8xx", NULL)) { |
host | 1143 | drivers/scsi/53c7,8xx.c | host->host_no, host->irq); |
host | 1144 | drivers/scsi/53c7,8xx.c | scsi_unregister (host); |
host | 1149 | drivers/scsi/53c7,8xx.c | host->host_no, search->host_no); |
host | 1153 | drivers/scsi/53c7,8xx.c | if ((hostdata->run_tests && hostdata->run_tests(host) == -1) || |
host | 1156 | drivers/scsi/53c7,8xx.c | scsi_unregister (host); |
host | 1159 | drivers/scsi/53c7,8xx.c | if (host->io_port) { |
host | 1160 | drivers/scsi/53c7,8xx.c | host->n_io_port = 128; |
host | 1161 | drivers/scsi/53c7,8xx.c | request_region (host->io_port, host->n_io_port, "ncr53c7,8xx"); |
host | 1166 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : bus wedge, doing SCSI reset\n", host->host_no); |
host | 1167 | drivers/scsi/53c7,8xx.c | hard_reset (host); |
host | 1612 | drivers/scsi/53c7,8xx.c | NCR53c8x0_init_fixup (struct Scsi_Host *host) { |
host | 1615 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 1619 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 1676 | drivers/scsi/53c7,8xx.c | base = (u32) host->io_port; |
host | 1680 | drivers/scsi/53c7,8xx.c | base = virt_to_bus(host->base); |
host | 1805 | drivers/scsi/53c7,8xx.c | host->host_no, A_dsa_fields_start, Ent_dsa_code_template_end - |
host | 1808 | drivers/scsi/53c7,8xx.c | printk("scsi%d : NCR code relocated to 0x%lx (virt 0x%p)\n", host->host_no, |
host | 1828 | drivers/scsi/53c7,8xx.c | NCR53c8xx_run_tests (struct Scsi_Host *host) { |
host | 1831 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 1836 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 1843 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : chip not idle, aborting tests\n", host->host_no); |
host | 1862 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : test 1", host->host_no); |
host | 1880 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : driver test 1 timed out%s\n",host->host_no , |
host | 1892 | drivers/scsi/53c7,8xx.c | host->host_no, hostdata->test_completed); |
host | 1900 | drivers/scsi/53c7,8xx.c | host->host_no, hostdata->test_dest); |
host | 1905 | drivers/scsi/53c7,8xx.c | host->host_no, bus_to_virt(NCR53c7x0_read32(DSP_REG)), |
host | 1907 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : DSPS = 0x%x\n", host->host_no, |
host | 1942 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : chip not idle, aborting tests\n", host->host_no); |
host | 1966 | drivers/scsi/53c7,8xx.c | host->host_no, i, data + 8); |
host | 1967 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : status ", host->host_no); |
host | 1969 | drivers/scsi/53c7,8xx.c | printk ("\nscsi%d : message ", host->host_no); |
host | 1974 | drivers/scsi/53c7,8xx.c | host->host_no, i); |
host | 1976 | drivers/scsi/53c7,8xx.c | printk("scsi%d : not idle\n", host->host_no); |
host | 1981 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : test 2 timed out\n", host->host_no); |
host | 2006 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
host | 2008 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 2102 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = c->host; |
host | 2104 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 2112 | drivers/scsi/53c7,8xx.c | printk ("scsi%d: abnormal finished\n", host->host_no); |
host | 2125 | drivers/scsi/53c7,8xx.c | for (found = 0, left = host->can_queue, current = hostdata->schedule; |
host | 2128 | drivers/scsi/53c7,8xx.c | if (issue_to_cmd (host, hostdata, (u32 *) current) == cmd) |
host | 2145 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, |
host | 2156 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 2160 | drivers/scsi/53c7,8xx.c | host->host_no, c->pid); |
host | 2175 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, linux_search = hostdata->running_list, |
host | 2183 | drivers/scsi/53c7,8xx.c | host->host_no, c->pid); |
host | 2215 | drivers/scsi/53c7,8xx.c | intr_break (struct Scsi_Host *host, struct |
host | 2224 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 2226 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 2240 | drivers/scsi/53c7,8xx.c | host->host_no, dsp); |
host | 2297 | drivers/scsi/53c7,8xx.c | set_synchronous (struct Scsi_Host *host, int target, int sxfer, int scntl3, |
host | 2301 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 2303 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 2353 | drivers/scsi/53c7,8xx.c | host->host_no, target, sxfer, scntl3); |
host | 2375 | drivers/scsi/53c7,8xx.c | asynchronous (struct Scsi_Host *host, int target) { |
host | 2378 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 2379 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 2380 | drivers/scsi/53c7,8xx.c | set_synchronous (host, target, /* no offset */ 0, hostdata->saved_scntl3, |
host | 2383 | drivers/scsi/53c7,8xx.c | host->host_no, target); |
host | 2426 | drivers/scsi/53c7,8xx.c | synchronous (struct Scsi_Host *host, int target, char *msg) { |
host | 2428 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 2445 | drivers/scsi/53c7,8xx.c | host->host_no, divisor / 10, divisor % 10); |
host | 2452 | drivers/scsi/53c7,8xx.c | host->host_no, syncs[i].div / 10, syncs[i].div % 10); |
host | 2457 | drivers/scsi/53c7,8xx.c | printk("scsi%d : selected synchronous period of %dns\n", host->host_no, |
host | 2465 | drivers/scsi/53c7,8xx.c | host->host_no, (int) sxfer, (int) scntl3); |
host | 2466 | drivers/scsi/53c7,8xx.c | set_synchronous (host, target, sxfer, scntl3, 1); |
host | 2467 | drivers/scsi/53c7,8xx.c | sprintf (buf, "scsi%d : setting target %d to ", host->host_no, target); |
host | 2485 | drivers/scsi/53c7,8xx.c | NCR53c8x0_dstat_sir_intr (struct Scsi_Host *host, struct |
host | 2491 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 2493 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 2498 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : DSPS = 0x%x\n", host->host_no, dsps); |
host | 2513 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : target %d rejected SDTR\n", host->host_no, |
host | 2516 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
host | 2522 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 2530 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 2536 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : received message", host->host_no); |
host | 2558 | drivers/scsi/53c7,8xx.c | sprintf (buf, "scsi%d : target %d %s ", host->host_no, c->target, |
host | 2573 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
host | 2576 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
host | 2584 | drivers/scsi/53c7,8xx.c | synchronous (host, c->target, (unsigned char *) |
host | 2588 | drivers/scsi/53c7,8xx.c | asynchronous (host, c->target); |
host | 2608 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : unexpected phase\n", host->host_no); |
host | 2611 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : selected by target %d\n", host->host_no, |
host | 2619 | drivers/scsi/53c7,8xx.c | host->host_no, (int) NCR53c7x0_read8(SDID_REG_800) & 7, |
host | 2638 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : CHECK CONDITION\n", host->host_no); |
host | 2641 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 2719 | drivers/scsi/53c7,8xx.c | printk("scsi%d : test%d complete\n", host->host_no, |
host | 2735 | drivers/scsi/53c7,8xx.c | host->host_no, NCR53c7x0_read32(DSA_REG), dsa); |
host | 2737 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->saved_data_pointer, |
host | 2739 | drivers/scsi/53c7,8xx.c | print_insn (host, hostdata->script + Ent_reselected_ok / |
host | 2742 | drivers/scsi/53c7,8xx.c | host->host_no, NCR53c7x0_read8(SXFER_REG), |
host | 2745 | drivers/scsi/53c7,8xx.c | print_insn (host, (u32 *) |
host | 2747 | drivers/scsi/53c7,8xx.c | print_insn (host, (u32 *) |
host | 2767 | drivers/scsi/53c7,8xx.c | host->host_no, virt_to_bus(dsa), dsa); |
host | 2770 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->saved_data_pointer, |
host | 2773 | drivers/scsi/53c7,8xx.c | printk("scsi%d : template code :\n", host->host_no); |
host | 2776 | drivers/scsi/53c7,8xx.c | code += print_insn (host, code, "", 1)); |
host | 2779 | drivers/scsi/53c7,8xx.c | print_insn (host, hostdata->script + Ent_reselected_ok / |
host | 2795 | drivers/scsi/53c7,8xx.c | host->host_no, virt_to_bus(dsa), dsa); |
host | 2799 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->saved_data_pointer, |
host | 2810 | drivers/scsi/53c7,8xx.c | host->host_no, NCR53c7x0_read32(DSA_REG), |
host | 2818 | drivers/scsi/53c7,8xx.c | printk("scsi%d : idle\n", host->host_no); |
host | 2832 | drivers/scsi/53c7,8xx.c | printk("scsi%d : DSA loaded with 0x%x (virt 0x%p)\n", host->host_no, |
host | 2843 | drivers/scsi/53c7,8xx.c | host->host_no, (int) NCR53c7x0_read8(SDID_REG_800) & ~0x80, |
host | 2845 | drivers/scsi/53c7,8xx.c | print_queues(host); |
host | 2854 | drivers/scsi/53c7,8xx.c | host->host_no, c->target, c->lun); |
host | 2857 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 2866 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 2867 | drivers/scsi/53c7,8xx.c | print_queues(host); |
host | 2870 | drivers/scsi/53c7,8xx.c | host->host_no, NCR53c7x0_read8(SXFER_REG), |
host | 2874 | drivers/scsi/53c7,8xx.c | print_insn (host, (u32 *) |
host | 2876 | drivers/scsi/53c7,8xx.c | print_insn (host, (u32 *) |
host | 2884 | drivers/scsi/53c7,8xx.c | printk("scsi%d : int_debug_panic received\n", host->host_no); |
host | 2885 | drivers/scsi/53c7,8xx.c | print_lots (host); |
host | 2893 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->saved_data_pointer, |
host | 2906 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->saved_data_pointer, bus_to_virt ( |
host | 2908 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) |
host | 2910 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) |
host | 2916 | drivers/scsi/53c7,8xx.c | host->host_no, datapath_residual (host)) ; |
host | 2931 | drivers/scsi/53c7,8xx.c | host->host_no, sxfer, scntl3); |
host | 2937 | drivers/scsi/53c7,8xx.c | host->host_no, (int) sxfer, (int) scntl3); |
host | 2948 | drivers/scsi/53c7,8xx.c | host->host_no, sbcl_to_phase (NCR53c7x0_read8 (SBCL_REG)), |
host | 2951 | drivers/scsi/53c7,8xx.c | datapath_residual (host)) ; |
host | 2952 | drivers/scsi/53c7,8xx.c | print_insn (host, dsp, "", 1); |
host | 2953 | drivers/scsi/53c7,8xx.c | size = print_insn (host, (u32 *) bus_to_virt(dsp[1]), "", 1); |
host | 2954 | drivers/scsi/53c7,8xx.c | print_insn (host, (u32 *) bus_to_virt(dsp[1]) + size, "", 1); |
host | 2972 | drivers/scsi/53c7,8xx.c | host->host_no, sdid, c->target, where); |
host | 2973 | drivers/scsi/53c7,8xx.c | print_lots(host); |
host | 2974 | drivers/scsi/53c7,8xx.c | dump_events (host, 20); |
host | 2983 | drivers/scsi/53c7,8xx.c | host->host_no, dsps); |
host | 3020 | drivers/scsi/53c7,8xx.c | host->host_no, (unsigned) dsps); |
host | 3080 | drivers/scsi/53c7,8xx.c | static int debugger_fn_bc (struct Scsi_Host *host, struct debugger_token *token, |
host | 3113 | drivers/scsi/53c7,8xx.c | debugger_fn_bl (struct Scsi_Host *host, struct debugger_token *token, |
host | 3116 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 3128 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 3129 | drivers/scsi/53c7,8xx.c | debugger_kernel_write (host, buf, strlen(buf)); |
host | 3133 | drivers/scsi/53c7,8xx.c | for (bp = (struct NCR53c7x0_break *) host->breakpoints; |
host | 3145 | drivers/scsi/53c7,8xx.c | debugger_kernel_write (host, buf, len); |
host | 3152 | drivers/scsi/53c7,8xx.c | debugger_fn_bs (struct Scsi_Host *host, struct debugger_token *token, |
host | 3155 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 3164 | drivers/scsi/53c7,8xx.c | sprintf (buf, "scsi%d : bs : failure : NCR not halted\n", host->host_no); |
host | 3165 | drivers/scsi/53c7,8xx.c | debugger_kernel_write (host, buf, strlen(buf)); |
host | 3172 | drivers/scsi/53c7,8xx.c | host->host_no, sizeof(struct NCR53c7x0_break)); |
host | 3205 | drivers/scsi/53c7,8xx.c | for (dev = MINOR(inode->rdev), host = first_host; |
host | 3206 | drivers/scsi/53c7,8xx.c | (host->hostt == the_template); --dev, host = host->next) |
host | 3207 | drivers/scsi/53c7,8xx.c | if (!dev) return host; |
host | 3215 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host; /* This SCSI host */ |
host | 3222 | drivers/scsi/53c7,8xx.c | if (!(host = inode_to_host(inode))) |
host | 3225 | drivers/scsi/53c7,8xx.c | hostdata = (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 3273 | drivers/scsi/53c7,8xx.c | debugger_kernel_write (struct Scsi_Host *host, char *buf, size_t |
host | 3276 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 3311 | drivers/scsi/53c7,8xx.c | NCR53c8x0_soft_reset (struct Scsi_Host *host) { |
host | 3314 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 3315 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 3342 | drivers/scsi/53c7,8xx.c | NCR53c7x0_write8(SCID_REG, (host->this_id & 7)|SCID_800_RRE|SCID_800_SRE); |
host | 3344 | drivers/scsi/53c7,8xx.c | NCR53c7x0_write8(SCID_REG, (host->this_id & 7)|SCID_800_RRE); |
host | 3418 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = cmd->host; |
host | 3420 | drivers/scsi/53c7,8xx.c | (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 3429 | drivers/scsi/53c7,8xx.c | host->host_no, hostdata->num_cmds, host->can_queue, |
host | 3446 | drivers/scsi/53c7,8xx.c | if ((hostdata->extra_allocate + hostdata->num_cmds) < host->can_queue) |
host | 3447 | drivers/scsi/53c7,8xx.c | hostdata->extra_allocate += host->cmd_per_lun; |
host | 3461 | drivers/scsi/53c7,8xx.c | host->host_no, size); |
host | 3487 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->target, cmd->lun); |
host | 3508 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = cmd->host; |
host | 3510 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 3523 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(cmd->host); |
host | 3550 | drivers/scsi/53c7,8xx.c | printk("scsi%d : command is ", host->host_no); |
host | 3554 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : %d scatter/gather segments\n", host->host_no, |
host | 3665 | drivers/scsi/53c7,8xx.c | host->host_no, hostdata->sync[cmd->target].select_indirect); |
host | 3666 | drivers/scsi/53c7,8xx.c | FATAL(host); |
host | 3795 | drivers/scsi/53c7,8xx.c | print_insn (host, cmd_datain, "dynamic ", 1); |
host | 3796 | drivers/scsi/53c7,8xx.c | print_insn (host, cmd_datain + 2, "dynamic ", 1); |
host | 3810 | drivers/scsi/53c7,8xx.c | print_insn (host, cmd_dataout, "dynamic ", 1); |
host | 3811 | drivers/scsi/53c7,8xx.c | print_insn (host, cmd_dataout + 2, "dynamic ", 1); |
host | 3828 | drivers/scsi/53c7,8xx.c | print_insn (host, cmd_datain, "dynamic jump ", 1); |
host | 3845 | drivers/scsi/53c7,8xx.c | print_insn (host, cmd_dataout, "dynamic jump ", 1); |
host | 3875 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = cmd->host; |
host | 3877 | drivers/scsi/53c7,8xx.c | (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 3894 | drivers/scsi/53c7,8xx.c | || cmd->target > host->max_id |
host | 3896 | drivers/scsi/53c7,8xx.c | || cmd->target == host->this_id |
host | 3898 | drivers/scsi/53c7,8xx.c | printk("scsi%d : disabled or bad target %d lun %d\n", host->host_no, |
host | 3903 | drivers/scsi/53c7,8xx.c | printk("scsi%d : maximum commands exceeded\n", host->host_no); |
host | 3911 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 3963 | drivers/scsi/53c7,8xx.c | to_schedule_list (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata, |
host | 3972 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 3974 | drivers/scsi/53c7,8xx.c | printk("scsi%d : new dsa is 0x%lx (virt 0x%p)\n", host->host_no, |
host | 3987 | drivers/scsi/53c7,8xx.c | printk("scsi%d : driver disabled\n", host->host_no); |
host | 3996 | drivers/scsi/53c7,8xx.c | for (i = host->can_queue, current = hostdata->schedule; |
host | 4016 | drivers/scsi/53c7,8xx.c | printk ("scsi%d: no free slot\n", host->host_no); |
host | 4017 | drivers/scsi/53c7,8xx.c | disable(host); |
host | 4053 | drivers/scsi/53c7,8xx.c | busyp (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata, |
host | 4081 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host; |
host | 4099 | drivers/scsi/53c7,8xx.c | for (host = first_host; host && host->hostt == the_template; |
host | 4100 | drivers/scsi/53c7,8xx.c | host = host->next) { |
host | 4101 | drivers/scsi/53c7,8xx.c | hostdata = (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 4122 | drivers/scsi/53c7,8xx.c | !busyp (host, hostdata, tmp)) { |
host | 4132 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->target, tmp->lun); |
host | 4135 | drivers/scsi/53c7,8xx.c | to_schedule_list (host, hostdata, |
host | 4142 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4144 | drivers/scsi/53c7,8xx.c | disable (host); |
host | 4170 | drivers/scsi/53c7,8xx.c | intr_scsi (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) { |
host | 4173 | drivers/scsi/53c7,8xx.c | (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 4179 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 4194 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : SIST0 0x%0x, SIST1 0x%0x\n", host->host_no, |
host | 4202 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : Selection Timeout\n", host->host_no); |
host | 4205 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
host | 4207 | drivers/scsi/53c7,8xx.c | printk("scsi%d : dsp = 0x%x (virt 0x%p)\n", host->host_no, |
host | 4211 | drivers/scsi/53c7,8xx.c | printk("scsi%d : no command\n", host->host_no); |
host | 4243 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
host | 4244 | drivers/scsi/53c7,8xx.c | print_lots (host); |
host | 4248 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4259 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target, cmd->cmd->lun); |
host | 4262 | drivers/scsi/53c7,8xx.c | printk("scsi%d : parity error\n", host->host_no); |
host | 4274 | drivers/scsi/53c7,8xx.c | printk("scsi%d : gross error\n", host->host_no); |
host | 4305 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : SSTAT0_MA\n", host->host_no); |
host | 4306 | drivers/scsi/53c7,8xx.c | intr_phase_mismatch (host, cmd); |
host | 4311 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : Oh no Mr. Bill!\n", host->host_no); |
host | 4327 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : DMA FIFO not empty\n", host->host_no); |
host | 4330 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4357 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host; /* Host we are looking at */ |
host | 4379 | drivers/scsi/53c7,8xx.c | for (host = first_host; host; host = host->next) |
host | 4380 | drivers/scsi/53c7,8xx.c | if (host->hostt == the_template && host->irq == irq) { |
host | 4381 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 4383 | drivers/scsi/53c7,8xx.c | hostdata = (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 4421 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : INTFLY\n", host->host_no); |
host | 4442 | drivers/scsi/53c7,8xx.c | printk("scsi%d : very weird.\n", host->host_no); |
host | 4448 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4453 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->result); |
host | 4474 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
host | 4496 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4511 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4536 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
host | 4540 | drivers/scsi/53c7,8xx.c | printk("scsi%d : no active command\n", host->host_no); |
host | 4546 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : ISTAT_SIP\n", host->host_no); |
host | 4547 | drivers/scsi/53c7,8xx.c | intr_scsi (host, cmd); |
host | 4552 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : ISTAT_DIP\n", host->host_no); |
host | 4553 | drivers/scsi/53c7,8xx.c | intr_dma (host, cmd); |
host | 4563 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : DMA FIFO not empty\n", host->host_no); |
host | 4566 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4586 | drivers/scsi/53c7,8xx.c | printk("scsi%d : too many interrupts, halting", host->host_no); |
host | 4587 | drivers/scsi/53c7,8xx.c | disable(host); |
host | 4599 | drivers/scsi/53c7,8xx.c | host->host_no, virt_to_bus(hostdata->dsp), hostdata->dsp); |
host | 4623 | drivers/scsi/53c7,8xx.c | abort_connected (struct Scsi_Host *host) { |
host | 4628 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 4635 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 4639 | drivers/scsi/53c7,8xx.c | disable(host); |
host | 4644 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4695 | drivers/scsi/53c7,8xx.c | datapath_residual (struct Scsi_Host *host) { |
host | 4698 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 4700 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 4801 | drivers/scsi/53c7,8xx.c | intr_phase_mismatch (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) { |
host | 4806 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 4811 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 4866 | drivers/scsi/53c7,8xx.c | residual = datapath_residual (host); |
host | 4869 | drivers/scsi/53c7,8xx.c | host->host_no, residual); |
host | 4929 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->target); |
host | 4973 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 4988 | drivers/scsi/53c7,8xx.c | host->host_no, where ? where : "unknown location", |
host | 4990 | drivers/scsi/53c7,8xx.c | print_lots (host); |
host | 4993 | drivers/scsi/53c7,8xx.c | abort_connected (host); |
host | 5001 | drivers/scsi/53c7,8xx.c | printk("scsi%d: new dsp 0x%p\n", host->host_no, hostdata->dsp); |
host | 5002 | drivers/scsi/53c7,8xx.c | print_insn (host, hostdata->dsp, "", 1); |
host | 5019 | drivers/scsi/53c7,8xx.c | intr_bf (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) { |
host | 5022 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 5035 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 5075 | drivers/scsi/53c7,8xx.c | host->host_no, pcibios_strerror (tmp)); |
host | 5085 | drivers/scsi/53c7,8xx.c | host->host_no, reason ? reason : "unknown"); |
host | 5086 | drivers/scsi/53c7,8xx.c | print_lots (host); |
host | 5104 | drivers/scsi/53c7,8xx.c | FATAL (host); |
host | 5120 | drivers/scsi/53c7,8xx.c | intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) { |
host | 5123 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 5131 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 5141 | drivers/scsi/53c7,8xx.c | printk("scsi%d : DSTAT=0x%x\n", host->host_no, (int) dstat); |
host | 5169 | drivers/scsi/53c7,8xx.c | " ", host->host_no); |
host | 5170 | drivers/scsi/53c7,8xx.c | print_insn (host, dsp, KERN_ALERT "s ", 1); |
host | 5171 | drivers/scsi/53c7,8xx.c | FATAL (host); |
host | 5183 | drivers/scsi/53c7,8xx.c | print_insn (host, dsp, "s ", 0); |
host | 5193 | drivers/scsi/53c7,8xx.c | " ", host->host_no); |
host | 5194 | drivers/scsi/53c7,8xx.c | print_insn (host, dsp, KERN_ALERT "", 1); |
host | 5196 | drivers/scsi/53c7,8xx.c | FATAL (host); |
host | 5228 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 5260 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 5264 | drivers/scsi/53c7,8xx.c | printk(KERN_ALERT "scsi%d : illegal instruction\n", host->host_no); |
host | 5265 | drivers/scsi/53c7,8xx.c | print_lots (host); |
host | 5268 | drivers/scsi/53c7,8xx.c | FATAL (host); |
host | 5277 | drivers/scsi/53c7,8xx.c | intr_bf (host, cmd); |
host | 5291 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : DSTAT_SIR\n", host->host_no); |
host | 5292 | drivers/scsi/53c7,8xx.c | switch ((tmp = hostdata->dstat_sir_intr (host, cmd))) { |
host | 5297 | drivers/scsi/53c7,8xx.c | abort_connected(host); |
host | 5300 | drivers/scsi/53c7,8xx.c | printk(KERN_ALERT "scsi%d : failure at ", host->host_no); |
host | 5301 | drivers/scsi/53c7,8xx.c | print_insn (host, dsp, KERN_ALERT "", 1); |
host | 5303 | drivers/scsi/53c7,8xx.c | FATAL (host); |
host | 5306 | drivers/scsi/53c7,8xx.c | intr_break (host, cmd); |
host | 5309 | drivers/scsi/53c7,8xx.c | printk(KERN_ALERT "scsi%d : failure at ", host->host_no); |
host | 5310 | drivers/scsi/53c7,8xx.c | print_insn (host, dsp, KERN_ALERT "", 1); |
host | 5313 | drivers/scsi/53c7,8xx.c | FATAL (host); |
host | 5319 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 5320 | drivers/scsi/53c7,8xx.c | FATAL (host); |
host | 5348 | drivers/scsi/53c7,8xx.c | print_insn (struct Scsi_Host *host, const u32 *insn, |
host | 5398 | drivers/scsi/53c7,8xx.c | debugger_kernel_write(host, buf, len); |
host | 5441 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = cmd->host; |
host | 5442 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_hostdata *hostdata = host ? (struct NCR53c7x0_hostdata *) |
host | 5443 | drivers/scsi/53c7,8xx.c | host->hostdata : NULL; |
host | 5452 | drivers/scsi/53c7,8xx.c | if (!host) { |
host | 5457 | drivers/scsi/53c7,8xx.c | printk ("Bogus SCSI host %d; no hostdata\n", host->host_no); |
host | 5460 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 5478 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : dropped interrupt for command %ld\n", host->host_no, |
host | 5480 | drivers/scsi/53c7,8xx.c | NCR53c7x0_intr (host->irq, NULL, NULL); |
host | 5488 | drivers/scsi/53c7,8xx.c | panic ("scsi%d : bloody fetus %d\n", host->host_no, cmd->pid); |
host | 5519 | drivers/scsi/53c7,8xx.c | host->host_no, me->pid); |
host | 5544 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid); |
host | 5549 | drivers/scsi/53c7,8xx.c | cmd->host->host_no); |
host | 5569 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : did this command ever run?\n", host->host_no); |
host | 5573 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 5624 | drivers/scsi/53c7,8xx.c | struct Scsi_Host *host = cmd->host; |
host | 5626 | drivers/scsi/53c7,8xx.c | (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 5628 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 5631 | drivers/scsi/53c7,8xx.c | ncr_halt (host); |
host | 5632 | drivers/scsi/53c7,8xx.c | print_lots (host); |
host | 5633 | drivers/scsi/53c7,8xx.c | dump_events (host, 30); |
host | 5634 | drivers/scsi/53c7,8xx.c | ncr_scsi_reset (host); |
host | 5635 | drivers/scsi/53c7,8xx.c | for (tmp = nuke_list = return_outstanding_commands (host, 1 /* free */, |
host | 5653 | drivers/scsi/53c7,8xx.c | printk ("scsi%d: lost command %ld\n", host->host_no, cmd->pid); |
host | 5658 | drivers/scsi/53c7,8xx.c | NCR53c7x0_driver_init (host); |
host | 5659 | drivers/scsi/53c7,8xx.c | hostdata->soft_reset (host); |
host | 5661 | drivers/scsi/53c7,8xx.c | disable(host); |
host | 5695 | drivers/scsi/53c7,8xx.c | (struct NCR53c7x0_hostdata *) cmd->host->hostdata; |
host | 5725 | drivers/scsi/53c7,8xx.c | cmd->host->host_no, saved, segment->address); |
host | 5763 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup (cmd->host); |
host | 5781 | drivers/scsi/53c7,8xx.c | cmd->host->host_no, where, offset); |
host | 5785 | drivers/scsi/53c7,8xx.c | cmd->host->host_no, where); |
host | 5787 | drivers/scsi/53c7,8xx.c | size = print_insn (cmd->host, |
host | 5789 | drivers/scsi/53c7,8xx.c | print_insn (cmd->host, |
host | 5799 | drivers/scsi/53c7,8xx.c | print_dsa (struct Scsi_Host *host, u32 *dsa, const char *prefix) { |
host | 5801 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 5808 | drivers/scsi/53c7,8xx.c | printk("scsi%d : bad dsa virt 0x%p\n", host->host_no, dsa); |
host | 5814 | drivers/scsi/53c7,8xx.c | host->host_no, virt_to_bus (dsa), dsa, hostdata->dsa_msgout, |
host | 5854 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->target, |
host | 5873 | drivers/scsi/53c7,8xx.c | print_queues (struct Scsi_Host *host) { |
host | 5875 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 5882 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : issue queue\n", host->host_no); |
host | 5884 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, cmd = (Scsi_Cmnd *) hostdata->issue_queue; |
host | 5894 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid); |
host | 5897 | drivers/scsi/53c7,8xx.c | print_dsa (host, ((struct NCR53c7x0_cmd *) cmd->host_scribble) |
host | 5901 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid, cmd->target, cmd->lun); |
host | 5907 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 5918 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : schedule dsa array :\n", host->host_no); |
host | 5919 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, current = hostdata->schedule; |
host | 5923 | drivers/scsi/53c7,8xx.c | print_dsa (host, bus_to_virt (current[1] - |
host | 5926 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : end schedule dsa array\n", host->host_no); |
host | 5928 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : reconnect_dsa_head :\n", host->host_no); |
host | 5930 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, |
host | 5937 | drivers/scsi/53c7,8xx.c | printk ("scsi%d: bad DSA pointer 0x%p", host->host_no, |
host | 5944 | drivers/scsi/53c7,8xx.c | print_dsa (host, dsa, ""); |
host | 5948 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : end reconnect_dsa_head\n", host->host_no); |
host | 5951 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 5955 | drivers/scsi/53c7,8xx.c | print_lots (struct Scsi_Host *host) { |
host | 5958 | drivers/scsi/53c7,8xx.c | (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 5962 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 5978 | drivers/scsi/53c7,8xx.c | host->host_no, dbc_dcmd, NCR53c7x0_read32(DNAD_REG), |
host | 5994 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : DSP 0x%lx (virt 0x%p) ->\n", host->host_no, |
host | 5997 | drivers/scsi/53c7,8xx.c | size = print_insn (host, dsp, "", 1); |
host | 6000 | drivers/scsi/53c7,8xx.c | host->host_no, NCR53c7x0_read8 (SDID_REG_800), |
host | 6002 | drivers/scsi/53c7,8xx.c | print_dsa (host, dsa, ""); |
host | 6006 | drivers/scsi/53c7,8xx.c | print_queues (host); |
host | 6020 | drivers/scsi/53c7,8xx.c | shutdown (struct Scsi_Host *host) { |
host | 6024 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 6025 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 6029 | drivers/scsi/53c7,8xx.c | ncr_halt (host); |
host | 6030 | drivers/scsi/53c7,8xx.c | ncr_scsi_reset (host); |
host | 6031 | drivers/scsi/53c7,8xx.c | hostdata->soft_reset(host); |
host | 6033 | drivers/scsi/53c7,8xx.c | disable (host); |
host | 6045 | drivers/scsi/53c7,8xx.c | ncr_scsi_reset (struct Scsi_Host *host) { |
host | 6048 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 6051 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 6073 | drivers/scsi/53c7,8xx.c | hard_reset (struct Scsi_Host *host) { |
host | 6075 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 6079 | drivers/scsi/53c7,8xx.c | ncr_scsi_reset(host); |
host | 6080 | drivers/scsi/53c7,8xx.c | NCR53c7x0_driver_init (host); |
host | 6082 | drivers/scsi/53c7,8xx.c | hostdata->soft_reset (host); |
host | 6108 | drivers/scsi/53c7,8xx.c | return_outstanding_commands (struct Scsi_Host *host, int free, int issue) { |
host | 6110 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 6118 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : loop detected in running list!\n", host->host_no); |
host | 6135 | drivers/scsi/53c7,8xx.c | i < host->can_queue; ++i, current += 2) { |
host | 6146 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 6174 | drivers/scsi/53c7,8xx.c | disable (struct Scsi_Host *host) { |
host | 6176 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 6182 | drivers/scsi/53c7,8xx.c | ncr_halt (host); |
host | 6183 | drivers/scsi/53c7,8xx.c | nuke_list = return_outstanding_commands (host, 1 /* free */, 1 /* issue */); |
host | 6184 | drivers/scsi/53c7,8xx.c | hard_reset (host); |
host | 6187 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : nuking commands\n", host->host_no); |
host | 6193 | drivers/scsi/53c7,8xx.c | printk ("scsi%d : done. \n", host->host_no); |
host | 6195 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 6210 | drivers/scsi/53c7,8xx.c | ncr_halt (struct Scsi_Host *host) { |
host | 6215 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 6217 | drivers/scsi/53c7,8xx.c | NCR53c7x0_local_setup(host); |
host | 6248 | drivers/scsi/53c7,8xx.c | host->host_no); |
host | 6249 | drivers/scsi/53c7,8xx.c | disable (host); |
host | 6262 | drivers/scsi/53c7,8xx.c | print_lots (host); |
host | 6297 | drivers/scsi/53c7,8xx.c | dump_events (struct Scsi_Host *host, int count) { |
host | 6299 | drivers/scsi/53c7,8xx.c | host->hostdata; |
host | 6325 | drivers/scsi/53c7,8xx.c | host->host_no, event_name (event.event), count, |
host | 6361 | drivers/scsi/53c7,8xx.c | NCR53c7x0_release(struct Scsi_Host *host) { |
host | 6363 | drivers/scsi/53c7,8xx.c | (struct NCR53c7x0_hostdata *) host->hostdata; |
host | 6365 | drivers/scsi/53c7,8xx.c | shutdown (host); |
host | 6366 | drivers/scsi/53c7,8xx.c | if (host->irq != IRQ_NONE) |
host | 6371 | drivers/scsi/53c7,8xx.c | if (tmp->hostt == the_template && tmp->irq == host->irq) |
host | 6374 | drivers/scsi/53c7,8xx.c | free_irq(host->irq, NULL); |
host | 6376 | drivers/scsi/53c7,8xx.c | if (host->dma_channel != DMA_NONE) |
host | 6377 | drivers/scsi/53c7,8xx.c | free_dma(host->dma_channel); |
host | 6378 | drivers/scsi/53c7,8xx.c | if (host->io_port) |
host | 6379 | drivers/scsi/53c7,8xx.c | release_region(host->io_port, host->n_io_port); |
host | 6394 | drivers/scsi/53c7,8xx.c | host->host_no, hostdata->num_cmds); |
host | 1248 | drivers/scsi/53c7,8xx.h | void (* init_fixup)(struct Scsi_Host *host); |
host | 1249 | drivers/scsi/53c7,8xx.h | void (* init_save_regs)(struct Scsi_Host *host); |
host | 1251 | drivers/scsi/53c7,8xx.h | void (* soft_reset)(struct Scsi_Host *host); |
host | 1252 | drivers/scsi/53c7,8xx.h | int (* run_tests)(struct Scsi_Host *host); |
host | 1260 | drivers/scsi/53c7,8xx.h | int (* dstat_sir_intr)(struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd); |
host | 1501 | drivers/scsi/53c7,8xx.h | #define NCR53c7x0_local_setup(host) \ |
host | 1502 | drivers/scsi/53c7,8xx.h | NCR53c7x0_address_memory = (void *) (host)->base; \ |
host | 1503 | drivers/scsi/53c7,8xx.h | NCR53c7x0_address_io = (unsigned int) (host)->io_port; \ |
host | 1505 | drivers/scsi/53c7,8xx.h | host->hostdata)-> options & OPTION_MEMORY_MAPPED |
host | 1544 | drivers/scsi/53c7,8xx.h | host->host_no, #symbol, i, A_##symbol##_used[i] - \ |
host | 1581 | drivers/scsi/53c7,8xx.h | #define FATAL(host) shutdown((host)); |
host | 814 | drivers/scsi/AM53C974.c | struct Scsi_Host *instance = cmd->host; |
host | 2099 | drivers/scsi/AM53C974.c | struct Scsi_Host *instance = cmd->host; |
host | 2202 | drivers/scsi/AM53C974.c | struct Scsi_Host *instance = cmd->host; |
host | 1834 | drivers/scsi/BusLogic.c | if (Device->host == Host) |
host | 1849 | drivers/scsi/BusLogic.c | if (Device->host == Host) |
host | 2394 | drivers/scsi/BusLogic.c | (BusLogic_HostAdapter_T *) Command->host->hostdata; |
host | 2590 | drivers/scsi/BusLogic.c | (BusLogic_HostAdapter_T *) Command->host->hostdata; |
host | 2958 | drivers/scsi/BusLogic.c | (BusLogic_HostAdapter_T *) Command->host->hostdata; |
host | 3028 | drivers/scsi/BusLogic.c | (BusLogic_HostAdapter_T *) Disk->device->host->hostdata; |
host | 307 | drivers/scsi/NCR5380.c | static int do_abort (struct Scsi_Host *host); |
host | 308 | drivers/scsi/NCR5380.c | static void do_reset (struct Scsi_Host *host); |
host | 866 | drivers/scsi/NCR5380.c | cmd->host->host_no, cmd->target, cmd->lun); |
host | 1048 | drivers/scsi/NCR5380.c | struct Scsi_Host *instance = cmd->host; |
host | 1370 | drivers/scsi/NCR5380.c | host->host_no, __LINE__); |
host | 1911 | drivers/scsi/NCR5380.c | static void do_reset (struct Scsi_Host *host) { |
host | 1913 | drivers/scsi/NCR5380.c | NCR5380_setup(host); |
host | 1933 | drivers/scsi/NCR5380.c | static int do_abort (struct Scsi_Host *host) { |
host | 1937 | drivers/scsi/NCR5380.c | NCR5380_setup(host); |
host | 1968 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio (host, &phase, &len, &msgptr); |
host | 3045 | drivers/scsi/NCR5380.c | struct Scsi_Host *instance = cmd->host; |
host | 3240 | drivers/scsi/NCR5380.c | NCR5380_setup(cmd->host); |
host | 3242 | drivers/scsi/NCR5380.c | NCR5380_print_status (cmd->host); |
host | 3243 | drivers/scsi/NCR5380.c | do_reset (cmd->host); |
host | 2151 | drivers/scsi/advansys.c | #define ASC_BOARD(host) ((struct asc_board *) &(host)->hostdata) |
host | 2689 | drivers/scsi/advansys.c | if (scd->host == shp) { |
host | 3251 | drivers/scsi/advansys.c | shp = scp->host; |
host | 3326 | drivers/scsi/advansys.c | if (scp->host == NULL) { |
host | 3329 | drivers/scsi/advansys.c | } else if (asc_rmqueue(scp->host, scp, scp->target) == ASC_TRUE) { |
host | 3332 | drivers/scsi/advansys.c | (void) AscResetDevice(&ASC_BOARD(scp->host)->board, scp->target); |
host | 3336 | drivers/scsi/advansys.c | boardp = &ASC_BOARD(scp->host)->board; |
host | 3381 | drivers/scsi/advansys.c | if (scp->host == NULL) { |
host | 3387 | drivers/scsi/advansys.c | while ((tscp = asc_dequeue(scp->host, i)) != NULL) { |
host | 3400 | drivers/scsi/advansys.c | boardp = &ASC_BOARD(scp->host)->board; |
host | 3439 | drivers/scsi/advansys.c | if ((ASC_BOARD(dp->device->host)->board.dvc_cntl & ASC_CNTL_BIOS_GT_1GB) && |
host | 3687 | drivers/scsi/advansys.c | boardp = &ASC_BOARD(scp->host)->board; |
host | 3693 | drivers/scsi/advansys.c | if ((ASC_BOARD(scp->host)->init_tidmask & |
host | 3700 | drivers/scsi/advansys.c | ASC_BOARD(scp->host)->init_tidmask |= ASC_TIX_TO_TARGET_ID(scp->target); |
host | 3827 | drivers/scsi/advansys.c | shp = scp->host; |
host | 3995 | drivers/scsi/advansys.c | scsireqq = &ASC_BOARD(scp->host)->scsireqq; |
host | 3997 | drivers/scsi/advansys.c | cap_info = &ASC_BOARD(scp->host)->cap_info; |
host | 3999 | drivers/scsi/advansys.c | inquiry = &ASC_BOARD(scp->host)->inquiry; |
host | 4077 | drivers/scsi/advansys.c | if (boardp->max_dvc_qng[i] < scp->host->cmd_per_lun) { |
host | 4078 | drivers/scsi/advansys.c | scp->host->cmd_per_lun = boardp->max_dvc_qng[i]; |
host | 870 | drivers/scsi/aha152x.c | struct Scsi_Host *shpnt = SCpnt->host; |
host | 967 | drivers/scsi/aha152x.c | struct Scsi_Host *shpnt = SCpnt->host; |
host | 1124 | drivers/scsi/aha152x.c | struct Scsi_Host *shpnt = SCpnt->host; |
host | 2923 | drivers/scsi/aha152x.c | if (scd->host == shpnt) { |
host | 110 | drivers/scsi/aha1542.c | #define HOSTDATA(host) ((struct aha1542_hostdata *) &host->hostdata) |
host | 526 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
host | 527 | drivers/scsi/aha1542.c | ccb = HOSTDATA(SCpnt->host)->ccb; |
host | 567 | drivers/scsi/aha1542.c | mbo = HOSTDATA(SCpnt->host)->aha1542_last_mbo_used + 1; |
host | 571 | drivers/scsi/aha1542.c | if(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL) |
host | 575 | drivers/scsi/aha1542.c | } while (mbo != HOSTDATA(SCpnt->host)->aha1542_last_mbo_used); |
host | 577 | drivers/scsi/aha1542.c | if(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo]) |
host | 580 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt; /* This will effectively prevent someone else from |
host | 583 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->aha1542_last_mbo_used = mbo; |
host | 665 | drivers/scsi/aha1542.c | aha1542_out(SCpnt->host->io_port, &ahacmd, 1); /* start scsi command */ |
host | 1118 | drivers/scsi/aha1542.c | inb(STATUS(SCpnt->host->io_port)), |
host | 1119 | drivers/scsi/aha1542.c | inb(INTRFLAGS(SCpnt->host->io_port))); |
host | 1123 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
host | 1124 | drivers/scsi/aha1542.c | mbi = HOSTDATA(SCpnt->host)->aha1542_last_mbi_used + 1; |
host | 1131 | drivers/scsi/aha1542.c | } while (mbi != HOSTDATA(SCpnt->host)->aha1542_last_mbi_used); |
host | 1136 | drivers/scsi/aha1542.c | SCpnt->host->irq); |
host | 1137 | drivers/scsi/aha1542.c | aha1542_intr_handle(SCpnt->host->irq, NULL); |
host | 1145 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i]) |
host | 1147 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) { |
host | 1150 | drivers/scsi/aha1542.c | if (HOSTDATA(SCpnt->host)->mb[i].status) { |
host | 1152 | drivers/scsi/aha1542.c | aha1542_out(SCpnt->host->io_port, &ahacmd, 1); |
host | 1166 | drivers/scsi/aha1542.c | if (SCpnt == HOSTDATA(SCpnt->host)->SCint[mbo]){ |
host | 1168 | drivers/scsi/aha1542.c | aha1542_out(SCpnt->host->io_port, &ahacmd, 1); /* start scsi command */ |
host | 1198 | drivers/scsi/aha1542.c | outb(HRST | SCRST, CONTROL(SCpnt->host->io_port)); |
host | 1207 | drivers/scsi/aha1542.c | WAIT(STATUS(SCpnt->host->io_port), |
host | 1214 | drivers/scsi/aha1542.c | setup_mailboxes(SCpnt->host->io_port, SCpnt->host); |
host | 1222 | drivers/scsi/aha1542.c | printk("Sent BUS RESET to scsi host %d\n", SCpnt->host->host_no); |
host | 1225 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] != NULL) |
host | 1228 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(SCpnt->host)->SCint[i]; |
host | 1234 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i] = NULL; |
host | 1235 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->mb[i].status = 0; |
host | 1255 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) |
host | 1257 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->ccb[i].op = 0x81; /* BUS DEVICE RESET */ |
host | 1259 | drivers/scsi/aha1542.c | aha1542_out(SCpnt->host->io_port, &ahacmd, 1); |
host | 1271 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] && |
host | 1272 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target) |
host | 1275 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(SCpnt->host)->SCint[i]; |
host | 1281 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i] = NULL; |
host | 1282 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->mb[i].status = 0; |
host | 1300 | drivers/scsi/aha1542.c | translation_algorithm = HOSTDATA(disk->device->host)->bios_translation; |
host | 566 | drivers/scsi/aic7xxx.c | struct Scsi_Host *host; /* pointer to scsi host */ |
host | 1715 | drivers/scsi/aic7xxx.c | p->host->last_reset = jiffies; |
host | 3126 | drivers/scsi/aic7xxx.c | struct Scsi_Host *host; |
host | 3475 | drivers/scsi/aic7xxx.c | host = scsi_register(template, sizeof(struct aic7xxx_host)); |
host | 3476 | drivers/scsi/aic7xxx.c | host->can_queue = config->maxscb; |
host | 3477 | drivers/scsi/aic7xxx.c | host->cmd_per_lun = AIC7XXX_CMDS_PER_LUN; |
host | 3478 | drivers/scsi/aic7xxx.c | host->this_id = config->scsi_id; |
host | 3479 | drivers/scsi/aic7xxx.c | host->irq = config->irq; |
host | 3482 | drivers/scsi/aic7xxx.c | host->max_id = 16; |
host | 3486 | drivers/scsi/aic7xxx.c | host->max_channel = 1; |
host | 3489 | drivers/scsi/aic7xxx.c | p = (struct aic7xxx_host *) host->hostdata; |
host | 3491 | drivers/scsi/aic7xxx.c | p->host = host; |
host | 3523 | drivers/scsi/aic7xxx.c | aic7xxx_boards[config->irq] = host; |
host | 3543 | drivers/scsi/aic7xxx.c | aic7xxx_boards[config->irq] = host; |
host | 4228 | drivers/scsi/aic7xxx.c | p = (struct aic7xxx_host *) cmd->host->hostdata; |
host | 4391 | drivers/scsi/aic7xxx.c | p = (struct aic7xxx_host *) cmd->host->hostdata; |
host | 4652 | drivers/scsi/aic7xxx.c | p = (struct aic7xxx_host *) disk->device->host->hostdata; |
host | 567 | drivers/scsi/constants.c | cmd->host->host_no, |
host | 622 | drivers/scsi/eata.c | j = ((struct hostdata *) SCpnt->host->hostdata)->board_number; |
host | 725 | drivers/scsi/eata.c | j = ((struct hostdata *) SCarg->host->hostdata)->board_number; |
host | 786 | drivers/scsi/eata.c | j = ((struct hostdata *) SCarg->host->hostdata)->board_number; |
host | 187 | drivers/scsi/eata_dma.c | base = (uint) cmd->host->base; |
host | 361 | drivers/scsi/eata_dma.c | sh = cmd->host; |
host | 542 | drivers/scsi/eata_dma.c | while (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) { |
host | 599 | drivers/scsi/eata_dma.c | while (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
host | 614 | drivers/scsi/eata_dma.c | for (x = 0; x < cmd->host->can_queue; x++) { |
host | 638 | drivers/scsi/eata_dma.c | inb((u32) (cmd->host->base) + HA_RSTATUS); /* This might cause trouble */ |
host | 639 | drivers/scsi/eata_dma.c | eata_send_command(0, (u32) cmd->host->base, EATA_CMD_RESET); |
host | 657 | drivers/scsi/eata_dma.c | for (x = 0; x < cmd->host->can_queue; x++) { |
host | 159 | drivers/scsi/eata_dma_proc.c | SDev.host = HBA_ptr; |
host | 177 | drivers/scsi/eata_dma_proc.c | scmd.host = HBA_ptr; |
host | 445 | drivers/scsi/eata_dma_proc.c | if (scd->host == HBA_ptr) { |
host | 92 | drivers/scsi/eata_generic.h | #define HD(cmd) ((hostdata *)&(cmd->host->hostdata)) |
host | 94 | drivers/scsi/eata_generic.h | #define SD(host) ((hostdata *)&(host->hostdata)) |
host | 155 | drivers/scsi/eata_pio.c | base = (uint) cmd->host->base; |
host | 295 | drivers/scsi/eata_pio.c | sh = cmd->host; |
host | 416 | drivers/scsi/eata_pio.c | while (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
host | 477 | drivers/scsi/eata_pio.c | for (x = 0; x < cmd->host->can_queue; x++) { |
host | 493 | drivers/scsi/eata_pio.c | outb((uint) cmd->host->base+HA_WCOMMAND, EATA_CMD_RESET); |
host | 504 | drivers/scsi/eata_pio.c | for (x = 0; x < cmd->host->can_queue; x++) { |
host | 107 | drivers/scsi/eata_pio_proc.c | if (scd->host == HBA_ptr) { |
host | 1788 | drivers/scsi/fdomain.c | if (!SCpnt || !SCpnt->host) { |
host | 1792 | drivers/scsi/fdomain.c | printk( "%s\n", fdomain_16x0_info( SCpnt->host ) ); |
host | 1793 | drivers/scsi/fdomain.c | print_banner( SCpnt->host ); |
host | 280 | drivers/scsi/g_NCR5380.c | const char * generic_NCR5380_info (struct Scsi_Host* host) { |
host | 595 | drivers/scsi/g_NCR5380.c | cmd->host->host_no ANDP |
host | 665 | drivers/scsi/g_NCR5380.c | if (dev->host == scsi_ptr) { |
host | 395 | drivers/scsi/ppa.c | int ppa_detect( Scsi_Host_Template * host ) |
host | 420 | drivers/scsi/ppa.c | host->proc_dir = &proc_scsi_ppa; |
host | 424 | drivers/scsi/ppa.c | host->can_queue = PPA_CAN_QUEUE; |
host | 426 | drivers/scsi/ppa.c | hreg = scsi_register(host,0); |
host | 434 | drivers/scsi/ppa.c | host->name = ppa_info_string; |
host | 472 | drivers/scsi/ppa.c | const char *ppa_info( struct Scsi_Host * host ) |
host | 536 | drivers/scsi/qlogic.c | int qlogic_detect(Scsi_Host_Template * host) |
host | 543 | drivers/scsi/qlogic.c | host->proc_dir = &proc_scsi_qlogic; |
host | 569 | drivers/scsi/qlogic.c | qinitid = host->this_id; |
host | 613 | drivers/scsi/qlogic.c | host->can_queue = 1; |
host | 616 | drivers/scsi/qlogic.c | hreg = scsi_register( host , 0 ); /* no host data */ |
host | 625 | drivers/scsi/qlogic.c | host->name = qinfo; |
host | 668 | drivers/scsi/qlogic.c | const char *qlogic_info(struct Scsi_Host * host) |
host | 375 | drivers/scsi/scsi.c | printk ("scan_scsis_done(%p, %06x)\n", SCpnt->host, SCpnt->result); |
host | 537 | drivers/scsi/scsi.c | SDpnt->host = shpnt; |
host | 557 | drivers/scsi/scsi.c | SCpnt->host = SDpnt->host; |
host | 841 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->pid); |
host | 851 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->pid); |
host | 860 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->pid); |
host | 902 | drivers/scsi/scsi.c | SCpnt = device->host->host_queue; |
host | 929 | drivers/scsi/scsi.c | if (SCSI_BLOCK(device->host)) return NULL; |
host | 933 | drivers/scsi/scsi.c | tablesize = device->host->sg_tablesize; |
host | 1003 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 1020 | drivers/scsi/scsi.c | host = device->host; |
host | 1022 | drivers/scsi/scsi.c | if (intr_count && SCSI_BLOCK(host)) return NULL; |
host | 1033 | drivers/scsi/scsi.c | SCpnt = device->host->host_queue; |
host | 1099 | drivers/scsi/scsi.c | tablesize = device->host->sg_tablesize; |
host | 1165 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 1171 | drivers/scsi/scsi.c | host = SCpnt->host; |
host | 1183 | drivers/scsi/scsi.c | temp = host->last_reset + MIN_RESET_DELAY; |
host | 1196 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, |
host | 1200 | drivers/scsi/scsi.c | if (host->can_queue) |
host | 1204 | drivers/scsi/scsi.c | host->hostt->queuecommand); |
host | 1215 | drivers/scsi/scsi.c | if(!intr_count && SCpnt->host->irq) |
host | 1216 | drivers/scsi/scsi.c | disable_irq(SCpnt->host->irq); |
host | 1218 | drivers/scsi/scsi.c | host->hostt->queuecommand (SCpnt, scsi_done); |
host | 1220 | drivers/scsi/scsi.c | if(!intr_count && SCpnt->host->irq) |
host | 1221 | drivers/scsi/scsi.c | enable_irq(SCpnt->host->irq); |
host | 1227 | drivers/scsi/scsi.c | printk("command() : routine at %p\n", host->hostt->command); |
host | 1229 | drivers/scsi/scsi.c | temp=host->hostt->command (SCpnt); |
host | 1235 | drivers/scsi/scsi.c | host->host_no, temp, host->hostt->command); |
host | 1282 | drivers/scsi/scsi.c | struct Scsi_Host * host = SCpnt->host; |
host | 1291 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
host | 1299 | drivers/scsi/scsi.c | if (!host) |
host | 1317 | drivers/scsi/scsi.c | while (SCSI_BLOCK(host)) { |
host | 1319 | drivers/scsi/scsi.c | SCSI_SLEEP(&host->host_wait, SCSI_BLOCK(host)); |
host | 1323 | drivers/scsi/scsi.c | if (host->block) host_active = host; |
host | 1325 | drivers/scsi/scsi.c | host->host_busy++; |
host | 1337 | drivers/scsi/scsi.c | SCpnt->host = host; |
host | 1391 | drivers/scsi/scsi.c | printk("scsi%d, channel%d : ", SCpnt->host->host_no, SCpnt->channel); |
host | 1465 | drivers/scsi/scsi.c | struct Scsi_Host * host = SCpnt->host; |
host | 1489 | drivers/scsi/scsi.c | printk("In scsi_done(host = %d, result = %06x)\n", host->host_no, result); |
host | 1513 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, |
host | 1617 | drivers/scsi/scsi.c | " reset.\n", SCpnt->host->host_no, SCpnt->channel); |
host | 1735 | drivers/scsi/scsi.c | && !(jiffies < SCpnt->host->last_reset + MIN_RESET_PERIOD) |
host | 1739 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel); |
host | 1776 | drivers/scsi/scsi.c | host->host_busy--; /* Indicate that we are free */ |
host | 1778 | drivers/scsi/scsi.c | if (host->block && host->host_busy == 0) { |
host | 1786 | drivers/scsi/scsi.c | for (next = host->block; next != host; next = next->block) |
host | 1792 | drivers/scsi/scsi.c | wake_up(&host->host_wait); |
host | 1825 | drivers/scsi/scsi.c | struct Scsi_Host * host = SCpnt->host; |
host | 1862 | drivers/scsi/scsi.c | if (!host->host_busy) { |
host | 1869 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->channel, |
host | 1875 | drivers/scsi/scsi.c | switch(host->hostt->abort(SCpnt)) { |
host | 1965 | drivers/scsi/scsi.c | struct Scsi_Host * host = SCpnt->host; |
host | 1968 | drivers/scsi/scsi.c | host->host_no); |
host | 1978 | drivers/scsi/scsi.c | SCpnt->host->suggest_bus_reset = FALSE; |
host | 1995 | drivers/scsi/scsi.c | SCpnt1 = host->host_queue; |
host | 2014 | drivers/scsi/scsi.c | SCpnt->host->suggest_bus_reset = TRUE; |
host | 2042 | drivers/scsi/scsi.c | if (host->host_busy) |
host | 2045 | drivers/scsi/scsi.c | SCpnt1 = host->host_queue; |
host | 2058 | drivers/scsi/scsi.c | host->last_reset = jiffies; |
host | 2059 | drivers/scsi/scsi.c | temp = host->hostt->reset(SCpnt, reset_flags); |
host | 2060 | drivers/scsi/scsi.c | host->last_reset = jiffies; |
host | 2064 | drivers/scsi/scsi.c | if (!host->block) host->host_busy++; |
host | 2066 | drivers/scsi/scsi.c | host->last_reset = jiffies; |
host | 2068 | drivers/scsi/scsi.c | temp = host->hostt->reset(SCpnt, reset_flags); |
host | 2069 | drivers/scsi/scsi.c | host->last_reset = jiffies; |
host | 2070 | drivers/scsi/scsi.c | if (!host->block) host->host_busy--; |
host | 2089 | drivers/scsi/scsi.c | scsi_mark_host_reset(host); |
host | 2091 | drivers/scsi/scsi.c | scsi_mark_bus_reset(host, SCpnt->channel); |
host | 2100 | drivers/scsi/scsi.c | scsi_mark_host_reset(host); |
host | 2102 | drivers/scsi/scsi.c | scsi_mark_bus_reset(host, SCpnt->channel); |
host | 2112 | drivers/scsi/scsi.c | scsi_mark_host_reset(host); |
host | 2114 | drivers/scsi/scsi.c | scsi_mark_bus_reset(host, SCpnt->channel); |
host | 2125 | drivers/scsi/scsi.c | SCpnt1 = host->host_queue; |
host | 2165 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 2178 | drivers/scsi/scsi.c | for (host = scsi_hostlist; host; host = host->next) { |
host | 2179 | drivers/scsi/scsi.c | for (SCpnt = host->host_queue; SCpnt; SCpnt = SCpnt->next) |
host | 2188 | drivers/scsi/scsi.c | for (host = scsi_hostlist; host; host = host->next) { |
host | 2189 | drivers/scsi/scsi.c | for (SCpnt = host->host_queue; SCpnt; SCpnt = SCpnt->next) |
host | 2216 | drivers/scsi/scsi.c | struct Scsi_Host * host; |
host | 2264 | drivers/scsi/scsi.c | for(host = scsi_hostlist; host; host = host->next) |
host | 2265 | drivers/scsi/scsi.c | for(SCpnt = host->host_queue; SCpnt; SCpnt = SCpnt->next) |
host | 2411 | drivers/scsi/scsi.c | struct Scsi_Host *host = SDpnt->host; |
host | 2416 | drivers/scsi/scsi.c | SDpnt->queue_depth = host->cmd_per_lun; |
host | 2423 | drivers/scsi/scsi.c | (host->unchecked_isa_dma ? GFP_DMA : 0)); |
host | 2424 | drivers/scsi/scsi.c | SCpnt->host = host; |
host | 2439 | drivers/scsi/scsi.c | if(host->host_queue) |
host | 2440 | drivers/scsi/scsi.c | host->host_queue->prev = SCpnt; |
host | 2441 | drivers/scsi/scsi.c | SCpnt->next = host->host_queue; |
host | 2443 | drivers/scsi/scsi.c | host->host_queue = SCpnt; |
host | 2583 | drivers/scsi/scsi.c | int host, channel, id, lun; |
host | 2604 | drivers/scsi/scsi.c | if (scd->host == HBA_ptr) { |
host | 2646 | drivers/scsi/scsi.c | host = simple_strtoul(p, &p, 0); |
host | 2651 | drivers/scsi/scsi.c | printk("scsi singledevice %d %d %d %d\n", host, channel, |
host | 2654 | drivers/scsi/scsi.c | while(scd && (scd->host->host_no != host |
host | 2662 | drivers/scsi/scsi.c | while(HBA_ptr && HBA_ptr->host_no != host) |
host | 2687 | drivers/scsi/scsi.c | host = simple_strtoul(p, &p, 0); |
host | 2693 | drivers/scsi/scsi.c | if(scd->host->host_no == host |
host | 2720 | drivers/scsi/scsi.c | for(SCpnt=scd->host->host_queue; SCpnt; SCpnt = SCpnt->next){ |
host | 2726 | drivers/scsi/scsi.c | if(SCpnt == scd->host->host_queue) |
host | 2727 | drivers/scsi/scsi.c | scd->host->host_queue = SCpnt->next; |
host | 2757 | drivers/scsi/scsi.c | struct Scsi_Host * host = NULL; |
host | 2801 | drivers/scsi/scsi.c | host = SDpnt->host; |
host | 2804 | drivers/scsi/scsi.c | new_dma_sectors += ((host->sg_tablesize * |
host | 2808 | drivers/scsi/scsi.c | if(host->unchecked_isa_dma && |
host | 2811 | drivers/scsi/scsi.c | new_dma_sectors += (PAGE_SIZE >> 9) * host->sg_tablesize * |
host | 2943 | drivers/scsi/scsi.c | if(SDpnt->host->hostt == tpnt) |
host | 2991 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count |
host | 2992 | drivers/scsi/scsi.c | && *sdpnt->host->hostt->usage_count) return; |
host | 3016 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
host | 3030 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
host | 3031 | drivers/scsi/scsi.c | while (sdpnt->host->host_queue) { |
host | 3032 | drivers/scsi/scsi.c | SCpnt = sdpnt->host->host_queue->next; |
host | 3033 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt->host->host_queue, sizeof(Scsi_Cmnd)); |
host | 3034 | drivers/scsi/scsi.c | sdpnt->host->host_queue = SCpnt; |
host | 3045 | drivers/scsi/scsi.c | if (sdpnt->host->hostt == tpnt) { |
host | 3202 | drivers/scsi/scsi.c | for(SCpnt = SDpnt->host->host_queue; SCpnt; SCpnt = SCpnt->next) |
host | 3210 | drivers/scsi/scsi.c | if(SCpnt == SDpnt->host->host_queue) |
host | 3211 | drivers/scsi/scsi.c | SDpnt->host->host_queue = SCpnt->next; |
host | 3303 | drivers/scsi/scsi.c | i++, SCpnt->host->host_no, |
host | 163 | drivers/scsi/scsi.h | struct Scsi_Host * host; |
host | 361 | drivers/scsi/scsi.h | struct Scsi_Host * host; |
host | 530 | drivers/scsi/scsi.h | if (SCpnt->host->block) { |
host | 533 | drivers/scsi/scsi.h | for (next = SCpnt->host->block; next != SCpnt->host; |
host | 603 | drivers/scsi/scsi_debug.c | printk("Bus unlocked by reset(%d)\n", SCpnt->host->suggest_bus_reset); |
host | 37 | drivers/scsi/scsi_ioctl.c | static int ioctl_probe(struct Scsi_Host * host, void *buffer) |
host | 43 | drivers/scsi/scsi_ioctl.c | if ((temp = host->hostt->present) && buffer) { |
host | 48 | drivers/scsi/scsi_ioctl.c | if(host->hostt->info) |
host | 49 | drivers/scsi/scsi_ioctl.c | string = host->hostt->info(host); |
host | 51 | drivers/scsi/scsi_ioctl.c | string = host->hostt->name; |
host | 139 | drivers/scsi/scsi_ioctl.c | dev->host->host_no, |
host | 320 | drivers/scsi/scsi_ioctl.c | + ((dev->host->hostt->proc_dir->low_ino & 0xff) << 24), |
host | 322 | drivers/scsi/scsi_ioctl.c | put_user( dev->host->unique_id, (unsigned long *) arg+1); |
host | 337 | drivers/scsi/scsi_ioctl.c | return ioctl_probe(dev->host, arg); |
host | 263 | drivers/scsi/scsi_proc.c | scd->host->host_no, scd->channel, scd->id, scd->lun); |
host | 62 | drivers/scsi/sd.c | #define CLUSTERABLE_DEVICE(SC) (SC->host->use_clustering && \ |
host | 141 | drivers/scsi/sd.c | if (rscsi_disks[target].device->host->hostt->usage_count) |
host | 142 | drivers/scsi/sd.c | (*rscsi_disks[target].device->host->hostt->usage_count)++; |
host | 155 | drivers/scsi/sd.c | if (rscsi_disks[target].device->host->hostt->usage_count) |
host | 156 | drivers/scsi/sd.c | (*rscsi_disks[target].device->host->hostt->usage_count)--; |
host | 223 | drivers/scsi/sd.c | SCpnt->host->host_no, result); |
host | 387 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.rq_dev)].device->host->host_no, |
host | 609 | drivers/scsi/sd.c | && SCpnt->host->unchecked_isa_dma) { |
host | 631 | drivers/scsi/sd.c | } else if (SCpnt->host->sg_tablesize == 0 || |
host | 641 | drivers/scsi/sd.c | if (SCpnt->host->sg_tablesize != 0 && |
host | 666 | drivers/scsi/sd.c | (SCpnt->host->unchecked_isa_dma && |
host | 668 | drivers/scsi/sd.c | if (count < SCpnt->host->sg_tablesize) count++; |
host | 676 | drivers/scsi/sd.c | if(SCpnt->host->unchecked_isa_dma && |
host | 685 | drivers/scsi/sd.c | if(SCpnt->host->sg_tablesize < max_sg) |
host | 686 | drivers/scsi/sd.c | max_sg = SCpnt->host->sg_tablesize; |
host | 710 | drivers/scsi/sd.c | ISA_DMA_THRESHOLD && (SCpnt->host->unchecked_isa_dma) && |
host | 759 | drivers/scsi/sd.c | (SCpnt->host->unchecked_isa_dma) && |
host | 789 | drivers/scsi/sd.c | > SCpnt->host->sg_tablesize){ |
host | 820 | drivers/scsi/sd.c | (SCpnt->host->unchecked_isa_dma)) { |
host | 1330 | drivers/scsi/sd.c | if(rscsi_disks[0].device && rscsi_disks[0].device->host->sg_tablesize) |
host | 1343 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
host | 27 | drivers/scsi/sd_ioctl.c | struct Scsi_Host * host; |
host | 37 | drivers/scsi/sd_ioctl.c | host = rscsi_disks[MINOR(dev) >> 4].device->host; |
host | 47 | drivers/scsi/sd_ioctl.c | if(host->hostt->bios_param != NULL) |
host | 48 | drivers/scsi/sd_ioctl.c | host->hostt->bios_param(&rscsi_disks[MINOR(dev) >> 4], |
host | 143 | drivers/scsi/sg.c | if (scsi_generics[dev].device->host->hostt->usage_count) |
host | 144 | drivers/scsi/sg.c | (*scsi_generics[dev].device->host->hostt->usage_count)++; |
host | 154 | drivers/scsi/sg.c | if (scsi_generics[dev].device->host->hostt->usage_count) |
host | 155 | drivers/scsi/sg.c | (*scsi_generics[dev].device->host->hostt->usage_count)--; |
host | 511 | drivers/scsi/sg.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
host | 78 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count) |
host | 79 | drivers/scsi/sr.c | (*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)--; |
host | 281 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.rq_dev)].device->host->host_no, |
host | 535 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count) |
host | 536 | drivers/scsi/sr.c | (*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)++; |
host | 722 | drivers/scsi/sr.c | if (SCpnt->host->sg_tablesize > 0 && |
host | 736 | drivers/scsi/sr.c | while(bh && count < SCpnt->host->sg_tablesize) { |
host | 745 | drivers/scsi/sr.c | if (count < SCpnt->host->sg_tablesize) { |
host | 790 | drivers/scsi/sr.c | SCpnt->host->unchecked_isa_dma) { |
host | 854 | drivers/scsi/sr.c | SCpnt->host->unchecked_isa_dma) |
host | 936 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
host | 1119 | drivers/scsi/sr.c | if(scsi_CDs[0].device && scsi_CDs[0].device->host->sg_tablesize) |
host | 73 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->host->host_no, |
host | 565 | drivers/scsi/st.c | if (scsi_tapes[dev].device->host->hostt->usage_count) |
host | 566 | drivers/scsi/st.c | (*scsi_tapes[dev].device->host->hostt->usage_count)++; |
host | 713 | drivers/scsi/st.c | if (scsi_tapes[dev].device->host->hostt->usage_count) |
host | 714 | drivers/scsi/st.c | (*scsi_tapes[dev].device->host->hostt->usage_count)++; |
host | 796 | drivers/scsi/st.c | if (scsi_tapes[dev].device->host->hostt->usage_count) |
host | 797 | drivers/scsi/st.c | (*scsi_tapes[dev].device->host->hostt->usage_count)--; |
host | 2451 | drivers/scsi/st.c | tpnt->restr_dma = (SDp->host)->unchecked_isa_dma; |
host | 2490 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
host | 587 | drivers/scsi/u14-34f.c | j = ((struct hostdata *) SCpnt->host->hostdata)->board_number; |
host | 686 | drivers/scsi/u14-34f.c | j = ((struct hostdata *) SCarg->host->hostdata)->board_number; |
host | 747 | drivers/scsi/u14-34f.c | j = ((struct hostdata *) SCarg->host->hostdata)->board_number; |
host | 353 | drivers/scsi/wd7000.c | Adapter *host; /* host adapter */ |
host | 540 | drivers/scsi/wd7000.c | static inline void wd7000_enable_intr(Adapter *host) |
host | 542 | drivers/scsi/wd7000.c | host->control |= INT_EN; |
host | 543 | drivers/scsi/wd7000.c | outb(host->control, host->iobase+ASC_CONTROL); |
host | 547 | drivers/scsi/wd7000.c | static inline void wd7000_enable_dma(Adapter *host) |
host | 549 | drivers/scsi/wd7000.c | host->control |= DMA_EN; |
host | 550 | drivers/scsi/wd7000.c | outb(host->control,host->iobase+ASC_CONTROL); |
host | 551 | drivers/scsi/wd7000.c | set_dma_mode(host->dma, DMA_MODE_CASCADE); |
host | 552 | drivers/scsi/wd7000.c | enable_dma(host->dma); |
host | 578 | drivers/scsi/wd7000.c | static inline int command_out(Adapter *host, unchar *cmd, int len) |
host | 580 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT,ASC_STATMASK,CMD_RDY,0); |
host | 583 | drivers/scsi/wd7000.c | outb(*cmd, host->iobase+ASC_COMMAND); |
host | 584 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0); |
host | 585 | drivers/scsi/wd7000.c | } while (inb(host->iobase+ASC_STAT) & CMD_REJ); |
host | 691 | drivers/scsi/wd7000.c | static int mail_out( Adapter *host, Scb *scbptr ) |
host | 699 | drivers/scsi/wd7000.c | Mailbox *ogmbs = host->mb.ogmb; |
host | 700 | drivers/scsi/wd7000.c | int *next_ogmb = &(host->next_ogmb); |
host | 740 | drivers/scsi/wd7000.c | wd7000_enable_intr(host); |
host | 743 | drivers/scsi/wd7000.c | command_out( host, &start_ogmb, 1 ); |
host | 809 | drivers/scsi/wd7000.c | #define wd7000_intr_ack(host) outb(0,host->iobase+ASC_INTR_ACK) |
host | 818 | drivers/scsi/wd7000.c | Adapter *host = irq2host[irq]; /* This MUST be set!!! */ |
host | 819 | drivers/scsi/wd7000.c | Mailbox *icmbs = host->mb.icmb; |
host | 822 | drivers/scsi/wd7000.c | printk("wd7000_intr_handle: irq = %d, host = %06x\n", irq, host); |
host | 825 | drivers/scsi/wd7000.c | flag = inb(host->iobase+ASC_INTR_STAT); |
host | 830 | drivers/scsi/wd7000.c | if (!(inb(host->iobase+ASC_STAT) & INT_IM)) { |
host | 842 | drivers/scsi/wd7000.c | wd7000_intr_ack(host); |
host | 857 | drivers/scsi/wd7000.c | wd7000_intr_ack(host); |
host | 868 | drivers/scsi/wd7000.c | wd7000_intr_ack(host); |
host | 893 | drivers/scsi/wd7000.c | wd7000_intr_ack(host); |
host | 905 | drivers/scsi/wd7000.c | Adapter *host = (Adapter *) SCpnt->host->hostdata; |
host | 918 | drivers/scsi/wd7000.c | scb->host = host; |
host | 924 | drivers/scsi/wd7000.c | if (SCpnt->host->sg_tablesize == SG_NONE) { |
host | 945 | drivers/scsi/wd7000.c | while (!mail_out(host, scb)) /* keep trying */; |
host | 961 | drivers/scsi/wd7000.c | int wd7000_diagnostics( Adapter *host, int code ) |
host | 976 | drivers/scsi/wd7000.c | mail_out(host, (struct scb *) &icb); |
host | 995 | drivers/scsi/wd7000.c | int wd7000_init( Adapter *host ) |
host | 1006 | drivers/scsi/wd7000.c | outb(ASC_RES, host->iobase+ASC_CONTROL); |
host | 1008 | drivers/scsi/wd7000.c | outb(0,host->iobase+ASC_CONTROL); |
host | 1009 | drivers/scsi/wd7000.c | host->control = 0; /* this must always shadow ASC_CONTROL */ |
host | 1010 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0); |
host | 1012 | drivers/scsi/wd7000.c | if ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1) { |
host | 1041 | drivers/scsi/wd7000.c | memset(&(host->mb), 0, sizeof(host->mb)); |
host | 1044 | drivers/scsi/wd7000.c | any2scsi((unchar *) &(init_cmd.mailboxes), (int) &(host->mb)); |
host | 1045 | drivers/scsi/wd7000.c | if (!command_out(host, (unchar *) &init_cmd, sizeof(init_cmd))) { |
host | 1049 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, ASC_INIT, 0); |
host | 1051 | drivers/scsi/wd7000.c | if (request_irq(host->irq, wd7000_intr_handle, SA_INTERRUPT, "wd7000", NULL)) { |
host | 1052 | drivers/scsi/wd7000.c | printk("wd7000_init: can't get IRQ %d.\n", host->irq); |
host | 1055 | drivers/scsi/wd7000.c | if (request_dma(host->dma,"wd7000")) { |
host | 1056 | drivers/scsi/wd7000.c | printk("wd7000_init: can't get DMA channel %d.\n", host->dma); |
host | 1057 | drivers/scsi/wd7000.c | free_irq(host->irq, NULL); |
host | 1060 | drivers/scsi/wd7000.c | wd7000_enable_dma(host); |
host | 1061 | drivers/scsi/wd7000.c | wd7000_enable_intr(host); |
host | 1063 | drivers/scsi/wd7000.c | if (!wd7000_diagnostics(host,ICB_DIAG_FULL)) { |
host | 1064 | drivers/scsi/wd7000.c | free_dma(host->dma); |
host | 1065 | drivers/scsi/wd7000.c | free_irq(host->irq, NULL); |
host | 1077 | drivers/scsi/wd7000.c | void wd7000_revision(Adapter *host) |
host | 1088 | drivers/scsi/wd7000.c | mail_out(host, (struct scb *) &icb); |
host | 1091 | drivers/scsi/wd7000.c | host->rev1 = icb.primary; |
host | 1092 | drivers/scsi/wd7000.c | host->rev2 = icb.secondary; |
host | 1111 | drivers/scsi/wd7000.c | Adapter *host = NULL; |
host | 1135 | drivers/scsi/wd7000.c | printk("IO %xh already in use.\n", host->iobase); |
host | 1146 | drivers/scsi/wd7000.c | host = (Adapter *) sh->hostdata; |
host | 1149 | drivers/scsi/wd7000.c | (int)host); |
host | 1151 | drivers/scsi/wd7000.c | memset( host, 0, sizeof(Adapter) ); |
host | 1152 | drivers/scsi/wd7000.c | host->sh = sh; |
host | 1153 | drivers/scsi/wd7000.c | host->irq = cfg->irq; |
host | 1154 | drivers/scsi/wd7000.c | host->iobase = cfg->iobase; |
host | 1155 | drivers/scsi/wd7000.c | host->dma = cfg->dma; |
host | 1156 | drivers/scsi/wd7000.c | irq2host[host->irq] = host; |
host | 1158 | drivers/scsi/wd7000.c | if (!wd7000_init(host)) { /* Initialization failed */ |
host | 1166 | drivers/scsi/wd7000.c | wd7000_revision(host); /* important for scatter/gather */ |
host | 1169 | drivers/scsi/wd7000.c | host->rev1, host->rev2); |
host | 1171 | drivers/scsi/wd7000.c | host->iobase, host->irq, host->dma); |
host | 1173 | drivers/scsi/wd7000.c | request_region(host->iobase, 4,"wd7000"); /* Register our ports */ |
host | 1177 | drivers/scsi/wd7000.c | if (host->rev1 < 6) sh->sg_tablesize = SG_NONE; |
host | 1196 | drivers/scsi/wd7000.c | Adapter *host = (Adapter *) SCpnt->host->hostdata; |
host | 1198 | drivers/scsi/wd7000.c | if (inb(host->iobase+ASC_STAT) & INT_IM) { |
host | 1200 | drivers/scsi/wd7000.c | wd7000_intr_handle(host->irq, NULL, NULL); |