tag | line | file | source code |
config | 247 | 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 | snarf_region(config.port_address, 0x0c); /* Register the I/O space that we use */ |
config | 443 | drivers/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(config.port_address + 0)); |
config | 444 | drivers/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); |
config | 445 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1.bios_segment]; |
config | 446 | drivers/scsi/ultrastor.c | config.doorbell_address = config.port_address; |
config | 447 | drivers/scsi/ultrastor.c | config.ogm_address = config.port_address + 0x8; |
config | 448 | drivers/scsi/ultrastor.c | config.icm_address = config.port_address + 0xC; |
config | 449 | drivers/scsi/ultrastor.c | config.interrupt = interrupt_table_14f[config_1.interrupt]; |
config | 450 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2.ha_scsi_id; |
config | 451 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
config | 452 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[config_2.mapping_mode].sectors; |
config | 453 | drivers/scsi/ultrastor.c | config.bios_drive_number = config_2.bios_drive_number; |
config | 454 | drivers/scsi/ultrastor.c | config.subversion = (version_byte & 0x0F); |
config | 455 | drivers/scsi/ultrastor.c | if (config.subversion == U34F) |
config | 456 | drivers/scsi/ultrastor.c | config.dma_channel = 0; |
config | 458 | drivers/scsi/ultrastor.c | config.dma_channel = dma_channel_table_14f[config_1.dma_channel]; |
config | 460 | drivers/scsi/ultrastor.c | if (!config.bios_segment) { |
config | 468 | drivers/scsi/ultrastor.c | if (config.subversion != U34F) |
config | 469 | drivers/scsi/ultrastor.c | if (!config.dma_channel || !(config_2.tfr_port & 0x2)) { |
config | 489 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, config.interrupt, |
config | 490 | drivers/scsi/ultrastor.c | config.dma_channel, config.ha_scsi_id, config.subversion); |
config | 492 | drivers/scsi/ultrastor.c | config.host_number = hostnum; |
config | 493 | drivers/scsi/ultrastor.c | scsi_hosts[hostnum].this_id = config.ha_scsi_id; |
config | 494 | drivers/scsi/ultrastor.c | scsi_hosts[hostnum].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)) { |
config | 502 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 505 | drivers/scsi/ultrastor.c | if (config.dma_channel && request_dma(config.dma_channel)) { |
config | 507 | drivers/scsi/ultrastor.c | config.dma_channel); |
config | 508 | drivers/scsi/ultrastor.c | free_irq(config.interrupt); |
config | 537 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
config | 538 | drivers/scsi/ultrastor.c | config.slot = i; |
config | 550 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1 & 7]; |
config | 554 | drivers/scsi/ultrastor.c | config.interrupt = 15; |
config | 557 | drivers/scsi/ultrastor.c | config.interrupt = 14; |
config | 560 | drivers/scsi/ultrastor.c | config.interrupt = 11; |
config | 563 | drivers/scsi/ultrastor.c | config.interrupt = 10; |
config | 569 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt)) |
config | 572 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 577 | drivers/scsi/ultrastor.c | config.port_address = addr; |
config | 578 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
config | 579 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
config | 580 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
config | 582 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2 & 7; |
config | 583 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
config | 584 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[(config_2 >> 3) & 3].sectors; |
config | 591 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, |
config | 592 | drivers/scsi/ultrastor.c | config.interrupt, config.ha_scsi_id); |
config | 594 | drivers/scsi/ultrastor.c | config.host_number = hostnum; |
config | 595 | drivers/scsi/ultrastor.c | scsi_hosts[hostnum].this_id = config.ha_scsi_id; |
config | 600 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 626 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 628 | drivers/scsi/ultrastor.c | config.slot, config.interrupt); |
config | 629 | drivers/scsi/ultrastor.c | else if (config.subversion) |
config | 631 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 632 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 635 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 636 | drivers/scsi/ultrastor.c | config.interrupt, config.dma_channel); |
config | 671 | drivers/scsi/ultrastor.c | if ((config.mscp_free & ((1U << ULTRASTOR_MAX_CMDS) - 1)) == 0) |
config | 673 | drivers/scsi/ultrastor.c | mscp_index = find_and_clear_bit_16(&config.mscp_free); |
config | 676 | drivers/scsi/ultrastor.c | if (xchgb(0xff, &config.aborted[mscp_index]) != 0) |
config | 682 | drivers/scsi/ultrastor.c | my_mscp = &config.mscp[mscp_index]; |
config | 729 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 730 | drivers/scsi/ultrastor.c | while (inb(config.ogm_address - 1) != 0 && |
config | 731 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] == 0xff); |
config | 735 | drivers/scsi/ultrastor.c | while ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 736 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 737 | drivers/scsi/ultrastor.c | && config.aborted[mscp_index] == 0xff); |
config | 745 | drivers/scsi/ultrastor.c | if (inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 746 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 752 | drivers/scsi/ultrastor.c | status = xchgb(0, &config.aborted[mscp_index]); |
config | 759 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 765 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 778 | drivers/scsi/ultrastor.c | outl((unsigned int)my_mscp, config.ogm_address); |
config | 781 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 783 | drivers/scsi/ultrastor.c | outb(1, config.ogm_address - 1); |
config | 784 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 786 | drivers/scsi/ultrastor.c | outb(0x1, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 824 | drivers/scsi/ultrastor.c | if(config.slot) return 0; /* Do not attempt an abort for the 24f */ |
config | 826 | drivers/scsi/ultrastor.c | mscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp; |
config | 831 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 833 | drivers/scsi/ultrastor.c | int port0 = (config.slot << 12) | 0xc80; |
config | 858 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) == 2 : |
config | 859 | drivers/scsi/ultrastor.c | (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
config | 872 | drivers/scsi/ultrastor.c | old_aborted = xchgb(code ? code : DID_ABORT, &config.aborted[mscp_index]); |
config | 881 | drivers/scsi/ultrastor.c | if (config.slot && inb(config.ogm_address - 1) == 0) |
config | 887 | drivers/scsi/ultrastor.c | outl((int)&config.mscp[mscp_index], config.ogm_address); |
config | 889 | drivers/scsi/ultrastor.c | outb(0x80, config.ogm_address - 1); |
config | 890 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 892 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 900 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 909 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) |
config | 911 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint, SCpnt); |
config | 913 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint == 0) |
config | 916 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort"); |
config | 917 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint = 0; |
config | 918 | drivers/scsi/ultrastor.c | done = config.mscp[mscp_index].done; |
config | 919 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].done = 0; |
config | 937 | drivers/scsi/ultrastor.c | if(config.slot) { |
config | 947 | drivers/scsi/ultrastor.c | outb(0xc0, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 948 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 950 | drivers/scsi/ultrastor.c | outb(0, config.ogm_address - 1); |
config | 951 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 955 | drivers/scsi/ultrastor.c | if (config.mscp_busy && config.mscp->done && config.mscp->SCint) |
config | 957 | drivers/scsi/ultrastor.c | config.mscp->SCint->result = DID_RESET << 16; |
config | 958 | drivers/scsi/ultrastor.c | config.mscp->done(config.mscp->SCint); |
config | 960 | drivers/scsi/ultrastor.c | config.mscp->SCint = 0; |
config | 964 | drivers/scsi/ultrastor.c | if (! (config.mscp_free & (1 << i)) && |
config | 965 | drivers/scsi/ultrastor.c | config.mscp[i].done && config.mscp[i].SCint) |
config | 967 | drivers/scsi/ultrastor.c | config.mscp[i].SCint->result = DID_RESET << 16; |
config | 968 | drivers/scsi/ultrastor.c | config.mscp[i].done(config.mscp[i].SCint); |
config | 969 | drivers/scsi/ultrastor.c | config.mscp[i].done = 0; |
config | 971 | drivers/scsi/ultrastor.c | config.mscp[i].SCint = 0; |
config | 975 | drivers/scsi/ultrastor.c | memset((unsigned char *)config.aborted, 0, sizeof config.aborted); |
config | 977 | drivers/scsi/ultrastor.c | config.mscp_busy = 0; |
config | 979 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 989 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
config | 991 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
config | 992 | drivers/scsi/ultrastor.c | dkinfo[1] = config.sectors; |
config | 1010 | drivers/scsi/ultrastor.c | mscp = &config.mscp[0]; |
config | 1012 | drivers/scsi/ultrastor.c | mscp = (struct mscp *)inl(config.icm_address); |
config | 1013 | drivers/scsi/ultrastor.c | mscp_index = mscp - config.mscp; |
config | 1024 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 1025 | drivers/scsi/ultrastor.c | unsigned char icm_status = inb(config.icm_address - 1); |
config | 1033 | drivers/scsi/ultrastor.c | outb(2, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1034 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 1049 | drivers/scsi/ultrastor.c | outb(1, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1061 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1063 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1065 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1101 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1103 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1107 | drivers/scsi/ultrastor.c | if (config.aborted[mscp_index]) |
config | 1109 | drivers/scsi/ultrastor.c | mscp_index, (unsigned int) mscp, config.aborted[mscp_index]); |
config | 1111 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1118 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) : (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
config | 42 | drivers/sound/dev_table.c | if (supported_drivers[i].probe (&supported_drivers[i].config)) |
config | 49 | drivers/sound/dev_table.c | mem_start = supported_drivers[i].attach (mem_start, &supported_drivers[i].config); |
config | 52 | drivers/sound/dev_table.c | supported_drivers[i].config.io_base, |
config | 53 | drivers/sound/dev_table.c | supported_drivers[i].config.irq, |
config | 54 | drivers/sound/dev_table.c | supported_drivers[i].config.dma); |
config | 151 | drivers/sound/dev_table.c | supported_drivers[ptr].config.io_base = ioaddr; |
config | 152 | drivers/sound/dev_table.c | supported_drivers[ptr].config.irq = irq; |
config | 153 | drivers/sound/dev_table.c | supported_drivers[ptr].config.dma = dma; |
config | 170 | drivers/sound/dev_table.c | return &supported_drivers[ptr].config; |
config | 48 | drivers/sound/dev_table.h | struct address_info config; |
config | 120 | drivers/sound/soundcard.c | supported_drivers[i].config.io_base, |
config | 121 | drivers/sound/soundcard.c | supported_drivers[i].config.irq, |
config | 122 | drivers/sound/soundcard.c | supported_drivers[i].config.dma); |
config | 47 | include/linux/ddi.h | struct ddconf config; /* driver HW setup */ |