tag | line | file | source code |
config | 255 | drivers/scsi/ultrastor.c | } config = {0}; |
config | 318 | drivers/scsi/ultrastor.c | static void log_ultrastor_abort(register struct ultrastor_config *config, |
config | 330 | drivers/scsi/ultrastor.c | if (! (config->mscp_free & (1 << i))) |
config | 331 | drivers/scsi/ultrastor.c | fmt[21 + i*2] = '0' + config->mscp[i].target_id; |
config | 337 | drivers/scsi/ultrastor.c | printk(fmt, command, &config->mscp[command], config->mscp_free); |
config | 364 | drivers/scsi/ultrastor.c | if (config.bios_segment) |
config | 372 | drivers/scsi/ultrastor.c | config.port_address = PORT_OVERRIDE; |
config | 376 | drivers/scsi/ultrastor.c | config.port_address = ultrastor_ports_14f[i]; |
config | 380 | drivers/scsi/ultrastor.c | printk("US14F: detect: testing port address %03X\n", config.port_address); |
config | 383 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address)); |
config | 389 | drivers/scsi/ultrastor.c | printk("US14F: detect: no adapter at port %03X\n", config.port_address); |
config | 398 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1); |
config | 405 | drivers/scsi/ultrastor.c | printk("US14F: detect: no adapter at port %03X\n", config.port_address); |
config | 428 | drivers/scsi/ultrastor.c | config.port_address); |
config | 433 | drivers/scsi/ultrastor.c | outb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(config.port_address)); |
config | 438 | drivers/scsi/ultrastor.c | snarf_region(config.port_address, 0x0c); /* Register the I/O space that we use */ |
config | 440 | drivers/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(config.port_address + 0)); |
config | 441 | drivers/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); |
config | 442 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1.bios_segment]; |
config | 443 | drivers/scsi/ultrastor.c | config.doorbell_address = config.port_address; |
config | 444 | drivers/scsi/ultrastor.c | config.ogm_address = config.port_address + 0x8; |
config | 445 | drivers/scsi/ultrastor.c | config.icm_address = config.port_address + 0xC; |
config | 446 | drivers/scsi/ultrastor.c | config.interrupt = interrupt_table_14f[config_1.interrupt]; |
config | 447 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2.ha_scsi_id; |
config | 448 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
config | 449 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[config_2.mapping_mode].sectors; |
config | 450 | drivers/scsi/ultrastor.c | config.bios_drive_number = config_2.bios_drive_number; |
config | 451 | drivers/scsi/ultrastor.c | config.subversion = (version_byte & 0x0F); |
config | 452 | drivers/scsi/ultrastor.c | if (config.subversion == U34F) |
config | 453 | drivers/scsi/ultrastor.c | config.dma_channel = 0; |
config | 455 | drivers/scsi/ultrastor.c | config.dma_channel = dma_channel_table_14f[config_1.dma_channel]; |
config | 457 | drivers/scsi/ultrastor.c | if (!config.bios_segment) { |
config | 465 | drivers/scsi/ultrastor.c | if (config.subversion != U34F) |
config | 466 | drivers/scsi/ultrastor.c | if (!config.dma_channel || !(config_2.tfr_port & 0x2)) { |
config | 486 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, config.interrupt, |
config | 487 | drivers/scsi/ultrastor.c | config.dma_channel, config.ha_scsi_id, config.subversion); |
config | 489 | drivers/scsi/ultrastor.c | tpnt->this_id = config.ha_scsi_id; |
config | 490 | drivers/scsi/ultrastor.c | tpnt->unchecked_isa_dma = (config.subversion != U34F); |
config | 493 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 496 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor")) { |
config | 498 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 501 | drivers/scsi/ultrastor.c | if (config.dma_channel && request_dma(config.dma_channel,"Ultrastor")) { |
config | 503 | drivers/scsi/ultrastor.c | config.dma_channel); |
config | 504 | drivers/scsi/ultrastor.c | free_irq(config.interrupt); |
config | 534 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
config | 535 | drivers/scsi/ultrastor.c | config.slot = i; |
config | 547 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1 & 7]; |
config | 551 | drivers/scsi/ultrastor.c | config.interrupt = 15; |
config | 554 | drivers/scsi/ultrastor.c | config.interrupt = 14; |
config | 557 | drivers/scsi/ultrastor.c | config.interrupt = 11; |
config | 560 | drivers/scsi/ultrastor.c | config.interrupt = 10; |
config | 566 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor")) |
config | 569 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 574 | drivers/scsi/ultrastor.c | config.port_address = addr; |
config | 575 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
config | 576 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
config | 577 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
config | 579 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2 & 7; |
config | 580 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
config | 581 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[(config_2 >> 3) & 3].sectors; |
config | 588 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, |
config | 589 | drivers/scsi/ultrastor.c | config.interrupt, config.ha_scsi_id); |
config | 591 | drivers/scsi/ultrastor.c | tpnt->this_id = config.ha_scsi_id; |
config | 596 | drivers/scsi/ultrastor.c | shpnt->irq = config.interrupt; |
config | 597 | drivers/scsi/ultrastor.c | shpnt->dma_channel = config.dma_channel; |
config | 598 | drivers/scsi/ultrastor.c | shpnt->io_port = config.port_address; |
config | 601 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 627 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 629 | drivers/scsi/ultrastor.c | config.slot, config.interrupt); |
config | 630 | drivers/scsi/ultrastor.c | else if (config.subversion) |
config | 632 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 633 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 636 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 637 | drivers/scsi/ultrastor.c | config.interrupt, config.dma_channel); |
config | 672 | drivers/scsi/ultrastor.c | if ((config.mscp_free & ((1U << ULTRASTOR_MAX_CMDS) - 1)) == 0) |
config | 674 | drivers/scsi/ultrastor.c | mscp_index = find_and_clear_bit_16(&config.mscp_free); |
config | 677 | drivers/scsi/ultrastor.c | if (xchgb(0xff, &config.aborted[mscp_index]) != 0) |
config | 683 | drivers/scsi/ultrastor.c | my_mscp = &config.mscp[mscp_index]; |
config | 730 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 731 | drivers/scsi/ultrastor.c | while (inb(config.ogm_address - 1) != 0 && |
config | 732 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] == 0xff); |
config | 736 | drivers/scsi/ultrastor.c | while ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 737 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 738 | drivers/scsi/ultrastor.c | && config.aborted[mscp_index] == 0xff); |
config | 746 | drivers/scsi/ultrastor.c | if (inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 747 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 753 | drivers/scsi/ultrastor.c | status = xchgb(0, &config.aborted[mscp_index]); |
config | 760 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 766 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 779 | drivers/scsi/ultrastor.c | outl((unsigned int)my_mscp, config.ogm_address); |
config | 782 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 784 | drivers/scsi/ultrastor.c | outb(1, config.ogm_address - 1); |
config | 785 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 787 | drivers/scsi/ultrastor.c | outb(0x1, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 825 | drivers/scsi/ultrastor.c | if(config.slot) |
config | 832 | drivers/scsi/ultrastor.c | mscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp; |
config | 837 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 839 | drivers/scsi/ultrastor.c | int port0 = (config.slot << 12) | 0xc80; |
config | 864 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) == 2 : |
config | 865 | drivers/scsi/ultrastor.c | (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
config | 878 | drivers/scsi/ultrastor.c | old_aborted = xchgb(DID_ABORT, &config.aborted[mscp_index]); |
config | 887 | drivers/scsi/ultrastor.c | if (config.slot && inb(config.ogm_address - 1) == 0) |
config | 893 | drivers/scsi/ultrastor.c | outl((int)&config.mscp[mscp_index], config.ogm_address); |
config | 895 | drivers/scsi/ultrastor.c | outb(0x80, config.ogm_address - 1); |
config | 896 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 898 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 906 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 920 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) |
config | 922 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint, SCpnt); |
config | 924 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint == 0) |
config | 927 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort"); |
config | 928 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint = 0; |
config | 929 | drivers/scsi/ultrastor.c | done = config.mscp[mscp_index].done; |
config | 930 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].done = 0; |
config | 947 | drivers/scsi/ultrastor.c | if(config.slot) |
config | 955 | drivers/scsi/ultrastor.c | outb(0xc0, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 956 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 958 | drivers/scsi/ultrastor.c | outb(0, config.ogm_address - 1); |
config | 959 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 963 | drivers/scsi/ultrastor.c | if (config.mscp_busy && config.mscp->done && config.mscp->SCint) |
config | 965 | drivers/scsi/ultrastor.c | config.mscp->SCint->result = DID_RESET << 16; |
config | 966 | drivers/scsi/ultrastor.c | config.mscp->done(config.mscp->SCint); |
config | 968 | drivers/scsi/ultrastor.c | config.mscp->SCint = 0; |
config | 972 | drivers/scsi/ultrastor.c | if (! (config.mscp_free & (1 << i)) && |
config | 973 | drivers/scsi/ultrastor.c | config.mscp[i].done && config.mscp[i].SCint) |
config | 975 | drivers/scsi/ultrastor.c | config.mscp[i].SCint->result = DID_RESET << 16; |
config | 976 | drivers/scsi/ultrastor.c | config.mscp[i].done(config.mscp[i].SCint); |
config | 977 | drivers/scsi/ultrastor.c | config.mscp[i].done = 0; |
config | 979 | drivers/scsi/ultrastor.c | config.mscp[i].SCint = 0; |
config | 986 | drivers/scsi/ultrastor.c | memset((unsigned char *)config.aborted, 0, sizeof config.aborted); |
config | 988 | drivers/scsi/ultrastor.c | config.mscp_busy = 0; |
config | 990 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 1001 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
config | 1003 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
config | 1004 | drivers/scsi/ultrastor.c | dkinfo[1] = config.sectors; |
config | 1024 | drivers/scsi/ultrastor.c | mscp = &config.mscp[0]; |
config | 1026 | drivers/scsi/ultrastor.c | mscp = (struct mscp *)inl(config.icm_address); |
config | 1027 | drivers/scsi/ultrastor.c | mscp_index = mscp - config.mscp; |
config | 1038 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 1039 | drivers/scsi/ultrastor.c | unsigned char icm_status = inb(config.icm_address - 1); |
config | 1047 | drivers/scsi/ultrastor.c | outb(2, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1048 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 1063 | drivers/scsi/ultrastor.c | outb(1, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1075 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1077 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1079 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1115 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1117 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1121 | drivers/scsi/ultrastor.c | if (config.aborted[mscp_index]) |
config | 1123 | drivers/scsi/ultrastor.c | mscp_index, (unsigned int) mscp, config.aborted[mscp_index]); |
config | 1125 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1132 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) : (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
config | 61 | drivers/sound/dev_table.c | else if (sound_drivers[drv].probe (&snd_installed_cards[i].config)) |
config | 68 | drivers/sound/dev_table.c | mem_start = sound_drivers[drv].attach (mem_start, &snd_installed_cards[i].config); |
config | 71 | drivers/sound/dev_table.c | snd_installed_cards[i].config.io_base, |
config | 72 | drivers/sound/dev_table.c | snd_installed_cards[i].config.irq, |
config | 73 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma); |
config | 97 | drivers/sound/dev_table.c | snd_installed_cards[i].config.io_base = hw_config->io_base; |
config | 98 | drivers/sound/dev_table.c | snd_installed_cards[i].config.irq = hw_config->irq; |
config | 99 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
config | 133 | drivers/sound/dev_table.c | snd_installed_cards[i].config.io_base = hw_config->io_base; |
config | 134 | drivers/sound/dev_table.c | snd_installed_cards[i].config.irq = hw_config->irq; |
config | 135 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
config | 208 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.io_base = ioaddr; |
config | 209 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.irq = irq; |
config | 210 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
config | 235 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.io_base = ioaddr; |
config | 237 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.irq = irq; |
config | 239 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
config | 259 | drivers/sound/dev_table.c | return &snd_installed_cards[ptr].config; |
config | 52 | drivers/sound/dev_table.h | struct address_info config; |
config | 168 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.io_base, 16)) |
config | 172 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.irq, 10)) |
config | 176 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.dma, 10)) |
config | 80 | include/linux/hdreg.h | unsigned short config; /* lots of obsolete bit flags */ |