Lines Matching defs:config
132 bus_space_handle_t sc_exp_ioh; /* Exp Bus config registers */
159 const struct ata_config *config;
161 config = ata_getconfig(sa);
162 if (config != NULL) {
163 device_set_desc_copy(dev, config->desc);
174 const struct ata_config *config;
176 config = ata_getconfig(sa);
177 KASSERT(config != NULL, ("no board config"));
184 if (bus_space_map(sc->sc_iot, config->base16, config->size16,
187 __func__, config->base16, config->size16);
188 if (bus_space_map(sc->sc_iot, config->basealt, config->sizealt,
191 __func__, config->basealt, config->sizealt);
192 sc->sc_16bit_off = config->off16;
194 if (config->base16 != CAMBRIA_CFSEL0_HWBASE) {
231 ixp425_set_gpio(sa, config->gpin, GPIO_TYPE_EDG_RISING);
238 EXP_BUS_WRITE_4(sc, config->offalt,
239 EXP_BUS_READ_4(sc, config->offalt) |
244 config->irq, config->irq, 1, RF_ACTIVE);
246 panic("Unable to allocate irq %u.\n", config->irq);