tag | line | file | source code |
tpnt | 680 | drivers/scsi/53c7,8xx.c | static int normal_init (Scsi_Host_Template *tpnt, int board, int chip, |
tpnt | 729 | drivers/scsi/53c7,8xx.c | tpnt->sg_tablesize + |
tpnt | 760 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
tpnt | 861 | drivers/scsi/53c7,8xx.c | static int ncr_pci_init (Scsi_Host_Template *tpnt, int board, int chip, |
tpnt | 970 | drivers/scsi/53c7,8xx.c | return normal_init (tpnt, board, chip, (int) base, io_port, |
tpnt | 988 | drivers/scsi/53c7,8xx.c | int NCR53c7xx_detect(Scsi_Host_Template *tpnt) { |
tpnt | 995 | drivers/scsi/53c7,8xx.c | tpnt->proc_dir = &proc_scsi_ncr53c7xx; |
tpnt | 1000 | drivers/scsi/53c7,8xx.c | !ncr_pci_init (tpnt, overrides[current_override].board, |
tpnt | 1006 | drivers/scsi/53c7,8xx.c | !normal_init (tpnt, overrides[current_override].board, |
tpnt | 1025 | drivers/scsi/53c7,8xx.c | !ncr_pci_init (tpnt, BOARD_GENERIC, pci_chip_ids[i].chip, |
tpnt | 72 | drivers/scsi/53c7,8xx.h | extern int NCR53c7xx_detect(Scsi_Host_Template *tpnt); |
tpnt | 456 | drivers/scsi/NCR53c406a.c | NCR53c406a_detect(Scsi_Host_Template * tpnt){ |
tpnt | 538 | drivers/scsi/NCR53c406a.c | tpnt->can_queue = 1; |
tpnt | 542 | drivers/scsi/NCR53c406a.c | tpnt->can_queue = 0; |
tpnt | 564 | drivers/scsi/NCR53c406a.c | tpnt->present = 1; |
tpnt | 566 | drivers/scsi/NCR53c406a.c | shpnt = scsi_register(tpnt, 0); |
tpnt | 580 | drivers/scsi/NCR53c406a.c | return (tpnt->present); |
tpnt | 573 | drivers/scsi/aha152x.c | int aha152x_detect(Scsi_Host_Template * tpnt) |
tpnt | 582 | drivers/scsi/aha152x.c | tpnt->proc_dir = &proc_scsi_aha152x; |
tpnt | 755 | drivers/scsi/aha152x.c | tpnt->this_id=this_host; |
tpnt | 758 | drivers/scsi/aha152x.c | tpnt->can_queue=AHA152X_MAXQUEUE; |
tpnt | 777 | drivers/scsi/aha152x.c | hreg = scsi_register(tpnt, 0); |
tpnt | 925 | drivers/scsi/aha1542.c | int aha1542_detect(Scsi_Host_Template * tpnt) |
tpnt | 939 | drivers/scsi/aha1542.c | tpnt->proc_dir = &proc_scsi_aha1542; |
tpnt | 943 | drivers/scsi/aha1542.c | shpnt = scsi_register(tpnt, |
tpnt | 441 | drivers/scsi/aha1740.c | int aha1740_detect(Scsi_Host_Template * tpnt) |
tpnt | 443 | drivers/scsi/aha1740.c | tpnt->proc_dir = &proc_scsi_aha1740; |
tpnt | 1109 | drivers/scsi/buslogic.c | int buslogic_detect(Scsi_Host_Template *tpnt) |
tpnt | 1131 | drivers/scsi/buslogic.c | tpnt->proc_dir = &proc_scsi_buslogic; |
tpnt | 1132 | drivers/scsi/buslogic.c | tpnt->can_queue = BUSLOGIC_MAILBOXES; |
tpnt | 1135 | drivers/scsi/buslogic.c | shpnt = scsi_register(tpnt, sizeof (struct hostdata)); |
tpnt | 369 | drivers/scsi/eata.c | Scsi_Host_Template * tpnt) { |
tpnt | 479 | drivers/scsi/eata.c | sh[j] = scsi_register(tpnt, sizeof(struct hostdata)); |
tpnt | 553 | drivers/scsi/eata.c | int eata2x_detect (Scsi_Host_Template * tpnt) { |
tpnt | 564 | drivers/scsi/eata.c | tpnt->proc_dir = &proc_scsi_eata2x; |
tpnt | 578 | drivers/scsi/eata.c | if (j < MAX_BOARDS && port_detect(port_base, j, tpnt)) j++; |
tpnt | 848 | drivers/scsi/eata_dma.c | short register_HBA(u32 base, struct get_conf *gc, Scsi_Host_Template * tpnt, |
tpnt | 953 | drivers/scsi/eata_dma.c | sh = scsi_register(tpnt, size); |
tpnt | 1110 | drivers/scsi/eata_dma.c | void find_EISA(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 1137 | drivers/scsi/eata_dma.c | register_HBA(base, buf, tpnt, IS_EISA); |
tpnt | 1155 | drivers/scsi/eata_dma.c | void find_ISA(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 1163 | drivers/scsi/eata_dma.c | register_HBA(ISAbases[i], buf, tpnt, IS_ISA); |
tpnt | 1175 | drivers/scsi/eata_dma.c | void find_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 1252 | drivers/scsi/eata_dma.c | register_HBA(base, buf, tpnt, IS_PCI); |
tpnt | 1284 | drivers/scsi/eata_dma.c | int eata_detect(Scsi_Host_Template * tpnt) |
tpnt | 1293 | drivers/scsi/eata_dma.c | tpnt->proc_dir = &proc_scsi_eata_dma; |
tpnt | 1303 | drivers/scsi/eata_dma.c | find_PCI(&gc, tpnt); |
tpnt | 1305 | drivers/scsi/eata_dma.c | find_EISA(&gc, tpnt); |
tpnt | 1307 | drivers/scsi/eata_dma.c | find_ISA(&gc, tpnt); |
tpnt | 676 | drivers/scsi/eata_pio.c | int register_pio_HBA(long base, struct get_conf *gc, Scsi_Host_Template * tpnt) |
tpnt | 731 | drivers/scsi/eata_pio.c | sh = scsi_register(tpnt, size); |
tpnt | 819 | drivers/scsi/eata_pio.c | void find_pio_ISA(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 826 | drivers/scsi/eata_pio.c | register_pio_HBA(ISAbases[i], buf, tpnt); |
tpnt | 834 | drivers/scsi/eata_pio.c | void find_pio_EISA(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 861 | drivers/scsi/eata_pio.c | register_pio_HBA(base, buf, tpnt); |
tpnt | 875 | drivers/scsi/eata_pio.c | void find_pio_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 943 | drivers/scsi/eata_pio.c | register_pio_HBA(base, buf, tpnt); |
tpnt | 973 | drivers/scsi/eata_pio.c | int eata_pio_detect(Scsi_Host_Template * tpnt) |
tpnt | 982 | drivers/scsi/eata_pio.c | tpnt->proc_dir = &proc_scsi_eata_pio; |
tpnt | 984 | drivers/scsi/eata_pio.c | find_pio_PCI(&gc, tpnt); |
tpnt | 986 | drivers/scsi/eata_pio.c | find_pio_EISA(&gc, tpnt); |
tpnt | 988 | drivers/scsi/eata_pio.c | find_pio_ISA(&gc, tpnt); |
tpnt | 851 | drivers/scsi/fdomain.c | int fdomain_16x0_detect( Scsi_Host_Template *tpnt ) |
tpnt | 869 | drivers/scsi/fdomain.c | tpnt->proc_dir = &proc_scsi_fdomain; |
tpnt | 959 | drivers/scsi/fdomain.c | tpnt->this_id = (this_id & 0x07); |
tpnt | 960 | drivers/scsi/fdomain.c | adapter_mask = (1 << tpnt->this_id); |
tpnt | 963 | drivers/scsi/fdomain.c | tpnt->this_id = 7; |
tpnt | 966 | drivers/scsi/fdomain.c | tpnt->this_id = 6; |
tpnt | 974 | drivers/scsi/fdomain.c | shpnt = scsi_register( tpnt, 0 ); |
tpnt | 1023 | drivers/scsi/fdomain.c | if (i == tpnt->this_id) /* Skip host adapter */ |
tpnt | 125 | drivers/scsi/g_NCR5380.c | int generic_NCR5380_detect(Scsi_Host_Template * tpnt) { |
tpnt | 130 | drivers/scsi/g_NCR5380.c | tpnt->proc_dir = &proc_scsi_g_ncr5380; |
tpnt | 136 | drivers/scsi/g_NCR5380.c | instance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata)); |
tpnt | 268 | drivers/scsi/hosts.c | struct Scsi_Host * scsi_register(Scsi_Host_Template * tpnt, int j){ |
tpnt | 271 | drivers/scsi/hosts.c | (tpnt->unchecked_isa_dma && j ? GFP_DMA : 0) | GFP_ATOMIC); |
tpnt | 295 | drivers/scsi/hosts.c | retval->hostt = tpnt; |
tpnt | 303 | drivers/scsi/hosts.c | retval->this_id = tpnt->this_id; |
tpnt | 304 | drivers/scsi/hosts.c | retval->can_queue = tpnt->can_queue; |
tpnt | 305 | drivers/scsi/hosts.c | retval->sg_tablesize = tpnt->sg_tablesize; |
tpnt | 306 | drivers/scsi/hosts.c | retval->cmd_per_lun = tpnt->cmd_per_lun; |
tpnt | 307 | drivers/scsi/hosts.c | retval->unchecked_isa_dma = tpnt->unchecked_isa_dma; |
tpnt | 308 | drivers/scsi/hosts.c | retval->use_clustering = tpnt->use_clustering; |
tpnt | 334 | drivers/scsi/hosts.c | Scsi_Host_Template * tpnt; |
tpnt | 341 | drivers/scsi/hosts.c | for (tpnt = &builtin_scsi_hosts[0], i = 0; i < MAX_SCSI_HOSTS; ++i, tpnt++) |
tpnt | 349 | drivers/scsi/hosts.c | if ((tpnt->detect) && |
tpnt | 350 | drivers/scsi/hosts.c | (tpnt->present = |
tpnt | 351 | drivers/scsi/hosts.c | tpnt->detect(tpnt))) |
tpnt | 356 | drivers/scsi/hosts.c | if(tpnt->present > 1) |
tpnt | 360 | drivers/scsi/hosts.c | scsi_register(tpnt,0); |
tpnt | 362 | drivers/scsi/hosts.c | tpnt->next = scsi_hosts; |
tpnt | 363 | drivers/scsi/hosts.c | scsi_hosts = tpnt; |
tpnt | 367 | drivers/scsi/hosts.c | build_proc_dir_entries(tpnt); |
tpnt | 582 | drivers/scsi/in2000.c | int in2000_detect(Scsi_Host_Template * tpnt) |
tpnt | 592 | drivers/scsi/in2000.c | tpnt->proc_dir = &proc_scsi_in2000; |
tpnt | 647 | drivers/scsi/in2000.c | shpnt = scsi_register(tpnt, 0); |
tpnt | 352 | drivers/scsi/pas16.c | int pas16_detect(Scsi_Host_Template * tpnt) { |
tpnt | 359 | drivers/scsi/pas16.c | tpnt->proc_dir = &proc_scsi_pas16; |
tpnt | 393 | drivers/scsi/pas16.c | instance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata)); |
tpnt | 2605 | drivers/scsi/scsi.c | static int scsi_register_host(Scsi_Host_Template * tpnt) |
tpnt | 2613 | drivers/scsi/scsi.c | if (tpnt->next || !tpnt->detect) return 1;/* Must be already loaded, or |
tpnt | 2617 | drivers/scsi/scsi.c | if ((tpnt->present = tpnt->detect(tpnt))) |
tpnt | 2620 | drivers/scsi/scsi.c | if(tpnt->present > 1) { |
tpnt | 2622 | drivers/scsi/scsi.c | scsi_unregister_host(tpnt); |
tpnt | 2628 | drivers/scsi/scsi.c | scsi_register(tpnt,0); |
tpnt | 2630 | drivers/scsi/scsi.c | tpnt->next = scsi_hosts; /* Add to the linked list */ |
tpnt | 2631 | drivers/scsi/scsi.c | scsi_hosts = tpnt; |
tpnt | 2635 | drivers/scsi/scsi.c | build_proc_dir_entries(tpnt); |
tpnt | 2639 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) |
tpnt | 2641 | drivers/scsi/scsi.c | if(tpnt->info) |
tpnt | 2642 | drivers/scsi/scsi.c | name = tpnt->info(shpnt); |
tpnt | 2644 | drivers/scsi/scsi.c | name = tpnt->name; |
tpnt | 2659 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) scan_scsis(shpnt,0,0,0,0); |
tpnt | 2667 | drivers/scsi/scsi.c | if(SDpnt->host->hostt == tpnt) |
tpnt | 2701 | drivers/scsi/scsi.c | static void scsi_unregister_host(Scsi_Host_Template * tpnt) |
tpnt | 2715 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count |
tpnt | 2720 | drivers/scsi/scsi.c | if (shpnt->hostt != tpnt) continue; |
tpnt | 2740 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
tpnt | 2754 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
tpnt | 2769 | drivers/scsi/scsi.c | if (sdpnt->host->hostt == tpnt) { |
tpnt | 2785 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) { |
tpnt | 2790 | drivers/scsi/scsi.c | proc_scsi_unregister(tpnt->proc_dir, |
tpnt | 2793 | drivers/scsi/scsi.c | if(tpnt->release) |
tpnt | 2794 | drivers/scsi/scsi.c | (*tpnt->release)(shpnt); |
tpnt | 2806 | drivers/scsi/scsi.c | tpnt->present--; |
tpnt | 2834 | drivers/scsi/scsi.c | if (tpnt->present) return; |
tpnt | 2839 | drivers/scsi/scsi.c | if(SHT == tpnt) { |
tpnt | 2850 | drivers/scsi/scsi.c | proc_scsi_unregister(tpnt->proc_dir, tpnt->proc_dir->low_ino); |
tpnt | 2859 | drivers/scsi/scsi.c | static int scsi_register_device_module(struct Scsi_Device_Template * tpnt) |
tpnt | 2863 | drivers/scsi/scsi.c | if (tpnt->next) return 1; |
tpnt | 2865 | drivers/scsi/scsi.c | scsi_register_device(tpnt); |
tpnt | 2871 | drivers/scsi/scsi.c | if(tpnt->detect) SDpnt->attached += (*tpnt->detect)(SDpnt); |
tpnt | 2877 | drivers/scsi/scsi.c | if(tpnt->init && tpnt->dev_noticed) |
tpnt | 2878 | drivers/scsi/scsi.c | if ((*tpnt->init)()) return 1; |
tpnt | 2885 | drivers/scsi/scsi.c | if(tpnt->attach) (*tpnt->attach)(SDpnt); |
tpnt | 2897 | drivers/scsi/scsi.c | if(tpnt->finish && tpnt->nr_dev) (*tpnt->finish)(); |
tpnt | 2902 | drivers/scsi/scsi.c | static int scsi_unregister_device(struct Scsi_Device_Template * tpnt) |
tpnt | 2912 | drivers/scsi/scsi.c | if( *tpnt->usage_count != 0) return 0; |
tpnt | 2919 | drivers/scsi/scsi.c | if(tpnt->detach) (*tpnt->detach)(SDpnt); |
tpnt | 2947 | drivers/scsi/scsi.c | while(spnt != tpnt) |
tpnt | 2953 | drivers/scsi/scsi.c | scsi_devicelist = tpnt->next; |
tpnt | 556 | drivers/scsi/scsi_debug.c | int scsi_debug_detect(Scsi_Host_Template * tpnt) |
tpnt | 558 | drivers/scsi/scsi_debug.c | tpnt->proc_dir = &proc_scsi_scsi_debug; |
tpnt | 104 | drivers/scsi/scsi_proc.c | void build_proc_dir_entries(Scsi_Host_Template *tpnt) |
tpnt | 110 | drivers/scsi/scsi_proc.c | proc_scsi_register(0, tpnt->proc_dir); |
tpnt | 114 | drivers/scsi/scsi_proc.c | if (tpnt == hpnt->hostt) { |
tpnt | 124 | drivers/scsi/scsi_proc.c | proc_scsi_register(tpnt->proc_dir, &scsi_hba_dir->entry); |
tpnt | 286 | drivers/scsi/seagate.c | int seagate_st0x_detect (Scsi_Host_Template * tpnt) |
tpnt | 293 | drivers/scsi/seagate.c | tpnt->proc_dir = &proc_scsi_seagate; |
tpnt | 346 | drivers/scsi/seagate.c | tpnt->this_id = (controller_type == SEAGATE) ? 7 : 6; |
tpnt | 347 | drivers/scsi/seagate.c | tpnt->name = (controller_type == SEAGATE) ? ST0X_ID_STR : FD_ID_STR; |
tpnt | 354 | drivers/scsi/seagate.c | printk("%s detected. Base address = %x, cr = %x, dr = %x\n", tpnt->name, base_address, st0x_cr_sr, st0x_dr); |
tpnt | 360 | drivers/scsi/seagate.c | instance = scsi_register(tpnt, 0); |
tpnt | 389 | drivers/scsi/seagate.c | "\n", tpnt->name); |
tpnt | 2061 | drivers/scsi/st.c | Scsi_Tape * tpnt; |
tpnt | 2072 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
tpnt | 2073 | drivers/scsi/st.c | if(!tpnt->device) break; |
tpnt | 2083 | drivers/scsi/st.c | tpnt->devt = MKDEV(SCSI_TAPE_MAJOR, i); |
tpnt | 2084 | drivers/scsi/st.c | tpnt->dirty = 0; |
tpnt | 2085 | drivers/scsi/st.c | tpnt->rw = ST_IDLE; |
tpnt | 2086 | drivers/scsi/st.c | tpnt->eof = ST_NOEOF; |
tpnt | 2087 | drivers/scsi/st.c | tpnt->waiting = NULL; |
tpnt | 2088 | drivers/scsi/st.c | tpnt->in_use = 0; |
tpnt | 2089 | drivers/scsi/st.c | tpnt->drv_buffer = 1; /* Try buffering if no mode sense */ |
tpnt | 2090 | drivers/scsi/st.c | tpnt->density = 0; |
tpnt | 2091 | drivers/scsi/st.c | tpnt->do_buffer_writes = ST_BUFFER_WRITES; |
tpnt | 2092 | drivers/scsi/st.c | tpnt->do_async_writes = ST_ASYNC_WRITES; |
tpnt | 2093 | drivers/scsi/st.c | tpnt->do_read_ahead = ST_READ_AHEAD; |
tpnt | 2094 | drivers/scsi/st.c | tpnt->do_auto_lock = ST_AUTO_LOCK; |
tpnt | 2095 | drivers/scsi/st.c | tpnt->two_fm = ST_TWO_FM; |
tpnt | 2096 | drivers/scsi/st.c | tpnt->fast_mteom = ST_FAST_MTEOM; |
tpnt | 2097 | drivers/scsi/st.c | tpnt->write_threshold = st_write_threshold; |
tpnt | 2098 | drivers/scsi/st.c | tpnt->drv_block = 0; |
tpnt | 2099 | drivers/scsi/st.c | tpnt->moves_after_eof = 1; |
tpnt | 2100 | drivers/scsi/st.c | tpnt->at_sm = 0; |
tpnt | 2225 | drivers/scsi/st.c | Scsi_Tape * tpnt; |
tpnt | 2228 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
tpnt | 2229 | drivers/scsi/st.c | if(tpnt->device == SDp) { |
tpnt | 2230 | drivers/scsi/st.c | tpnt->device = NULL; |
tpnt | 199 | drivers/scsi/t128.c | int t128_detect(Scsi_Host_Template * tpnt) { |
tpnt | 205 | drivers/scsi/t128.c | tpnt->proc_dir = &proc_scsi_t128; |
tpnt | 236 | drivers/scsi/t128.c | instance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata)); |
tpnt | 346 | drivers/scsi/u14-34f.c | Scsi_Host_Template * tpnt) { |
tpnt | 422 | drivers/scsi/u14-34f.c | sh[j] = scsi_register(tpnt, sizeof(struct hostdata)); |
tpnt | 514 | drivers/scsi/u14-34f.c | int u14_34f_detect (Scsi_Host_Template * tpnt) { |
tpnt | 523 | drivers/scsi/u14-34f.c | tpnt->proc_dir = &proc_scsi_u14_34f; |
tpnt | 537 | drivers/scsi/u14-34f.c | if (j < MAX_BOARDS && port_detect(port_base, j, tpnt)) j++; |
tpnt | 355 | drivers/scsi/ultrastor.c | static int ultrastor_14f_detect(Scsi_Host_Template * tpnt) |
tpnt | 503 | drivers/scsi/ultrastor.c | tpnt->this_id = config.ha_scsi_id; |
tpnt | 504 | drivers/scsi/ultrastor.c | tpnt->unchecked_isa_dma = (config.subversion != U34F); |
tpnt | 521 | drivers/scsi/ultrastor.c | tpnt->sg_tablesize = ULTRASTOR_14F_MAX_SG; |
tpnt | 528 | drivers/scsi/ultrastor.c | static int ultrastor_24f_detect(Scsi_Host_Template * tpnt) |
tpnt | 605 | drivers/scsi/ultrastor.c | tpnt->this_id = config.ha_scsi_id; |
tpnt | 606 | drivers/scsi/ultrastor.c | tpnt->unchecked_isa_dma = 0; |
tpnt | 607 | drivers/scsi/ultrastor.c | tpnt->sg_tablesize = ULTRASTOR_24F_MAX_SG; |
tpnt | 609 | drivers/scsi/ultrastor.c | shpnt = scsi_register(tpnt, 0); |
tpnt | 626 | drivers/scsi/ultrastor.c | tpnt->sg_tablesize); |
tpnt | 632 | drivers/scsi/ultrastor.c | int ultrastor_detect(Scsi_Host_Template * tpnt) |
tpnt | 634 | drivers/scsi/ultrastor.c | tpnt->proc_dir = &proc_scsi_ultrastor; |
tpnt | 635 | drivers/scsi/ultrastor.c | return ultrastor_14f_detect(tpnt) || ultrastor_24f_detect(tpnt); |
tpnt | 1096 | drivers/scsi/wd7000.c | int wd7000_detect(Scsi_Host_Template * tpnt) |
tpnt | 1114 | drivers/scsi/wd7000.c | tpnt->proc_dir = &proc_scsi_wd7000; |
tpnt | 1145 | drivers/scsi/wd7000.c | sh = scsi_register(tpnt, sizeof(Adapter) ); |