taglinefilesource code
tpnt680drivers/scsi/53c7,8xx.cstatic int normal_init (Scsi_Host_Template *tpnt, int board, int chip, 
tpnt729drivers/scsi/53c7,8xx.ctpnt->sg_tablesize + 
tpnt760drivers/scsi/53c7,8xx.cinstance = scsi_register (tpnt, size);
tpnt861drivers/scsi/53c7,8xx.cstatic int ncr_pci_init (Scsi_Host_Template *tpnt, int board, int chip, 
tpnt970drivers/scsi/53c7,8xx.creturn normal_init (tpnt, board, chip, (int) base, io_port, 
tpnt988drivers/scsi/53c7,8xx.cint NCR53c7xx_detect(Scsi_Host_Template *tpnt) {
tpnt995drivers/scsi/53c7,8xx.ctpnt->proc_dir = &proc_scsi_ncr53c7xx;
tpnt1000drivers/scsi/53c7,8xx.c!ncr_pci_init (tpnt, overrides[current_override].board,
tpnt1006drivers/scsi/53c7,8xx.c!normal_init (tpnt, overrides[current_override].board, 
tpnt1025drivers/scsi/53c7,8xx.c!ncr_pci_init (tpnt, BOARD_GENERIC, pci_chip_ids[i].chip, 
tpnt72drivers/scsi/53c7,8xx.hextern int NCR53c7xx_detect(Scsi_Host_Template *tpnt);
tpnt456drivers/scsi/NCR53c406a.cNCR53c406a_detect(Scsi_Host_Template * tpnt){
tpnt538drivers/scsi/NCR53c406a.ctpnt->can_queue = 1;
tpnt542drivers/scsi/NCR53c406a.ctpnt->can_queue = 0;
tpnt564drivers/scsi/NCR53c406a.ctpnt->present = 1;
tpnt566drivers/scsi/NCR53c406a.cshpnt = scsi_register(tpnt, 0);
tpnt580drivers/scsi/NCR53c406a.creturn (tpnt->present);
tpnt573drivers/scsi/aha152x.cint aha152x_detect(Scsi_Host_Template * tpnt)
tpnt582drivers/scsi/aha152x.ctpnt->proc_dir = &proc_scsi_aha152x;
tpnt755drivers/scsi/aha152x.ctpnt->this_id=this_host;
tpnt758drivers/scsi/aha152x.ctpnt->can_queue=AHA152X_MAXQUEUE;
tpnt777drivers/scsi/aha152x.chreg = scsi_register(tpnt, 0);
tpnt925drivers/scsi/aha1542.cint aha1542_detect(Scsi_Host_Template * tpnt)
tpnt939drivers/scsi/aha1542.ctpnt->proc_dir = &proc_scsi_aha1542;
tpnt943drivers/scsi/aha1542.cshpnt = scsi_register(tpnt,
tpnt441drivers/scsi/aha1740.cint aha1740_detect(Scsi_Host_Template * tpnt)
tpnt443drivers/scsi/aha1740.ctpnt->proc_dir = &proc_scsi_aha1740;
tpnt1109drivers/scsi/buslogic.cint buslogic_detect(Scsi_Host_Template *tpnt)
tpnt1131drivers/scsi/buslogic.ctpnt->proc_dir = &proc_scsi_buslogic; 
tpnt1132drivers/scsi/buslogic.ctpnt->can_queue = BUSLOGIC_MAILBOXES;
tpnt1135drivers/scsi/buslogic.cshpnt = scsi_register(tpnt, sizeof (struct hostdata));
tpnt369drivers/scsi/eata.cScsi_Host_Template * tpnt) {
tpnt479drivers/scsi/eata.csh[j] = scsi_register(tpnt, sizeof(struct hostdata));
tpnt553drivers/scsi/eata.cint eata2x_detect (Scsi_Host_Template * tpnt) {
tpnt564drivers/scsi/eata.ctpnt->proc_dir = &proc_scsi_eata2x;
tpnt578drivers/scsi/eata.cif (j < MAX_BOARDS && port_detect(port_base, j, tpnt)) j++;
tpnt848drivers/scsi/eata_dma.cshort register_HBA(u32 base, struct get_conf *gc, Scsi_Host_Template * tpnt, 
tpnt953drivers/scsi/eata_dma.csh = scsi_register(tpnt, size);
tpnt1110drivers/scsi/eata_dma.cvoid find_EISA(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt1137drivers/scsi/eata_dma.cregister_HBA(base, buf, tpnt, IS_EISA);
tpnt1155drivers/scsi/eata_dma.cvoid find_ISA(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt1163drivers/scsi/eata_dma.cregister_HBA(ISAbases[i], buf, tpnt, IS_ISA);
tpnt1175drivers/scsi/eata_dma.cvoid find_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt1252drivers/scsi/eata_dma.cregister_HBA(base, buf, tpnt, IS_PCI);
tpnt1284drivers/scsi/eata_dma.cint eata_detect(Scsi_Host_Template * tpnt)
tpnt1293drivers/scsi/eata_dma.ctpnt->proc_dir = &proc_scsi_eata_dma;
tpnt1303drivers/scsi/eata_dma.cfind_PCI(&gc, tpnt);
tpnt1305drivers/scsi/eata_dma.cfind_EISA(&gc, tpnt);
tpnt1307drivers/scsi/eata_dma.cfind_ISA(&gc, tpnt);
tpnt676drivers/scsi/eata_pio.cint register_pio_HBA(long base, struct get_conf *gc, Scsi_Host_Template * tpnt)
tpnt731drivers/scsi/eata_pio.csh = scsi_register(tpnt, size);
tpnt819drivers/scsi/eata_pio.cvoid find_pio_ISA(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt826drivers/scsi/eata_pio.cregister_pio_HBA(ISAbases[i], buf, tpnt);
tpnt834drivers/scsi/eata_pio.cvoid find_pio_EISA(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt861drivers/scsi/eata_pio.cregister_pio_HBA(base, buf, tpnt);
tpnt875drivers/scsi/eata_pio.cvoid find_pio_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt943drivers/scsi/eata_pio.cregister_pio_HBA(base, buf, tpnt);
tpnt973drivers/scsi/eata_pio.cint eata_pio_detect(Scsi_Host_Template * tpnt)
tpnt982drivers/scsi/eata_pio.ctpnt->proc_dir = &proc_scsi_eata_pio;
tpnt984drivers/scsi/eata_pio.cfind_pio_PCI(&gc, tpnt);
tpnt986drivers/scsi/eata_pio.cfind_pio_EISA(&gc, tpnt);
tpnt988drivers/scsi/eata_pio.cfind_pio_ISA(&gc, tpnt);
tpnt851drivers/scsi/fdomain.cint fdomain_16x0_detect( Scsi_Host_Template *tpnt )
tpnt869drivers/scsi/fdomain.ctpnt->proc_dir = &proc_scsi_fdomain;
tpnt959drivers/scsi/fdomain.ctpnt->this_id = (this_id & 0x07);
tpnt960drivers/scsi/fdomain.cadapter_mask  = (1 << tpnt->this_id);
tpnt963drivers/scsi/fdomain.ctpnt->this_id = 7;
tpnt966drivers/scsi/fdomain.ctpnt->this_id = 6;
tpnt974drivers/scsi/fdomain.cshpnt = scsi_register( tpnt, 0 );
tpnt1023drivers/scsi/fdomain.cif (i == tpnt->this_id)  /* Skip host adapter */
tpnt125drivers/scsi/g_NCR5380.cint generic_NCR5380_detect(Scsi_Host_Template * tpnt) {
tpnt130drivers/scsi/g_NCR5380.ctpnt->proc_dir = &proc_scsi_g_ncr5380;
tpnt136drivers/scsi/g_NCR5380.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
tpnt268drivers/scsi/hosts.cstruct Scsi_Host * scsi_register(Scsi_Host_Template * tpnt, int j){
tpnt271drivers/scsi/hosts.c(tpnt->unchecked_isa_dma && j ? GFP_DMA : 0) | GFP_ATOMIC);
tpnt295drivers/scsi/hosts.cretval->hostt = tpnt;
tpnt303drivers/scsi/hosts.cretval->this_id = tpnt->this_id;
tpnt304drivers/scsi/hosts.cretval->can_queue = tpnt->can_queue;
tpnt305drivers/scsi/hosts.cretval->sg_tablesize = tpnt->sg_tablesize;
tpnt306drivers/scsi/hosts.cretval->cmd_per_lun = tpnt->cmd_per_lun;
tpnt307drivers/scsi/hosts.cretval->unchecked_isa_dma = tpnt->unchecked_isa_dma;
tpnt308drivers/scsi/hosts.cretval->use_clustering = tpnt->use_clustering;   
tpnt334drivers/scsi/hosts.cScsi_Host_Template * tpnt;
tpnt341drivers/scsi/hosts.cfor (tpnt = &builtin_scsi_hosts[0], i = 0; i < MAX_SCSI_HOSTS; ++i, tpnt++)
tpnt349drivers/scsi/hosts.cif ((tpnt->detect) &&
tpnt350drivers/scsi/hosts.c(tpnt->present =
tpnt351drivers/scsi/hosts.ctpnt->detect(tpnt)))
tpnt356drivers/scsi/hosts.cif(tpnt->present > 1)
tpnt360drivers/scsi/hosts.cscsi_register(tpnt,0);
tpnt362drivers/scsi/hosts.ctpnt->next = scsi_hosts;
tpnt363drivers/scsi/hosts.cscsi_hosts = tpnt;
tpnt367drivers/scsi/hosts.cbuild_proc_dir_entries(tpnt);    
tpnt582drivers/scsi/in2000.cint in2000_detect(Scsi_Host_Template * tpnt)
tpnt592drivers/scsi/in2000.ctpnt->proc_dir = &proc_scsi_in2000;
tpnt647drivers/scsi/in2000.cshpnt = scsi_register(tpnt, 0);
tpnt352drivers/scsi/pas16.cint pas16_detect(Scsi_Host_Template * tpnt) {
tpnt359drivers/scsi/pas16.ctpnt->proc_dir = &proc_scsi_pas16;
tpnt393drivers/scsi/pas16.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
tpnt2605drivers/scsi/scsi.cstatic int scsi_register_host(Scsi_Host_Template * tpnt)
tpnt2613drivers/scsi/scsi.cif (tpnt->next || !tpnt->detect) return 1;/* Must be already loaded, or
tpnt2617drivers/scsi/scsi.cif ((tpnt->present = tpnt->detect(tpnt)))
tpnt2620drivers/scsi/scsi.cif(tpnt->present > 1) {
tpnt2622drivers/scsi/scsi.cscsi_unregister_host(tpnt);
tpnt2628drivers/scsi/scsi.cscsi_register(tpnt,0);
tpnt2630drivers/scsi/scsi.ctpnt->next = scsi_hosts; /* Add to the linked list */
tpnt2631drivers/scsi/scsi.cscsi_hosts = tpnt;
tpnt2635drivers/scsi/scsi.cbuild_proc_dir_entries(tpnt);
tpnt2639drivers/scsi/scsi.cif(shpnt->hostt == tpnt)
tpnt2641drivers/scsi/scsi.cif(tpnt->info)
tpnt2642drivers/scsi/scsi.cname = tpnt->info(shpnt);
tpnt2644drivers/scsi/scsi.cname = tpnt->name;
tpnt2659drivers/scsi/scsi.cif(shpnt->hostt == tpnt) scan_scsis(shpnt,0,0,0,0);
tpnt2667drivers/scsi/scsi.cif(SDpnt->host->hostt == tpnt)
tpnt2701drivers/scsi/scsi.cstatic void scsi_unregister_host(Scsi_Host_Template * tpnt)
tpnt2715drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count
tpnt2720drivers/scsi/scsi.cif (shpnt->hostt != tpnt) continue;
tpnt2740drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt)
tpnt2754drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt)
tpnt2769drivers/scsi/scsi.cif (sdpnt->host->hostt == tpnt) {
tpnt2785drivers/scsi/scsi.cif(shpnt->hostt == tpnt) {
tpnt2790drivers/scsi/scsi.cproc_scsi_unregister(tpnt->proc_dir, 
tpnt2793drivers/scsi/scsi.cif(tpnt->release)
tpnt2794drivers/scsi/scsi.c(*tpnt->release)(shpnt);
tpnt2806drivers/scsi/scsi.ctpnt->present--;
tpnt2834drivers/scsi/scsi.cif (tpnt->present) return;
tpnt2839drivers/scsi/scsi.cif(SHT == tpnt) {
tpnt2850drivers/scsi/scsi.cproc_scsi_unregister(tpnt->proc_dir, tpnt->proc_dir->low_ino);
tpnt2859drivers/scsi/scsi.cstatic int scsi_register_device_module(struct Scsi_Device_Template * tpnt)
tpnt2863drivers/scsi/scsi.cif (tpnt->next) return 1;
tpnt2865drivers/scsi/scsi.cscsi_register_device(tpnt);
tpnt2871drivers/scsi/scsi.cif(tpnt->detect) SDpnt->attached += (*tpnt->detect)(SDpnt);
tpnt2877drivers/scsi/scsi.cif(tpnt->init && tpnt->dev_noticed)
tpnt2878drivers/scsi/scsi.cif ((*tpnt->init)()) return 1;
tpnt2885drivers/scsi/scsi.cif(tpnt->attach)  (*tpnt->attach)(SDpnt);
tpnt2897drivers/scsi/scsi.cif(tpnt->finish && tpnt->nr_dev)  (*tpnt->finish)();
tpnt2902drivers/scsi/scsi.cstatic int scsi_unregister_device(struct Scsi_Device_Template * tpnt)
tpnt2912drivers/scsi/scsi.cif( *tpnt->usage_count != 0) return 0;
tpnt2919drivers/scsi/scsi.cif(tpnt->detach) (*tpnt->detach)(SDpnt);
tpnt2947drivers/scsi/scsi.cwhile(spnt != tpnt)
tpnt2953drivers/scsi/scsi.cscsi_devicelist = tpnt->next;
tpnt556drivers/scsi/scsi_debug.cint scsi_debug_detect(Scsi_Host_Template * tpnt)
tpnt558drivers/scsi/scsi_debug.ctpnt->proc_dir = &proc_scsi_scsi_debug;
tpnt104drivers/scsi/scsi_proc.cvoid build_proc_dir_entries(Scsi_Host_Template *tpnt)
tpnt110drivers/scsi/scsi_proc.cproc_scsi_register(0, tpnt->proc_dir);
tpnt114drivers/scsi/scsi_proc.cif (tpnt == hpnt->hostt) {
tpnt124drivers/scsi/scsi_proc.cproc_scsi_register(tpnt->proc_dir, &scsi_hba_dir->entry);
tpnt286drivers/scsi/seagate.cint seagate_st0x_detect (Scsi_Host_Template * tpnt)
tpnt293drivers/scsi/seagate.ctpnt->proc_dir = &proc_scsi_seagate;
tpnt346drivers/scsi/seagate.ctpnt->this_id = (controller_type == SEAGATE) ? 7 : 6;
tpnt347drivers/scsi/seagate.ctpnt->name = (controller_type == SEAGATE) ? ST0X_ID_STR : FD_ID_STR;
tpnt354drivers/scsi/seagate.cprintk("%s detected. Base address = %x, cr = %x, dr = %x\n", tpnt->name, base_address, st0x_cr_sr, st0x_dr);
tpnt360drivers/scsi/seagate.cinstance = scsi_register(tpnt, 0);
tpnt389drivers/scsi/seagate.c"\n", tpnt->name);
tpnt2061drivers/scsi/st.cScsi_Tape * tpnt;
tpnt2072drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
tpnt2073drivers/scsi/st.cif(!tpnt->device) break;
tpnt2083drivers/scsi/st.ctpnt->devt = MKDEV(SCSI_TAPE_MAJOR, i);
tpnt2084drivers/scsi/st.ctpnt->dirty = 0;
tpnt2085drivers/scsi/st.ctpnt->rw = ST_IDLE;
tpnt2086drivers/scsi/st.ctpnt->eof = ST_NOEOF;
tpnt2087drivers/scsi/st.ctpnt->waiting = NULL;
tpnt2088drivers/scsi/st.ctpnt->in_use = 0;
tpnt2089drivers/scsi/st.ctpnt->drv_buffer = 1;  /* Try buffering if no mode sense */
tpnt2090drivers/scsi/st.ctpnt->density = 0;
tpnt2091drivers/scsi/st.ctpnt->do_buffer_writes = ST_BUFFER_WRITES;
tpnt2092drivers/scsi/st.ctpnt->do_async_writes = ST_ASYNC_WRITES;
tpnt2093drivers/scsi/st.ctpnt->do_read_ahead = ST_READ_AHEAD;
tpnt2094drivers/scsi/st.ctpnt->do_auto_lock = ST_AUTO_LOCK;
tpnt2095drivers/scsi/st.ctpnt->two_fm = ST_TWO_FM;
tpnt2096drivers/scsi/st.ctpnt->fast_mteom = ST_FAST_MTEOM;
tpnt2097drivers/scsi/st.ctpnt->write_threshold = st_write_threshold;
tpnt2098drivers/scsi/st.ctpnt->drv_block = 0;
tpnt2099drivers/scsi/st.ctpnt->moves_after_eof = 1;
tpnt2100drivers/scsi/st.ctpnt->at_sm = 0;
tpnt2225drivers/scsi/st.cScsi_Tape * tpnt;
tpnt2228drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
tpnt2229drivers/scsi/st.cif(tpnt->device == SDp) {
tpnt2230drivers/scsi/st.ctpnt->device = NULL;
tpnt199drivers/scsi/t128.cint t128_detect(Scsi_Host_Template * tpnt) {
tpnt205drivers/scsi/t128.ctpnt->proc_dir = &proc_scsi_t128;
tpnt236drivers/scsi/t128.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
tpnt346drivers/scsi/u14-34f.cScsi_Host_Template * tpnt) {
tpnt422drivers/scsi/u14-34f.csh[j] = scsi_register(tpnt, sizeof(struct hostdata));
tpnt514drivers/scsi/u14-34f.cint u14_34f_detect (Scsi_Host_Template * tpnt) {
tpnt523drivers/scsi/u14-34f.ctpnt->proc_dir = &proc_scsi_u14_34f;
tpnt537drivers/scsi/u14-34f.cif (j < MAX_BOARDS && port_detect(port_base, j, tpnt)) j++;
tpnt355drivers/scsi/ultrastor.cstatic int ultrastor_14f_detect(Scsi_Host_Template * tpnt)
tpnt503drivers/scsi/ultrastor.ctpnt->this_id = config.ha_scsi_id;
tpnt504drivers/scsi/ultrastor.ctpnt->unchecked_isa_dma = (config.subversion != U34F);
tpnt521drivers/scsi/ultrastor.ctpnt->sg_tablesize = ULTRASTOR_14F_MAX_SG;
tpnt528drivers/scsi/ultrastor.cstatic int ultrastor_24f_detect(Scsi_Host_Template * tpnt)
tpnt605drivers/scsi/ultrastor.ctpnt->this_id = config.ha_scsi_id;
tpnt606drivers/scsi/ultrastor.ctpnt->unchecked_isa_dma = 0;
tpnt607drivers/scsi/ultrastor.ctpnt->sg_tablesize = ULTRASTOR_24F_MAX_SG;
tpnt609drivers/scsi/ultrastor.cshpnt = scsi_register(tpnt, 0);
tpnt626drivers/scsi/ultrastor.ctpnt->sg_tablesize);
tpnt632drivers/scsi/ultrastor.cint ultrastor_detect(Scsi_Host_Template * tpnt)
tpnt634drivers/scsi/ultrastor.ctpnt->proc_dir = &proc_scsi_ultrastor;
tpnt635drivers/scsi/ultrastor.creturn ultrastor_14f_detect(tpnt) || ultrastor_24f_detect(tpnt);
tpnt1096drivers/scsi/wd7000.cint wd7000_detect(Scsi_Host_Template * tpnt)
tpnt1114drivers/scsi/wd7000.ctpnt->proc_dir = &proc_scsi_wd7000;
tpnt1145drivers/scsi/wd7000.csh = scsi_register(tpnt, sizeof(Adapter) );