taglinefilesource code
config247drivers/scsi/ultrastor.c} config = {0};
config321drivers/scsi/ultrastor.cstatic void log_ultrastor_abort(register struct ultrastor_config *config,
config333drivers/scsi/ultrastor.cif (! (config->mscp_free & (1 << i)))
config334drivers/scsi/ultrastor.cfmt[21 + i*2] = '0' + config->mscp[i].target_id;
config340drivers/scsi/ultrastor.cprintk(fmt, command, &config->mscp[command], config->mscp_free);
config367drivers/scsi/ultrastor.cif (config.bios_segment)
config375drivers/scsi/ultrastor.cconfig.port_address = PORT_OVERRIDE;
config379drivers/scsi/ultrastor.cconfig.port_address = ultrastor_ports_14f[i];
config383drivers/scsi/ultrastor.cprintk("US14F: detect: testing port address %03X\n", config.port_address);
config386drivers/scsi/ultrastor.cin_byte = inb(U14F_PRODUCT_ID(config.port_address));
config392drivers/scsi/ultrastor.cprintk("US14F: detect: no adapter at port %03X\n", config.port_address);
config401drivers/scsi/ultrastor.cin_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1);
config408drivers/scsi/ultrastor.cprintk("US14F: detect: no adapter at port %03X\n", config.port_address);
config431drivers/scsi/ultrastor.cconfig.port_address);
config436drivers/scsi/ultrastor.coutb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(config.port_address));
config441drivers/scsi/ultrastor.csnarf_region(config.port_address, 0x0c); /* Register the I/O space that we use */
config443drivers/scsi/ultrastor.c*(char *)&config_1 = inb(CONFIG(config.port_address + 0));
config444drivers/scsi/ultrastor.c*(char *)&config_2 = inb(CONFIG(config.port_address + 1));
config445drivers/scsi/ultrastor.cconfig.bios_segment = bios_segment_table[config_1.bios_segment];
config446drivers/scsi/ultrastor.cconfig.doorbell_address = config.port_address;
config447drivers/scsi/ultrastor.cconfig.ogm_address = config.port_address + 0x8;
config448drivers/scsi/ultrastor.cconfig.icm_address = config.port_address + 0xC;
config449drivers/scsi/ultrastor.cconfig.interrupt = interrupt_table_14f[config_1.interrupt];
config450drivers/scsi/ultrastor.cconfig.ha_scsi_id = config_2.ha_scsi_id;
config451drivers/scsi/ultrastor.cconfig.heads = mapping_table[config_2.mapping_mode].heads;
config452drivers/scsi/ultrastor.cconfig.sectors = mapping_table[config_2.mapping_mode].sectors;
config453drivers/scsi/ultrastor.cconfig.bios_drive_number = config_2.bios_drive_number;
config454drivers/scsi/ultrastor.cconfig.subversion = (version_byte & 0x0F);
config455drivers/scsi/ultrastor.cif (config.subversion == U34F)
config456drivers/scsi/ultrastor.cconfig.dma_channel = 0;
config458drivers/scsi/ultrastor.cconfig.dma_channel = dma_channel_table_14f[config_1.dma_channel];
config460drivers/scsi/ultrastor.cif (!config.bios_segment) {
config468drivers/scsi/ultrastor.cif (config.subversion != U34F)
config469drivers/scsi/ultrastor.cif (!config.dma_channel || !(config_2.tfr_port & 0x2)) {
config489drivers/scsi/ultrastor.cconfig.port_address, config.bios_segment, config.interrupt,
config490drivers/scsi/ultrastor.cconfig.dma_channel, config.ha_scsi_id, config.subversion);
config492drivers/scsi/ultrastor.cconfig.host_number = hostnum;
config493drivers/scsi/ultrastor.cscsi_hosts[hostnum].this_id = config.ha_scsi_id;
config494drivers/scsi/ultrastor.cscsi_hosts[hostnum].unchecked_isa_dma = (config.subversion != U34F);
config497drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config500drivers/scsi/ultrastor.cif (request_irq(config.interrupt, ultrastor_interrupt)) {
config502drivers/scsi/ultrastor.cconfig.interrupt);
config505drivers/scsi/ultrastor.cif (config.dma_channel && request_dma(config.dma_channel)) {
config507drivers/scsi/ultrastor.cconfig.dma_channel);
config508drivers/scsi/ultrastor.cfree_irq(config.interrupt);
config537drivers/scsi/ultrastor.cconfig.revision = inb(addr+3);
config538drivers/scsi/ultrastor.cconfig.slot = i;
config550drivers/scsi/ultrastor.cconfig.bios_segment = bios_segment_table[config_1 & 7];
config554drivers/scsi/ultrastor.cconfig.interrupt = 15;
config557drivers/scsi/ultrastor.cconfig.interrupt = 14;
config560drivers/scsi/ultrastor.cconfig.interrupt = 11;
config563drivers/scsi/ultrastor.cconfig.interrupt = 10;
config569drivers/scsi/ultrastor.cif (request_irq(config.interrupt, ultrastor_interrupt))
config572drivers/scsi/ultrastor.cconfig.interrupt);
config577drivers/scsi/ultrastor.cconfig.port_address = addr;
config578drivers/scsi/ultrastor.cconfig.doorbell_address = addr + 12;
config579drivers/scsi/ultrastor.cconfig.ogm_address = addr + 0x17;
config580drivers/scsi/ultrastor.cconfig.icm_address = addr + 0x1C;
config582drivers/scsi/ultrastor.cconfig.ha_scsi_id = config_2 & 7;
config583drivers/scsi/ultrastor.cconfig.heads = mapping_table[(config_2 >> 3) & 3].heads;
config584drivers/scsi/ultrastor.cconfig.sectors = mapping_table[(config_2 >> 3) & 3].sectors;
config591drivers/scsi/ultrastor.cconfig.port_address, config.bios_segment,
config592drivers/scsi/ultrastor.cconfig.interrupt, config.ha_scsi_id);
config594drivers/scsi/ultrastor.cconfig.host_number = hostnum;
config595drivers/scsi/ultrastor.cscsi_hosts[hostnum].this_id = config.ha_scsi_id;
config600drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config626drivers/scsi/ultrastor.cif (config.slot)
config628drivers/scsi/ultrastor.cconfig.slot, config.interrupt);
config629drivers/scsi/ultrastor.celse if (config.subversion)
config631drivers/scsi/ultrastor.cconfig.port_address, (int)config.bios_segment,
config632drivers/scsi/ultrastor.cconfig.interrupt);
config635drivers/scsi/ultrastor.cconfig.port_address, (int)config.bios_segment,
config636drivers/scsi/ultrastor.cconfig.interrupt, config.dma_channel);
config671drivers/scsi/ultrastor.cif ((config.mscp_free & ((1U << ULTRASTOR_MAX_CMDS) - 1)) == 0)
config673drivers/scsi/ultrastor.cmscp_index = find_and_clear_bit_16(&config.mscp_free);
config676drivers/scsi/ultrastor.cif (xchgb(0xff, &config.aborted[mscp_index]) != 0)
config682drivers/scsi/ultrastor.cmy_mscp = &config.mscp[mscp_index];
config729drivers/scsi/ultrastor.cif (config.slot)
config730drivers/scsi/ultrastor.cwhile (inb(config.ogm_address - 1) != 0 &&
config731drivers/scsi/ultrastor.cconfig.aborted[mscp_index] == 0xff);
config735drivers/scsi/ultrastor.cwhile ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & 
config736drivers/scsi/ultrastor.c(config.slot ? 2 : 1)) 
config737drivers/scsi/ultrastor.c&& config.aborted[mscp_index] == 0xff);
config745drivers/scsi/ultrastor.cif (inb(LCL_DOORBELL_INTR(config.doorbell_address)) &
config746drivers/scsi/ultrastor.c(config.slot ? 2 : 1))
config752drivers/scsi/ultrastor.cstatus = xchgb(0, &config.aborted[mscp_index]);
config759drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config765drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config778drivers/scsi/ultrastor.coutl((unsigned int)my_mscp, config.ogm_address);
config781drivers/scsi/ultrastor.cif (config.slot) {
config783drivers/scsi/ultrastor.coutb(1, config.ogm_address - 1);
config784drivers/scsi/ultrastor.coutb(0x2, LCL_DOORBELL_INTR(config.doorbell_address));
config786drivers/scsi/ultrastor.coutb(0x1, LCL_DOORBELL_INTR(config.doorbell_address));
config824drivers/scsi/ultrastor.cif(config.slot) return 0;  /* Do not attempt an abort for the 24f */
config826drivers/scsi/ultrastor.cmscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp;
config831drivers/scsi/ultrastor.cif (config.slot)
config833drivers/scsi/ultrastor.cint port0 = (config.slot << 12) | 0xc80;
config858drivers/scsi/ultrastor.cif (config.slot ? inb(config.icm_address - 1) == 2 :
config859drivers/scsi/ultrastor.c(inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1))
config872drivers/scsi/ultrastor.cold_aborted = xchgb(code ? code : DID_ABORT, &config.aborted[mscp_index]);
config881drivers/scsi/ultrastor.cif (config.slot && inb(config.ogm_address - 1) == 0)
config887drivers/scsi/ultrastor.coutl((int)&config.mscp[mscp_index], config.ogm_address);
config889drivers/scsi/ultrastor.coutb(0x80, config.ogm_address - 1);
config890drivers/scsi/ultrastor.coutb(0x2, LCL_DOORBELL_INTR(config.doorbell_address));
config892drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config900drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config909drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint != SCpnt)
config911drivers/scsi/ultrastor.cconfig.mscp[mscp_index].SCint, SCpnt);
config913drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint == 0)
config916drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort");
config917drivers/scsi/ultrastor.cconfig.mscp[mscp_index].SCint = 0;
config918drivers/scsi/ultrastor.cdone = config.mscp[mscp_index].done;
config919drivers/scsi/ultrastor.cconfig.mscp[mscp_index].done = 0;
config937drivers/scsi/ultrastor.cif(config.slot) {
config947drivers/scsi/ultrastor.coutb(0xc0, LCL_DOORBELL_INTR(config.doorbell_address));
config948drivers/scsi/ultrastor.cif (config.slot)
config950drivers/scsi/ultrastor.coutb(0, config.ogm_address - 1);
config951drivers/scsi/ultrastor.coutb(0, config.icm_address - 1);
config955drivers/scsi/ultrastor.cif (config.mscp_busy && config.mscp->done && config.mscp->SCint)
config957drivers/scsi/ultrastor.cconfig.mscp->SCint->result = DID_RESET << 16;
config958drivers/scsi/ultrastor.cconfig.mscp->done(config.mscp->SCint);
config960drivers/scsi/ultrastor.cconfig.mscp->SCint = 0;
config964drivers/scsi/ultrastor.cif (! (config.mscp_free & (1 << i)) &&
config965drivers/scsi/ultrastor.cconfig.mscp[i].done && config.mscp[i].SCint)
config967drivers/scsi/ultrastor.cconfig.mscp[i].SCint->result = DID_RESET << 16;
config968drivers/scsi/ultrastor.cconfig.mscp[i].done(config.mscp[i].SCint);
config969drivers/scsi/ultrastor.cconfig.mscp[i].done = 0;
config971drivers/scsi/ultrastor.cconfig.mscp[i].SCint = 0;
config975drivers/scsi/ultrastor.cmemset((unsigned char *)config.aborted, 0, sizeof config.aborted);
config977drivers/scsi/ultrastor.cconfig.mscp_busy = 0;
config979drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config989drivers/scsi/ultrastor.cunsigned int s = config.heads * config.sectors;
config991drivers/scsi/ultrastor.cdkinfo[0] = config.heads;
config992drivers/scsi/ultrastor.cdkinfo[1] = config.sectors;
config1010drivers/scsi/ultrastor.cmscp = &config.mscp[0];
config1012drivers/scsi/ultrastor.cmscp = (struct mscp *)inl(config.icm_address);
config1013drivers/scsi/ultrastor.cmscp_index = mscp - config.mscp;
config1024drivers/scsi/ultrastor.cif (config.slot) {
config1025drivers/scsi/ultrastor.cunsigned char icm_status = inb(config.icm_address - 1);
config1033drivers/scsi/ultrastor.coutb(2, SYS_DOORBELL_INTR(config.doorbell_address));
config1034drivers/scsi/ultrastor.coutb(0, config.icm_address - 1);
config1049drivers/scsi/ultrastor.coutb(1, SYS_DOORBELL_INTR(config.doorbell_address));
config1061drivers/scsi/ultrastor.cconfig.mscp_busy = FALSE;
config1063drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config1065drivers/scsi/ultrastor.cconfig.aborted[mscp_index] = 0;
config1101drivers/scsi/ultrastor.cconfig.mscp_busy = FALSE;
config1103drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config1107drivers/scsi/ultrastor.cif (config.aborted[mscp_index])
config1109drivers/scsi/ultrastor.cmscp_index, (unsigned int) mscp, config.aborted[mscp_index]);
config1111drivers/scsi/ultrastor.cconfig.aborted[mscp_index] = 0;
config1118drivers/scsi/ultrastor.cif (config.slot ? inb(config.icm_address - 1) : (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1))
config42drivers/sound/dev_table.cif (supported_drivers[i].probe (&supported_drivers[i].config))
config49drivers/sound/dev_table.cmem_start = supported_drivers[i].attach (mem_start, &supported_drivers[i].config);
config52drivers/sound/dev_table.csupported_drivers[i].config.io_base,
config53drivers/sound/dev_table.csupported_drivers[i].config.irq,
config54drivers/sound/dev_table.csupported_drivers[i].config.dma);
config151drivers/sound/dev_table.csupported_drivers[ptr].config.io_base = ioaddr;
config152drivers/sound/dev_table.csupported_drivers[ptr].config.irq = irq;
config153drivers/sound/dev_table.csupported_drivers[ptr].config.dma = dma;
config170drivers/sound/dev_table.creturn &supported_drivers[ptr].config;
config48drivers/sound/dev_table.hstruct address_info config;
config120drivers/sound/soundcard.csupported_drivers[i].config.io_base,
config121drivers/sound/soundcard.csupported_drivers[i].config.irq,
config122drivers/sound/soundcard.csupported_drivers[i].config.dma);
config47include/linux/ddi.hstruct ddconf config;      /* driver HW setup    */