tag | line | file | source code |
tpnt | 682 | drivers/scsi/53c7,8xx.c | static int normal_init (Scsi_Host_Template *tpnt, int board, int chip, |
tpnt | 731 | drivers/scsi/53c7,8xx.c | tpnt->sg_tablesize + |
tpnt | 762 | drivers/scsi/53c7,8xx.c | instance = scsi_register (tpnt, size); |
tpnt | 863 | drivers/scsi/53c7,8xx.c | static int ncr_pci_init (Scsi_Host_Template *tpnt, int board, int chip, |
tpnt | 972 | drivers/scsi/53c7,8xx.c | return normal_init (tpnt, board, chip, (int) base, io_port, |
tpnt | 990 | drivers/scsi/53c7,8xx.c | int NCR53c7xx_detect(Scsi_Host_Template *tpnt) { |
tpnt | 997 | drivers/scsi/53c7,8xx.c | tpnt->proc_dir = &proc_scsi_ncr53c7xx; |
tpnt | 1002 | drivers/scsi/53c7,8xx.c | !ncr_pci_init (tpnt, overrides[current_override].board, |
tpnt | 1008 | drivers/scsi/53c7,8xx.c | !normal_init (tpnt, overrides[current_override].board, |
tpnt | 1027 | 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 | 459 | drivers/scsi/NCR53c406a.c | NCR53c406a_detect(Scsi_Host_Template * tpnt){ |
tpnt | 541 | drivers/scsi/NCR53c406a.c | tpnt->can_queue = 1; |
tpnt | 545 | drivers/scsi/NCR53c406a.c | tpnt->can_queue = 0; |
tpnt | 567 | drivers/scsi/NCR53c406a.c | tpnt->present = 1; |
tpnt | 569 | drivers/scsi/NCR53c406a.c | shpnt = scsi_register(tpnt, 0); |
tpnt | 583 | drivers/scsi/NCR53c406a.c | return (tpnt->present); |
tpnt | 576 | drivers/scsi/aha152x.c | int aha152x_detect(Scsi_Host_Template * tpnt) |
tpnt | 585 | drivers/scsi/aha152x.c | tpnt->proc_dir = &proc_scsi_aha152x; |
tpnt | 758 | drivers/scsi/aha152x.c | tpnt->this_id=this_host; |
tpnt | 761 | drivers/scsi/aha152x.c | tpnt->can_queue=AHA152X_MAXQUEUE; |
tpnt | 780 | 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 | 842 | drivers/scsi/eata_dma.c | short register_HBA(u32 base, struct get_conf *gc, Scsi_Host_Template * tpnt, |
tpnt | 947 | drivers/scsi/eata_dma.c | sh = scsi_register(tpnt, size); |
tpnt | 1103 | drivers/scsi/eata_dma.c | void find_EISA(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 1130 | drivers/scsi/eata_dma.c | register_HBA(base, buf, tpnt, IS_EISA); |
tpnt | 1148 | drivers/scsi/eata_dma.c | void find_ISA(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 1156 | drivers/scsi/eata_dma.c | register_HBA(ISAbases[i], buf, tpnt, IS_ISA); |
tpnt | 1168 | drivers/scsi/eata_dma.c | void find_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 1243 | drivers/scsi/eata_dma.c | register_HBA(base, buf, tpnt, IS_PCI); |
tpnt | 1275 | drivers/scsi/eata_dma.c | int eata_detect(Scsi_Host_Template * tpnt) |
tpnt | 1284 | drivers/scsi/eata_dma.c | tpnt->proc_dir = &proc_scsi_eata_dma; |
tpnt | 1294 | drivers/scsi/eata_dma.c | find_PCI(&gc, tpnt); |
tpnt | 1296 | drivers/scsi/eata_dma.c | find_EISA(&gc, tpnt); |
tpnt | 1298 | drivers/scsi/eata_dma.c | find_ISA(&gc, tpnt); |
tpnt | 677 | drivers/scsi/eata_pio.c | int register_pio_HBA(long base, struct get_conf *gc, Scsi_Host_Template * tpnt) |
tpnt | 732 | drivers/scsi/eata_pio.c | sh = scsi_register(tpnt, size); |
tpnt | 820 | drivers/scsi/eata_pio.c | void find_pio_ISA(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 827 | drivers/scsi/eata_pio.c | register_pio_HBA(ISAbases[i], buf, tpnt); |
tpnt | 835 | drivers/scsi/eata_pio.c | void find_pio_EISA(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 862 | drivers/scsi/eata_pio.c | register_pio_HBA(base, buf, tpnt); |
tpnt | 876 | drivers/scsi/eata_pio.c | void find_pio_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt) |
tpnt | 944 | drivers/scsi/eata_pio.c | register_pio_HBA(base, buf, tpnt); |
tpnt | 974 | drivers/scsi/eata_pio.c | int eata_pio_detect(Scsi_Host_Template * tpnt) |
tpnt | 983 | drivers/scsi/eata_pio.c | tpnt->proc_dir = &proc_scsi_eata_pio; |
tpnt | 985 | drivers/scsi/eata_pio.c | find_pio_PCI(&gc, tpnt); |
tpnt | 987 | drivers/scsi/eata_pio.c | find_pio_EISA(&gc, tpnt); |
tpnt | 989 | drivers/scsi/eata_pio.c | find_pio_ISA(&gc, tpnt); |
tpnt | 848 | drivers/scsi/fdomain.c | int fdomain_16x0_detect( Scsi_Host_Template *tpnt ) |
tpnt | 866 | drivers/scsi/fdomain.c | tpnt->proc_dir = &proc_scsi_fdomain; |
tpnt | 956 | drivers/scsi/fdomain.c | tpnt->this_id = (this_id & 0x7); |
tpnt | 957 | drivers/scsi/fdomain.c | adapter_mask = (1 << tpnt->this_id); |
tpnt | 960 | drivers/scsi/fdomain.c | tpnt->this_id = 7; |
tpnt | 963 | drivers/scsi/fdomain.c | tpnt->this_id = 6; |
tpnt | 971 | drivers/scsi/fdomain.c | shpnt = scsi_register( tpnt, 0 ); |
tpnt | 1020 | 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 | 274 | drivers/scsi/hosts.c | struct Scsi_Host * scsi_register(Scsi_Host_Template * tpnt, int j){ |
tpnt | 277 | drivers/scsi/hosts.c | (tpnt->unchecked_isa_dma && j ? GFP_DMA : 0) | GFP_ATOMIC); |
tpnt | 301 | drivers/scsi/hosts.c | retval->hostt = tpnt; |
tpnt | 309 | drivers/scsi/hosts.c | retval->this_id = tpnt->this_id; |
tpnt | 310 | drivers/scsi/hosts.c | retval->can_queue = tpnt->can_queue; |
tpnt | 311 | drivers/scsi/hosts.c | retval->sg_tablesize = tpnt->sg_tablesize; |
tpnt | 312 | drivers/scsi/hosts.c | retval->cmd_per_lun = tpnt->cmd_per_lun; |
tpnt | 313 | drivers/scsi/hosts.c | retval->unchecked_isa_dma = tpnt->unchecked_isa_dma; |
tpnt | 314 | drivers/scsi/hosts.c | retval->use_clustering = tpnt->use_clustering; |
tpnt | 340 | drivers/scsi/hosts.c | Scsi_Host_Template * tpnt; |
tpnt | 347 | drivers/scsi/hosts.c | for (tpnt = &builtin_scsi_hosts[0], i = 0; i < MAX_SCSI_HOSTS; ++i, tpnt++) |
tpnt | 355 | drivers/scsi/hosts.c | if ((tpnt->detect) && |
tpnt | 356 | drivers/scsi/hosts.c | (tpnt->present = |
tpnt | 357 | drivers/scsi/hosts.c | tpnt->detect(tpnt))) |
tpnt | 362 | drivers/scsi/hosts.c | if(tpnt->present > 1) |
tpnt | 366 | drivers/scsi/hosts.c | scsi_register(tpnt,0); |
tpnt | 368 | drivers/scsi/hosts.c | tpnt->next = scsi_hosts; |
tpnt | 369 | drivers/scsi/hosts.c | scsi_hosts = tpnt; |
tpnt | 373 | 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 | 2648 | drivers/scsi/scsi.c | static int scsi_register_host(Scsi_Host_Template * tpnt) |
tpnt | 2659 | drivers/scsi/scsi.c | if (tpnt->next || !tpnt->detect) return 1;/* Must be already loaded, or |
tpnt | 2663 | drivers/scsi/scsi.c | if ((tpnt->present = tpnt->detect(tpnt))) |
tpnt | 2666 | drivers/scsi/scsi.c | if(tpnt->present > 1) { |
tpnt | 2668 | drivers/scsi/scsi.c | scsi_unregister_host(tpnt); |
tpnt | 2674 | drivers/scsi/scsi.c | scsi_register(tpnt,0); |
tpnt | 2676 | drivers/scsi/scsi.c | tpnt->next = scsi_hosts; /* Add to the linked list */ |
tpnt | 2677 | drivers/scsi/scsi.c | scsi_hosts = tpnt; |
tpnt | 2681 | drivers/scsi/scsi.c | build_proc_dir_entries(tpnt); |
tpnt | 2685 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) |
tpnt | 2687 | drivers/scsi/scsi.c | if(tpnt->info) |
tpnt | 2688 | drivers/scsi/scsi.c | name = tpnt->info(shpnt); |
tpnt | 2690 | drivers/scsi/scsi.c | name = tpnt->name; |
tpnt | 2705 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) scan_scsis(shpnt,0,0,0,0); |
tpnt | 2713 | drivers/scsi/scsi.c | if(SDpnt->host->hostt == tpnt) |
tpnt | 2825 | drivers/scsi/scsi.c | static void scsi_unregister_host(Scsi_Host_Template * tpnt) |
tpnt | 2839 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count |
tpnt | 2844 | drivers/scsi/scsi.c | if (shpnt->hostt != tpnt) continue; |
tpnt | 2864 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
tpnt | 2878 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
tpnt | 2893 | drivers/scsi/scsi.c | if (sdpnt->host->hostt == tpnt) { |
tpnt | 2909 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) { |
tpnt | 2914 | drivers/scsi/scsi.c | proc_scsi_unregister(tpnt->proc_dir, |
tpnt | 2917 | drivers/scsi/scsi.c | if(tpnt->release) |
tpnt | 2918 | drivers/scsi/scsi.c | (*tpnt->release)(shpnt); |
tpnt | 2930 | drivers/scsi/scsi.c | tpnt->present--; |
tpnt | 2950 | drivers/scsi/scsi.c | if (tpnt->present) return; |
tpnt | 2955 | drivers/scsi/scsi.c | if(SHT == tpnt) { |
tpnt | 2966 | drivers/scsi/scsi.c | proc_scsi_unregister(tpnt->proc_dir, tpnt->proc_dir->low_ino); |
tpnt | 2975 | drivers/scsi/scsi.c | static int scsi_register_device_module(struct Scsi_Device_Template * tpnt) |
tpnt | 2979 | drivers/scsi/scsi.c | if (tpnt->next) return 1; |
tpnt | 2981 | drivers/scsi/scsi.c | scsi_register_device(tpnt); |
tpnt | 2987 | drivers/scsi/scsi.c | if(tpnt->detect) SDpnt->attached += (*tpnt->detect)(SDpnt); |
tpnt | 2993 | drivers/scsi/scsi.c | if(tpnt->init && tpnt->dev_noticed) |
tpnt | 2994 | drivers/scsi/scsi.c | if ((*tpnt->init)()) return 1; |
tpnt | 3001 | drivers/scsi/scsi.c | if(tpnt->attach) (*tpnt->attach)(SDpnt); |
tpnt | 3013 | drivers/scsi/scsi.c | if(tpnt->finish && tpnt->nr_dev) (*tpnt->finish)(); |
tpnt | 3018 | drivers/scsi/scsi.c | static int scsi_unregister_device(struct Scsi_Device_Template * tpnt) |
tpnt | 3028 | drivers/scsi/scsi.c | if( *tpnt->usage_count != 0) return 0; |
tpnt | 3035 | drivers/scsi/scsi.c | if(tpnt->detach) (*tpnt->detach)(SDpnt); |
tpnt | 3063 | drivers/scsi/scsi.c | while(spnt != tpnt) |
tpnt | 3069 | 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 | 110 | drivers/scsi/scsi_proc.c | void build_proc_dir_entries(Scsi_Host_Template *tpnt) |
tpnt | 116 | drivers/scsi/scsi_proc.c | proc_scsi_register(0, tpnt->proc_dir); |
tpnt | 120 | drivers/scsi/scsi_proc.c | if (tpnt == hpnt->hostt) { |
tpnt | 130 | 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 | 2064 | drivers/scsi/st.c | Scsi_Tape * tpnt; |
tpnt | 2075 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
tpnt | 2076 | drivers/scsi/st.c | if(!tpnt->device) break; |
tpnt | 2086 | drivers/scsi/st.c | tpnt->devt = MKDEV(SCSI_TAPE_MAJOR, i); |
tpnt | 2087 | drivers/scsi/st.c | tpnt->dirty = 0; |
tpnt | 2088 | drivers/scsi/st.c | tpnt->rw = ST_IDLE; |
tpnt | 2089 | drivers/scsi/st.c | tpnt->eof = ST_NOEOF; |
tpnt | 2090 | drivers/scsi/st.c | tpnt->waiting = NULL; |
tpnt | 2091 | drivers/scsi/st.c | tpnt->in_use = 0; |
tpnt | 2092 | drivers/scsi/st.c | tpnt->drv_buffer = 1; /* Try buffering if no mode sense */ |
tpnt | 2093 | drivers/scsi/st.c | tpnt->density = 0; |
tpnt | 2094 | drivers/scsi/st.c | tpnt->do_buffer_writes = ST_BUFFER_WRITES; |
tpnt | 2095 | drivers/scsi/st.c | tpnt->do_async_writes = ST_ASYNC_WRITES; |
tpnt | 2096 | drivers/scsi/st.c | tpnt->do_read_ahead = ST_READ_AHEAD; |
tpnt | 2097 | drivers/scsi/st.c | tpnt->do_auto_lock = ST_AUTO_LOCK; |
tpnt | 2098 | drivers/scsi/st.c | tpnt->two_fm = ST_TWO_FM; |
tpnt | 2099 | drivers/scsi/st.c | tpnt->fast_mteom = ST_FAST_MTEOM; |
tpnt | 2100 | drivers/scsi/st.c | tpnt->write_threshold = st_write_threshold; |
tpnt | 2101 | drivers/scsi/st.c | tpnt->drv_block = 0; |
tpnt | 2102 | drivers/scsi/st.c | tpnt->moves_after_eof = 1; |
tpnt | 2103 | drivers/scsi/st.c | tpnt->at_sm = 0; |
tpnt | 2228 | drivers/scsi/st.c | Scsi_Tape * tpnt; |
tpnt | 2231 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
tpnt | 2232 | drivers/scsi/st.c | if(tpnt->device == SDp) { |
tpnt | 2233 | 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) ); |