taglinefilesource code
config247drivers/scsi/ultrastor.c} config = {0};
config307drivers/scsi/ultrastor.cstatic void log_ultrastor_abort(register struct ultrastor_config *config,
config319drivers/scsi/ultrastor.cif (! (config->mscp_free & (1 << i)))
config320drivers/scsi/ultrastor.cfmt[21 + i*2] = '0' + config->mscp[i].target_id;
config326drivers/scsi/ultrastor.cprintk(fmt, command, &config->mscp[command], config->mscp_free);
config353drivers/scsi/ultrastor.cif (config.bios_segment)
config361drivers/scsi/ultrastor.cconfig.port_address = PORT_OVERRIDE;
config365drivers/scsi/ultrastor.cconfig.port_address = ultrastor_ports_14f[i];
config369drivers/scsi/ultrastor.cprintk("US14F: detect: testing port address %03X\n", config.port_address);
config372drivers/scsi/ultrastor.cin_byte = inb(U14F_PRODUCT_ID(config.port_address));
config378drivers/scsi/ultrastor.cprintk("US14F: detect: no adapter at port %03X\n", config.port_address);
config387drivers/scsi/ultrastor.cin_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1);
config394drivers/scsi/ultrastor.cprintk("US14F: detect: no adapter at port %03X\n", config.port_address);
config417drivers/scsi/ultrastor.cconfig.port_address);
config422drivers/scsi/ultrastor.coutb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(config.port_address));
config427drivers/scsi/ultrastor.csnarf_region(config.port_address, 0x0c); /* Register the I/O space that we use */
config429drivers/scsi/ultrastor.c*(char *)&config_1 = inb(CONFIG(config.port_address + 0));
config430drivers/scsi/ultrastor.c*(char *)&config_2 = inb(CONFIG(config.port_address + 1));
config431drivers/scsi/ultrastor.cconfig.bios_segment = bios_segment_table[config_1.bios_segment];
config432drivers/scsi/ultrastor.cconfig.doorbell_address = config.port_address;
config433drivers/scsi/ultrastor.cconfig.ogm_address = config.port_address + 0x8;
config434drivers/scsi/ultrastor.cconfig.icm_address = config.port_address + 0xC;
config435drivers/scsi/ultrastor.cconfig.interrupt = interrupt_table_14f[config_1.interrupt];
config436drivers/scsi/ultrastor.cconfig.ha_scsi_id = config_2.ha_scsi_id;
config437drivers/scsi/ultrastor.cconfig.heads = mapping_table[config_2.mapping_mode].heads;
config438drivers/scsi/ultrastor.cconfig.sectors = mapping_table[config_2.mapping_mode].sectors;
config439drivers/scsi/ultrastor.cconfig.bios_drive_number = config_2.bios_drive_number;
config440drivers/scsi/ultrastor.cconfig.subversion = (version_byte & 0x0F);
config441drivers/scsi/ultrastor.cif (config.subversion == U34F)
config442drivers/scsi/ultrastor.cconfig.dma_channel = 0;
config444drivers/scsi/ultrastor.cconfig.dma_channel = dma_channel_table_14f[config_1.dma_channel];
config446drivers/scsi/ultrastor.cif (!config.bios_segment) {
config454drivers/scsi/ultrastor.cif (config.subversion != U34F)
config455drivers/scsi/ultrastor.cif (!config.dma_channel || !(config_2.tfr_port & 0x2)) {
config475drivers/scsi/ultrastor.cconfig.port_address, config.bios_segment, config.interrupt,
config476drivers/scsi/ultrastor.cconfig.dma_channel, config.ha_scsi_id, config.subversion);
config478drivers/scsi/ultrastor.cconfig.host_number = hostnum;
config479drivers/scsi/ultrastor.cscsi_hosts[hostnum].this_id = config.ha_scsi_id;
config480drivers/scsi/ultrastor.cscsi_hosts[hostnum].unchecked_isa_dma = (config.subversion != U34F);
config483drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config486drivers/scsi/ultrastor.cif (request_irq(config.interrupt, ultrastor_interrupt)) {
config488drivers/scsi/ultrastor.cconfig.interrupt);
config491drivers/scsi/ultrastor.cif (config.dma_channel && request_dma(config.dma_channel)) {
config493drivers/scsi/ultrastor.cconfig.dma_channel);
config494drivers/scsi/ultrastor.cfree_irq(config.interrupt);
config523drivers/scsi/ultrastor.cconfig.revision = inb(addr+3);
config524drivers/scsi/ultrastor.cconfig.slot = i;
config536drivers/scsi/ultrastor.cconfig.bios_segment = bios_segment_table[config_1 & 7];
config540drivers/scsi/ultrastor.cconfig.interrupt = 15;
config543drivers/scsi/ultrastor.cconfig.interrupt = 14;
config546drivers/scsi/ultrastor.cconfig.interrupt = 11;
config549drivers/scsi/ultrastor.cconfig.interrupt = 10;
config555drivers/scsi/ultrastor.cif (request_irq(config.interrupt, ultrastor_interrupt))
config558drivers/scsi/ultrastor.cconfig.interrupt);
config563drivers/scsi/ultrastor.cconfig.port_address = addr;
config564drivers/scsi/ultrastor.cconfig.doorbell_address = addr + 12;
config565drivers/scsi/ultrastor.cconfig.ogm_address = addr + 0x17;
config566drivers/scsi/ultrastor.cconfig.icm_address = addr + 0x1C;
config568drivers/scsi/ultrastor.cconfig.ha_scsi_id = config_2 & 7;
config569drivers/scsi/ultrastor.cconfig.heads = mapping_table[(config_2 >> 3) & 3].heads;
config570drivers/scsi/ultrastor.cconfig.sectors = mapping_table[(config_2 >> 3) & 3].sectors;
config577drivers/scsi/ultrastor.cconfig.port_address, config.bios_segment,
config578drivers/scsi/ultrastor.cconfig.interrupt, config.ha_scsi_id);
config580drivers/scsi/ultrastor.cconfig.host_number = hostnum;
config581drivers/scsi/ultrastor.cscsi_hosts[hostnum].this_id = config.ha_scsi_id;
config586drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config612drivers/scsi/ultrastor.cif (config.slot)
config614drivers/scsi/ultrastor.cconfig.slot, config.interrupt);
config615drivers/scsi/ultrastor.celse if (config.subversion)
config617drivers/scsi/ultrastor.cconfig.port_address, (int)config.bios_segment,
config618drivers/scsi/ultrastor.cconfig.interrupt);
config621drivers/scsi/ultrastor.cconfig.port_address, (int)config.bios_segment,
config622drivers/scsi/ultrastor.cconfig.interrupt, config.dma_channel);
config657drivers/scsi/ultrastor.cif ((config.mscp_free & ((1U << ULTRASTOR_MAX_CMDS) - 1)) == 0)
config659drivers/scsi/ultrastor.cmscp_index = find_and_clear_bit_16(&config.mscp_free);
config662drivers/scsi/ultrastor.cif (xchgb(0xff, &config.aborted[mscp_index]) != 0)
config668drivers/scsi/ultrastor.cmy_mscp = &config.mscp[mscp_index];
config715drivers/scsi/ultrastor.cif (config.slot)
config716drivers/scsi/ultrastor.cwhile (inb(config.ogm_address - 1) != 0 &&
config717drivers/scsi/ultrastor.cconfig.aborted[mscp_index] == 0xff);
config721drivers/scsi/ultrastor.cwhile ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & 
config722drivers/scsi/ultrastor.c(config.slot ? 2 : 1)) 
config723drivers/scsi/ultrastor.c&& config.aborted[mscp_index] == 0xff);
config731drivers/scsi/ultrastor.cif (inb(LCL_DOORBELL_INTR(config.doorbell_address)) &
config732drivers/scsi/ultrastor.c(config.slot ? 2 : 1))
config738drivers/scsi/ultrastor.cstatus = xchgb(0, &config.aborted[mscp_index]);
config745drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config751drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config764drivers/scsi/ultrastor.coutl((unsigned int)my_mscp, config.ogm_address);
config767drivers/scsi/ultrastor.cif (config.slot) {
config769drivers/scsi/ultrastor.coutb(1, config.ogm_address - 1);
config770drivers/scsi/ultrastor.coutb(0x2, LCL_DOORBELL_INTR(config.doorbell_address));
config772drivers/scsi/ultrastor.coutb(0x1, LCL_DOORBELL_INTR(config.doorbell_address));
config810drivers/scsi/ultrastor.cif(config.slot) return 0;  /* Do not attempt an abort for the 24f */
config812drivers/scsi/ultrastor.cmscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp;
config817drivers/scsi/ultrastor.cif (config.slot)
config819drivers/scsi/ultrastor.cint port0 = (config.slot << 12) | 0xc80;
config844drivers/scsi/ultrastor.cif (config.slot ? inb(config.icm_address - 1) == 2 :
config845drivers/scsi/ultrastor.c(inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1))
config858drivers/scsi/ultrastor.cold_aborted = xchgb(code ? code : DID_ABORT, &config.aborted[mscp_index]);
config867drivers/scsi/ultrastor.cif (config.slot && inb(config.ogm_address - 1) == 0)
config873drivers/scsi/ultrastor.coutl((int)&config.mscp[mscp_index], config.ogm_address);
config875drivers/scsi/ultrastor.coutb(0x80, config.ogm_address - 1);
config876drivers/scsi/ultrastor.coutb(0x2, LCL_DOORBELL_INTR(config.doorbell_address));
config878drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config886drivers/scsi/ultrastor.clog_ultrastor_abort(&config, mscp_index);
config895drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint != SCpnt)
config897drivers/scsi/ultrastor.cconfig.mscp[mscp_index].SCint, SCpnt);
config899drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint == 0)
config902drivers/scsi/ultrastor.cif (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort");
config903drivers/scsi/ultrastor.cconfig.mscp[mscp_index].SCint = 0;
config904drivers/scsi/ultrastor.cdone = config.mscp[mscp_index].done;
config905drivers/scsi/ultrastor.cconfig.mscp[mscp_index].done = 0;
config923drivers/scsi/ultrastor.cif(config.slot) {
config933drivers/scsi/ultrastor.coutb(0xc0, LCL_DOORBELL_INTR(config.doorbell_address));
config934drivers/scsi/ultrastor.cif (config.slot)
config936drivers/scsi/ultrastor.coutb(0, config.ogm_address - 1);
config937drivers/scsi/ultrastor.coutb(0, config.icm_address - 1);
config941drivers/scsi/ultrastor.cif (config.mscp_busy && config.mscp->done && config.mscp->SCint)
config943drivers/scsi/ultrastor.cconfig.mscp->SCint->result = DID_RESET << 16;
config944drivers/scsi/ultrastor.cconfig.mscp->done(config.mscp->SCint);
config946drivers/scsi/ultrastor.cconfig.mscp->SCint = 0;
config950drivers/scsi/ultrastor.cif (! (config.mscp_free & (1 << i)) &&
config951drivers/scsi/ultrastor.cconfig.mscp[i].done && config.mscp[i].SCint)
config953drivers/scsi/ultrastor.cconfig.mscp[i].SCint->result = DID_RESET << 16;
config954drivers/scsi/ultrastor.cconfig.mscp[i].done(config.mscp[i].SCint);
config955drivers/scsi/ultrastor.cconfig.mscp[i].done = 0;
config957drivers/scsi/ultrastor.cconfig.mscp[i].SCint = 0;
config961drivers/scsi/ultrastor.cmemset((unsigned char *)config.aborted, 0, sizeof config.aborted);
config963drivers/scsi/ultrastor.cconfig.mscp_busy = 0;
config965drivers/scsi/ultrastor.cconfig.mscp_free = ~0;
config975drivers/scsi/ultrastor.cunsigned int s = config.heads * config.sectors;
config977drivers/scsi/ultrastor.cdkinfo[0] = config.heads;
config978drivers/scsi/ultrastor.cdkinfo[1] = config.sectors;
config998drivers/scsi/ultrastor.cmscp = &config.mscp[0];
config1000drivers/scsi/ultrastor.cmscp = (struct mscp *)inl(config.icm_address);
config1001drivers/scsi/ultrastor.cmscp_index = mscp - config.mscp;
config1012drivers/scsi/ultrastor.cif (config.slot) {
config1013drivers/scsi/ultrastor.cunsigned char icm_status = inb(config.icm_address - 1);
config1021drivers/scsi/ultrastor.coutb(2, SYS_DOORBELL_INTR(config.doorbell_address));
config1022drivers/scsi/ultrastor.coutb(0, config.icm_address - 1);
config1037drivers/scsi/ultrastor.coutb(1, SYS_DOORBELL_INTR(config.doorbell_address));
config1049drivers/scsi/ultrastor.cconfig.mscp_busy = FALSE;
config1051drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config1053drivers/scsi/ultrastor.cconfig.aborted[mscp_index] = 0;
config1089drivers/scsi/ultrastor.cconfig.mscp_busy = FALSE;
config1091drivers/scsi/ultrastor.cset_bit(mscp_index, &config.mscp_free);
config1095drivers/scsi/ultrastor.cif (config.aborted[mscp_index])
config1097drivers/scsi/ultrastor.cmscp_index, (unsigned int) mscp, config.aborted[mscp_index]);
config1099drivers/scsi/ultrastor.cconfig.aborted[mscp_index] = 0;
config1106drivers/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);
config73drivers/sound/dev_table.csupported_drivers[i].config.io_base = hw_config->io_base;
config74drivers/sound/dev_table.csupported_drivers[i].config.irq = hw_config->irq;
config75drivers/sound/dev_table.csupported_drivers[i].config.dma = hw_config->dma;
config99drivers/sound/dev_table.csupported_drivers[i].config.io_base = hw_config->io_base;
config100drivers/sound/dev_table.csupported_drivers[i].config.irq = hw_config->irq;
config101drivers/sound/dev_table.csupported_drivers[i].config.dma = hw_config->dma;
config163drivers/sound/dev_table.csupported_drivers[ptr].config.io_base = ioaddr;
config164drivers/sound/dev_table.csupported_drivers[ptr].config.irq = irq;
config165drivers/sound/dev_table.csupported_drivers[ptr].config.dma = dma;
config184drivers/sound/dev_table.cif (ioaddr) supported_drivers[ptr].config.io_base = ioaddr;
config185drivers/sound/dev_table.cif (irq) supported_drivers[ptr].config.irq = irq;
config186drivers/sound/dev_table.cif (dma) supported_drivers[ptr].config.dma = dma;
config203drivers/sound/dev_table.creturn &supported_drivers[ptr].config;
config48drivers/sound/dev_table.hstruct address_info config;
config134drivers/sound/sound_switch.cif (!put_status_int(supported_drivers[i].config.io_base, 16)) return;
config136drivers/sound/sound_switch.cif (!put_status_int(supported_drivers[i].config.irq, 10)) return;
config138drivers/sound/sound_switch.cif (!put_status_int(supported_drivers[i].config.dma, 10)) return;
config47include/linux/ddi.hstruct ddconf config;      /* driver HW setup    */