taglinefilesource code
tpnt682drivers/scsi/53c7,8xx.cstatic int normal_init (Scsi_Host_Template *tpnt, int board, int chip, 
tpnt731drivers/scsi/53c7,8xx.ctpnt->sg_tablesize + 
tpnt762drivers/scsi/53c7,8xx.cinstance = scsi_register (tpnt, size);
tpnt863drivers/scsi/53c7,8xx.cstatic int ncr_pci_init (Scsi_Host_Template *tpnt, int board, int chip, 
tpnt972drivers/scsi/53c7,8xx.creturn normal_init (tpnt, board, chip, (int) base, io_port, 
tpnt990drivers/scsi/53c7,8xx.cint NCR53c7xx_detect(Scsi_Host_Template *tpnt) {
tpnt997drivers/scsi/53c7,8xx.ctpnt->proc_dir = &proc_scsi_ncr53c7xx;
tpnt1002drivers/scsi/53c7,8xx.c!ncr_pci_init (tpnt, overrides[current_override].board,
tpnt1008drivers/scsi/53c7,8xx.c!normal_init (tpnt, overrides[current_override].board, 
tpnt1027drivers/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);
tpnt459drivers/scsi/NCR53c406a.cNCR53c406a_detect(Scsi_Host_Template * tpnt){
tpnt541drivers/scsi/NCR53c406a.ctpnt->can_queue = 1;
tpnt545drivers/scsi/NCR53c406a.ctpnt->can_queue = 0;
tpnt567drivers/scsi/NCR53c406a.ctpnt->present = 1;
tpnt569drivers/scsi/NCR53c406a.cshpnt = scsi_register(tpnt, 0);
tpnt583drivers/scsi/NCR53c406a.creturn (tpnt->present);
tpnt576drivers/scsi/aha152x.cint aha152x_detect(Scsi_Host_Template * tpnt)
tpnt585drivers/scsi/aha152x.ctpnt->proc_dir = &proc_scsi_aha152x;
tpnt758drivers/scsi/aha152x.ctpnt->this_id=this_host;
tpnt761drivers/scsi/aha152x.ctpnt->can_queue=AHA152X_MAXQUEUE;
tpnt780drivers/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++;
tpnt842drivers/scsi/eata_dma.cshort register_HBA(u32 base, struct get_conf *gc, Scsi_Host_Template * tpnt, 
tpnt947drivers/scsi/eata_dma.csh = scsi_register(tpnt, size);
tpnt1103drivers/scsi/eata_dma.cvoid find_EISA(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt1130drivers/scsi/eata_dma.cregister_HBA(base, buf, tpnt, IS_EISA);
tpnt1148drivers/scsi/eata_dma.cvoid find_ISA(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt1156drivers/scsi/eata_dma.cregister_HBA(ISAbases[i], buf, tpnt, IS_ISA);
tpnt1168drivers/scsi/eata_dma.cvoid find_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt1243drivers/scsi/eata_dma.cregister_HBA(base, buf, tpnt, IS_PCI);
tpnt1275drivers/scsi/eata_dma.cint eata_detect(Scsi_Host_Template * tpnt)
tpnt1284drivers/scsi/eata_dma.ctpnt->proc_dir = &proc_scsi_eata_dma;
tpnt1294drivers/scsi/eata_dma.cfind_PCI(&gc, tpnt);
tpnt1296drivers/scsi/eata_dma.cfind_EISA(&gc, tpnt);
tpnt1298drivers/scsi/eata_dma.cfind_ISA(&gc, tpnt);
tpnt677drivers/scsi/eata_pio.cint register_pio_HBA(long base, struct get_conf *gc, Scsi_Host_Template * tpnt)
tpnt732drivers/scsi/eata_pio.csh = scsi_register(tpnt, size);
tpnt820drivers/scsi/eata_pio.cvoid find_pio_ISA(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt827drivers/scsi/eata_pio.cregister_pio_HBA(ISAbases[i], buf, tpnt);
tpnt835drivers/scsi/eata_pio.cvoid find_pio_EISA(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt862drivers/scsi/eata_pio.cregister_pio_HBA(base, buf, tpnt);
tpnt876drivers/scsi/eata_pio.cvoid find_pio_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt)
tpnt944drivers/scsi/eata_pio.cregister_pio_HBA(base, buf, tpnt);
tpnt974drivers/scsi/eata_pio.cint eata_pio_detect(Scsi_Host_Template * tpnt)
tpnt983drivers/scsi/eata_pio.ctpnt->proc_dir = &proc_scsi_eata_pio;
tpnt985drivers/scsi/eata_pio.cfind_pio_PCI(&gc, tpnt);
tpnt987drivers/scsi/eata_pio.cfind_pio_EISA(&gc, tpnt);
tpnt989drivers/scsi/eata_pio.cfind_pio_ISA(&gc, tpnt);
tpnt848drivers/scsi/fdomain.cint fdomain_16x0_detect( Scsi_Host_Template *tpnt )
tpnt866drivers/scsi/fdomain.ctpnt->proc_dir = &proc_scsi_fdomain;
tpnt956drivers/scsi/fdomain.ctpnt->this_id = (this_id & 0x7);
tpnt957drivers/scsi/fdomain.cadapter_mask  = (1 << tpnt->this_id);
tpnt960drivers/scsi/fdomain.ctpnt->this_id = 7;
tpnt963drivers/scsi/fdomain.ctpnt->this_id = 6;
tpnt971drivers/scsi/fdomain.cshpnt = scsi_register( tpnt, 0 );
tpnt1020drivers/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));
tpnt274drivers/scsi/hosts.cstruct Scsi_Host * scsi_register(Scsi_Host_Template * tpnt, int j){
tpnt277drivers/scsi/hosts.c(tpnt->unchecked_isa_dma && j ? GFP_DMA : 0) | GFP_ATOMIC);
tpnt301drivers/scsi/hosts.cretval->hostt = tpnt;
tpnt309drivers/scsi/hosts.cretval->this_id = tpnt->this_id;
tpnt310drivers/scsi/hosts.cretval->can_queue = tpnt->can_queue;
tpnt311drivers/scsi/hosts.cretval->sg_tablesize = tpnt->sg_tablesize;
tpnt312drivers/scsi/hosts.cretval->cmd_per_lun = tpnt->cmd_per_lun;
tpnt313drivers/scsi/hosts.cretval->unchecked_isa_dma = tpnt->unchecked_isa_dma;
tpnt314drivers/scsi/hosts.cretval->use_clustering = tpnt->use_clustering;   
tpnt340drivers/scsi/hosts.cScsi_Host_Template * tpnt;
tpnt347drivers/scsi/hosts.cfor (tpnt = &builtin_scsi_hosts[0], i = 0; i < MAX_SCSI_HOSTS; ++i, tpnt++)
tpnt355drivers/scsi/hosts.cif ((tpnt->detect) &&
tpnt356drivers/scsi/hosts.c(tpnt->present =
tpnt357drivers/scsi/hosts.ctpnt->detect(tpnt)))
tpnt362drivers/scsi/hosts.cif(tpnt->present > 1)
tpnt366drivers/scsi/hosts.cscsi_register(tpnt,0);
tpnt368drivers/scsi/hosts.ctpnt->next = scsi_hosts;
tpnt369drivers/scsi/hosts.cscsi_hosts = tpnt;
tpnt373drivers/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));
tpnt2648drivers/scsi/scsi.cstatic int scsi_register_host(Scsi_Host_Template * tpnt)
tpnt2659drivers/scsi/scsi.cif (tpnt->next || !tpnt->detect) return 1;/* Must be already loaded, or
tpnt2663drivers/scsi/scsi.cif ((tpnt->present = tpnt->detect(tpnt)))
tpnt2666drivers/scsi/scsi.cif(tpnt->present > 1) {
tpnt2668drivers/scsi/scsi.cscsi_unregister_host(tpnt);
tpnt2674drivers/scsi/scsi.cscsi_register(tpnt,0);
tpnt2676drivers/scsi/scsi.ctpnt->next = scsi_hosts; /* Add to the linked list */
tpnt2677drivers/scsi/scsi.cscsi_hosts = tpnt;
tpnt2681drivers/scsi/scsi.cbuild_proc_dir_entries(tpnt);
tpnt2685drivers/scsi/scsi.cif(shpnt->hostt == tpnt)
tpnt2687drivers/scsi/scsi.cif(tpnt->info)
tpnt2688drivers/scsi/scsi.cname = tpnt->info(shpnt);
tpnt2690drivers/scsi/scsi.cname = tpnt->name;
tpnt2705drivers/scsi/scsi.cif(shpnt->hostt == tpnt) scan_scsis(shpnt,0,0,0,0);
tpnt2713drivers/scsi/scsi.cif(SDpnt->host->hostt == tpnt)
tpnt2825drivers/scsi/scsi.cstatic void scsi_unregister_host(Scsi_Host_Template * tpnt)
tpnt2839drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count
tpnt2844drivers/scsi/scsi.cif (shpnt->hostt != tpnt) continue;
tpnt2864drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt)
tpnt2878drivers/scsi/scsi.cif(sdpnt->host->hostt == tpnt)
tpnt2893drivers/scsi/scsi.cif (sdpnt->host->hostt == tpnt) {
tpnt2909drivers/scsi/scsi.cif(shpnt->hostt == tpnt) {
tpnt2914drivers/scsi/scsi.cproc_scsi_unregister(tpnt->proc_dir, 
tpnt2917drivers/scsi/scsi.cif(tpnt->release)
tpnt2918drivers/scsi/scsi.c(*tpnt->release)(shpnt);
tpnt2930drivers/scsi/scsi.ctpnt->present--;
tpnt2950drivers/scsi/scsi.cif (tpnt->present) return;
tpnt2955drivers/scsi/scsi.cif(SHT == tpnt) {
tpnt2966drivers/scsi/scsi.cproc_scsi_unregister(tpnt->proc_dir, tpnt->proc_dir->low_ino);
tpnt2975drivers/scsi/scsi.cstatic int scsi_register_device_module(struct Scsi_Device_Template * tpnt)
tpnt2979drivers/scsi/scsi.cif (tpnt->next) return 1;
tpnt2981drivers/scsi/scsi.cscsi_register_device(tpnt);
tpnt2987drivers/scsi/scsi.cif(tpnt->detect) SDpnt->attached += (*tpnt->detect)(SDpnt);
tpnt2993drivers/scsi/scsi.cif(tpnt->init && tpnt->dev_noticed)
tpnt2994drivers/scsi/scsi.cif ((*tpnt->init)()) return 1;
tpnt3001drivers/scsi/scsi.cif(tpnt->attach)  (*tpnt->attach)(SDpnt);
tpnt3013drivers/scsi/scsi.cif(tpnt->finish && tpnt->nr_dev)  (*tpnt->finish)();
tpnt3018drivers/scsi/scsi.cstatic int scsi_unregister_device(struct Scsi_Device_Template * tpnt)
tpnt3028drivers/scsi/scsi.cif( *tpnt->usage_count != 0) return 0;
tpnt3035drivers/scsi/scsi.cif(tpnt->detach) (*tpnt->detach)(SDpnt);
tpnt3063drivers/scsi/scsi.cwhile(spnt != tpnt)
tpnt3069drivers/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;
tpnt110drivers/scsi/scsi_proc.cvoid build_proc_dir_entries(Scsi_Host_Template *tpnt)
tpnt116drivers/scsi/scsi_proc.cproc_scsi_register(0, tpnt->proc_dir);
tpnt120drivers/scsi/scsi_proc.cif (tpnt == hpnt->hostt) {
tpnt130drivers/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);
tpnt2064drivers/scsi/st.cScsi_Tape * tpnt;
tpnt2075drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
tpnt2076drivers/scsi/st.cif(!tpnt->device) break;
tpnt2086drivers/scsi/st.ctpnt->devt = MKDEV(SCSI_TAPE_MAJOR, i);
tpnt2087drivers/scsi/st.ctpnt->dirty = 0;
tpnt2088drivers/scsi/st.ctpnt->rw = ST_IDLE;
tpnt2089drivers/scsi/st.ctpnt->eof = ST_NOEOF;
tpnt2090drivers/scsi/st.ctpnt->waiting = NULL;
tpnt2091drivers/scsi/st.ctpnt->in_use = 0;
tpnt2092drivers/scsi/st.ctpnt->drv_buffer = 1;  /* Try buffering if no mode sense */
tpnt2093drivers/scsi/st.ctpnt->density = 0;
tpnt2094drivers/scsi/st.ctpnt->do_buffer_writes = ST_BUFFER_WRITES;
tpnt2095drivers/scsi/st.ctpnt->do_async_writes = ST_ASYNC_WRITES;
tpnt2096drivers/scsi/st.ctpnt->do_read_ahead = ST_READ_AHEAD;
tpnt2097drivers/scsi/st.ctpnt->do_auto_lock = ST_AUTO_LOCK;
tpnt2098drivers/scsi/st.ctpnt->two_fm = ST_TWO_FM;
tpnt2099drivers/scsi/st.ctpnt->fast_mteom = ST_FAST_MTEOM;
tpnt2100drivers/scsi/st.ctpnt->write_threshold = st_write_threshold;
tpnt2101drivers/scsi/st.ctpnt->drv_block = 0;
tpnt2102drivers/scsi/st.ctpnt->moves_after_eof = 1;
tpnt2103drivers/scsi/st.ctpnt->at_sm = 0;
tpnt2228drivers/scsi/st.cScsi_Tape * tpnt;
tpnt2231drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
tpnt2232drivers/scsi/st.cif(tpnt->device == SDp) {
tpnt2233drivers/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) );