taglinefilesource code
config255drivers/scsi/ultrastor.c} config = {0};
config318drivers/scsi/ultrastor.cstatic void log_ultrastor_abort(register struct ultrastor_config *config,
config330drivers/scsi/ultrastor.cif (! (config->mscp_free & (1 << i)))
config331drivers/scsi/ultrastor.cfmt[21 + i*2] = '0' + config->mscp[i].target_id;
config337drivers/scsi/ultrastor.cprintk(fmt, command, &config->mscp[command], config->mscp_free);
config364drivers/scsi/ultrastor.cif (config.bios_segment)
config372drivers/scsi/ultrastor.cconfig.port_address = PORT_OVERRIDE;
config376drivers/scsi/ultrastor.cconfig.port_address = ultrastor_ports_14f[i];
config380drivers/scsi/ultrastor.cprintk("US14F: detect: testing port address %03X\n", config.port_address);
config383drivers/scsi/ultrastor.cin_byte = inb(U14F_PRODUCT_ID(config.port_address));
config389drivers/scsi/ultrastor.cprintk("US14F: detect: no adapter at port %03X\n", config.port_address);
config398drivers/scsi/ultrastor.cin_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1);
config405drivers/scsi/ultrastor.cprintk("US14F: detect: no adapter at port %03X\n", config.port_address);
config428drivers/scsi/ultrastor.cconfig.port_address);
config433drivers/scsi/ultrastor.coutb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(config.port_address));
config438drivers/scsi/ultrastor.csnarf_region(config.port_address, 0x0c); /* Register the I/O space that we use */
config440drivers/scsi/ultrastor.c*(char *)&config_1 = inb(CONFIG(config.port_address + 0));
config441drivers/scsi/ultrastor.c*(char *)&config_2 = inb(CONFIG(config.port_address + 1));
config442drivers/scsi/ultrastor.cconfig.bios_segment = bios_segment_table[config_1.bios_segment];
config443drivers/scsi/ultrastor.cconfig.doorbell_address = config.port_address;
config444drivers/scsi/ultrastor.cconfig.ogm_address = config.port_address + 0x8;
config445drivers/scsi/ultrastor.cconfig.icm_address = config.port_address + 0xC;
config446drivers/scsi/ultrastor.cconfig.interrupt = interrupt_table_14f[config_1.interrupt];
config447drivers/scsi/ultrastor.cconfig.ha_scsi_id = config_2.ha_scsi_id;
config448drivers/scsi/ultrastor.cconfig.heads = mapping_table[config_2.mapping_mode].heads;
config449drivers/scsi/ultrastor.cconfig.sectors = mapping_table[config_2.mapping_mode].sectors;
config450drivers/scsi/ultrastor.cconfig.bios_drive_number = config_2.bios_drive_number;
config451drivers/scsi/ultrastor.cconfig.subversion = (version_byte & 0x0F);
config452drivers/scsi/ultrastor.cif (config.subversion == U34F)
config453drivers/scsi/ultrastor.cconfig.dma_channel = 0;
config455drivers/scsi/ultrastor.cconfig.dma_channel = dma_channel_table_14f[config_1.dma_channel];
config457drivers/scsi/ultrastor.cif (!config.bios_segment) {
config465drivers/scsi/ultrastor.cif (config.subversion != U34F)
config466drivers/scsi/ultrastor.cif (!config.dma_channel || !(config_2.tfr_port & 0x2)) {
config486drivers/scsi/ultrastor.cconfig.port_address, config.bios_segment, config.interrupt,
config487drivers/scsi/ultrastor.cconfig.dma_channel, config.ha_scsi_id, config.subversion);
config489drivers/scsi/ultrastor.ctpnt->this_id = config.ha_scsi_id;
config490drivers/scsi/ultrastor.ctpnt->unchecked_isa_dma = (config.subversion != U34F);
config493drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config496drivers/scsi/ultrastor.cif (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor")) {
config498drivers/scsi/ultrastor.cconfig.interrupt);
config501drivers/scsi/ultrastor.cif (config.dma_channel && request_dma(config.dma_channel,"Ultrastor")) {
config503drivers/scsi/ultrastor.cconfig.dma_channel);
config504drivers/scsi/ultrastor.cfree_irq(config.interrupt);
config534drivers/scsi/ultrastor.cconfig.revision = inb(addr+3);
config535drivers/scsi/ultrastor.cconfig.slot = i;
config547drivers/scsi/ultrastor.cconfig.bios_segment = bios_segment_table[config_1 & 7];
config551drivers/scsi/ultrastor.cconfig.interrupt = 15;
config554drivers/scsi/ultrastor.cconfig.interrupt = 14;
config557drivers/scsi/ultrastor.cconfig.interrupt = 11;
config560drivers/scsi/ultrastor.cconfig.interrupt = 10;
config566drivers/scsi/ultrastor.cif (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor"))
config569drivers/scsi/ultrastor.cconfig.interrupt);
config574drivers/scsi/ultrastor.cconfig.port_address = addr;
config575drivers/scsi/ultrastor.cconfig.doorbell_address = addr + 12;
config576drivers/scsi/ultrastor.cconfig.ogm_address = addr + 0x17;
config577drivers/scsi/ultrastor.cconfig.icm_address = addr + 0x1C;
config579drivers/scsi/ultrastor.cconfig.ha_scsi_id = config_2 & 7;
config580drivers/scsi/ultrastor.cconfig.heads = mapping_table[(config_2 >> 3) & 3].heads;
config581drivers/scsi/ultrastor.cconfig.sectors = mapping_table[(config_2 >> 3) & 3].sectors;
config588drivers/scsi/ultrastor.cconfig.port_address, config.bios_segment,
config589drivers/scsi/ultrastor.cconfig.interrupt, config.ha_scsi_id);
config591drivers/scsi/ultrastor.ctpnt->this_id = config.ha_scsi_id;
config596drivers/scsi/ultrastor.cshpnt->irq = config.interrupt;
config597drivers/scsi/ultrastor.cshpnt->dma_channel = config.dma_channel;
config598drivers/scsi/ultrastor.cshpnt->io_port = config.port_address;
config601drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config627drivers/scsi/ultrastor.cif (config.slot)
config629drivers/scsi/ultrastor.cconfig.slot, config.interrupt);
config630drivers/scsi/ultrastor.celse if (config.subversion)
config632drivers/scsi/ultrastor.cconfig.port_address, (int)config.bios_segment,
config633drivers/scsi/ultrastor.cconfig.interrupt);
config636drivers/scsi/ultrastor.cconfig.port_address, (int)config.bios_segment,
config637drivers/scsi/ultrastor.cconfig.interrupt, config.dma_channel);
config672drivers/scsi/ultrastor.cif ((config.mscp_free & ((1U << ULTRASTOR_MAX_CMDS) - 1)) == 0)
config674drivers/scsi/ultrastor.cmscp_index = find_and_clear_bit_16(&config.mscp_free);
config677drivers/scsi/ultrastor.cif (xchgb(0xff, &config.aborted[mscp_index]) != 0)
config683drivers/scsi/ultrastor.cmy_mscp = &config.mscp[mscp_index];
config730drivers/scsi/ultrastor.cif (config.slot)
config731drivers/scsi/ultrastor.cwhile (inb(config.ogm_address - 1) != 0 &&
config732drivers/scsi/ultrastor.cconfig.aborted[mscp_index] == 0xff);
config736drivers/scsi/ultrastor.cwhile ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & 
config737drivers/scsi/ultrastor.c(config.slot ? 2 : 1)) 
config738drivers/scsi/ultrastor.c&& config.aborted[mscp_index] == 0xff);
config746drivers/scsi/ultrastor.cif (inb(LCL_DOORBELL_INTR(config.doorbell_address)) &
config747drivers/scsi/ultrastor.c(config.slot ? 2 : 1))
config753drivers/scsi/ultrastor.cstatus = xchgb(0, &config.aborted[mscp_index]);
config760drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config766drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config779drivers/scsi/ultrastor.coutl((unsigned int)my_mscp, config.ogm_address);
config782drivers/scsi/ultrastor.cif (config.slot) {
config784drivers/scsi/ultrastor.coutb(1, config.ogm_address - 1);
config785drivers/scsi/ultrastor.coutb(0x2, LCL_DOORBELL_INTR(config.doorbell_address));
config787drivers/scsi/ultrastor.coutb(0x1, LCL_DOORBELL_INTR(config.doorbell_address));
config825drivers/scsi/ultrastor.cif(config.slot) 
config832drivers/scsi/ultrastor.cmscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp;
config837drivers/scsi/ultrastor.cif (config.slot)
config839drivers/scsi/ultrastor.cint port0 = (config.slot << 12) | 0xc80;
config864drivers/scsi/ultrastor.cif (config.slot ? inb(config.icm_address - 1) == 2 :
config865drivers/scsi/ultrastor.c(inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1))
config878drivers/scsi/ultrastor.cold_aborted = xchgb(DID_ABORT, &config.aborted[mscp_index]);
config887drivers/scsi/ultrastor.cif (config.slot && inb(config.ogm_address - 1) == 0)
config893drivers/scsi/ultrastor.coutl((int)&config.mscp[mscp_index], config.ogm_address);
config895drivers/scsi/ultrastor.coutb(0x80, config.ogm_address - 1);
config896drivers/scsi/ultrastor.coutb(0x2, LCL_DOORBELL_INTR(config.doorbell_address));
config898drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config906drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config920drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint != SCpnt)
config922drivers/scsi/ultrastor.cconfig.mscp[mscp_index].SCint, SCpnt);
config924drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint == 0)
config927drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort");
config928drivers/scsi/ultrastor.cconfig.mscp[mscp_index].SCint = 0;
config929drivers/scsi/ultrastor.cdone = config.mscp[mscp_index].done;
config930drivers/scsi/ultrastor.cconfig.mscp[mscp_index].done = 0;
config947drivers/scsi/ultrastor.cif(config.slot)
config955drivers/scsi/ultrastor.coutb(0xc0, LCL_DOORBELL_INTR(config.doorbell_address));
config956drivers/scsi/ultrastor.cif (config.slot)
config958drivers/scsi/ultrastor.coutb(0, config.ogm_address - 1);
config959drivers/scsi/ultrastor.coutb(0, config.icm_address - 1);
config963drivers/scsi/ultrastor.cif (config.mscp_busy && config.mscp->done && config.mscp->SCint)
config965drivers/scsi/ultrastor.cconfig.mscp->SCint->result = DID_RESET << 16;
config966drivers/scsi/ultrastor.cconfig.mscp->done(config.mscp->SCint);
config968drivers/scsi/ultrastor.cconfig.mscp->SCint = 0;
config972drivers/scsi/ultrastor.cif (! (config.mscp_free & (1 << i)) &&
config973drivers/scsi/ultrastor.cconfig.mscp[i].done && config.mscp[i].SCint)
config975drivers/scsi/ultrastor.cconfig.mscp[i].SCint->result = DID_RESET << 16;
config976drivers/scsi/ultrastor.cconfig.mscp[i].done(config.mscp[i].SCint);
config977drivers/scsi/ultrastor.cconfig.mscp[i].done = 0;
config979drivers/scsi/ultrastor.cconfig.mscp[i].SCint = 0;
config986drivers/scsi/ultrastor.cmemset((unsigned char *)config.aborted, 0, sizeof config.aborted);
config988drivers/scsi/ultrastor.cconfig.mscp_busy = 0;
config990drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config1001drivers/scsi/ultrastor.cunsigned int s = config.heads * config.sectors;
config1003drivers/scsi/ultrastor.cdkinfo[0] = config.heads;
config1004drivers/scsi/ultrastor.cdkinfo[1] = config.sectors;
config1024drivers/scsi/ultrastor.cmscp = &config.mscp[0];
config1026drivers/scsi/ultrastor.cmscp = (struct mscp *)inl(config.icm_address);
config1027drivers/scsi/ultrastor.cmscp_index = mscp - config.mscp;
config1038drivers/scsi/ultrastor.cif (config.slot) {
config1039drivers/scsi/ultrastor.cunsigned char icm_status = inb(config.icm_address - 1);
config1047drivers/scsi/ultrastor.coutb(2, SYS_DOORBELL_INTR(config.doorbell_address));
config1048drivers/scsi/ultrastor.coutb(0, config.icm_address - 1);
config1063drivers/scsi/ultrastor.coutb(1, SYS_DOORBELL_INTR(config.doorbell_address));
config1075drivers/scsi/ultrastor.cconfig.mscp_busy = FALSE;
config1077drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config1079drivers/scsi/ultrastor.cconfig.aborted[mscp_index] = 0;
config1115drivers/scsi/ultrastor.cconfig.mscp_busy = FALSE;
config1117drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config1121drivers/scsi/ultrastor.cif (config.aborted[mscp_index])
config1123drivers/scsi/ultrastor.cmscp_index, (unsigned int) mscp, config.aborted[mscp_index]);
config1125drivers/scsi/ultrastor.cconfig.aborted[mscp_index] = 0;
config1132drivers/scsi/ultrastor.cif (config.slot ? inb(config.icm_address - 1) : (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1))
config61drivers/sound/dev_table.celse if (sound_drivers[drv].probe (&snd_installed_cards[i].config))
config68drivers/sound/dev_table.cmem_start = sound_drivers[drv].attach (mem_start, &snd_installed_cards[i].config);
config71drivers/sound/dev_table.csnd_installed_cards[i].config.io_base,
config72drivers/sound/dev_table.csnd_installed_cards[i].config.irq,
config73drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
config97drivers/sound/dev_table.csnd_installed_cards[i].config.io_base = hw_config->io_base;
config98drivers/sound/dev_table.csnd_installed_cards[i].config.irq = hw_config->irq;
config99drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
config133drivers/sound/dev_table.csnd_installed_cards[i].config.io_base = hw_config->io_base;
config134drivers/sound/dev_table.csnd_installed_cards[i].config.irq = hw_config->irq;
config135drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
config208drivers/sound/dev_table.csnd_installed_cards[ptr].config.io_base = ioaddr;
config209drivers/sound/dev_table.csnd_installed_cards[ptr].config.irq = irq;
config210drivers/sound/dev_table.csnd_installed_cards[ptr].config.dma = dma;
config235drivers/sound/dev_table.csnd_installed_cards[ptr].config.io_base = ioaddr;
config237drivers/sound/dev_table.csnd_installed_cards[ptr].config.irq = irq;
config239drivers/sound/dev_table.csnd_installed_cards[ptr].config.dma = dma;
config259drivers/sound/dev_table.creturn &snd_installed_cards[ptr].config;
config52drivers/sound/dev_table.hstruct address_info config;
config168drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.io_base, 16))
config172drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.irq, 10))
config176drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.dma, 10))
config80include/linux/hdreg.hunsigned short  config;    /* lots of obsolete bit flags */