tag | line | file | source code |
config | 247 | drivers/scsi/ultrastor.c | } config = {0}; |
config | 307 | drivers/scsi/ultrastor.c | static void log_ultrastor_abort(register struct ultrastor_config *config, |
config | 319 | drivers/scsi/ultrastor.c | if (! (config->mscp_free & (1 << i))) |
config | 320 | drivers/scsi/ultrastor.c | fmt[21 + i*2] = '0' + config->mscp[i].target_id; |
config | 326 | drivers/scsi/ultrastor.c | printk(fmt, command, &config->mscp[command], config->mscp_free); |
config | 353 | drivers/scsi/ultrastor.c | if (config.bios_segment) |
config | 361 | drivers/scsi/ultrastor.c | config.port_address = PORT_OVERRIDE; |
config | 365 | drivers/scsi/ultrastor.c | config.port_address = ultrastor_ports_14f[i]; |
config | 369 | drivers/scsi/ultrastor.c | printk("US14F: detect: testing port address %03X\n", config.port_address); |
config | 372 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address)); |
config | 378 | drivers/scsi/ultrastor.c | printk("US14F: detect: no adapter at port %03X\n", config.port_address); |
config | 387 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1); |
config | 394 | drivers/scsi/ultrastor.c | printk("US14F: detect: no adapter at port %03X\n", config.port_address); |
config | 417 | drivers/scsi/ultrastor.c | config.port_address); |
config | 422 | drivers/scsi/ultrastor.c | outb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(config.port_address)); |
config | 427 | drivers/scsi/ultrastor.c | snarf_region(config.port_address, 0x0c); /* Register the I/O space that we use */ |
config | 429 | drivers/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(config.port_address + 0)); |
config | 430 | drivers/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); |
config | 431 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1.bios_segment]; |
config | 432 | drivers/scsi/ultrastor.c | config.doorbell_address = config.port_address; |
config | 433 | drivers/scsi/ultrastor.c | config.ogm_address = config.port_address + 0x8; |
config | 434 | drivers/scsi/ultrastor.c | config.icm_address = config.port_address + 0xC; |
config | 435 | drivers/scsi/ultrastor.c | config.interrupt = interrupt_table_14f[config_1.interrupt]; |
config | 436 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2.ha_scsi_id; |
config | 437 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
config | 438 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[config_2.mapping_mode].sectors; |
config | 439 | drivers/scsi/ultrastor.c | config.bios_drive_number = config_2.bios_drive_number; |
config | 440 | drivers/scsi/ultrastor.c | config.subversion = (version_byte & 0x0F); |
config | 441 | drivers/scsi/ultrastor.c | if (config.subversion == U34F) |
config | 442 | drivers/scsi/ultrastor.c | config.dma_channel = 0; |
config | 444 | drivers/scsi/ultrastor.c | config.dma_channel = dma_channel_table_14f[config_1.dma_channel]; |
config | 446 | drivers/scsi/ultrastor.c | if (!config.bios_segment) { |
config | 454 | drivers/scsi/ultrastor.c | if (config.subversion != U34F) |
config | 455 | drivers/scsi/ultrastor.c | if (!config.dma_channel || !(config_2.tfr_port & 0x2)) { |
config | 475 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, config.interrupt, |
config | 476 | drivers/scsi/ultrastor.c | config.dma_channel, config.ha_scsi_id, config.subversion); |
config | 478 | drivers/scsi/ultrastor.c | config.host_number = hostnum; |
config | 479 | drivers/scsi/ultrastor.c | scsi_hosts[hostnum].this_id = config.ha_scsi_id; |
config | 480 | drivers/scsi/ultrastor.c | scsi_hosts[hostnum].unchecked_isa_dma = (config.subversion != U34F); |
config | 483 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 486 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt)) { |
config | 488 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 491 | drivers/scsi/ultrastor.c | if (config.dma_channel && request_dma(config.dma_channel)) { |
config | 493 | drivers/scsi/ultrastor.c | config.dma_channel); |
config | 494 | drivers/scsi/ultrastor.c | free_irq(config.interrupt); |
config | 523 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
config | 524 | drivers/scsi/ultrastor.c | config.slot = i; |
config | 536 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1 & 7]; |
config | 540 | drivers/scsi/ultrastor.c | config.interrupt = 15; |
config | 543 | drivers/scsi/ultrastor.c | config.interrupt = 14; |
config | 546 | drivers/scsi/ultrastor.c | config.interrupt = 11; |
config | 549 | drivers/scsi/ultrastor.c | config.interrupt = 10; |
config | 555 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt)) |
config | 558 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 563 | drivers/scsi/ultrastor.c | config.port_address = addr; |
config | 564 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
config | 565 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
config | 566 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
config | 568 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2 & 7; |
config | 569 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
config | 570 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[(config_2 >> 3) & 3].sectors; |
config | 577 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, |
config | 578 | drivers/scsi/ultrastor.c | config.interrupt, config.ha_scsi_id); |
config | 580 | drivers/scsi/ultrastor.c | config.host_number = hostnum; |
config | 581 | drivers/scsi/ultrastor.c | scsi_hosts[hostnum].this_id = config.ha_scsi_id; |
config | 586 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 612 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 614 | drivers/scsi/ultrastor.c | config.slot, config.interrupt); |
config | 615 | drivers/scsi/ultrastor.c | else if (config.subversion) |
config | 617 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 618 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 621 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 622 | drivers/scsi/ultrastor.c | config.interrupt, config.dma_channel); |
config | 657 | drivers/scsi/ultrastor.c | if ((config.mscp_free & ((1U << ULTRASTOR_MAX_CMDS) - 1)) == 0) |
config | 659 | drivers/scsi/ultrastor.c | mscp_index = find_and_clear_bit_16(&config.mscp_free); |
config | 662 | drivers/scsi/ultrastor.c | if (xchgb(0xff, &config.aborted[mscp_index]) != 0) |
config | 668 | drivers/scsi/ultrastor.c | my_mscp = &config.mscp[mscp_index]; |
config | 715 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 716 | drivers/scsi/ultrastor.c | while (inb(config.ogm_address - 1) != 0 && |
config | 717 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] == 0xff); |
config | 721 | drivers/scsi/ultrastor.c | while ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 722 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 723 | drivers/scsi/ultrastor.c | && config.aborted[mscp_index] == 0xff); |
config | 731 | drivers/scsi/ultrastor.c | if (inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 732 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 738 | drivers/scsi/ultrastor.c | status = xchgb(0, &config.aborted[mscp_index]); |
config | 745 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 751 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 764 | drivers/scsi/ultrastor.c | outl((unsigned int)my_mscp, config.ogm_address); |
config | 767 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 769 | drivers/scsi/ultrastor.c | outb(1, config.ogm_address - 1); |
config | 770 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 772 | drivers/scsi/ultrastor.c | outb(0x1, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 810 | drivers/scsi/ultrastor.c | if(config.slot) return 0; /* Do not attempt an abort for the 24f */ |
config | 812 | drivers/scsi/ultrastor.c | mscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp; |
config | 817 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 819 | drivers/scsi/ultrastor.c | int port0 = (config.slot << 12) | 0xc80; |
config | 844 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) == 2 : |
config | 845 | drivers/scsi/ultrastor.c | (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
config | 858 | drivers/scsi/ultrastor.c | old_aborted = xchgb(code ? code : DID_ABORT, &config.aborted[mscp_index]); |
config | 867 | drivers/scsi/ultrastor.c | if (config.slot && inb(config.ogm_address - 1) == 0) |
config | 873 | drivers/scsi/ultrastor.c | outl((int)&config.mscp[mscp_index], config.ogm_address); |
config | 875 | drivers/scsi/ultrastor.c | outb(0x80, config.ogm_address - 1); |
config | 876 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 878 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 886 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 895 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) |
config | 897 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint, SCpnt); |
config | 899 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint == 0) |
config | 902 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort"); |
config | 903 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint = 0; |
config | 904 | drivers/scsi/ultrastor.c | done = config.mscp[mscp_index].done; |
config | 905 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].done = 0; |
config | 923 | drivers/scsi/ultrastor.c | if(config.slot) { |
config | 933 | drivers/scsi/ultrastor.c | outb(0xc0, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 934 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 936 | drivers/scsi/ultrastor.c | outb(0, config.ogm_address - 1); |
config | 937 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 941 | drivers/scsi/ultrastor.c | if (config.mscp_busy && config.mscp->done && config.mscp->SCint) |
config | 943 | drivers/scsi/ultrastor.c | config.mscp->SCint->result = DID_RESET << 16; |
config | 944 | drivers/scsi/ultrastor.c | config.mscp->done(config.mscp->SCint); |
config | 946 | drivers/scsi/ultrastor.c | config.mscp->SCint = 0; |
config | 950 | drivers/scsi/ultrastor.c | if (! (config.mscp_free & (1 << i)) && |
config | 951 | drivers/scsi/ultrastor.c | config.mscp[i].done && config.mscp[i].SCint) |
config | 953 | drivers/scsi/ultrastor.c | config.mscp[i].SCint->result = DID_RESET << 16; |
config | 954 | drivers/scsi/ultrastor.c | config.mscp[i].done(config.mscp[i].SCint); |
config | 955 | drivers/scsi/ultrastor.c | config.mscp[i].done = 0; |
config | 957 | drivers/scsi/ultrastor.c | config.mscp[i].SCint = 0; |
config | 961 | drivers/scsi/ultrastor.c | memset((unsigned char *)config.aborted, 0, sizeof config.aborted); |
config | 963 | drivers/scsi/ultrastor.c | config.mscp_busy = 0; |
config | 965 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 975 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
config | 977 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
config | 978 | drivers/scsi/ultrastor.c | dkinfo[1] = config.sectors; |
config | 998 | drivers/scsi/ultrastor.c | mscp = &config.mscp[0]; |
config | 1000 | drivers/scsi/ultrastor.c | mscp = (struct mscp *)inl(config.icm_address); |
config | 1001 | drivers/scsi/ultrastor.c | mscp_index = mscp - config.mscp; |
config | 1012 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 1013 | drivers/scsi/ultrastor.c | unsigned char icm_status = inb(config.icm_address - 1); |
config | 1021 | drivers/scsi/ultrastor.c | outb(2, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1022 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 1037 | drivers/scsi/ultrastor.c | outb(1, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1049 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1051 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1053 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1089 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1091 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1095 | drivers/scsi/ultrastor.c | if (config.aborted[mscp_index]) |
config | 1097 | drivers/scsi/ultrastor.c | mscp_index, (unsigned int) mscp, config.aborted[mscp_index]); |
config | 1099 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1106 | 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 | 73 | drivers/sound/dev_table.c | supported_drivers[i].config.io_base = hw_config->io_base; |
config | 74 | drivers/sound/dev_table.c | supported_drivers[i].config.irq = hw_config->irq; |
config | 75 | drivers/sound/dev_table.c | supported_drivers[i].config.dma = hw_config->dma; |
config | 99 | drivers/sound/dev_table.c | supported_drivers[i].config.io_base = hw_config->io_base; |
config | 100 | drivers/sound/dev_table.c | supported_drivers[i].config.irq = hw_config->irq; |
config | 101 | drivers/sound/dev_table.c | supported_drivers[i].config.dma = hw_config->dma; |
config | 163 | drivers/sound/dev_table.c | supported_drivers[ptr].config.io_base = ioaddr; |
config | 164 | drivers/sound/dev_table.c | supported_drivers[ptr].config.irq = irq; |
config | 165 | drivers/sound/dev_table.c | supported_drivers[ptr].config.dma = dma; |
config | 184 | drivers/sound/dev_table.c | if (ioaddr) supported_drivers[ptr].config.io_base = ioaddr; |
config | 185 | drivers/sound/dev_table.c | if (irq) supported_drivers[ptr].config.irq = irq; |
config | 186 | drivers/sound/dev_table.c | if (dma) supported_drivers[ptr].config.dma = dma; |
config | 203 | drivers/sound/dev_table.c | return &supported_drivers[ptr].config; |
config | 48 | drivers/sound/dev_table.h | struct address_info config; |
config | 134 | drivers/sound/sound_switch.c | if (!put_status_int(supported_drivers[i].config.io_base, 16)) return; |
config | 136 | drivers/sound/sound_switch.c | if (!put_status_int(supported_drivers[i].config.irq, 10)) return; |
config | 138 | drivers/sound/sound_switch.c | if (!put_status_int(supported_drivers[i].config.dma, 10)) return; |
config | 47 | include/linux/ddi.h | struct ddconf config; /* driver HW setup */ |