tag | line | file | source code |
config | 1647 | drivers/block/ide-cd.c | CDROM_FLAGS (dev)->drq_interrupt = ((dev->id->config & 0x0060) == 0x20); |
config | 1766 | drivers/block/ide.c | byte type = (id->config >> 8) & 0x0f; |
config | 455 | drivers/scsi/eata.c | struct eata_config config; |
config | 458 | drivers/scsi/eata.c | memset((char *)&config, 0, sizeof(struct eata_config)); |
config | 459 | drivers/scsi/eata.c | config.len = (ushort) htons((ushort)510); |
config | 460 | drivers/scsi/eata.c | config.ocena = TRUE; |
config | 462 | drivers/scsi/eata.c | if (do_dma(*port_base, (unsigned int)&config, SET_CONFIG_DMA)) { |
config | 255 | drivers/scsi/ultrastor.c | } config = {0}; |
config | 321 | drivers/scsi/ultrastor.c | static void log_ultrastor_abort(register struct ultrastor_config *config, |
config | 333 | drivers/scsi/ultrastor.c | if (! (config->mscp_free & (1 << i))) |
config | 334 | drivers/scsi/ultrastor.c | fmt[21 + i*2] = '0' + config->mscp[i].target_id; |
config | 340 | drivers/scsi/ultrastor.c | printk(fmt, command, &config->mscp[command], config->mscp_free); |
config | 367 | drivers/scsi/ultrastor.c | if (config.bios_segment) |
config | 375 | drivers/scsi/ultrastor.c | config.port_address = PORT_OVERRIDE; |
config | 379 | drivers/scsi/ultrastor.c | config.port_address = ultrastor_ports_14f[i]; |
config | 383 | drivers/scsi/ultrastor.c | printk("US14F: detect: testing port address %03X\n", config.port_address); |
config | 386 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address)); |
config | 392 | drivers/scsi/ultrastor.c | printk("US14F: detect: no adapter at port %03X\n", config.port_address); |
config | 401 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1); |
config | 408 | drivers/scsi/ultrastor.c | printk("US14F: detect: no adapter at port %03X\n", config.port_address); |
config | 431 | drivers/scsi/ultrastor.c | config.port_address); |
config | 436 | drivers/scsi/ultrastor.c | outb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(config.port_address)); |
config | 441 | drivers/scsi/ultrastor.c | request_region(config.port_address, 0x0c,"ultrastor"); |
config | 444 | drivers/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(config.port_address + 0)); |
config | 445 | drivers/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); |
config | 446 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1.bios_segment]; |
config | 447 | drivers/scsi/ultrastor.c | config.doorbell_address = config.port_address; |
config | 448 | drivers/scsi/ultrastor.c | config.ogm_address = config.port_address + 0x8; |
config | 449 | drivers/scsi/ultrastor.c | config.icm_address = config.port_address + 0xC; |
config | 450 | drivers/scsi/ultrastor.c | config.interrupt = interrupt_table_14f[config_1.interrupt]; |
config | 451 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2.ha_scsi_id; |
config | 452 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
config | 453 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[config_2.mapping_mode].sectors; |
config | 454 | drivers/scsi/ultrastor.c | config.bios_drive_number = config_2.bios_drive_number; |
config | 455 | drivers/scsi/ultrastor.c | config.subversion = (version_byte & 0x0F); |
config | 456 | drivers/scsi/ultrastor.c | if (config.subversion == U34F) |
config | 457 | drivers/scsi/ultrastor.c | config.dma_channel = 0; |
config | 459 | drivers/scsi/ultrastor.c | config.dma_channel = dma_channel_table_14f[config_1.dma_channel]; |
config | 461 | drivers/scsi/ultrastor.c | if (!config.bios_segment) { |
config | 469 | drivers/scsi/ultrastor.c | if (config.subversion != U34F) |
config | 470 | drivers/scsi/ultrastor.c | if (!config.dma_channel || !(config_2.tfr_port & 0x2)) { |
config | 490 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, config.interrupt, |
config | 491 | drivers/scsi/ultrastor.c | config.dma_channel, config.ha_scsi_id, config.subversion); |
config | 493 | drivers/scsi/ultrastor.c | tpnt->this_id = config.ha_scsi_id; |
config | 494 | drivers/scsi/ultrastor.c | tpnt->unchecked_isa_dma = (config.subversion != U34F); |
config | 497 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 500 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor")) { |
config | 502 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 505 | drivers/scsi/ultrastor.c | if (config.dma_channel && request_dma(config.dma_channel,"Ultrastor")) { |
config | 507 | drivers/scsi/ultrastor.c | config.dma_channel); |
config | 508 | drivers/scsi/ultrastor.c | free_irq(config.interrupt); |
config | 538 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
config | 539 | drivers/scsi/ultrastor.c | config.slot = i; |
config | 551 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1 & 7]; |
config | 555 | drivers/scsi/ultrastor.c | config.interrupt = 15; |
config | 558 | drivers/scsi/ultrastor.c | config.interrupt = 14; |
config | 561 | drivers/scsi/ultrastor.c | config.interrupt = 11; |
config | 564 | drivers/scsi/ultrastor.c | config.interrupt = 10; |
config | 570 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor")) |
config | 573 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 578 | drivers/scsi/ultrastor.c | config.port_address = addr; |
config | 579 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
config | 580 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
config | 581 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
config | 583 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2 & 7; |
config | 584 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
config | 585 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[(config_2 >> 3) & 3].sectors; |
config | 592 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, |
config | 593 | drivers/scsi/ultrastor.c | config.interrupt, config.ha_scsi_id); |
config | 595 | drivers/scsi/ultrastor.c | tpnt->this_id = config.ha_scsi_id; |
config | 600 | drivers/scsi/ultrastor.c | shpnt->irq = config.interrupt; |
config | 601 | drivers/scsi/ultrastor.c | shpnt->dma_channel = config.dma_channel; |
config | 602 | drivers/scsi/ultrastor.c | shpnt->io_port = config.port_address; |
config | 605 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 631 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 633 | drivers/scsi/ultrastor.c | config.slot, config.interrupt); |
config | 634 | drivers/scsi/ultrastor.c | else if (config.subversion) |
config | 636 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 637 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 640 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 641 | drivers/scsi/ultrastor.c | config.interrupt, config.dma_channel); |
config | 676 | drivers/scsi/ultrastor.c | if ((config.mscp_free & ((1U << ULTRASTOR_MAX_CMDS) - 1)) == 0) |
config | 678 | drivers/scsi/ultrastor.c | mscp_index = find_and_clear_bit_16(&config.mscp_free); |
config | 681 | drivers/scsi/ultrastor.c | if (xchgb(0xff, &config.aborted[mscp_index]) != 0) |
config | 687 | drivers/scsi/ultrastor.c | my_mscp = &config.mscp[mscp_index]; |
config | 734 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 735 | drivers/scsi/ultrastor.c | while (inb(config.ogm_address - 1) != 0 && |
config | 736 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] == 0xff) barrier(); |
config | 740 | drivers/scsi/ultrastor.c | while ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 741 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 742 | drivers/scsi/ultrastor.c | && config.aborted[mscp_index] == 0xff) barrier(); |
config | 750 | drivers/scsi/ultrastor.c | if (inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 751 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 757 | drivers/scsi/ultrastor.c | status = xchgb(0, &config.aborted[mscp_index]); |
config | 764 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 770 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 783 | drivers/scsi/ultrastor.c | outl((unsigned int)my_mscp, config.ogm_address); |
config | 786 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 788 | drivers/scsi/ultrastor.c | outb(1, config.ogm_address - 1); |
config | 789 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 791 | drivers/scsi/ultrastor.c | outb(0x1, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 829 | drivers/scsi/ultrastor.c | if(config.slot) |
config | 836 | drivers/scsi/ultrastor.c | mscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp; |
config | 841 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 843 | drivers/scsi/ultrastor.c | int port0 = (config.slot << 12) | 0xc80; |
config | 868 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) == 2 : |
config | 869 | drivers/scsi/ultrastor.c | (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
config | 882 | drivers/scsi/ultrastor.c | old_aborted = xchgb(DID_ABORT, &config.aborted[mscp_index]); |
config | 891 | drivers/scsi/ultrastor.c | if (config.slot && inb(config.ogm_address - 1) == 0) |
config | 897 | drivers/scsi/ultrastor.c | outl((int)&config.mscp[mscp_index], config.ogm_address); |
config | 899 | drivers/scsi/ultrastor.c | outb(0x80, config.ogm_address - 1); |
config | 900 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 902 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 910 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 924 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) |
config | 926 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint, SCpnt); |
config | 928 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint == 0) |
config | 931 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort"); |
config | 932 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint = 0; |
config | 933 | drivers/scsi/ultrastor.c | done = config.mscp[mscp_index].done; |
config | 934 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].done = 0; |
config | 951 | drivers/scsi/ultrastor.c | if(config.slot) |
config | 959 | drivers/scsi/ultrastor.c | outb(0xc0, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 960 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 962 | drivers/scsi/ultrastor.c | outb(0, config.ogm_address - 1); |
config | 963 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 967 | drivers/scsi/ultrastor.c | if (config.mscp_busy && config.mscp->done && config.mscp->SCint) |
config | 969 | drivers/scsi/ultrastor.c | config.mscp->SCint->result = DID_RESET << 16; |
config | 970 | drivers/scsi/ultrastor.c | config.mscp->done(config.mscp->SCint); |
config | 972 | drivers/scsi/ultrastor.c | config.mscp->SCint = 0; |
config | 976 | drivers/scsi/ultrastor.c | if (! (config.mscp_free & (1 << i)) && |
config | 977 | drivers/scsi/ultrastor.c | config.mscp[i].done && config.mscp[i].SCint) |
config | 979 | drivers/scsi/ultrastor.c | config.mscp[i].SCint->result = DID_RESET << 16; |
config | 980 | drivers/scsi/ultrastor.c | config.mscp[i].done(config.mscp[i].SCint); |
config | 981 | drivers/scsi/ultrastor.c | config.mscp[i].done = 0; |
config | 983 | drivers/scsi/ultrastor.c | config.mscp[i].SCint = 0; |
config | 990 | drivers/scsi/ultrastor.c | memset((unsigned char *)config.aborted, 0, sizeof config.aborted); |
config | 992 | drivers/scsi/ultrastor.c | config.mscp_busy = 0; |
config | 994 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 1005 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
config | 1007 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
config | 1008 | drivers/scsi/ultrastor.c | dkinfo[1] = config.sectors; |
config | 1028 | drivers/scsi/ultrastor.c | mscp = &config.mscp[0]; |
config | 1030 | drivers/scsi/ultrastor.c | mscp = (struct mscp *)inl(config.icm_address); |
config | 1031 | drivers/scsi/ultrastor.c | mscp_index = mscp - config.mscp; |
config | 1042 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 1043 | drivers/scsi/ultrastor.c | unsigned char icm_status = inb(config.icm_address - 1); |
config | 1051 | drivers/scsi/ultrastor.c | outb(2, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1052 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 1067 | drivers/scsi/ultrastor.c | outb(1, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1079 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1081 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1083 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1119 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1121 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1125 | drivers/scsi/ultrastor.c | if (config.aborted[mscp_index]) |
config | 1127 | drivers/scsi/ultrastor.c | mscp_index, (unsigned int) mscp, config.aborted[mscp_index]); |
config | 1129 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1136 | 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 | 92 | include/linux/hdreg.h | unsigned short config; /* lots of obsolete bit flags */ |