tag | line | file | source code |
config | 2548 | drivers/block/ide-cd.c | ((drive->id->config & 0x0060) == 0x20); |
config | 1030 | drivers/block/ide-tape.c | *ptr=id->config; |
config | 2182 | drivers/block/ide.c | byte type = (id->config >> 8) & 0x1f; |
config | 2238 | drivers/block/ide.c | if (id->config & (1<<7)) { /* removable disk ? */ |
config | 591 | drivers/char/ftape/ftape-io.c | int config; |
config | 595 | drivers/char/ftape/ftape-io.c | result = ftape_report_operation(&config, QIC_REPORT_DRIVE_CONFIGURATION, 8); |
config | 603 | drivers/char/ftape/ftape-io.c | *rate = (config & QIC_CONFIG_RATE_MASK) >> QIC_CONFIG_RATE_SHIFT; |
config | 608 | drivers/char/ftape/ftape-io.c | *qic_std = (config & QIC_CONFIG_80) ? QIC_TAPE_QIC80 : QIC_TAPE_QIC40; |
config | 609 | drivers/char/ftape/ftape-io.c | *tape_len = (config & QIC_CONFIG_LONG) ? 307 : 205; |
config | 635 | drivers/char/ftape/ftape-io.c | if (config & QIC_CONFIG_LONG) { |
config | 471 | drivers/net/3c59x.c | union wn3_config config; |
config | 473 | drivers/net/3c59x.c | config.i = inl(ioaddr + Wn3_Config); |
config | 476 | drivers/net/3c59x.c | config.i, inw(ioaddr + Wn3_Options)); |
config | 478 | drivers/net/3c59x.c | 8 << config.u.ram_size, |
config | 479 | drivers/net/3c59x.c | config.u.ram_width ? "word" : "byte", |
config | 480 | drivers/net/3c59x.c | ram_split[config.u.ram_split], |
config | 481 | drivers/net/3c59x.c | config.u.autoselect ? "autoselect/" : "", |
config | 482 | drivers/net/3c59x.c | if_names[config.u.xcvr]); |
config | 483 | drivers/net/3c59x.c | dev->if_port = config.u.xcvr; |
config | 484 | drivers/net/3c59x.c | vp->autoselect = config.u.autoselect; |
config | 509 | drivers/net/3c59x.c | union wn3_config config; |
config | 516 | drivers/net/3c59x.c | config.i = inl(ioaddr + Wn3_Config); |
config | 522 | drivers/net/3c59x.c | config.u.xcvr = vp->media_override; |
config | 524 | drivers/net/3c59x.c | outl(config.i, ioaddr + Wn3_Config); |
config | 529 | drivers/net/3c59x.c | dev->name, config.i); |
config | 398 | drivers/net/dlci.c | struct dlci_conf config; |
config | 409 | drivers/net/dlci.c | memcpy_fromfs(&config, conf, sizeof(struct dlci_conf)); |
config | 410 | drivers/net/dlci.c | if (config.flags & ~DLCI_VALID_FLAGS) |
config | 412 | drivers/net/dlci.c | memcpy(&dlp->config, &config, sizeof(struct dlci_conf)); |
config | 421 | drivers/net/dlci.c | memcpy_tofs(conf, &dlp->config, sizeof(struct dlci_conf)); |
config | 507 | drivers/net/sdla.c | if (slave->start && (flp->config.station == FRAD_STATION_NODE)) |
config | 526 | drivers/net/sdla.c | if (slave->start && (flp->config.station == FRAD_STATION_NODE)) |
config | 560 | drivers/net/sdla.c | if (flp->config.station == FRAD_STATION_CPE) |
config | 588 | drivers/net/sdla.c | if (flp->config.station == FRAD_STATION_CPE) |
config | 614 | drivers/net/sdla.c | &dlp->config, sizeof(struct dlci_conf) - 4 * sizeof(short), NULL, NULL); |
config | 911 | drivers/net/sdla.c | if (flp->config.station == FRAD_STATION_NODE) |
config | 955 | drivers/net/sdla.c | struct frad_conf config; |
config | 986 | drivers/net/sdla.c | memcpy(&data.config, &flp->config, sizeof(struct frad_conf)); |
config | 1031 | drivers/net/sdla.c | if (flp->config.station == FRAD_STATION_CPE) |
config | 1050 | drivers/net/sdla.c | sdla_cmd(dev, SDLA_SET_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, &dlp->config, sizeof(struct dlci_conf), NULL, NULL); |
config | 1083 | drivers/net/sdla.c | memcpy_fromfs(&data.config, conf, sizeof(struct frad_conf)); |
config | 1085 | drivers/net/sdla.c | if (data.config.station & ~FRAD_STATION_NODE) |
config | 1088 | drivers/net/sdla.c | if (data.config.flags & ~FRAD_VALID_FLAGS) |
config | 1091 | drivers/net/sdla.c | if ((data.config.kbaud < 0) || |
config | 1092 | drivers/net/sdla.c | ((data.config.kbaud > 128) && (flp->type != SDLA_S508))) |
config | 1095 | drivers/net/sdla.c | if (data.config.clocking & ~(FRAD_CLOCK_INT | SDLA_S508_PORT_RS232)) |
config | 1098 | drivers/net/sdla.c | if ((data.config.mtu < 0) || (data.config.mtu > SDLA_MAX_MTU)) |
config | 1101 | drivers/net/sdla.c | if ((data.config.T391 < 5) || (data.config.T391 > 30)) |
config | 1104 | drivers/net/sdla.c | if ((data.config.T392 < 5) || (data.config.T392 > 30)) |
config | 1107 | drivers/net/sdla.c | if ((data.config.N391 < 1) || (data.config.N391 > 255)) |
config | 1110 | drivers/net/sdla.c | if ((data.config.N392 < 1) || (data.config.N392 > 10)) |
config | 1113 | drivers/net/sdla.c | if ((data.config.N393 < 1) || (data.config.N393 > 10)) |
config | 1116 | drivers/net/sdla.c | memcpy(&flp->config, &data.config, sizeof(struct frad_conf)); |
config | 1117 | drivers/net/sdla.c | flp->config.flags |= SDLA_DIRECT_RECV; |
config | 1119 | drivers/net/sdla.c | if (dev->mtu != flp->config.mtu) |
config | 1122 | drivers/net/sdla.c | dev->mtu = flp->config.mtu; |
config | 1125 | drivers/net/sdla.c | flp->master[i]->mtu = flp->config.mtu; |
config | 1128 | drivers/net/sdla.c | flp->config.mtu += sizeof(struct fradhdr); |
config | 1146 | drivers/net/sdla.c | memcpy(&data.config, &flp->config, sizeof(struct frad_conf)); |
config | 1148 | drivers/net/sdla.c | memset(&data.config, 0, sizeof(struct frad_conf)); |
config | 1150 | drivers/net/sdla.c | memcpy(&flp->config, &data.config, sizeof(struct frad_conf)); |
config | 1151 | drivers/net/sdla.c | data.config.flags &= ~SDLA_DIRECT_RECV; |
config | 1152 | drivers/net/sdla.c | data.config.mtu -= data.config.mtu > sizeof(struct fradhdr) ? sizeof(struct fradhdr) : data.config.mtu; |
config | 1153 | drivers/net/sdla.c | memcpy_tofs(conf, &data.config, sizeof(struct frad_conf)); |
config | 1207 | drivers/net/sdla.c | memcpy(&data, &flp->config, sizeof(struct frad_conf)); |
config | 3085 | drivers/scsi/aic7xxx.c | struct aic7xxx_host_config *config) |
config | 3099 | drivers/scsi/aic7xxx.c | base = config->base; |
config | 3106 | drivers/scsi/aic7xxx.c | switch (config->type) |
config | 3120 | drivers/scsi/aic7xxx.c | config->unpause = (inb(HCNTRL + base) & IRQMS) | INTEN; |
config | 3121 | drivers/scsi/aic7xxx.c | config->pause = config->unpause | PAUSE; |
config | 3122 | drivers/scsi/aic7xxx.c | config->extended = aic7xxx_extended; |
config | 3124 | drivers/scsi/aic7xxx.c | outb(config->pause | CHIPRST, HCNTRL + base); |
config | 3130 | drivers/scsi/aic7xxx.c | outb(config->pause, HCNTRL + base); |
config | 3136 | drivers/scsi/aic7xxx.c | config->irq = inb(INTDEF + base) & 0x0F; |
config | 3142 | drivers/scsi/aic7xxx.c | config->busrtime = host_conf & 0x3C; |
config | 3152 | drivers/scsi/aic7xxx.c | config->extended ? "en" : "dis"); |
config | 3157 | drivers/scsi/aic7xxx.c | config->unpause = UNPAUSE_284X; |
config | 3158 | drivers/scsi/aic7xxx.c | config->pause = REQ_PAUSE; /* DWG would like to be like the rest */ |
config | 3160 | drivers/scsi/aic7xxx.c | outb(config->pause, HCNTRL + base); |
config | 3162 | drivers/scsi/aic7xxx.c | config->extended = aic7xxx_extended; |
config | 3163 | drivers/scsi/aic7xxx.c | config->irq = inb(INTDEF + base) & 0x0F; |
config | 3175 | drivers/scsi/aic7xxx.c | config->busrtime = host_conf & 0x3C; |
config | 3180 | drivers/scsi/aic7xxx.c | config->extended = ((sc.bios_control & CF284XEXTEND) >> 5); |
config | 3181 | drivers/scsi/aic7xxx.c | config->scsi_id = (sc.brtime_id & CFSCSIID); |
config | 3182 | drivers/scsi/aic7xxx.c | config->parity = (sc.adapter_control & CFSPARITY) ? |
config | 3184 | drivers/scsi/aic7xxx.c | config->low_term = (sc.adapter_control & CF284XSTERM) ? |
config | 3192 | drivers/scsi/aic7xxx.c | config->high_term = (sc.adapter_control & CFWSTERM) ? |
config | 3194 | drivers/scsi/aic7xxx.c | config->busrtime = ((sc.brtime_id & CFBRTIME) >> 8); |
config | 3202 | drivers/scsi/aic7xxx.c | config->extended ? "en" : "dis"); |
config | 3217 | drivers/scsi/aic7xxx.c | config->unpause = UNPAUSE_294X; |
config | 3218 | drivers/scsi/aic7xxx.c | config->pause = config->unpause | PAUSE; |
config | 3220 | drivers/scsi/aic7xxx.c | outb(config->pause, HCNTRL + base); |
config | 3222 | drivers/scsi/aic7xxx.c | config->extended = aic7xxx_extended; |
config | 3223 | drivers/scsi/aic7xxx.c | config->scsi_id = 7; |
config | 3226 | drivers/scsi/aic7xxx.c | have_seeprom = read_seeprom(base, config->chan_num * (sizeof(sc) / 2), &sc); |
config | 3234 | drivers/scsi/aic7xxx.c | config->extended = ((sc.bios_control & CFEXTEND) >> 7); |
config | 3235 | drivers/scsi/aic7xxx.c | config->scsi_id = (sc.brtime_id & CFSCSIID); |
config | 3236 | drivers/scsi/aic7xxx.c | config->parity = (sc.adapter_control & CFSPARITY) ? |
config | 3238 | drivers/scsi/aic7xxx.c | config->low_term = (sc.adapter_control & CFSTERM) ? |
config | 3240 | drivers/scsi/aic7xxx.c | config->high_term = (sc.adapter_control & CFWSTERM) ? |
config | 3242 | drivers/scsi/aic7xxx.c | config->busrtime = ((sc.brtime_id & CFBRTIME) >> 8); |
config | 3243 | drivers/scsi/aic7xxx.c | if (((config->type == AIC_7880) || (config->type == AIC_7882) || |
config | 3244 | drivers/scsi/aic7xxx.c | (config->type == AIC_7883) || (config->type == AIC_7884)) && |
config | 3248 | drivers/scsi/aic7xxx.c | config->ultra_enabled = TRUE; |
config | 3259 | drivers/scsi/aic7xxx.c | outb(config->scsi_id | DFTHRSH_100, SCSICONF + base); |
config | 3265 | drivers/scsi/aic7xxx.c | outb(config->scsi_id, (SCSICONF + base + 1)); |
config | 3268 | drivers/scsi/aic7xxx.c | config->extended ? "en" : "dis"); |
config | 3275 | drivers/scsi/aic7xxx.c | config->maxscb = detect_maxscb(config->type, base, config->walk_scbs); |
config | 3277 | drivers/scsi/aic7xxx.c | if (config->chip_type == AIC_777x) |
config | 3279 | drivers/scsi/aic7xxx.c | if (config->pause & IRQMS) |
config | 3297 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base) & 0x07; |
config | 3298 | drivers/scsi/aic7xxx.c | config->bus_type = AIC_SINGLE; |
config | 3303 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base + 1) & 0x0F; |
config | 3304 | drivers/scsi/aic7xxx.c | config->bus_type = AIC_WIDE; |
config | 3306 | drivers/scsi/aic7xxx.c | board_names[config->type]); |
config | 3311 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base) & 0x07; |
config | 3313 | drivers/scsi/aic7xxx.c | config->scsi_id_b = inb(SCSICONF + base + 1) & 0x07; |
config | 3314 | drivers/scsi/aic7xxx.c | config->bus_type = AIC_TWIN; |
config | 3316 | drivers/scsi/aic7xxx.c | board_names[config->type]); |
config | 3319 | drivers/scsi/aic7xxx.c | config->bus_type = AIC_SINGLE; |
config | 3321 | drivers/scsi/aic7xxx.c | board_names[config->type]); |
config | 3350 | drivers/scsi/aic7xxx.c | if ((config->chip_type == AIC_777x) && ((config->irq < 9) || (config->irq > 15))) |
config | 3364 | drivers/scsi/aic7xxx.c | if (aic7xxx_boards[config->irq] != NULL) |
config | 3376 | drivers/scsi/aic7xxx.c | debug_config(config); |
config | 3406 | drivers/scsi/aic7xxx.c | host->can_queue = config->maxscb; |
config | 3408 | drivers/scsi/aic7xxx.c | host->this_id = config->scsi_id; |
config | 3409 | drivers/scsi/aic7xxx.c | host->irq = config->irq; |
config | 3410 | drivers/scsi/aic7xxx.c | if (config->bus_type == AIC_WIDE) |
config | 3414 | drivers/scsi/aic7xxx.c | if (config->bus_type == AIC_TWIN) |
config | 3435 | drivers/scsi/aic7xxx.c | p->maxscb = config->maxscb; |
config | 3437 | drivers/scsi/aic7xxx.c | p->extended = config->extended; |
config | 3438 | drivers/scsi/aic7xxx.c | p->type = config->type; |
config | 3439 | drivers/scsi/aic7xxx.c | p->chip_type = config->chip_type; |
config | 3440 | drivers/scsi/aic7xxx.c | p->ultra_enabled = config->ultra_enabled; |
config | 3441 | drivers/scsi/aic7xxx.c | p->chan_num = config->chan_num; |
config | 3442 | drivers/scsi/aic7xxx.c | p->bus_type = config->bus_type; |
config | 3448 | drivers/scsi/aic7xxx.c | p->unpause = config->unpause; |
config | 3449 | drivers/scsi/aic7xxx.c | p->pause = config->pause; |
config | 3451 | drivers/scsi/aic7xxx.c | if (aic7xxx_boards[config->irq] == NULL) |
config | 3460 | drivers/scsi/aic7xxx.c | aic7xxx_boards[config->irq] = host; |
config | 3465 | drivers/scsi/aic7xxx.c | if (request_irq(config->irq, aic7xxx_isr, SA_INTERRUPT, "aic7xxx", NULL)) |
config | 3467 | drivers/scsi/aic7xxx.c | printk("aic7xxx: Couldn't register IRQ %d, ignoring.\n", config->irq); |
config | 3468 | drivers/scsi/aic7xxx.c | aic7xxx_boards[config->irq] = NULL; |
config | 3479 | drivers/scsi/aic7xxx.c | p->next = aic7xxx_boards[config->irq]; |
config | 3480 | drivers/scsi/aic7xxx.c | aic7xxx_boards[config->irq] = host; |
config | 3515 | drivers/scsi/aic7xxx.c | outb(config->scsi_id_b, SCSIID + base); |
config | 3533 | drivers/scsi/aic7xxx.c | outb(config->scsi_id, SCSIID + base); |
config | 3656 | drivers/scsi/aic7xxx.c | for (i = 0; i < config->maxscb; i++) |
config | 3666 | drivers/scsi/aic7xxx.c | outb(config->maxscb, SCBCOUNT + base); |
config | 3750 | drivers/scsi/aic7xxx.c | struct aic7xxx_host_config config; |
config | 3753 | drivers/scsi/aic7xxx.c | config.chan_num = 0; |
config | 3788 | drivers/scsi/aic7xxx.c | config.type = aic7xxx_probe(slot, HID0 + base); |
config | 3789 | drivers/scsi/aic7xxx.c | if (config.type != AIC_NONE) |
config | 3801 | drivers/scsi/aic7xxx.c | config.chip_type = AIC_777x; |
config | 3802 | drivers/scsi/aic7xxx.c | config.base = base; |
config | 3803 | drivers/scsi/aic7xxx.c | config.irq = irq; |
config | 3804 | drivers/scsi/aic7xxx.c | config.parity = AIC_UNKNOWN; |
config | 3805 | drivers/scsi/aic7xxx.c | config.low_term = AIC_UNKNOWN; |
config | 3806 | drivers/scsi/aic7xxx.c | config.high_term = AIC_UNKNOWN; |
config | 3807 | drivers/scsi/aic7xxx.c | config.busrtime = 0; |
config | 3808 | drivers/scsi/aic7xxx.c | config.walk_scbs = FALSE; |
config | 3809 | drivers/scsi/aic7xxx.c | config.ultra_enabled = FALSE; |
config | 3810 | drivers/scsi/aic7xxx.c | found += aic7xxx_register(template, &config); |
config | 3868 | drivers/scsi/aic7xxx.c | config.type = aic7xxx_pci_devices[i].card_type; |
config | 3869 | drivers/scsi/aic7xxx.c | config.chip_type = aic7xxx_pci_devices[i].chip_type; |
config | 3870 | drivers/scsi/aic7xxx.c | config.chan_num = 0; |
config | 3871 | drivers/scsi/aic7xxx.c | config.walk_scbs = FALSE; |
config | 3872 | drivers/scsi/aic7xxx.c | switch (config.type) |
config | 3876 | drivers/scsi/aic7xxx.c | config.walk_scbs = TRUE; |
config | 3877 | drivers/scsi/aic7xxx.c | config.chan_num = number_of_39xxs & 0x1; /* Has 2 controllers */ |
config | 3887 | drivers/scsi/aic7xxx.c | config.chan_num = number_of_39xxs & 0x3; /* Has 3 controllers */ |
config | 3934 | drivers/scsi/aic7xxx.c | printk("aic7xxx: %s Rev %c.\n", board_names[config.type], |
config | 3961 | drivers/scsi/aic7xxx.c | config.base = base; |
config | 3962 | drivers/scsi/aic7xxx.c | config.irq = irq; |
config | 3963 | drivers/scsi/aic7xxx.c | config.parity = AIC_UNKNOWN; |
config | 3964 | drivers/scsi/aic7xxx.c | config.low_term = AIC_UNKNOWN; |
config | 3965 | drivers/scsi/aic7xxx.c | config.high_term = AIC_UNKNOWN; |
config | 3966 | drivers/scsi/aic7xxx.c | config.busrtime = 0; |
config | 3967 | drivers/scsi/aic7xxx.c | config.ultra_enabled = FALSE; |
config | 3990 | drivers/scsi/aic7xxx.c | config.walk_scbs = TRUE; |
config | 3992 | drivers/scsi/aic7xxx.c | found += aic7xxx_register(template, &config); |
config | 465 | drivers/scsi/eata.c | struct eata_config config; |
config | 468 | drivers/scsi/eata.c | memset((char *)&config, 0, sizeof(struct eata_config)); |
config | 469 | drivers/scsi/eata.c | config.len = (ushort) htons((ushort)510); |
config | 470 | drivers/scsi/eata.c | config.ocena = TRUE; |
config | 472 | drivers/scsi/eata.c | if (do_dma(*port_base, (unsigned int)&config, SET_CONFIG_DMA)) { |
config | 265 | drivers/scsi/ultrastor.c | } config = {0}; |
config | 331 | drivers/scsi/ultrastor.c | static void log_ultrastor_abort(register struct ultrastor_config *config, |
config | 343 | drivers/scsi/ultrastor.c | if (! (config->mscp_free & (1 << i))) |
config | 344 | drivers/scsi/ultrastor.c | fmt[21 + i*2] = '0' + config->mscp[i].target_id; |
config | 350 | drivers/scsi/ultrastor.c | printk(fmt, command, &config->mscp[command], config->mscp_free); |
config | 377 | drivers/scsi/ultrastor.c | if (config.bios_segment) |
config | 385 | drivers/scsi/ultrastor.c | config.port_address = PORT_OVERRIDE; |
config | 389 | drivers/scsi/ultrastor.c | config.port_address = ultrastor_ports_14f[i]; |
config | 393 | drivers/scsi/ultrastor.c | printk("US14F: detect: testing port address %03X\n", config.port_address); |
config | 396 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address)); |
config | 402 | drivers/scsi/ultrastor.c | printk("US14F: detect: no adapter at port %03X\n", config.port_address); |
config | 411 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1); |
config | 418 | drivers/scsi/ultrastor.c | printk("US14F: detect: no adapter at port %03X\n", config.port_address); |
config | 441 | drivers/scsi/ultrastor.c | config.port_address); |
config | 446 | drivers/scsi/ultrastor.c | outb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(config.port_address)); |
config | 451 | drivers/scsi/ultrastor.c | request_region(config.port_address, 0x0c,"ultrastor"); |
config | 454 | drivers/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(config.port_address + 0)); |
config | 455 | drivers/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); |
config | 456 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1.bios_segment]; |
config | 457 | drivers/scsi/ultrastor.c | config.doorbell_address = config.port_address; |
config | 458 | drivers/scsi/ultrastor.c | config.ogm_address = config.port_address + 0x8; |
config | 459 | drivers/scsi/ultrastor.c | config.icm_address = config.port_address + 0xC; |
config | 460 | drivers/scsi/ultrastor.c | config.interrupt = interrupt_table_14f[config_1.interrupt]; |
config | 461 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2.ha_scsi_id; |
config | 462 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
config | 463 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[config_2.mapping_mode].sectors; |
config | 464 | drivers/scsi/ultrastor.c | config.bios_drive_number = config_2.bios_drive_number; |
config | 465 | drivers/scsi/ultrastor.c | config.subversion = (version_byte & 0x0F); |
config | 466 | drivers/scsi/ultrastor.c | if (config.subversion == U34F) |
config | 467 | drivers/scsi/ultrastor.c | config.dma_channel = 0; |
config | 469 | drivers/scsi/ultrastor.c | config.dma_channel = dma_channel_table_14f[config_1.dma_channel]; |
config | 471 | drivers/scsi/ultrastor.c | if (!config.bios_segment) { |
config | 479 | drivers/scsi/ultrastor.c | if (config.subversion != U34F) |
config | 480 | drivers/scsi/ultrastor.c | if (!config.dma_channel || !(config_2.tfr_port & 0x2)) { |
config | 500 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, config.interrupt, |
config | 501 | drivers/scsi/ultrastor.c | config.dma_channel, config.ha_scsi_id, config.subversion); |
config | 503 | drivers/scsi/ultrastor.c | tpnt->this_id = config.ha_scsi_id; |
config | 504 | drivers/scsi/ultrastor.c | tpnt->unchecked_isa_dma = (config.subversion != U34F); |
config | 507 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 510 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor", NULL)) { |
config | 512 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 515 | drivers/scsi/ultrastor.c | if (config.dma_channel && request_dma(config.dma_channel,"Ultrastor")) { |
config | 517 | drivers/scsi/ultrastor.c | config.dma_channel); |
config | 518 | drivers/scsi/ultrastor.c | free_irq(config.interrupt, NULL); |
config | 548 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
config | 549 | drivers/scsi/ultrastor.c | config.slot = i; |
config | 561 | drivers/scsi/ultrastor.c | config.bios_segment = bios_segment_table[config_1 & 7]; |
config | 565 | drivers/scsi/ultrastor.c | config.interrupt = 15; |
config | 568 | drivers/scsi/ultrastor.c | config.interrupt = 14; |
config | 571 | drivers/scsi/ultrastor.c | config.interrupt = 11; |
config | 574 | drivers/scsi/ultrastor.c | config.interrupt = 10; |
config | 580 | drivers/scsi/ultrastor.c | if (request_irq(config.interrupt, ultrastor_interrupt, 0, "Ultrastor", NULL)) |
config | 583 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 588 | drivers/scsi/ultrastor.c | config.port_address = addr; |
config | 589 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
config | 590 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
config | 591 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
config | 593 | drivers/scsi/ultrastor.c | config.ha_scsi_id = config_2 & 7; |
config | 594 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
config | 595 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[(config_2 >> 3) & 3].sectors; |
config | 602 | drivers/scsi/ultrastor.c | config.port_address, config.bios_segment, |
config | 603 | drivers/scsi/ultrastor.c | config.interrupt, config.ha_scsi_id); |
config | 605 | drivers/scsi/ultrastor.c | tpnt->this_id = config.ha_scsi_id; |
config | 610 | drivers/scsi/ultrastor.c | shpnt->irq = config.interrupt; |
config | 611 | drivers/scsi/ultrastor.c | shpnt->dma_channel = config.dma_channel; |
config | 612 | drivers/scsi/ultrastor.c | shpnt->io_port = config.port_address; |
config | 615 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 642 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 644 | drivers/scsi/ultrastor.c | config.slot, config.interrupt); |
config | 645 | drivers/scsi/ultrastor.c | else if (config.subversion) |
config | 647 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 648 | drivers/scsi/ultrastor.c | config.interrupt); |
config | 651 | drivers/scsi/ultrastor.c | config.port_address, (int)config.bios_segment, |
config | 652 | drivers/scsi/ultrastor.c | config.interrupt, config.dma_channel); |
config | 687 | drivers/scsi/ultrastor.c | if ((config.mscp_free & ((1U << ULTRASTOR_MAX_CMDS) - 1)) == 0) |
config | 689 | drivers/scsi/ultrastor.c | mscp_index = find_and_clear_bit_16(&config.mscp_free); |
config | 692 | drivers/scsi/ultrastor.c | if (xchgb(0xff, &config.aborted[mscp_index]) != 0) |
config | 698 | drivers/scsi/ultrastor.c | my_mscp = &config.mscp[mscp_index]; |
config | 745 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 746 | drivers/scsi/ultrastor.c | while (inb(config.ogm_address - 1) != 0 && |
config | 747 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] == 0xff) barrier(); |
config | 751 | drivers/scsi/ultrastor.c | while ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 752 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 753 | drivers/scsi/ultrastor.c | && config.aborted[mscp_index] == 0xff) barrier(); |
config | 761 | drivers/scsi/ultrastor.c | if (inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
config | 762 | drivers/scsi/ultrastor.c | (config.slot ? 2 : 1)) |
config | 768 | drivers/scsi/ultrastor.c | status = xchgb(0, &config.aborted[mscp_index]); |
config | 775 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 781 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 794 | drivers/scsi/ultrastor.c | outl((unsigned int)my_mscp, config.ogm_address); |
config | 797 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 799 | drivers/scsi/ultrastor.c | outb(1, config.ogm_address - 1); |
config | 800 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 802 | drivers/scsi/ultrastor.c | outb(0x1, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 840 | drivers/scsi/ultrastor.c | if(config.slot) |
config | 847 | drivers/scsi/ultrastor.c | mscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp; |
config | 852 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 854 | drivers/scsi/ultrastor.c | int port0 = (config.slot << 12) | 0xc80; |
config | 879 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) == 2 : |
config | 880 | drivers/scsi/ultrastor.c | (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
config | 893 | drivers/scsi/ultrastor.c | old_aborted = xchgb(DID_ABORT, &config.aborted[mscp_index]); |
config | 902 | drivers/scsi/ultrastor.c | if (config.slot && inb(config.ogm_address - 1) == 0) |
config | 908 | drivers/scsi/ultrastor.c | outl((int)&config.mscp[mscp_index], config.ogm_address); |
config | 910 | drivers/scsi/ultrastor.c | outb(0x80, config.ogm_address - 1); |
config | 911 | drivers/scsi/ultrastor.c | outb(0x2, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 913 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 921 | drivers/scsi/ultrastor.c | log_ultrastor_abort(&config, mscp_index); |
config | 935 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) |
config | 937 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint, SCpnt); |
config | 939 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint == 0) |
config | 942 | drivers/scsi/ultrastor.c | if (config.mscp[mscp_index].SCint != SCpnt) panic("Bad abort"); |
config | 943 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].SCint = 0; |
config | 944 | drivers/scsi/ultrastor.c | done = config.mscp[mscp_index].done; |
config | 945 | drivers/scsi/ultrastor.c | config.mscp[mscp_index].done = 0; |
config | 962 | drivers/scsi/ultrastor.c | if(config.slot) |
config | 970 | drivers/scsi/ultrastor.c | outb(0xc0, LCL_DOORBELL_INTR(config.doorbell_address)); |
config | 971 | drivers/scsi/ultrastor.c | if (config.slot) |
config | 973 | drivers/scsi/ultrastor.c | outb(0, config.ogm_address - 1); |
config | 974 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 978 | drivers/scsi/ultrastor.c | if (config.mscp_busy && config.mscp->done && config.mscp->SCint) |
config | 980 | drivers/scsi/ultrastor.c | config.mscp->SCint->result = DID_RESET << 16; |
config | 981 | drivers/scsi/ultrastor.c | config.mscp->done(config.mscp->SCint); |
config | 983 | drivers/scsi/ultrastor.c | config.mscp->SCint = 0; |
config | 987 | drivers/scsi/ultrastor.c | if (! (config.mscp_free & (1 << i)) && |
config | 988 | drivers/scsi/ultrastor.c | config.mscp[i].done && config.mscp[i].SCint) |
config | 990 | drivers/scsi/ultrastor.c | config.mscp[i].SCint->result = DID_RESET << 16; |
config | 991 | drivers/scsi/ultrastor.c | config.mscp[i].done(config.mscp[i].SCint); |
config | 992 | drivers/scsi/ultrastor.c | config.mscp[i].done = 0; |
config | 994 | drivers/scsi/ultrastor.c | config.mscp[i].SCint = 0; |
config | 1001 | drivers/scsi/ultrastor.c | memset((unsigned char *)config.aborted, 0, sizeof config.aborted); |
config | 1003 | drivers/scsi/ultrastor.c | config.mscp_busy = 0; |
config | 1005 | drivers/scsi/ultrastor.c | config.mscp_free = ~0; |
config | 1016 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
config | 1018 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
config | 1019 | drivers/scsi/ultrastor.c | dkinfo[1] = config.sectors; |
config | 1039 | drivers/scsi/ultrastor.c | mscp = &config.mscp[0]; |
config | 1041 | drivers/scsi/ultrastor.c | mscp = (struct mscp *)inl(config.icm_address); |
config | 1042 | drivers/scsi/ultrastor.c | mscp_index = mscp - config.mscp; |
config | 1053 | drivers/scsi/ultrastor.c | if (config.slot) { |
config | 1054 | drivers/scsi/ultrastor.c | unsigned char icm_status = inb(config.icm_address - 1); |
config | 1062 | drivers/scsi/ultrastor.c | outb(2, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1063 | drivers/scsi/ultrastor.c | outb(0, config.icm_address - 1); |
config | 1078 | drivers/scsi/ultrastor.c | outb(1, SYS_DOORBELL_INTR(config.doorbell_address)); |
config | 1090 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1092 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1094 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1130 | drivers/scsi/ultrastor.c | config.mscp_busy = FALSE; |
config | 1132 | drivers/scsi/ultrastor.c | set_bit(mscp_index, &config.mscp_free); |
config | 1136 | drivers/scsi/ultrastor.c | if (config.aborted[mscp_index]) |
config | 1138 | drivers/scsi/ultrastor.c | mscp_index, (unsigned int) mscp, config.aborted[mscp_index]); |
config | 1140 | drivers/scsi/ultrastor.c | config.aborted[mscp_index] = 0; |
config | 1147 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) : (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
config | 109 | drivers/sound/dev_table.c | snd_installed_cards[i].config.card_subtype = |
config | 112 | drivers/sound/dev_table.c | if (sound_drivers[drv].probe (&snd_installed_cards[i].config)) |
config | 115 | drivers/sound/dev_table.c | mem_start = sound_drivers[drv].attach (mem_start, &snd_installed_cards[i].config); |
config | 152 | drivers/sound/dev_table.c | sound_drivers[drv].unload (&snd_installed_cards[i].config); |
config | 178 | drivers/sound/dev_table.c | sound_drivers[drv].unload (&snd_installed_cards[i].config); |
config | 225 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.io_base = hw_config->io_base; |
config | 226 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.irq = hw_config->irq; |
config | 227 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma = hw_config->dma; |
config | 228 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma2 = hw_config->dma2; |
config | 229 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.name = hw_config->name; |
config | 230 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.always_detect = hw_config->always_detect; |
config | 231 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.driver_use_1 = hw_config->driver_use_1; |
config | 232 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.driver_use_2 = hw_config->driver_use_2; |
config | 233 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.card_subtype = hw_config->card_subtype; |
config | 234 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.osp = hw_config->osp; |
config | 245 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.card_subtype = |
config | 283 | drivers/sound/dev_table.c | snd_installed_cards[i].config.io_base = hw_config->io_base; |
config | 284 | drivers/sound/dev_table.c | snd_installed_cards[i].config.irq = hw_config->irq; |
config | 285 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
config | 286 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma2 = hw_config->dma2; |
config | 287 | drivers/sound/dev_table.c | snd_installed_cards[i].config.name = hw_config->name; |
config | 288 | drivers/sound/dev_table.c | snd_installed_cards[i].config.always_detect = hw_config->always_detect; |
config | 289 | drivers/sound/dev_table.c | snd_installed_cards[i].config.driver_use_1 = hw_config->driver_use_1; |
config | 290 | drivers/sound/dev_table.c | snd_installed_cards[i].config.driver_use_2 = hw_config->driver_use_2; |
config | 291 | drivers/sound/dev_table.c | snd_installed_cards[i].config.card_subtype = hw_config->card_subtype; |
config | 292 | drivers/sound/dev_table.c | snd_installed_cards[i].config.osp = hw_config->osp; |
config | 396 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.io_base = ioaddr; |
config | 397 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.irq = irq; |
config | 398 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
config | 399 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma2 = -1; |
config | 400 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.name = NULL; |
config | 401 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.always_detect = 0; |
config | 402 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.driver_use_1 = 0; |
config | 403 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.driver_use_2 = 0; |
config | 404 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.card_subtype = 0; |
config | 405 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.osp = NULL; |
config | 426 | drivers/sound/dev_table.c | return &snd_installed_cards[ptr].config; |
config | 56 | drivers/sound/dev_table.h | struct address_info config; |
config | 177 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.io_base, 16)) |
config | 182 | drivers/sound/sound_switch.c | tmp = snd_installed_cards[i].config.irq; |
config | 188 | drivers/sound/sound_switch.c | if (snd_installed_cards[i].config.dma != -1) |
config | 192 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.dma, 10)) |
config | 194 | drivers/sound/sound_switch.c | if (snd_installed_cards[i].config.dma2 != -1) |
config | 198 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.dma2, 10)) |
config | 107 | include/linux/hdreg.h | unsigned short config; /* lots of obsolete bit flags */ |
config | 152 | include/linux/if_frad.h | struct dlci_conf config; |
config | 167 | include/linux/if_frad.h | struct frad_conf config; |
config | 78 | include/linux/sdla.h | short config; |
config | 97 | include/linux/sdla.h | short config; |
config | 196 | include/net/br.h | int supersedes_port_info(int port_no, Config_bpdu *config); |
config | 197 | include/net/br.h | void record_config_information(int port_no, Config_bpdu *config); |
config | 198 | include/net/br.h | void record_config_timeout_values(Config_bpdu *config); |
config | 214 | include/net/br.h | void received_config_bpdu(int port_no, Config_bpdu *config); |
config | 143 | net/bridge/br.c | supersedes_port_info(int port_no, Config_bpdu *config) /* (4.6.2.2) */ |
config | 146 | net/bridge/br.c | (br_cmp(config->root_id.BRIDGE_ID, |
config | 149 | net/bridge/br.c | ((br_cmp(config->root_id.BRIDGE_ID, |
config | 153 | net/bridge/br.c | ((config->root_path_cost |
config | 157 | net/bridge/br.c | ((config->root_path_cost |
config | 161 | net/bridge/br.c | ((br_cmp(config->bridge_id.BRIDGE_ID, |
config | 165 | net/bridge/br.c | ((br_cmp(config->bridge_id.BRIDGE_ID, |
config | 169 | net/bridge/br.c | ((br_cmp(config->bridge_id.BRIDGE_ID, |
config | 173 | net/bridge/br.c | (config->port_id <= |
config | 181 | net/bridge/br.c | record_config_information(int port_no, Config_bpdu *config) /* (4.6.2) */ |
config | 183 | net/bridge/br.c | port_info[port_no].designated_root = config->root_id; /* (4.6.2.3.1) */ |
config | 184 | net/bridge/br.c | port_info[port_no].designated_cost = config->root_path_cost; |
config | 185 | net/bridge/br.c | port_info[port_no].designated_bridge = config->bridge_id; |
config | 186 | net/bridge/br.c | port_info[port_no].designated_port = config->port_id; |
config | 187 | net/bridge/br.c | start_message_age_timer(port_no, config->message_age); /* (4.6.2.3.2) */ |
config | 191 | net/bridge/br.c | record_config_timeout_values(Config_bpdu *config) /* (4.6.3) */ |
config | 193 | net/bridge/br.c | bridge_info.max_age = config->max_age; /* (4.6.3.3) */ |
config | 194 | net/bridge/br.c | bridge_info.hello_time = config->hello_time; |
config | 195 | net/bridge/br.c | bridge_info.forward_delay = config->forward_delay; |
config | 196 | net/bridge/br.c | if (config->flags & TOPOLOGY_CHANGE) |
config | 470 | net/bridge/br.c | received_config_bpdu(int port_no, Config_bpdu *config) /* (4.7.1) */ |
config | 476 | net/bridge/br.c | if (supersedes_port_info(port_no, config)) { /* (4.7.1.1) *//* (4. |
config | 478 | net/bridge/br.c | record_config_information(port_no, config); /* (4.7.1.1.1) */ |
config | 493 | net/bridge/br.c | record_config_timeout_values(config); /* (4.7.1.1.6) */ |
config | 496 | net/bridge/br.c | if (config->flags & TOPOLOGY_CHANGE_ACK) { /* (4.7.1.1.7) */ |
config | 106 | scripts/tkcond.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
config | 193 | scripts/tkcond.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
config | 562 | scripts/tkgen.c | clear_globalflags(config); |
config | 563 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
config | 582 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
config | 915 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
config | 967 | scripts/tkgen.c | clear_globalflags(config); |
config | 1101 | scripts/tkgen.c | clear_globalflags(config); |
config | 26 | scripts/tkparse.c | struct kconfig * config = NULL; |
config | 242 | scripts/tkparse.c | clast = config = kcfg; |
config | 420 | scripts/tkparse.c | clast = config = kcfg; |
config | 667 | scripts/tkparse.c | fix_conditionals(config); |
config | 672 | scripts/tkparse.c | dump_tk_script(config); |
config | 679 | scripts/tkparse.c | for(cfg = config; cfg; cfg = cfg->next) |
config | 74 | scripts/tkparse.h | extern struct kconfig * config; |